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 : 2166175 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 (2618880) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2618880) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871369 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2618880'] with mtr_portfolio_ids : ['20871369'] and first list_photo_ids : [] new path : /proc/2166175/ Name: python3 Umask: 0002 State: R (running) Tgid: 2166175 Ngid: 0 Pid: 2166175 PPid: 2166174 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2166175 NSpid: 2166175 NSpgid: 2137627 NSsid: 2137627 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97772 kB VmRSS: 97772 kB RssAnon: 59756 kB RssFile: 38016 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 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: 619 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2166175', 'Ngid': '0', 'Pid': '2166175', 'PPid': '2166174', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2166175', 'NSpid': '2166175', 'NSpgid': '2137627', 'NSsid': '2137627', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97772 kB', 'VmRSS': '97772 kB', 'RssAnon': '59756 kB', 'RssFile': '38016 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 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': '619', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '2166175', '1106844', '0', '1106844', '865592', '97772', b'', 'marlene', '2618880') 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 (20871369) 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 (2618880 ) ) 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 (20871369) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339862933, 'portfolio_id': 20871369}, {'photo_id': 1339862931, 'portfolio_id': 20871369}, {'photo_id': 1339862928, 'portfolio_id': 20871369}, {'photo_id': 1339862922, 'portfolio_id': 20871369}, {'photo_id': 1339862914, 'portfolio_id': 20871369}, {'photo_id': 1339862910, 'portfolio_id': 20871369}, {'photo_id': 1339862900, 'portfolio_id': 20871369}, {'photo_id': 1339862897, 'portfolio_id': 20871369}, {'photo_id': 1339862894, 'portfolio_id': 20871369}, {'photo_id': 1339862890, 'portfolio_id': 20871369}, {'photo_id': 1339862886, 'portfolio_id': 20871369}, {'photo_id': 1339862848, 'portfolio_id': 20871369}, {'photo_id': 1339862819, 'portfolio_id': 20871369}, {'photo_id': 1339862816, 'portfolio_id': 20871369}, {'photo_id': 1339862798, 'portfolio_id': 20871369}, {'photo_id': 1339862693, 'portfolio_id': 20871369}, {'photo_id': 1339862691, 'portfolio_id': 20871369}, {'photo_id': 1339862687, 'portfolio_id': 20871369}, {'photo_id': 1339862684, 'portfolio_id': 20871369}, {'photo_id': 1339862680, 'portfolio_id': 20871369}, {'photo_id': 1339862676, 'portfolio_id': 20871369}, {'photo_id': 1339862653, 'portfolio_id': 20871369}, {'photo_id': 1339862644, 'portfolio_id': 20871369}, {'photo_id': 1339862642, 'portfolio_id': 20871369}, {'photo_id': 1339862638, 'portfolio_id': 20871369}, {'photo_id': 1339862635, 'portfolio_id': 20871369}, {'photo_id': 1339862624, 'portfolio_id': 20871369}, {'photo_id': 1339862621, 'portfolio_id': 20871369}, {'photo_id': 1339862617, 'portfolio_id': 20871369}, {'photo_id': 1339862612, 'portfolio_id': 20871369}, {'photo_id': 1339862567, 'portfolio_id': 20871369}, {'photo_id': 1339862484, 'portfolio_id': 20871369}, {'photo_id': 1339862436, 'portfolio_id': 20871369}, {'photo_id': 1339862434, 'portfolio_id': 20871369}, {'photo_id': 1339862432, 'portfolio_id': 20871369}, {'photo_id': 1339862429, 'portfolio_id': 20871369}, {'photo_id': 1339862425, 'portfolio_id': 20871369}, {'photo_id': 1339862385, 'portfolio_id': 20871369}, {'photo_id': 1339862380, 'portfolio_id': 20871369}, {'photo_id': 1339862335, 'portfolio_id': 20871369}, {'photo_id': 1339862332, 'portfolio_id': 20871369}, {'photo_id': 1339862318, 'portfolio_id': 20871369}, {'photo_id': 1339862214, 'portfolio_id': 20871369}, {'photo_id': 1339862213, 'portfolio_id': 20871369}, {'photo_id': 1339862207, 'portfolio_id': 20871369}, {'photo_id': 1339862203, 'portfolio_id': 20871369}, {'photo_id': 1339862199, 'portfolio_id': 20871369}, {'photo_id': 1339862195, 'portfolio_id': 20871369}, {'photo_id': 1339862011, 'portfolio_id': 20871369}, {'photo_id': 1339861984, 'portfolio_id': 20871369}, {'photo_id': 1339861980, 'portfolio_id': 20871369}, {'photo_id': 1339861973, 'portfolio_id': 20871369}, {'photo_id': 1339861720, 'portfolio_id': 20871369}, {'photo_id': 1339861718, 'portfolio_id': 20871369}, {'photo_id': 1339861710, 'portfolio_id': 20871369}, {'photo_id': 1339861707, 'portfolio_id': 20871369}, {'photo_id': 1339861705, 'portfolio_id': 20871369}, {'photo_id': 1339861702, 'portfolio_id': 20871369}, {'photo_id': 1339861196, 'portfolio_id': 20871369}, {'photo_id': 1339861194, 'portfolio_id': 20871369}, {'photo_id': 1339861173, 'portfolio_id': 20871369}, {'photo_id': 1339861119, 'portfolio_id': 20871369}, {'photo_id': 1339861049, 'portfolio_id': 20871369}, {'photo_id': 1339861033, 'portfolio_id': 20871369}, {'photo_id': 1339861025, 'portfolio_id': 20871369}, {'photo_id': 1339860996, 'portfolio_id': 20871369}] map_portfolio_id_photo_id: {20871369: [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886, 1339862848, 1339862819, 1339862816, 1339862798, 1339862693, 1339862691, 1339862687, 1339862684, 1339862680, 1339862676, 1339862653, 1339862644, 1339862642, 1339862638, 1339862635, 1339862624, 1339862621, 1339862617, 1339862612, 1339862567, 1339862484, 1339862436, 1339862434, 1339862432, 1339862429, 1339862425, 1339862385, 1339862380, 1339862335, 1339862332, 1339862318, 1339862214, 1339862213, 1339862207, 1339862203, 1339862199, 1339862195, 1339862011, 1339861984, 1339861980, 1339861973, 1339861720, 1339861718, 1339861710, 1339861707, 1339861705, 1339861702, 1339861196, 1339861194, 1339861173, 1339861119, 1339861049, 1339861033, 1339861025, 1339860996]} ##### 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.018541812896728516 #### 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 06:00:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20871369) 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 : 20871369 get user id for portfolio 20871369 get sub ptf for main ptf 20871369, type 3726 and hashtags ['autre_refus', 'Carton_brun', 'environnement', 'kraft', 'plastique', 'Carton_gris', 'cartonnette', 'mal_croppe', 'papier', 'Teint_Dans_La_Masse', 'metal', 'flou'] 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`=20871369 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','kraft','plastique','Carton_gris','cartonnette','mal_croppe','papier','Teint_Dans_La_Masse','metal','flou')) 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`=20871369 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','kraft','plastique','Carton_gris','cartonnette','mal_croppe','papier','Teint_Dans_La_Masse','metal','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20871369, 'sub_port_id': 20871394, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502925, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20871369, 'sub_port_id': 20871395, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502926, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'autre_refus': {'main_port_id': 20871369, 'sub_port_id': 20871396, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502927, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'Carton_gris': {'main_port_id': 20871369, 'sub_port_id': 20871397, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502928, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'cartonnette': {'main_port_id': 20871369, 'sub_port_id': 20871398, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502929, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'plastique': {'main_port_id': 20871369, 'sub_port_id': 20871399, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502930, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'environnement': {'main_port_id': 20871369, 'sub_port_id': 20871400, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502931, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'flou': {'main_port_id': 20871369, 'sub_port_id': 20871401, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502932, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'papier': {'main_port_id': 20871369, 'sub_port_id': 20871402, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502933, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'metal': {'main_port_id': 20871369, 'sub_port_id': 20871403, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502934, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'kraft': {'main_port_id': 20871369, 'sub_port_id': 20871404, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502935, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}, 'mal_croppe': {'main_port_id': 20871369, 'sub_port_id': 20871405, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502936, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20871394 , 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=20871369 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 (20871394) result : ((1339861716,), (1339862417,), (1339862445,), (1339862446,), (1339862659,), (1339862660,), (1339862871,), (1339862872,), (1339862873,), (1339862878,), (1339862925,), (1339862926,), (1339862950,), (1339862951,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871395 , 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=20871369 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 (20871395) result : ((1339862206,), (1339862215,), (1339862413,), (1339862414,), (1339862415,), (1339862416,), (1339862439,), (1339862440,), (1339862441,), (1339862647,), (1339862648,), (1339862649,), (1339862650,), (1339862662,), (1339862862,), (1339862863,), (1339862864,), (1339862865,), (1339862918,), (1339862940,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871396 , 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=20871369 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 (20871396) result : ((1339862208,), (1339862216,), (1339862442,), (1339862651,), (1339862652,), (1339862663,), (1339862664,), (1339862866,), (1339862867,), (1339862868,), (1339862919,), (1339862941,), (1339862942,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871397 , 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=20871369 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 (20871397) result : ((1339861711,), (1339861712,), (1339862210,), (1339862217,), (1339862218,), (1339862219,), (1339862443,), (1339862654,), (1339862655,), (1339862665,), (1339862869,), (1339862874,), (1339862875,), (1339862876,), (1339862943,), (1339862944,), (1339862945,), (1339862946,), (1339862947,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871398 , 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=20871369 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 (20871398) result : ((1339861714,), (1339861715,), (1339862220,), (1339862444,), (1339862657,), (1339862870,), (1339862877,), (1339862923,), (1339862948,), (1339862949,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871399 , 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=20871369 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 (20871399) result : ((1339862212,), (1339862661,), (1339862952,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871400 , 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=20871369 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 (20871400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871401 , 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=20871369 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 (20871401) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871402 , 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=20871369 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 (20871402) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871403 , 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=20871369 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 (20871403) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871404 , 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=20871369 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 (20871404) result : ((1339862221,), (1339862447,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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 20871405 , 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=20871369 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 (20871405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20871369) result : ((1339860996,), (1339861025,), (1339861033,), (1339861049,), (1339861119,), (1339861173,), (1339861194,), (1339861196,), (1339861702,), (1339861705,), (1339861707,), (1339861710,), (1339861718,), (1339861720,), (1339861973,), (1339861980,), (1339861984,), (1339862011,), (1339862195,), (1339862199,), (1339862203,), (1339862207,), (1339862213,), (1339862214,), (1339862318,), (1339862332,), (1339862335,), (1339862380,), (1339862385,), (1339862425,), (1339862429,), (1339862432,), (1339862434,), (1339862436,), (1339862484,), (1339862567,), (1339862612,), (1339862617,), (1339862621,), (1339862624,), (1339862635,), (1339862638,), (1339862642,), (1339862644,), (1339862653,), (1339862676,), (1339862680,), (1339862684,), (1339862687,), (1339862691,), (1339862693,), (1339862798,), (1339862816,), (1339862819,), (1339862848,), (1339862886,), (1339862890,), (1339862894,), (1339862897,), (1339862900,), (1339862910,), (1339862914,), (1339862922,), (1339862928,), (1339862931,), (1339862933,)) 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 (1339862900) 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`=20871369 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','kraft','plastique','Carton_gris','cartonnette','mal_croppe','papier','Teint_Dans_La_Masse','metal','flou')) 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`=20871369 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','kraft','plastique','Carton_gris','cartonnette','mal_croppe','papier','Teint_Dans_La_Masse','metal','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20871369, 'sub_port_id': 20871406, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502937, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20871369, 'sub_port_id': 20871407, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502938, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'autre_refus': {'main_port_id': 20871369, 'sub_port_id': 20871408, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502939, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'Carton_gris': {'main_port_id': 20871369, 'sub_port_id': 20871409, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502940, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'cartonnette': {'main_port_id': 20871369, 'sub_port_id': 20871410, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502941, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'plastique': {'main_port_id': 20871369, 'sub_port_id': 20871411, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502942, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'environnement': {'main_port_id': 20871369, 'sub_port_id': 20871412, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502943, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'flou': {'main_port_id': 20871369, 'sub_port_id': 20871413, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502944, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'papier': {'main_port_id': 20871369, 'sub_port_id': 20871414, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502945, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'metal': {'main_port_id': 20871369, 'sub_port_id': 20871415, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502946, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'kraft': {'main_port_id': 20871369, 'sub_port_id': 20871416, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502947, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}, 'mal_croppe': {'main_port_id': 20871369, 'sub_port_id': 20871417, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13502948, 'last_updated_at': datetime.datetime(2025, 2, 27, 5, 57, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 5, 57, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 5, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871406,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871394 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871407,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871395 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871408,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871396 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871409,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871397 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871410,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871411,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871399 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871412,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871413,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871414,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871402 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871415,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871403 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20871417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20871405 lien utilise dans velours : https://www.fotonower.com/velours/20871406,20871407,20871408,20871409,20871410,20871411,20871412,20871413,20871414,20871415,20871416,20871417?tags=Carton_brun,Teint_Dans_La_Masse,autre_refus,Carton_gris,cartonnette,plastique,environnement,flou,papier,metal,kraft,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20871369]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886] map_info['map_portfolio_photo'] : {20871369: [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886, 1339862848, 1339862819, 1339862816, 1339862798, 1339862693, 1339862691, 1339862687, 1339862684, 1339862680, 1339862676, 1339862653, 1339862644, 1339862642, 1339862638, 1339862635, 1339862624, 1339862621, 1339862617, 1339862612, 1339862567, 1339862484, 1339862436, 1339862434, 1339862432, 1339862429, 1339862425, 1339862385, 1339862380, 1339862335, 1339862332, 1339862318, 1339862214, 1339862213, 1339862207, 1339862203, 1339862199, 1339862195, 1339862011, 1339861984, 1339861980, 1339861973, 1339861720, 1339861718, 1339861710, 1339861707, 1339861705, 1339861702, 1339861196, 1339861194, 1339861173, 1339861119, 1339861049, 1339861033, 1339861025, 1339860996]} final : False mtd_id 4302 list_pids : [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886] Looping around the photos to save general results len do output : 1 /20871369. 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, '2618880') ('4302', '20871369', '1339862933', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862931', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862928', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862922', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862914', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862910', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862900', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862897', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862894', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862890', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862886', None, None, None, None, None, '2618880') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20871369', "{'Carton_brun': 20871394, 'Teint_Dans_La_Masse': 20871395, 'autre_refus': 20871396, 'Carton_gris': 20871397, 'cartonnette': 20871398, 'plastique': 20871399, 'environnement': 20871400, 'flou': 20871401, 'papier': 20871402, 'metal': 20871403, 'kraft': 20871404, 'mal_croppe': 20871405}", None, None, None, None, '2618880'), ('4302', '20871369', '1339862933', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862931', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862928', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862922', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862914', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862910', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862900', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862897', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862894', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862890', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862886', None, None, None, None, None, '2618880')] time used for this insertion : 0.014682292938232422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4901149272918701 time spend to save output : 0.014971733093261719 total time spend for step 1 : 0.5050866603851318 step2:final Thu Feb 27 06:00:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (20871369) 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 20871369 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339861049,1339861033,1339861025,1339860996,1339861196,1339861194,1339861173,1339861119,1339861720,1339861718,1339861710,1339861707,1339861705,1339861702,1339862011,1339861984,1339861980,1339861973,1339862214,1339862213,1339862207,1339862203,1339862199,1339862195,1339862385,1339862380,1339862335,1339862332,1339862318,1339862436,1339862434,1339862432,1339862429,1339862425,1339862624,1339862621,1339862617,1339862612,1339862567,1339862484,1339862653,1339862644,1339862642,1339862638,1339862635,1339862693,1339862691,1339862687,1339862684,1339862680,1339862676,1339862848,1339862819,1339862816,1339862798,1339862900,1339862897,1339862894,1339862890,1339862886,1339862933,1339862931,1339862928,1339862922,1339862914,1339862910); 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([20871369]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} new output for save of step final : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886] map_info['map_portfolio_photo'] : {20871369: [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886, 1339862848, 1339862819, 1339862816, 1339862798, 1339862693, 1339862691, 1339862687, 1339862684, 1339862680, 1339862676, 1339862653, 1339862644, 1339862642, 1339862638, 1339862635, 1339862624, 1339862621, 1339862617, 1339862612, 1339862567, 1339862484, 1339862436, 1339862434, 1339862432, 1339862429, 1339862425, 1339862385, 1339862380, 1339862335, 1339862332, 1339862318, 1339862214, 1339862213, 1339862207, 1339862203, 1339862199, 1339862195, 1339862011, 1339861984, 1339861980, 1339861973, 1339861720, 1339861718, 1339861710, 1339861707, 1339861705, 1339861702, 1339861196, 1339861194, 1339861173, 1339861119, 1339861049, 1339861033, 1339861025, 1339860996]} final : False mtd_id 4302 list_pids : [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886] Looping around the photos to save general results len do output : 11 /1339862933.Didn't retrieve data . /1339862931.Didn't retrieve data . /1339862928.Didn't retrieve data . /1339862922.Didn't retrieve data . /1339862914.Didn't retrieve data . /1339862910.Didn't retrieve data . /1339862900.Didn't retrieve data . /1339862897.Didn't retrieve data . /1339862894.Didn't retrieve data . /1339862890.Didn't retrieve data . /1339862886.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, '2618880') ('4302', '20871369', '1339862933', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862931', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862928', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862922', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862914', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862910', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862900', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862897', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862894', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862890', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862886', None, None, None, None, None, '2618880') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20871369', '1339862933', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862931', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862928', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862922', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862914', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862910', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862900', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862897', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862894', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862890', '0.1010024022982039', None, None, None, None, '2618880'), ('4302', '20871369', '1339862886', '0.1010024022982039', None, None, None, None, '2618880')] time used for this insertion : 0.014117002487182617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07311367988586426 time spend to save output : 0.014900445938110352 total time spend for step 2 : 0.08801412582397461 step3:velours_tree Thu Feb 27 06:00:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {20871369: [{'Carton_brun': 20871394, 'Teint_Dans_La_Masse': 20871395, 'autre_refus': 20871396, 'Carton_gris': 20871397, 'cartonnette': 20871398, 'plastique': 20871399, 'environnement': 20871400, 'flou': 20871401, 'papier': 20871402, 'metal': 20871403, 'kraft': 20871404, 'mal_croppe': 20871405}]} input_args_next_step : {20871369: ()} output_args : {20871369: [{'Carton_brun': 20871394, 'Teint_Dans_La_Masse': 20871395, 'autre_refus': 20871396, 'Carton_gris': 20871397, 'cartonnette': 20871398, 'plastique': 20871399, 'environnement': 20871400, 'flou': 20871401, 'papier': 20871402, 'metal': 20871403, 'kraft': 20871404, 'mal_croppe': 20871405}]} args : 20871369 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_brun': 20871394, 'Teint_Dans_La_Masse': 20871395, 'autre_refus': 20871396, 'Carton_gris': 20871397, 'cartonnette': 20871398, 'plastique': 20871399, 'environnement': 20871400, 'flou': 20871401, 'papier': 20871402, 'metal': 20871403, 'kraft': 20871404, 'mal_croppe': 20871405},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20871369) 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([20871369]) 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.44037723541259766 time spend to save output : 4.696846008300781e-05 total time spend for step 3 : 0.44042420387268066 step4:send_mail_cod Thu Feb 27 06:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} input_args_next_step : {1339862933: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862933 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862931 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862928 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862922 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862914 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862910 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862900 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862897 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862894 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862890 depend.output_id : 0 input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ()} output_args : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',)} args : 1339862886 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 : {20871369: [{'Carton_brun': 20871394, 'Teint_Dans_La_Masse': 20871395, 'autre_refus': 20871396, 'Carton_gris': 20871397, 'cartonnette': 20871398, 'plastique': 20871399, 'environnement': 20871400, 'flou': 20871401, 'papier': 20871402, 'metal': 20871403, 'kraft': 20871404, 'mal_croppe': 20871405}]} input_args_next_step : {1339862933: ('0.1010024022982039',), 1339862931: ('0.1010024022982039',), 1339862928: ('0.1010024022982039',), 1339862922: ('0.1010024022982039',), 1339862914: ('0.1010024022982039',), 1339862910: ('0.1010024022982039',), 1339862900: ('0.1010024022982039',), 1339862897: ('0.1010024022982039',), 1339862894: ('0.1010024022982039',), 1339862890: ('0.1010024022982039',), 1339862886: ('0.1010024022982039',), 20871369: ()} output_args : {20871369: [{'Carton_brun': 20871394, 'Teint_Dans_La_Masse': 20871395, 'autre_refus': 20871396, 'Carton_gris': 20871397, 'cartonnette': 20871398, 'plastique': 20871399, 'environnement': 20871400, 'flou': 20871401, 'papier': 20871402, 'metal': 20871403, 'kraft': 20871404, 'mal_croppe': 20871405}]} args : 20871369 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :12, first value : ('0.1010024022982039',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20871369) 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 (1339862933,1339862931,1339862928,1339862922,1339862914,1339862910,1339862900,1339862897,1339862894,1339862890,1339862886) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339862886 begin to download photo : 1339862897 begin to download photo : 1339862914 begin to download photo : 1339862931 download finish for photo 1339862886 begin to download photo : 1339862890 download finish for photo 1339862914 begin to download photo : 1339862922 download finish for photo 1339862897 begin to download photo : 1339862900 download finish for photo 1339862931 begin to download photo : 1339862933 download finish for photo 1339862890 begin to download photo : 1339862894 download finish for photo 1339862933 download finish for photo 1339862922 begin to download photo : 1339862928 download finish for photo 1339862900 begin to download photo : 1339862910 download finish for photo 1339862894 download finish for photo 1339862928 download finish for photo 1339862910 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P20871369_27-02-2025_06_00_59.pdf 20871396 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=20871396 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339862208: '1740631813_561571_1339861718_4619e3d3bd9e60d172dbd2b33f976e53_rle_crop_3688347691_0.png', 1339862216: '1740631831_561801_1339861194_17eaac4d05b6e0773a5526e09ba1f2a9_rle_crop_3688348154_0.png', 1339862442: '1740631931_562855_1339862207_32a1e27e2ca97048786dad9a3833e92a_rle_crop_3688348796_0.png', 1339862651: '1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348981_0.png', 1339862652: '1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349070_0.png', 1339862663: '1740632072_564259_1339862434_ce57f1f8fb593329c251ff63af91d2b7_rle_crop_3688349092_0.png', 1339862664: '1740632072_564259_1339862432_b70a1d92235f850653298cf39372105f_rle_crop_3688349104_0.png', 1339862866: '1740632172_565204_1339862653_414fe6cbdedc243604a01c9ce2a4e59c_rle_crop_3688350271_0.png', 1339862867: '1740632172_565204_1339862621_b3b5b49c35453360cf21b66bb752f47b_rle_crop_3688350285_0.png', 1339862868: '1740632172_565204_1339862617_2a4fd4c766cc648a34a8fbba7ff29188_rle_crop_3688350299_0.png', 1339862919: '1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350491_0.png', 1339862941: '1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350729_0.png', 1339862942: '1740632312_566593_1339862680_8d7ec151e8d1dca0f3129c614ee0c7f7_rle_crop_3688350784_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/fab6a351ad52345e3c7be0e7c87d4700_77495462.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/37797bf4c80f5df4bb0f20e7f6ff413a_63179754.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/97ca003d169d10e306b54e2264b3d590_66638860.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c199f8fcb7714f2c95787bcdb5d123ab_52921867.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a4875bd79c9d2e6006653d974cf07d17_57538888.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4556daec94b52af7538ee3c36365f740_47633507.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/aee21fc1860a522af5e03d4cac3834bb_57885245.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5b88d2980085bc08f7de32dc0117addf_32757519.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/798e85fbae5c4611226a30e094194208_38554661.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4ec7bd999d148f006997ffc39d1d0e93_94765452.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0314b5740d0c265305629b32db774ddf_53924078.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/046c67db8558254f741699f96c35cbbe_31545118.png change filename to text .imagette208713961740632459/ imagette208713961740632459/1740631831_561801_1339861194_17eaac4d05b6e0773a5526e09ba1f2a9_rle_crop_3688348154_0.png.png imagette208713961740632459/1740632312_566593_1339862680_8d7ec151e8d1dca0f3129c614ee0c7f7_rle_crop_3688350784_0.png.png imagette208713961740632459/1740632172_565204_1339862617_2a4fd4c766cc648a34a8fbba7ff29188_rle_crop_3688350299_0.png.png imagette208713961740632459/1740632172_565204_1339862621_b3b5b49c35453360cf21b66bb752f47b_rle_crop_3688350285_0.png.png imagette208713961740632459/1740632072_564259_1339862434_ce57f1f8fb593329c251ff63af91d2b7_rle_crop_3688349092_0.png.png imagette208713961740632459/1740631813_561571_1339861718_4619e3d3bd9e60d172dbd2b33f976e53_rle_crop_3688347691_0.png.png imagette208713961740632459/1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350729_0.png.png imagette208713961740632459/1740632072_564259_1339862432_b70a1d92235f850653298cf39372105f_rle_crop_3688349104_0.png.png imagette208713961740632459/1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350491_0.png.png imagette208713961740632459/1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349070_0.png.png imagette208713961740632459/1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348981_0.png.png imagette208713961740632459/1740632172_565204_1339862653_414fe6cbdedc243604a01c9ce2a4e59c_rle_crop_3688350271_0.png.png imagette208713961740632459/1740631931_562855_1339862207_32a1e27e2ca97048786dad9a3833e92a_rle_crop_3688348796_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4ae0fdb4b7dc902e41d250d36217f06f_96657438.png imagette208713961740632459 20871398 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=20871398 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339861714: '1740631692_559883_1339861025_25b72a065af1fe148c0b7aba85bfe909_rle_crop_3688347320_0.png', 1339861715: '1740631692_559883_1339860996_9bd3970205c789ca9465d6ee01342ec7_rle_crop_3688347346_0.png', 1339862220: '1740631831_561801_1339861194_17eaac4d05b6e0773a5526e09ba1f2a9_rle_crop_3688348155_0.png', 1339862444: '1740631931_562855_1339862213_e440bea045da102672a7f2f9ff665ea6_rle_crop_3688348781_0.png', 1339862657: '1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349075_0.png', 1339862870: '1740632172_565204_1339862567_93f356eeace6e1c7c529130a6f7bcc12_rle_crop_3688350341_0.png', 1339862877: '1740632191_565436_1339862644_6fb49f5e31220a6310a1e99a708298a3_rle_crop_3688350382_0.png', 1339862923: '1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350493_0.png', 1339862948: '1740632312_566593_1339862680_8d7ec151e8d1dca0f3129c614ee0c7f7_rle_crop_3688350786_0.png', 1339862949: '1740632312_566593_1339862676_6666059060bcd27fc50541119c244679_rle_crop_3688350803_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/fdc71a271c96c751c65dd0710d796674_93263105.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/81a0fab500e49ce47dcbca083717452a_39990539.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/9064fc6b363eb7d42c1711ed7720be98_89643761.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e090ade9a0d6a3a8d1c068330fbd637a_66621266.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/bf1dfddb21ede10bfcfb071a61266514_47679824.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/bd665ff2efabe445d93636e3d9f2534d_55785600.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ae9bc6a6285d78497f81862a322143fe_72215775.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/389ea51345dca57eed3d9d5882089c53_73096630.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/65abb6f3c713d995b5da84ed9421a885_71982962.png change filename to text .imagette208713981740632460/ imagette208713981740632460/1740632312_566593_1339862676_6666059060bcd27fc50541119c244679_rle_crop_3688350803_0.png.png imagette208713981740632460/1740632172_565204_1339862567_93f356eeace6e1c7c529130a6f7bcc12_rle_crop_3688350341_0.png.png imagette208713981740632460/1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350493_0.png.png imagette208713981740632460/1740631692_559883_1339860996_9bd3970205c789ca9465d6ee01342ec7_rle_crop_3688347346_0.png.png imagette208713981740632460/1740632312_566593_1339862680_8d7ec151e8d1dca0f3129c614ee0c7f7_rle_crop_3688350786_0.png.png imagette208713981740632460/1740632191_565436_1339862644_6fb49f5e31220a6310a1e99a708298a3_rle_crop_3688350382_0.png.png imagette208713981740632460/1740631931_562855_1339862213_e440bea045da102672a7f2f9ff665ea6_rle_crop_3688348781_0.png.png imagette208713981740632460/1740631692_559883_1339861025_25b72a065af1fe148c0b7aba85bfe909_rle_crop_3688347320_0.png.png imagette208713981740632460/1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349075_0.png.png imagette208713981740632460/1740631831_561801_1339861194_17eaac4d05b6e0773a5526e09ba1f2a9_rle_crop_3688348155_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/bc6fb1f8358b9fd4c1019d8f2fd504aa_40531002.png imagette208713981740632460 20871399 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=20871399 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339862212: '1740631813_561571_1339861707_37dc7eae60991f0c22ab79c41ff8d06c_rle_crop_3688347714_0.png', 1339862661: '1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348985_0.png', 1339862952: '1740632312_566593_1339862687_594a9396a82daa14b360ffb6070f3a37_rle_crop_3688350754_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/1c57712af2b1b418433aca220da9112f_67802643.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/122a791ba4b60cb123e6b2b18cc02c35_70579184.png change filename to text .imagette208713991740632460/ imagette208713991740632460/1740631813_561571_1339861707_37dc7eae60991f0c22ab79c41ff8d06c_rle_crop_3688347714_0.png.png imagette208713991740632460/1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348985_0.png.png imagette208713991740632460/1740632312_566593_1339862687_594a9396a82daa14b360ffb6070f3a37_rle_crop_3688350754_0.png.png imagette208714011740632461/ imagette208714031740632461/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/eceb2c391073a6abc183af2d9cf580b7_84648555.png imagette208713991740632460 20871401 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=20871401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208714011740632461 20871403 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=20871403 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208714031740632461 20871404 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=20871404 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339862221: '1740631831_561801_1339861194_17eaac4d05b6e0773a5526e09ba1f2a9_rle_crop_3688348161_0.png', 1339862447: '1740631931_562855_1339862199_03ba5aa72453634ad67e098b13b932e6_rle_crop_3688348825_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/685bad188f7b55ca25f12f423868d813_79848802.png change filename to text .imagette208714041740632461/ imagette208714041740632461/1740631831_561801_1339861194_17eaac4d05b6e0773a5526e09ba1f2a9_rle_crop_3688348161_0.png.png imagette208714041740632461/1740631931_562855_1339862199_03ba5aa72453634ad67e098b13b932e6_rle_crop_3688348825_0.png.png imagette208714051740632461/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ba3141655ba0c343a87788743c1738d2_79356795.png imagette208714041740632461 20871405 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=20871405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208714051740632461 20871394 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=20871394 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339861716: '1740631692_559883_1339861033_f84dc24e7801c145280112323cfdae8a_rle_crop_3688347150_0.png', 1339862417: '1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348601_0.png', 1339862445: '1740631931_562855_1339862195_72fe7f164091427b9e0d360dcae4e1b9_rle_crop_3688348845_0.png', 1339862446: '1740631931_562855_1339862195_72fe7f164091427b9e0d360dcae4e1b9_rle_crop_3688348839_0.png', 1339862659: '1740632053_563946_1339862335_01966371c8b805c8bf81b260bb6d06b3_rle_crop_3688348974_0.png', 1339862660: '1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348984_0.png', 1339862871: '1740632172_565204_1339862621_b3b5b49c35453360cf21b66bb752f47b_rle_crop_3688350286_0.png', 1339862872: '1740632172_565204_1339862617_2a4fd4c766cc648a34a8fbba7ff29188_rle_crop_3688350309_0.png', 1339862873: '1740632172_565204_1339862612_67850c6b69f2ad878358ab0491e1eaa6_rle_crop_3688350329_0.png', 1339862878: '1740632191_565436_1339862635_4c7be61e464ad67682789455e3303a84_rle_crop_3688350404_0.png', 1339862925: '1740632293_566391_1339862819_d2b576409f8b0c5aa6b3b696ab1b0122_rle_crop_3688350484_0.png', 1339862926: '1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350501_0.png', 1339862950: '1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350732_0.png', 1339862951: '1740632312_566593_1339862684_74d8db69c1e74144ce420fd8af889fed_rle_crop_3688350771_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/e47679f73ec2addf4d8eac1f11d415c8_81349250.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0ceb1bf5b6d6e228d887050201280dff_42778903.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/888d860a70082da06de3f0f93a96c2fb_24328923.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/002af478debdae8ba6aa7524c94f43b9_89672371.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0003fb7b491b69bd91b01360e658c18c_28039344.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5557e12a6ffc4ebc025348c5fdded6e2_35025896.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f813e0af7c5056c24179a91790a58667_35202536.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/3cbc6a2a13b6894e0bbf77a1ede7f736_56825779.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/49b04fe6a3f9d38098d12190f5d2076c_78509618.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/87ba32c0405ffff7342377abe45d685a_58504551.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8921d43d704a8f9c695b4e1f6783f75c_73737022.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e02d016f0890a618ecc051e5b9396ba8_6084407.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/1db01bc7fa91d38a8793a0d0967dbf8d_27438829.png change filename to text .imagette208713941740632461/ imagette208713941740632461/1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350501_0.png.png imagette208713941740632461/1740632172_565204_1339862621_b3b5b49c35453360cf21b66bb752f47b_rle_crop_3688350286_0.png.png imagette208713941740632461/1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348601_0.png.png imagette208713941740632461/1740632172_565204_1339862617_2a4fd4c766cc648a34a8fbba7ff29188_rle_crop_3688350309_0.png.png imagette208713941740632461/1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348984_0.png.png imagette208713941740632461/1740632293_566391_1339862819_d2b576409f8b0c5aa6b3b696ab1b0122_rle_crop_3688350484_0.png.png imagette208713941740632461/1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350732_0.png.png imagette208713941740632461/1740631931_562855_1339862195_72fe7f164091427b9e0d360dcae4e1b9_rle_crop_3688348839_0.png.png imagette208713941740632461/1740632172_565204_1339862612_67850c6b69f2ad878358ab0491e1eaa6_rle_crop_3688350329_0.png.png imagette208713941740632461/1740631931_562855_1339862195_72fe7f164091427b9e0d360dcae4e1b9_rle_crop_3688348845_0.png.png imagette208713941740632461/1740631692_559883_1339861033_f84dc24e7801c145280112323cfdae8a_rle_crop_3688347150_0.png.png imagette208713941740632461/1740632053_563946_1339862335_01966371c8b805c8bf81b260bb6d06b3_rle_crop_3688348974_0.png.png imagette208713941740632461/1740632312_566593_1339862684_74d8db69c1e74144ce420fd8af889fed_rle_crop_3688350771_0.png.png imagette208713941740632461/1740632191_565436_1339862635_4c7be61e464ad67682789455e3303a84_rle_crop_3688350404_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7d19cccfabdf77269dea7a93ef6ff3f6_30643216.png imagette208713941740632461 20871395 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=20871395 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339862648: '1740632053_563946_1339862335_01966371c8b805c8bf81b260bb6d06b3_rle_crop_3688348975_0.png', 1339862940: '1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350731_0.png', 1339862918: '1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350498_0.png', 1339862865: '1740632172_565204_1339862567_93f356eeace6e1c7c529130a6f7bcc12_rle_crop_3688350348_0.png', 1339862864: '1740632172_565204_1339862612_67850c6b69f2ad878358ab0491e1eaa6_rle_crop_3688350326_0.png', 1339862863: '1740632172_565204_1339862617_2a4fd4c766cc648a34a8fbba7ff29188_rle_crop_3688350308_0.png', 1339862862: '1740632172_565204_1339862653_414fe6cbdedc243604a01c9ce2a4e59c_rle_crop_3688350279_0.png', 1339862662: '1740632072_564259_1339862434_ce57f1f8fb593329c251ff63af91d2b7_rle_crop_3688349096_0.png', 1339862650: '1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349079_0.png', 1339862649: '1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348986_0.png', 1339862206: '1740631813_561571_1339861710_c309b17fc603b863b971d0a30d6e6479_rle_crop_3688347704_0.png', 1339862647: '1740632053_563946_1339862335_01966371c8b805c8bf81b260bb6d06b3_rle_crop_3688348972_0.png', 1339862441: '1740631931_562855_1339862203_3c88e64ee1848e74ef5ce51b7250d52c_rle_crop_3688348808_0.png', 1339862440: '1740631931_562855_1339862203_3c88e64ee1848e74ef5ce51b7250d52c_rle_crop_3688348813_0.png', 1339862439: '1740631931_562855_1339862203_3c88e64ee1848e74ef5ce51b7250d52c_rle_crop_3688348807_0.png', 1339862416: '1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348607_0.png', 1339862415: '1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348602_0.png', 1339862414: '1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348611_0.png', 1339862413: '1740631912_562637_1339862214_a43920fe073f628de77a7aa70d39d7d3_rle_crop_3688348596_0.png', 1339862215: '1740631831_561801_1339861173_3fea95a6b51013b8c4353f25159cdee9_rle_crop_3688348174_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/b4f3b530239134e287f9e4aec02612dd_41520791.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5b57096c5734187e66ec1edf05960332_42229115.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f3cc295e5bf8a28028c069f404af0093_8903000.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/869a0334c8946c1132f15048c291dd5c_75885721.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/39666bbacd2b8d2f75401df784571771_16087957.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/02fced01c1424b880e21a4192033207a_46909198.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/547d58b927c48467b2073068aa4e988c_60453595.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/b77840ad7a1ae297cb4427cd2ffe481e_41613249.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/10443b588d6f8b6fa68f0c66e7f5a3a5_77479343.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8c7755e6dc815cbf4b012347eaa09983_75647187.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/b26d4cedfe7ce03554d2bc5e8b5de7a1_77909838.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8dfc8edf6f72e681ae1b356215a56a94_76721027.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/9cdeb8cf20d634f30a08c0cf0555f37a_61224258.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5b5b032848b1946bba56b76239ae339e_35784875.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/a973e1c91c8376f88b9eb18c0ea51b80_73431318.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/452af19a71136f972a841c2d35bb3f59_68469246.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/da4f25db22027863bad623e7cd713eaf_71641128.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/1b17ec09bebaa8b2a299c233af17a4af_64005176.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2d1da8da7aae106832a58fb431584c35_11011470.png change filename to text .imagette208713951740632461/ imagette208713951740632461/1740632053_563946_1339862335_01966371c8b805c8bf81b260bb6d06b3_rle_crop_3688348972_0.png.png imagette208713951740632461/1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348602_0.png.png imagette208713951740632461/1740631813_561571_1339861710_c309b17fc603b863b971d0a30d6e6479_rle_crop_3688347704_0.png.png imagette208713951740632461/1740632172_565204_1339862653_414fe6cbdedc243604a01c9ce2a4e59c_rle_crop_3688350279_0.png.png imagette208713951740632461/1740631912_562637_1339862214_a43920fe073f628de77a7aa70d39d7d3_rle_crop_3688348596_0.png.png imagette208713951740632461/1740632072_564259_1339862434_ce57f1f8fb593329c251ff63af91d2b7_rle_crop_3688349096_0.png.png imagette208713951740632461/1740632172_565204_1339862617_2a4fd4c766cc648a34a8fbba7ff29188_rle_crop_3688350308_0.png.png imagette208713951740632461/1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350731_0.png.png imagette208713951740632461/1740631931_562855_1339862203_3c88e64ee1848e74ef5ce51b7250d52c_rle_crop_3688348807_0.png.png imagette208713951740632461/1740632053_563946_1339862335_01966371c8b805c8bf81b260bb6d06b3_rle_crop_3688348975_0.png.png imagette208713951740632461/1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348611_0.png.png imagette208713951740632461/1740631931_562855_1339862203_3c88e64ee1848e74ef5ce51b7250d52c_rle_crop_3688348808_0.png.png imagette208713951740632461/1740632172_565204_1339862567_93f356eeace6e1c7c529130a6f7bcc12_rle_crop_3688350348_0.png.png imagette208713951740632461/1740632172_565204_1339862612_67850c6b69f2ad878358ab0491e1eaa6_rle_crop_3688350326_0.png.png imagette208713951740632461/1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348986_0.png.png imagette208713951740632461/1740631831_561801_1339861173_3fea95a6b51013b8c4353f25159cdee9_rle_crop_3688348174_0.png.png imagette208713951740632461/1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349079_0.png.png imagette208713951740632461/1740632293_566391_1339862816_db4b54679a0e9533827c93c6bc46bf28_rle_crop_3688350498_0.png.png imagette208713951740632461/1740631931_562855_1339862203_3c88e64ee1848e74ef5ce51b7250d52c_rle_crop_3688348813_0.png.png imagette208713951740632461/1740631912_562637_1339861984_753f04095c55085e5fa74db683aaddab_rle_crop_3688348607_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d1a46f86e3b999d426a360a4091f9a2e_12578252.png imagette208713951740632461 20871397 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=20871397 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339862665: '1740632072_564259_1339862425_18a924be5286b593c4583744a4f0f81a_rle_crop_3688349119_0.png', 1339862947: '1740632312_566593_1339862676_6666059060bcd27fc50541119c244679_rle_crop_3688350801_0.png', 1339862946: '1740632312_566593_1339862680_8d7ec151e8d1dca0f3129c614ee0c7f7_rle_crop_3688350787_0.png', 1339862945: '1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350728_0.png', 1339862944: '1740632312_566593_1339862848_258b60fb6a954b5ddd95ab3d5ba3ce37_rle_crop_3688350717_0.png', 1339862943: '1740632312_566593_1339862848_258b60fb6a954b5ddd95ab3d5ba3ce37_rle_crop_3688350719_0.png', 1339862876: '1740632191_565436_1339862638_825090dec6b36ee1ca0b4e2ee3978255_rle_crop_3688350396_0.png', 1339862875: '1740632191_565436_1339862642_ef9a792981482cc79bfa5324852cdd81_rle_crop_3688350391_0.png', 1339862874: '1740632191_565436_1339862644_6fb49f5e31220a6310a1e99a708298a3_rle_crop_3688350377_0.png', 1339862869: '1740632172_565204_1339862621_b3b5b49c35453360cf21b66bb752f47b_rle_crop_3688350283_0.png', 1339861711: '1740631692_559883_1339861025_25b72a065af1fe148c0b7aba85bfe909_rle_crop_3688347329_0.png', 1339862655: '1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349077_0.png', 1339862654: '1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348979_0.png', 1339862443: '1740631931_562855_1339862195_72fe7f164091427b9e0d360dcae4e1b9_rle_crop_3688348834_0.png', 1339862219: '1740631831_561801_1339861119_0c7fe74137f9da9b8ae36bdb0bb1a04b_rle_crop_3688348186_0.png', 1339862218: '1740631831_561801_1339861119_0c7fe74137f9da9b8ae36bdb0bb1a04b_rle_crop_3688348191_0.png', 1339862217: '1740631831_561801_1339861720_344a43db7b7f8335502742c018854c61_rle_crop_3688348149_0.png', 1339862210: '1740631813_561571_1339861707_37dc7eae60991f0c22ab79c41ff8d06c_rle_crop_3688347710_0.png', 1339861712: '1740631692_559883_1339860996_9bd3970205c789ca9465d6ee01342ec7_rle_crop_3688347345_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/c6d5f818847c1baf92d4b8f82d65a1ae_38498520.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d3bd45f8323cb17edd8530b7ea26b621_96565534.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/24ba7ec7b2ba682dc293d91a7afe8df8_89764687.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/49c95610d093d84078e5f95031e29677_67072427.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ab61acdcc87ff2977e878c1f8d0a6165_94036835.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/45f212d2e8eb3f3e96f54a4f3f3e6d1f_70430442.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4d24d706def9460c1e0dfafb8ffd37be_3233908.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/28acb7e31eb30cc5a63e1719aec36997_97863565.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f4ea4f37efe8b47bc8a5d180a20972fd_84545807.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/357041c9bf81355791d653e912007232_10015961.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/caba1fccc5b658549b4d1eedfe217370_73640393.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/cd62316a5e25465354cfb32dc2fc080a_98563226.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/0413dabac3b4cb92f40e95ea062844cb_19587925.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8511b8cb14c84271e762351779140bf6_30327322.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e82a564fed724454e392a1518e4e8e0f_42610738.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d1613597950d86700592607a5cbf30c9_64822670.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/9dd62b75ce7490444aaa865c46cd5b2f_60256842.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/987d7b658222316c3d4b3eff5656916d_37144965.png change filename to text .imagette208713971740632463/ imagette208713971740632463/1740632053_563946_1339862332_4c778da13e0f752f3a786b598692f6ee_rle_crop_3688348979_0.png.png imagette208713971740632463/1740632191_565436_1339862644_6fb49f5e31220a6310a1e99a708298a3_rle_crop_3688350377_0.png.png imagette208713971740632463/1740632072_564259_1339862425_18a924be5286b593c4583744a4f0f81a_rle_crop_3688349119_0.png.png imagette208713971740632463/1740632312_566593_1339862691_e8fd8761f7b6abb78b42fd09cd603e90_rle_crop_3688350728_0.png.png imagette208713971740632463/1740632191_565436_1339862638_825090dec6b36ee1ca0b4e2ee3978255_rle_crop_3688350396_0.png.png imagette208713971740632463/1740631831_561801_1339861720_344a43db7b7f8335502742c018854c61_rle_crop_3688348149_0.png.png imagette208713971740632463/1740631692_559883_1339861025_25b72a065af1fe148c0b7aba85bfe909_rle_crop_3688347329_0.png.png imagette208713971740632463/1740631931_562855_1339862195_72fe7f164091427b9e0d360dcae4e1b9_rle_crop_3688348834_0.png.png imagette208713971740632463/1740631831_561801_1339861119_0c7fe74137f9da9b8ae36bdb0bb1a04b_rle_crop_3688348191_0.png.png imagette208713971740632463/1740632312_566593_1339862680_8d7ec151e8d1dca0f3129c614ee0c7f7_rle_crop_3688350787_0.png.png imagette208713971740632463/1740631813_561571_1339861707_37dc7eae60991f0c22ab79c41ff8d06c_rle_crop_3688347710_0.png.png imagette208713971740632463/1740632172_565204_1339862621_b3b5b49c35453360cf21b66bb752f47b_rle_crop_3688350283_0.png.png imagette208713971740632463/1740632191_565436_1339862642_ef9a792981482cc79bfa5324852cdd81_rle_crop_3688350391_0.png.png imagette208713971740632463/1740632312_566593_1339862848_258b60fb6a954b5ddd95ab3d5ba3ce37_rle_crop_3688350719_0.png.png imagette208713971740632463/1740632312_566593_1339862676_6666059060bcd27fc50541119c244679_rle_crop_3688350801_0.png.png imagette208713971740632463/1740632312_566593_1339862848_258b60fb6a954b5ddd95ab3d5ba3ce37_rle_crop_3688350717_0.png.png imagette208713971740632463/1740631692_559883_1339860996_9bd3970205c789ca9465d6ee01342ec7_rle_crop_3688347345_0.png.png imagette208713971740632463/1740631831_561801_1339861119_0c7fe74137f9da9b8ae36bdb0bb1a04b_rle_crop_3688348186_0.png.png imagette208713971740632463/1740632053_563946_1339862318_9a3519032a5d8bbdf75ad8855126013a_rle_crop_3688349077_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ea6ccecf3a1553bf4f3a2ba9a99fc13f_79279341.png imagette208713971740632463 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20871369 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20871406,20871407,20871408,20871409,20871410,20871411,20871412,20871413,20871414,20871415,20871416,20871417?tags=Carton_brun,Teint_Dans_La_Masse,autre_refus,Carton_gris,cartonnette,plastique,environnement,flou,papier,metal,kraft,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1339862933] : ('0.1010024022982039',) no score found for photo 1339862933 We are sending mail with results at report@fotonower.com args[1339862931] : ('0.1010024022982039',) no score found for photo 1339862931 We are sending mail with results at report@fotonower.com args[1339862928] : ('0.1010024022982039',) no score found for photo 1339862928 We are sending mail with results at report@fotonower.com args[1339862922] : ('0.1010024022982039',) no score found for photo 1339862922 We are sending mail with results at report@fotonower.com args[1339862914] : ('0.1010024022982039',) no score found for photo 1339862914 We are sending mail with results at report@fotonower.com args[1339862910] : ('0.1010024022982039',) no score found for photo 1339862910 We are sending mail with results at report@fotonower.com args[1339862900] : ('0.1010024022982039',) no score found for photo 1339862900 We are sending mail with results at report@fotonower.com args[1339862897] : ('0.1010024022982039',) no score found for photo 1339862897 We are sending mail with results at report@fotonower.com args[1339862894] : ('0.1010024022982039',) no score found for photo 1339862894 We are sending mail with results at report@fotonower.com args[1339862890] : ('0.1010024022982039',) no score found for photo 1339862890 We are sending mail with results at report@fotonower.com args[1339862886] : ('0.1010024022982039',) no score found for photo 1339862886 We are sending mail with results at report@fotonower.com refus_total : 0.1010024022982039 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=20871369 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_P20871369_27-02-2025_06_00_59.pdf results_Auto_P20871369_27-02-2025_06_00_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_27-02-2025_06_00_59.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','20871369','results_Auto_P20871369_27-02-2025_06_00_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20871369_27-02-2025_06_00_59.pdf','pdf','','0.37','0.1010024022982039') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20871369]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886] map_info['map_portfolio_photo'] : {20871369: [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886, 1339862848, 1339862819, 1339862816, 1339862798, 1339862693, 1339862691, 1339862687, 1339862684, 1339862680, 1339862676, 1339862653, 1339862644, 1339862642, 1339862638, 1339862635, 1339862624, 1339862621, 1339862617, 1339862612, 1339862567, 1339862484, 1339862436, 1339862434, 1339862432, 1339862429, 1339862425, 1339862385, 1339862380, 1339862335, 1339862332, 1339862318, 1339862214, 1339862213, 1339862207, 1339862203, 1339862199, 1339862195, 1339862011, 1339861984, 1339861980, 1339861973, 1339861720, 1339861718, 1339861710, 1339861707, 1339861705, 1339861702, 1339861196, 1339861194, 1339861173, 1339861119, 1339861049, 1339861033, 1339861025, 1339860996]} final : False mtd_id 4302 list_pids : [1339862933, 1339862931, 1339862928, 1339862922, 1339862914, 1339862910, 1339862900, 1339862897, 1339862894, 1339862890, 1339862886] 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, '2618880') ('4302', '20871369', '1339862933', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862931', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862928', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862922', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862914', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862910', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862900', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862897', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862894', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862890', None, None, None, None, None, '2618880') ('4302', None, None, None, None, None, None, None, '2618880') ('4302', '20871369', '1339862886', None, None, None, None, None, '2618880') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20871369', '1339862933', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862931', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862928', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862922', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862914', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862910', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862900', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862897', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862894', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862890', None, None, None, None, None, '2618880'), ('4302', '20871369', '1339862886', None, None, None, None, None, '2618880')] time used for this insertion : 0.016790151596069336 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.305297374725342 time spend to save output : 0.023054122924804688 total time spend for step 4 : 6.3283514976501465 step5:split_time_score Thu Feb 27 06:01: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 : ['20871369'] 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 : [('20871369',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20871369) 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.48user 2.38system 0:10.29elapsed 47%CPU (0avgtext+0avgdata 158492maxresident)k 74008inputs+19336outputs (174major+75363minor)pagefaults 0swaps