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 (2761636) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2761636) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425759 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2761636'] with mtr_portfolio_ids : ['22425759'] and first list_photo_ids : [] new path : /proc/752046/ Name: python3 Umask: 0002 State: R (running) Tgid: 752046 Ngid: 0 Pid: 752046 PPid: 752045 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 752046 NSpid: 752046 NSpgid: 750365 NSsid: 750365 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97728 kB VmRSS: 97728 kB RssAnon: 59804 kB RssFile: 37924 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 55 nonvoluntary_ctxt_switches: 180 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '752046', 'Ngid': '0', 'Pid': '752046', 'PPid': '752045', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '752046', 'NSpid': '752046', 'NSpgid': '750365', 'NSsid': '750365', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97728 kB', 'VmRSS': '97728 kB', 'RssAnon': '59804 kB', 'RssFile': '37924 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '55', 'nonvoluntary_ctxt_switches': '180'} ('datou_batch_current', '752046', '1106936', '0', '1106936', '865684', '97728', b'', 'marlene', '2761636') 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 (22425759) 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 (2761636 ) ) 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 (22425759) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353656156, 'portfolio_id': 22425759}, {'photo_id': 1353656153, 'portfolio_id': 22425759}, {'photo_id': 1353656150, 'portfolio_id': 22425759}, {'photo_id': 1353656146, 'portfolio_id': 22425759}, {'photo_id': 1353656111, 'portfolio_id': 22425759}, {'photo_id': 1353656107, 'portfolio_id': 22425759}, {'photo_id': 1353656102, 'portfolio_id': 22425759}, {'photo_id': 1353656098, 'portfolio_id': 22425759}, {'photo_id': 1353656095, 'portfolio_id': 22425759}, {'photo_id': 1353656091, 'portfolio_id': 22425759}, {'photo_id': 1353656030, 'portfolio_id': 22425759}, {'photo_id': 1353656027, 'portfolio_id': 22425759}, {'photo_id': 1353656024, 'portfolio_id': 22425759}, {'photo_id': 1353656022, 'portfolio_id': 22425759}, {'photo_id': 1353655969, 'portfolio_id': 22425759}, {'photo_id': 1353655964, 'portfolio_id': 22425759}, {'photo_id': 1353655959, 'portfolio_id': 22425759}, {'photo_id': 1353655955, 'portfolio_id': 22425759}, {'photo_id': 1353655950, 'portfolio_id': 22425759}, {'photo_id': 1353655941, 'portfolio_id': 22425759}, {'photo_id': 1353655909, 'portfolio_id': 22425759}, {'photo_id': 1353655906, 'portfolio_id': 22425759}, {'photo_id': 1353655903, 'portfolio_id': 22425759}, {'photo_id': 1353655865, 'portfolio_id': 22425759}, {'photo_id': 1353655862, 'portfolio_id': 22425759}, {'photo_id': 1353655858, 'portfolio_id': 22425759}, {'photo_id': 1353655855, 'portfolio_id': 22425759}, {'photo_id': 1353655852, 'portfolio_id': 22425759}, {'photo_id': 1353655850, 'portfolio_id': 22425759}, {'photo_id': 1353655798, 'portfolio_id': 22425759}, {'photo_id': 1353655790, 'portfolio_id': 22425759}, {'photo_id': 1353655778, 'portfolio_id': 22425759}, {'photo_id': 1353655767, 'portfolio_id': 22425759}, {'photo_id': 1353655764, 'portfolio_id': 22425759}, {'photo_id': 1353655741, 'portfolio_id': 22425759}, {'photo_id': 1353655732, 'portfolio_id': 22425759}, {'photo_id': 1353655728, 'portfolio_id': 22425759}, {'photo_id': 1353655724, 'portfolio_id': 22425759}, {'photo_id': 1353655719, 'portfolio_id': 22425759}, {'photo_id': 1353655704, 'portfolio_id': 22425759}, {'photo_id': 1353655648, 'portfolio_id': 22425759}, {'photo_id': 1353655645, 'portfolio_id': 22425759}, {'photo_id': 1353655641, 'portfolio_id': 22425759}, {'photo_id': 1353655636, 'portfolio_id': 22425759}, {'photo_id': 1353655596, 'portfolio_id': 22425759}, {'photo_id': 1353655590, 'portfolio_id': 22425759}, {'photo_id': 1353655586, 'portfolio_id': 22425759}, {'photo_id': 1353655581, 'portfolio_id': 22425759}, {'photo_id': 1353655576, 'portfolio_id': 22425759}, {'photo_id': 1353655571, 'portfolio_id': 22425759}, {'photo_id': 1353655551, 'portfolio_id': 22425759}, {'photo_id': 1353655548, 'portfolio_id': 22425759}, {'photo_id': 1353655540, 'portfolio_id': 22425759}, {'photo_id': 1353655533, 'portfolio_id': 22425759}, {'photo_id': 1353655461, 'portfolio_id': 22425759}, {'photo_id': 1353655455, 'portfolio_id': 22425759}, {'photo_id': 1353655450, 'portfolio_id': 22425759}, {'photo_id': 1353655447, 'portfolio_id': 22425759}, {'photo_id': 1353655445, 'portfolio_id': 22425759}, {'photo_id': 1353655442, 'portfolio_id': 22425759}, {'photo_id': 1353655382, 'portfolio_id': 22425759}, {'photo_id': 1353655369, 'portfolio_id': 22425759}, {'photo_id': 1353655364, 'portfolio_id': 22425759}, {'photo_id': 1353655359, 'portfolio_id': 22425759}, {'photo_id': 1353655357, 'portfolio_id': 22425759}, {'photo_id': 1353655352, 'portfolio_id': 22425759}, {'photo_id': 1353655160, 'portfolio_id': 22425759}, {'photo_id': 1353655153, 'portfolio_id': 22425759}] map_portfolio_id_photo_id: {22425759: [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091, 1353656030, 1353656027, 1353656024, 1353656022, 1353655969, 1353655964, 1353655959, 1353655955, 1353655950, 1353655941, 1353655909, 1353655906, 1353655903, 1353655865, 1353655862, 1353655858, 1353655855, 1353655852, 1353655850, 1353655798, 1353655790, 1353655778, 1353655767, 1353655764, 1353655741, 1353655732, 1353655728, 1353655724, 1353655719, 1353655704, 1353655648, 1353655645, 1353655641, 1353655636, 1353655596, 1353655590, 1353655586, 1353655581, 1353655576, 1353655571, 1353655551, 1353655548, 1353655540, 1353655533, 1353655461, 1353655455, 1353655450, 1353655447, 1353655445, 1353655442, 1353655382, 1353655369, 1353655364, 1353655359, 1353655357, 1353655352, 1353655160, 1353655153]} ##### 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.016036510467529297 #### 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 Fri Apr 25 09:44:29 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 (22425759) 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 : 22425759 get user id for portfolio 22425759 get sub ptf for main ptf 22425759, type 3726 and hashtags ['plastique', 'mal_croppe', 'metal', 'kraft', 'papier', 'flou', 'Teint_Dans_La_Masse', 'Carton_gris', 'autre_refus', 'Carton_brun', 'cartonnette', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22425759 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','metal','kraft','papier','flou','Teint_Dans_La_Masse','Carton_gris','autre_refus','Carton_brun','cartonnette','environnement')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22425759 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','metal','kraft','papier','flou','Teint_Dans_La_Masse','Carton_gris','autre_refus','Carton_brun','cartonnette','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22425759, 'sub_port_id': 22425788, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872668, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'kraft': {'main_port_id': 22425759, 'sub_port_id': 22425789, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872669, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'flou': {'main_port_id': 22425759, 'sub_port_id': 22425790, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872670, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'Carton_brun': {'main_port_id': 22425759, 'sub_port_id': 22425791, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872671, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'plastique': {'main_port_id': 22425759, 'sub_port_id': 22425792, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872672, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'cartonnette': {'main_port_id': 22425759, 'sub_port_id': 22425793, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872673, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'environnement': {'main_port_id': 22425759, 'sub_port_id': 22425794, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872674, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'Carton_gris': {'main_port_id': 22425759, 'sub_port_id': 22425795, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872675, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'autre_refus': {'main_port_id': 22425759, 'sub_port_id': 22425796, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872676, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'metal': {'main_port_id': 22425759, 'sub_port_id': 22425797, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872677, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22425759, 'sub_port_id': 22425798, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872678, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}, 'mal_croppe': {'main_port_id': 22425759, 'sub_port_id': 22425799, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872679, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425788 , 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=22425759 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 (22425788) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425789 , 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=22425759 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 (22425789) result : ((1353655629,), (1353655973,), (1353656086,), (1353656087,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425790 , 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=22425759 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 (22425790) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425791 , 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=22425759 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 (22425791) result : ((1353655619,), (1353655620,), (1353655621,), (1353655622,), (1353655684,), (1353655685,), (1353655686,), (1353655687,), (1353655688,), (1353655743,), (1353655744,), (1353655745,), (1353655788,), (1353655789,), (1353655829,), (1353655830,), (1353655831,), (1353655832,), (1353655833,), (1353655834,), (1353655891,), (1353655892,), (1353656048,), (1353656049,), (1353656050,), (1353656051,), (1353656052,), (1353656084,), (1353656085,), (1353656125,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425792 , 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=22425759 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 (22425792) result : ((1353655623,), (1353655624,), (1353655746,), (1353655747,), (1353655791,), (1353655792,), (1353655793,), (1353655837,), (1353655838,), (1353655839,), (1353655840,), (1353655841,), (1353655842,), (1353655843,), (1353655844,), (1353655893,), (1353655894,), (1353655895,), (1353656053,), (1353656054,), (1353656055,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425793 , 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=22425759 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 (22425793) result : ((1353655483,), (1353655681,), (1353655738,), (1353655739,), (1353655740,), (1353655780,), (1353655781,), (1353655782,), (1353655783,), (1353655784,), (1353655785,), (1353655826,), (1353655827,), (1353655890,), (1353656045,), (1353656123,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425794 , 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=22425759 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 (22425794) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425795 , 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=22425759 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 (22425795) result : ((1353655472,), (1353655618,), (1353655679,), (1353655680,), (1353655776,), (1353655777,), (1353655823,), (1353655824,), (1353655825,), (1353655888,), (1353655972,), (1353656037,), (1353656038,), (1353656039,), (1353656040,), (1353656041,), (1353656042,), (1353656043,), (1353656044,), (1353656082,), (1353656083,), (1353656120,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425796 , 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=22425759 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 (22425796) result : ((1353655678,), (1353655770,), (1353655771,), (1353655772,), (1353655821,), (1353655883,), (1353655884,), (1353656033,), (1353656079,), (1353656080,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425797 , 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=22425759 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 (22425797) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425798 , 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=22425759 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 (22425798) result : ((1353655675,), (1353655735,), (1353655769,), (1353655820,), (1353655880,), (1353655881,), (1353655882,), (1353656032,), (1353656077,), (1353656078,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22425799 , 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=22425759 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 (22425799) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22425759) result : ((1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=22425759 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','metal','kraft','papier','flou','Teint_Dans_La_Masse','Carton_gris','autre_refus','Carton_brun','cartonnette','environnement')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22425759 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','mal_croppe','metal','kraft','papier','flou','Teint_Dans_La_Masse','Carton_gris','autre_refus','Carton_brun','cartonnette','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22425759, 'sub_port_id': 22425800, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872680, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'kraft': {'main_port_id': 22425759, 'sub_port_id': 22425801, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872681, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'flou': {'main_port_id': 22425759, 'sub_port_id': 22425802, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872682, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'Carton_brun': {'main_port_id': 22425759, 'sub_port_id': 22425803, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872683, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'plastique': {'main_port_id': 22425759, 'sub_port_id': 22425804, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872684, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'cartonnette': {'main_port_id': 22425759, 'sub_port_id': 22425805, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872685, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'environnement': {'main_port_id': 22425759, 'sub_port_id': 22425806, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872686, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'Carton_gris': {'main_port_id': 22425759, 'sub_port_id': 22425807, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872687, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'autre_refus': {'main_port_id': 22425759, 'sub_port_id': 22425808, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872688, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'metal': {'main_port_id': 22425759, 'sub_port_id': 22425809, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872689, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22425759, 'sub_port_id': 22425810, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872690, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}, 'mal_croppe': {'main_port_id': 22425759, 'sub_port_id': 22425811, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14872691, 'last_updated_at': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 9, 42, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 9, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425800,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425788 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425801,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425789 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425802,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425790 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425803,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425791 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425804,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425792 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425805,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425793 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425806,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425794 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425807,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425795 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425808,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425796 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425809,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425797 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425810,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425798 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22425811,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22425799 lien utilise dans velours : https://www.fotonower.com/velours/22425800,22425801,22425802,22425803,22425804,22425805,22425806,22425807,22425808,22425809,22425810,22425811?tags=papier,kraft,flou,Carton_brun,plastique,cartonnette,environnement,Carton_gris,autre_refus,metal,Teint_Dans_La_Masse,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22425759]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] map_info['map_portfolio_photo'] : {22425759: [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091, 1353656030, 1353656027, 1353656024, 1353656022, 1353655969, 1353655964, 1353655959, 1353655955, 1353655950, 1353655941, 1353655909, 1353655906, 1353655903, 1353655865, 1353655862, 1353655858, 1353655855, 1353655852, 1353655850, 1353655798, 1353655790, 1353655778, 1353655767, 1353655764, 1353655741, 1353655732, 1353655728, 1353655724, 1353655719, 1353655704, 1353655648, 1353655645, 1353655641, 1353655636, 1353655596, 1353655590, 1353655586, 1353655581, 1353655576, 1353655571, 1353655551, 1353655548, 1353655540, 1353655533, 1353655461, 1353655455, 1353655450, 1353655447, 1353655445, 1353655442, 1353655382, 1353655369, 1353655364, 1353655359, 1353655357, 1353655352, 1353655160, 1353655153]} final : False mtd_id 4302 list_pids : [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] Looping around the photos to save general results len do output : 1 /22425759. 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, '2761636') ('4302', '22425759', '1353656156', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636') 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', None, '22425759', "{'papier': 22425788, 'kraft': 22425789, 'flou': 22425790, 'Carton_brun': 22425791, 'plastique': 22425792, 'cartonnette': 22425793, 'environnement': 22425794, 'Carton_gris': 22425795, 'autre_refus': 22425796, 'metal': 22425797, 'Teint_Dans_La_Masse': 22425798, 'mal_croppe': 22425799}", None, None, None, None, '2761636'), ('4302', '22425759', '1353656156', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636')] time used for this insertion : 0.014108896255493164 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6812167167663574 time spend to save output : 0.01445150375366211 total time spend for step 1 : 1.6956682205200195 step2:final Fri Apr 25 09:44:31 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 (22425759) 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 22425759 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353655160,1353655153,1353655382,1353655369,1353655364,1353655359,1353655357,1353655352,1353655461,1353655455,1353655450,1353655447,1353655445,1353655442,1353655551,1353655548,1353655540,1353655533,1353655596,1353655590,1353655586,1353655581,1353655576,1353655571,1353655648,1353655645,1353655641,1353655636,1353655741,1353655732,1353655728,1353655724,1353655719,1353655704,1353655798,1353655790,1353655778,1353655767,1353655764,1353655865,1353655862,1353655858,1353655855,1353655852,1353655850,1353655909,1353655906,1353655903,1353655969,1353655964,1353655959,1353655955,1353655950,1353656030,1353655941,1353656027,1353656024,1353656022,1353656111,1353656107,1353656102,1353656098,1353656095,1353656091,1353656156,1353656153,1353656150,1353656146); 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([22425759]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} new output for save of step final : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] map_info['map_portfolio_photo'] : {22425759: [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091, 1353656030, 1353656027, 1353656024, 1353656022, 1353655969, 1353655964, 1353655959, 1353655955, 1353655950, 1353655941, 1353655909, 1353655906, 1353655903, 1353655865, 1353655862, 1353655858, 1353655855, 1353655852, 1353655850, 1353655798, 1353655790, 1353655778, 1353655767, 1353655764, 1353655741, 1353655732, 1353655728, 1353655724, 1353655719, 1353655704, 1353655648, 1353655645, 1353655641, 1353655636, 1353655596, 1353655590, 1353655586, 1353655581, 1353655576, 1353655571, 1353655551, 1353655548, 1353655540, 1353655533, 1353655461, 1353655455, 1353655450, 1353655447, 1353655445, 1353655442, 1353655382, 1353655369, 1353655364, 1353655359, 1353655357, 1353655352, 1353655160, 1353655153]} final : False mtd_id 4302 list_pids : [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] Looping around the photos to save general results len do output : 10 /1353656156.Didn't retrieve data . /1353656153.Didn't retrieve data . /1353656150.Didn't retrieve data . /1353656146.Didn't retrieve data . /1353656111.Didn't retrieve data . /1353656107.Didn't retrieve data . /1353656102.Didn't retrieve data . /1353656098.Didn't retrieve data . /1353656095.Didn't retrieve data . /1353656091.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, '2761636') ('4302', '22425759', '1353656156', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '22425759', '1353656156', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656153', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656150', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656146', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656111', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656107', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656102', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656098', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656095', '0.050026108103266353', None, None, None, None, '2761636'), ('4302', '22425759', '1353656091', '0.050026108103266353', None, None, None, None, '2761636')] time used for this insertion : 0.016841411590576172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0739445686340332 time spend to save output : 0.017335176467895508 total time spend for step 2 : 0.09127974510192871 step3:velours_tree Fri Apr 25 09:44:31 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 : {22425759: [{'papier': 22425788, 'kraft': 22425789, 'flou': 22425790, 'Carton_brun': 22425791, 'plastique': 22425792, 'cartonnette': 22425793, 'environnement': 22425794, 'Carton_gris': 22425795, 'autre_refus': 22425796, 'metal': 22425797, 'Teint_Dans_La_Masse': 22425798, 'mal_croppe': 22425799}]} input_args_next_step : {22425759: ()} output_args : {22425759: [{'papier': 22425788, 'kraft': 22425789, 'flou': 22425790, 'Carton_brun': 22425791, 'plastique': 22425792, 'cartonnette': 22425793, 'environnement': 22425794, 'Carton_gris': 22425795, 'autre_refus': 22425796, 'metal': 22425797, 'Teint_Dans_La_Masse': 22425798, 'mal_croppe': 22425799}]} args : 22425759 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 : ({'papier': 22425788, 'kraft': 22425789, 'flou': 22425790, 'Carton_brun': 22425791, 'plastique': 22425792, 'cartonnette': 22425793, 'environnement': 22425794, 'Carton_gris': 22425795, 'autre_refus': 22425796, 'metal': 22425797, 'Teint_Dans_La_Masse': 22425798, 'mal_croppe': 22425799},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22425759) 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([22425759]) 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.3267788887023926 time spend to save output : 4.9591064453125e-05 total time spend for step 3 : 0.3268284797668457 step4:send_mail_cod Fri Apr 25 09:44:31 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 : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} input_args_next_step : {1353656156: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656156 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656153 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656150 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656146 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656111 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656107 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656102 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656098 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656095 depend.output_id : 0 input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ()} output_args : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',)} args : 1353656091 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 : {22425759: [{'papier': 22425788, 'kraft': 22425789, 'flou': 22425790, 'Carton_brun': 22425791, 'plastique': 22425792, 'cartonnette': 22425793, 'environnement': 22425794, 'Carton_gris': 22425795, 'autre_refus': 22425796, 'metal': 22425797, 'Teint_Dans_La_Masse': 22425798, 'mal_croppe': 22425799}]} input_args_next_step : {1353656156: ('0.050026108103266353',), 1353656153: ('0.050026108103266353',), 1353656150: ('0.050026108103266353',), 1353656146: ('0.050026108103266353',), 1353656111: ('0.050026108103266353',), 1353656107: ('0.050026108103266353',), 1353656102: ('0.050026108103266353',), 1353656098: ('0.050026108103266353',), 1353656095: ('0.050026108103266353',), 1353656091: ('0.050026108103266353',), 22425759: ()} output_args : {22425759: [{'papier': 22425788, 'kraft': 22425789, 'flou': 22425790, 'Carton_brun': 22425791, 'plastique': 22425792, 'cartonnette': 22425793, 'environnement': 22425794, 'Carton_gris': 22425795, 'autre_refus': 22425796, 'metal': 22425797, 'Teint_Dans_La_Masse': 22425798, 'mal_croppe': 22425799}]} args : 22425759 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 :11, first value : ('0.050026108103266353',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22425759) 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 (1353656156,1353656153,1353656150,1353656146,1353656111,1353656107,1353656102,1353656098,1353656095,1353656091) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353656091 begin to download photo : 1353656102 begin to download photo : 1353656146 begin to download photo : 1353656156 download finish for photo 1353656146 begin to download photo : 1353656150 download finish for photo 1353656156 download finish for photo 1353656091 begin to download photo : 1353656095 download finish for photo 1353656102 begin to download photo : 1353656107 download finish for photo 1353656150 begin to download photo : 1353656153 download finish for photo 1353656095 begin to download photo : 1353656098 download finish for photo 1353656107 begin to download photo : 1353656111 download finish for photo 1353656153 download finish for photo 1353656111 download finish for photo 1353656098 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 : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P22425759_25-04-2025_09_44_32.pdf 22425789 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=22425789 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353655629: '1745566513_1798763_1353655369_92a43f9e7bf8818af4554d97f59597c3_rle_crop_3769360394_0.png', 1353655973: '1745566861_1802231_1353655548_8e7eeb4ad1c604af0b2a7b09725dce65_rle_crop_3769362453_0.png', 1353656086: '1745566933_1803207_1353655790_601aa73d88d19a490af51041c9a9d168_rle_crop_3769363505_0.png', 1353656087: '1745566933_1803207_1353655767_cab234ba8c26168e5e443514dc8f9bc7_rle_crop_3769363536_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/16573447316f3336da743af0b81522d9_42052861.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/6f35c0f7603ea087b44e66c75fdbe8ae_26020942.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/8e0345da60327480fbd1048182df550f_43108171.png change filename to text .imagette224257891745567072/ imagette224257891745567072/1745566933_1803207_1353655790_601aa73d88d19a490af51041c9a9d168_rle_crop_3769363505_0.png.png imagette224257891745567072/1745566933_1803207_1353655767_cab234ba8c26168e5e443514dc8f9bc7_rle_crop_3769363536_0.png.png imagette224257891745567072/1745566513_1798763_1353655369_92a43f9e7bf8818af4554d97f59597c3_rle_crop_3769360394_0.png.png imagette224257891745567072/1745566861_1802231_1353655548_8e7eeb4ad1c604af0b2a7b09725dce65_rle_crop_3769362453_0.png.png imagette224257901745567072/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/29811aa2ed0a13005f2bc2d0aec953cb_56546225.png imagette224257891745567072 22425790 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=22425790 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224257901745567072 22425792 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=22425792 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353655840: '1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769361485_0.png', 1353656055: '1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363313_0.png', 1353656054: '1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363288_0.png', 1353656053: '1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363295_0.png', 1353655895: '1745566752_1800865_1353655724_127359eab31ec2a4ad829ff5ccf34354_rle_crop_3769361762_0.png', 1353655894: '1745566752_1800865_1353655728_c795c4cf49ea53360e8b811e095db05a_rle_crop_3769361742_0.png', 1353655893: '1745566752_1800865_1353655728_c795c4cf49ea53360e8b811e095db05a_rle_crop_3769361744_0.png', 1353655844: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360670_0.png', 1353655843: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360665_0.png', 1353655842: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360668_0.png', 1353655841: '1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_bib_crop_3769360659_0.jpg', 1353655623: '1745566513_1798763_1353655364_979766716fcbf690abd2f69270616774_rle_crop_3769360422_0.png', 1353655839: '1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360657_0.png', 1353655838: '1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360641_0.png', 1353655837: '1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360649_0.png', 1353655793: '1745566660_1574029_1353655586_87bc4c1c94df852aa2e40981fbd9619e_rle_crop_3769361194_0.png', 1353655792: '1745566660_1574029_1353655586_87bc4c1c94df852aa2e40981fbd9619e_rle_crop_3769361193_0.png', 1353655791: '1745566660_1574029_1353655590_b23f38fae4ff7b7e0bd4cb00910f1b74_rle_crop_3769361175_0.png', 1353655747: '1745566631_1799871_1353655636_ff98e1f6c7d4d2986dcf2b9abcfc2598_rle_crop_3769360954_0.png', 1353655746: '1745566631_1799871_1353655645_2212fd2331de3566759c3485e7e1fb86_rle_crop_3769360846_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c55e958c8921cfa4f128b99a4c83b10f_29103410.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/26fe4c489d26a2f42bffa4438b9daa7c_55154235.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c5845a6716edb616afae26935630fd25_5673072.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/aec28a2432a3e19c837ffc77e569f21b_34973306.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/33285c0689a55d44e6b5e1eb0d5203e8_23259607.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/166eb42715ed3b44adec8270b1a1308d_12257574.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e49cbf91ee0971543db546cb19628cab_73836542.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/09aee369385394703dcddb6eb3139546_94223414.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/190adc5cd6f1c5cbff29e801cbe09463_13489188.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/54f1e5fbb9e5f7cf3f46f60a1a86cd33_16334820.png change filename to text .wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/049e5c4ce9e67c81b8e06a93e518a1eb_62963201.jpg change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e3e60f0c7f7818a5a9109c8eb7511f9e_30347501.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/aeafb207c11bf78c13c97c210ae0d1be_57584648.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1e366c5eae8a74ae8890d9bf5a15fce1_35247972.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/4f98ecb0df311a0811a7d1c470b81556_34816136.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/787b745e9e5875578523c2fbb3457e9e_74180142.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/59a22e0d2633cb2667a102e11a3d1d92_14872764.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/8ec7d35434a05f05f43a6179496ba07c_67460073.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ad7a831975c5ce46fb98eb8d4c9f24f8_90901930.png change filename to text .imagette224257921745567072/ imagette224257921745567072/1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363295_0.png.png imagette224257921745567072/1745566660_1574029_1353655586_87bc4c1c94df852aa2e40981fbd9619e_rle_crop_3769361193_0.png.png imagette224257921745567072/1745566513_1798763_1353655364_979766716fcbf690abd2f69270616774_rle_crop_3769360422_0.png.png imagette224257921745567072/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360670_0.png.png imagette224257921745567072/1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769361485_0.png.png imagette224257921745567072/1745566752_1800865_1353655728_c795c4cf49ea53360e8b811e095db05a_rle_crop_3769361742_0.png.png imagette224257921745567072/1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_bib_crop_3769360659_0.jpg.jpg imagette224257921745567072/1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360657_0.png.png imagette224257921745567072/1745566660_1574029_1353655586_87bc4c1c94df852aa2e40981fbd9619e_rle_crop_3769361194_0.png.png imagette224257921745567072/1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360649_0.png.png imagette224257921745567072/1745566752_1800865_1353655724_127359eab31ec2a4ad829ff5ccf34354_rle_crop_3769361762_0.png.png imagette224257921745567072/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360668_0.png.png imagette224257921745567072/1745566660_1574029_1353655590_b23f38fae4ff7b7e0bd4cb00910f1b74_rle_crop_3769361175_0.png.png imagette224257921745567072/1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363313_0.png.png imagette224257921745567072/1745566631_1799871_1353655636_ff98e1f6c7d4d2986dcf2b9abcfc2598_rle_crop_3769360954_0.png.png imagette224257921745567072/1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363288_0.png.png imagette224257921745567072/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360665_0.png.png imagette224257921745567072/1745566752_1800865_1353655728_c795c4cf49ea53360e8b811e095db05a_rle_crop_3769361744_0.png.png imagette224257921745567072/1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360641_0.png.png imagette224257921745567072/1745566631_1799871_1353655645_2212fd2331de3566759c3485e7e1fb86_rle_crop_3769360846_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/379e57efb98a17ef82b6e567ce92d577_52801125.png imagette224257921745567072 22425793 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=22425793 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353655483: '1745566392_1797433_1353655153_f2c8eb41a743b91869179a68360cc017_rle_crop_3769359888_0.png', 1353655681: '1745566572_1799286_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360666_0.png', 1353655738: '1745566631_1799871_1353655645_2212fd2331de3566759c3485e7e1fb86_rle_crop_3769360847_0.png', 1353655739: '1745566631_1799871_1353655641_c5d122b9881c1f735aee0860569e2434_rle_crop_3769360861_0.png', 1353655740: '1745566631_1799871_1353655636_ff98e1f6c7d4d2986dcf2b9abcfc2598_rle_crop_3769360945_0.png', 1353655780: '1745566660_1574029_1353655586_87bc4c1c94df852aa2e40981fbd9619e_rle_crop_3769361188_0.png', 1353655781: '1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361208_0.png', 1353655782: '1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361212_0.png', 1353655783: '1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361225_0.png', 1353655784: '1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361222_0.png', 1353655785: '1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361227_0.png', 1353655826: '1745566692_1800360_1353655551_a4e5c968eaed1ffc786d023e3021de60_rle_crop_3769361460_0.png', 1353655827: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360666_0.png', 1353655890: '1745566752_1800865_1353655704_dd2e939924cb226e5bbfad3cb1bdcfce_rle_crop_3769361784_0.png', 1353656045: '1745566907_1578470_1353655909_9c571abc0e12ac726a54051b8cd3e160_rle_crop_3769363224_0.png', 1353656123: '1745566993_1803735_1353656027_8a9c2492a2ab806cb83a4a12bd5c9e9c_rle_crop_3769364299_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d553eb85e95dfde872e5d51922701930_29807887.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/bbfd86f2da73ffe0e98bf31c4a45193a_75312499.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/78a93a3bcce00f4cfe14c3d8876aab5d_81427097.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/85866ae25a5f89d35583a77f31fe910e_6110287.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/4089e9de6cf2c86523b67613d893aa35_17850184.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/87c74f8ff24e6071b36a6c8589262eb0_34584367.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e0f78bb622adbd093a6712407cb53a0d_8828396.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/405347aded867fcb32c188cfa348fc58_49750236.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c40fcacb136ac6383c6fbd09edecc7d5_82629693.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/7055323e9669628af5984a94f587478e_98702300.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/275aea5f6f767a5b7920625a08254382_35975086.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c9d795e9c811deb11f6339af31926bc7_15533009.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/bbfd86f2da73ffe0e98bf31c4a45193a_67023806.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/0e0e418a347194c1afa689d8179950aa_54886634.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/30725d7d883416762523d0cf2827bd46_93501267.png change filename to text .imagette224257931745567073/ imagette224257931745567073/1745566660_1574029_1353655586_87bc4c1c94df852aa2e40981fbd9619e_rle_crop_3769361188_0.png.png imagette224257931745567073/1745566392_1797433_1353655153_f2c8eb41a743b91869179a68360cc017_rle_crop_3769359888_0.png.png imagette224257931745567073/1745566692_1800360_1353655551_a4e5c968eaed1ffc786d023e3021de60_rle_crop_3769361460_0.png.png imagette224257931745567073/1745566572_1799286_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360666_0.png.png imagette224257931745567073/1745566907_1578470_1353655909_9c571abc0e12ac726a54051b8cd3e160_rle_crop_3769363224_0.png.png imagette224257931745567073/1745566631_1799871_1353655645_2212fd2331de3566759c3485e7e1fb86_rle_crop_3769360847_0.png.png imagette224257931745567073/1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361212_0.png.png imagette224257931745567073/1745566631_1799871_1353655636_ff98e1f6c7d4d2986dcf2b9abcfc2598_rle_crop_3769360945_0.png.png imagette224257931745567073/1745566631_1799871_1353655641_c5d122b9881c1f735aee0860569e2434_rle_crop_3769360861_0.png.png imagette224257931745567073/1745566752_1800865_1353655704_dd2e939924cb226e5bbfad3cb1bdcfce_rle_crop_3769361784_0.png.png imagette224257931745567073/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360666_0.png.png imagette224257931745567073/1745566993_1803735_1353656027_8a9c2492a2ab806cb83a4a12bd5c9e9c_rle_crop_3769364299_0.png.png imagette224257931745567073/1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361225_0.png.png imagette224257931745567073/1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361222_0.png.png imagette224257931745567073/1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361208_0.png.png imagette224257931745567073/1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361227_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/6a4482be12daff1bdb356bbb1a37522d_1740890.png imagette224257931745567073 22425796 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=22425796 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353655678: '1745566572_1799286_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360652_0.png', 1353655770: '1745566660_1574029_1353655648_6ff33332a6e4d1892dddc98fc599b35f_rle_crop_3769361158_0.png', 1353655771: '1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361211_0.png', 1353655772: '1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361224_0.png', 1353655821: '1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360652_0.png', 1353655883: '1745566752_1800865_1353655732_63c5f1638323435672397ed9efd992e5_rle_crop_3769361731_0.png', 1353655884: '1745566752_1800865_1353655719_302cce06899f53af8de24ce622bded3d_rle_crop_3769361768_0.png', 1353656033: '1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363255_0.png', 1353656079: '1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363518_0.png', 1353656080: '1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363520_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/9fe35897552e2f38cfcd2b4dacf6c538_39758576.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e3fb25f30c1567ccbbd52841c1bee7e1_94681668.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/a53fcd3d097312df5009be78729c2b41_92728589.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/cf0b59fa28da53bd887dfe0b04c1cf09_17049493.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/9fe35897552e2f38cfcd2b4dacf6c538_8159232.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/fba88a54799747c84292baa80b2bbc4c_37297808.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/7747efb6874be85dcf6ba0fbdc7568fa_74467052.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/b2485c7f87d3a449d988e1d75362ee11_94765541.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/f5b73f6a337800547d044e9857714a41_29091757.png change filename to text .imagette224257961745567074/ imagette224257961745567074/1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361211_0.png.png imagette224257961745567074/1745566752_1800865_1353655719_302cce06899f53af8de24ce622bded3d_rle_crop_3769361768_0.png.png imagette224257961745567074/1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363520_0.png.png imagette224257961745567074/1745566572_1799286_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360652_0.png.png imagette224257961745567074/1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363518_0.png.png imagette224257961745567074/1745566752_1800865_1353655732_63c5f1638323435672397ed9efd992e5_rle_crop_3769361731_0.png.png imagette224257961745567074/1745566660_1574029_1353655648_6ff33332a6e4d1892dddc98fc599b35f_rle_crop_3769361158_0.png.png imagette224257961745567074/1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360652_0.png.png imagette224257961745567074/1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361224_0.png.png imagette224257961745567074/1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363255_0.png.png imagette224257971745567075/ imagette224257991745567075/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d813f0136c92ffee4865c5e844c95dc1_46189595.png imagette224257961745567074 22425797 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=22425797 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224257971745567075 22425799 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=22425799 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224257991745567075 22425791 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=22425791 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353655830: '1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_bib_crop_3769360643_0.jpg', 1353656125: '1745566993_1803735_1353656027_8a9c2492a2ab806cb83a4a12bd5c9e9c_rle_crop_3769364300_0.png', 1353656085: '1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363522_0.png', 1353656084: '1745566933_1803207_1353655865_a3c0e0a0b1824943dd31bcc8790e17e2_rle_crop_3769363495_0.png', 1353656052: '1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363309_0.png', 1353656051: '1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363293_0.png', 1353656050: '1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363262_0.png', 1353656049: '1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363261_0.png', 1353656048: '1745566907_1578470_1353655909_9c571abc0e12ac726a54051b8cd3e160_rle_crop_3769363226_0.png', 1353655892: '1745566752_1800865_1353655724_127359eab31ec2a4ad829ff5ccf34354_rle_crop_3769361759_0.png', 1353655891: '1745566752_1800865_1353655728_c795c4cf49ea53360e8b811e095db05a_rle_crop_3769361743_0.png', 1353655834: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360671_0.png', 1353655833: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360673_0.png', 1353655832: '1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360674_0.png', 1353655831: '1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360655_0.png', 1353655619: '1745566513_1798763_1353655369_92a43f9e7bf8818af4554d97f59597c3_rle_crop_3769360399_0.png', 1353655829: '1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769361471_0.png', 1353655789: '1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361213_0.png', 1353655788: '1745566660_1574029_1353655590_b23f38fae4ff7b7e0bd4cb00910f1b74_rle_crop_3769361173_0.png', 1353655745: '1745566631_1799871_1353655636_ff98e1f6c7d4d2986dcf2b9abcfc2598_rle_crop_3769360949_0.png'} change filename to text .wget -O 1.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c63b46e0a75b88ea1a23e86dc607423a_99162158.jpg change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e36703246d668642b400912d69c3656b_39075587.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/85914a1f9e1f46800d5c8702d04ec1fb_69633952.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/36867f3d81477e13eb57c7d0c7ffe05f_67264381.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/29461129eff42667ff638a3ed3b80427_12261337.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/0e62370b4b57c865a284528e24ef457f_13470060.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/6957b348c6b8d911cb45067e64f594fd_17005860.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c535668f99973505484bda729f077d92_79410675.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/a3ea00e6ba81aba2bed793652741967d_6371498.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1949826c64fe2ea66937c9af46405be2_71111144.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/01bf83ef30ec88e8f66b4bbabc6d863f_77261202.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c563e60f25199cd050f117d8b9df2059_28858623.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e8ec7aaf559be9e5fd792e59bea4d39f_7104788.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/4b90c1b9f04ce02b16fc06687150ef95_64962372.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/57178d90016c65bc51eda5c8cc9b05f8_59469956.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/91bac36ff233175ccb6f1c1bb97cdb6d_30108489.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/8c3fad728054033cfdc17cc5e6e67351_82713507.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/a86f65d034b0f7c0dbfb5aae431be783_7753761.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/8b14aaa5e080294d6fee2fbe4be65849_57439838.png change filename to text .imagette224257911745567075/ imagette224257911745567075/1745566660_1574029_1353655590_b23f38fae4ff7b7e0bd4cb00910f1b74_rle_crop_3769361173_0.png.png imagette224257911745567075/1745566933_1803207_1353655865_a3c0e0a0b1824943dd31bcc8790e17e2_rle_crop_3769363495_0.png.png imagette224257911745567075/1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769361471_0.png.png imagette224257911745567075/1745566907_1578470_1353655909_9c571abc0e12ac726a54051b8cd3e160_rle_crop_3769363226_0.png.png imagette224257911745567075/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360674_0.png.png imagette224257911745567075/1745566993_1803735_1353656027_8a9c2492a2ab806cb83a4a12bd5c9e9c_rle_crop_3769364300_0.png.png imagette224257911745567075/1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363262_0.png.png imagette224257911745567075/1745566660_1574029_1353655581_c88a242d01610d80d720f0a085387fde_rle_crop_3769361213_0.png.png imagette224257911745567075/1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363309_0.png.png imagette224257911745567075/1745566513_1798763_1353655369_92a43f9e7bf8818af4554d97f59597c3_rle_crop_3769360399_0.png.png imagette224257911745567075/1745566752_1800865_1353655728_c795c4cf49ea53360e8b811e095db05a_rle_crop_3769361743_0.png.png imagette224257911745567075/1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363261_0.png.png imagette224257911745567075/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360673_0.png.png imagette224257911745567075/1745566752_1800865_1353655724_127359eab31ec2a4ad829ff5ccf34354_rle_crop_3769361759_0.png.png imagette224257911745567075/1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360655_0.png.png imagette224257911745567075/1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363522_0.png.png imagette224257911745567075/1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_bib_crop_3769360643_0.jpg.jpg imagette224257911745567075/1745566692_1800360_1353655445_07ceaed3e4361e7f48b42d41bb630f2f_rle_crop_3769360671_0.png.png imagette224257911745567075/1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363293_0.png.png imagette224257911745567075/1745566631_1799871_1353655636_ff98e1f6c7d4d2986dcf2b9abcfc2598_rle_crop_3769360949_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/60c9a86c7a20a8e60aae03ef6d32d3ab_81993069.png imagette224257911745567075 22425795 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=22425795 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353656037: '1745566907_1578470_1353655862_cf544e305d6b7218457ed3b8126a4df0_rle_crop_3769363241_0.png', 1353656120: '1745566993_1803735_1353656022_2c4b94a58f4b5680f7909222ef3a4d08_rle_crop_3769364310_0.png', 1353656083: '1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363517_0.png', 1353656082: '1745566933_1803207_1353655790_601aa73d88d19a490af51041c9a9d168_rle_crop_3769363504_0.png', 1353656044: '1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363310_0.png', 1353656043: '1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363311_0.png', 1353656042: '1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363307_0.png', 1353656041: '1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363286_0.png', 1353656040: '1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363296_0.png', 1353656039: '1745566907_1578470_1353655855_97b2c0962c267350796ec04def07961b_rle_crop_3769363276_0.png', 1353656038: '1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363256_0.png', 1353655472: '1745566392_1797433_1353655153_f2c8eb41a743b91869179a68360cc017_rle_crop_3769359891_0.png', 1353655972: '1745566861_1802231_1353655548_8e7eeb4ad1c604af0b2a7b09725dce65_rle_crop_3769362450_0.png', 1353655888: '1745566752_1800865_1353655719_302cce06899f53af8de24ce622bded3d_rle_crop_3769361767_0.png', 1353655825: '1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_bib_crop_3769360640_0.jpg', 1353655824: '1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360644_0.png', 1353655823: '1745566692_1800360_1353655551_a4e5c968eaed1ffc786d023e3021de60_rle_crop_3769361458_0.png', 1353655777: '1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361238_0.png', 1353655776: '1745566660_1574029_1353655590_b23f38fae4ff7b7e0bd4cb00910f1b74_rle_crop_3769361168_0.png', 1353655680: '1745566572_1799286_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360640_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/0a71c00886fa217577cafe94e758f00e_17823259.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ff2c3c4381148416e43b4bda644a2afd_69068787.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/10b9c56c7a2f9094b5f2e85db816ba5d_79662117.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/2f71ec9439d416a4395a17fd0667fc68_52045066.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/5a5aa620e8bf0f7cf3280ab0786f3848_46788092.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/aa206564b98564551134ef1386e4ccdf_82765789.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1984b8c58af9f5424e8665fc0018cab8_99850598.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/3b8833a28e350e7c1dd5174cc20231f7_39921045.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/47886cb5c796c371b8abb4b0f45e25c9_59757080.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/8573abe086fc9094db726bf9564bd398_44102893.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/cfc62dd54a1900c00b9db451b1e2f7df_22374351.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d67a22eb855de48284644b1d92b0a206_38343637.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/9bc21588afed76030dc12457507c7f7d_6979658.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1909bd2f26e3301985138c2e68deec11_66245020.png change filename to text .wget -O 15.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/39c2c8837a31e6bfb8de39f526aa6edc_8707262.jpg change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/2777fcb5c006896dcd3cf0a82a8f0a7c_69489015.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/189e4c532ef9c41765d71a799b18b1ca_87558474.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/a0fa5bed3a57bd35e94e072f9eac63ec_61555062.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c70c5432750854ab6e819bd6fcbaf9eb_25629511.png change filename to text .imagette224257951745567076/ imagette224257951745567076/1745566993_1803735_1353656022_2c4b94a58f4b5680f7909222ef3a4d08_rle_crop_3769364310_0.png.png imagette224257951745567076/1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361238_0.png.png imagette224257951745567076/1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363286_0.png.png imagette224257951745567076/1745566933_1803207_1353655790_601aa73d88d19a490af51041c9a9d168_rle_crop_3769363504_0.png.png imagette224257951745567076/1745566660_1574029_1353655590_b23f38fae4ff7b7e0bd4cb00910f1b74_rle_crop_3769361168_0.png.png imagette224257951745567076/1745566392_1797433_1353655153_f2c8eb41a743b91869179a68360cc017_rle_crop_3769359891_0.png.png imagette224257951745567076/1745566907_1578470_1353655862_cf544e305d6b7218457ed3b8126a4df0_rle_crop_3769363241_0.png.png imagette224257951745567076/1745566752_1800865_1353655719_302cce06899f53af8de24ce622bded3d_rle_crop_3769361767_0.png.png imagette224257951745567076/1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363311_0.png.png imagette224257951745567076/1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360644_0.png.png imagette224257951745567076/1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363307_0.png.png imagette224257951745567076/1745566933_1803207_1353655778_c20f3620a5d629070cb09d72db94671b_rle_crop_3769363517_0.png.png imagette224257951745567076/1745566572_1799286_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_rle_crop_3769360640_0.png.png imagette224257951745567076/1745566907_1578470_1353655850_6f42aadc72957864cb432586268bcc9c_rle_crop_3769363310_0.png.png imagette224257951745567076/1745566692_1800360_1353655450_4ae3870b7386d8f2d3bd51226d502e0a_bib_crop_3769360640_0.jpg.jpg imagette224257951745567076/1745566907_1578470_1353655858_f9fa04aeeffd1f50c7e78394c36b74ee_rle_crop_3769363256_0.png.png imagette224257951745567076/1745566861_1802231_1353655548_8e7eeb4ad1c604af0b2a7b09725dce65_rle_crop_3769362450_0.png.png imagette224257951745567076/1745566907_1578470_1353655855_97b2c0962c267350796ec04def07961b_rle_crop_3769363276_0.png.png imagette224257951745567076/1745566907_1578470_1353655852_b2cdd349a05a31263bc6df930633403f_rle_crop_3769363296_0.png.png imagette224257951745567076/1745566692_1800360_1353655551_a4e5c968eaed1ffc786d023e3021de60_rle_crop_3769361458_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c40ed329dc815560adf92769f8221d78_39150711.png imagette224257951745567076 22425798 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=22425798 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353655675: '1745566572_1799286_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360654_0.png', 1353655735: '1745566631_1799871_1353655641_c5d122b9881c1f735aee0860569e2434_rle_crop_3769360862_0.png', 1353655769: '1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361234_0.png', 1353655820: '1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360654_0.png', 1353655880: '1745566752_1800865_1353655732_63c5f1638323435672397ed9efd992e5_rle_crop_3769361735_0.png', 1353655881: '1745566752_1800865_1353655719_302cce06899f53af8de24ce622bded3d_rle_crop_3769361772_0.png', 1353655882: '1745566752_1800865_1353655704_dd2e939924cb226e5bbfad3cb1bdcfce_rle_crop_3769361785_0.png', 1353656032: '1745566907_1578470_1353655855_97b2c0962c267350796ec04def07961b_rle_crop_3769363274_0.png', 1353656077: '1745566933_1803207_1353655767_cab234ba8c26168e5e443514dc8f9bc7_rle_crop_3769363540_0.png', 1353656078: '1745566933_1803207_1353655767_cab234ba8c26168e5e443514dc8f9bc7_rle_crop_3769363545_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/121c2fd04109b346d4df83075a8dd2c9_20738657.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/4e657a686929fb65fc289db5940692b6_28692672.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ff4e60c806200de7654391a7eb9b2000_13987439.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/121c2fd04109b346d4df83075a8dd2c9_78941224.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/317660a33830625be224bab6977e5be9_30660040.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/0821c59ea82209c506940d65f7342931_92516914.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ad0da71eca93e3a86d50454df517e746_42123046.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/5177efa74422e109b2c0a42a62f1acb4_42777543.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/290b774aa5669c8f8d7730dba5abdb8a_67791039.png change filename to text .imagette224257981745567077/ imagette224257981745567077/1745566752_1800865_1353655732_63c5f1638323435672397ed9efd992e5_rle_crop_3769361735_0.png.png imagette224257981745567077/1745566660_1574029_1353655576_31ba9f43b2466354be067f614540e505_rle_crop_3769361234_0.png.png imagette224257981745567077/1745566907_1578470_1353655855_97b2c0962c267350796ec04def07961b_rle_crop_3769363274_0.png.png imagette224257981745567077/1745566752_1800865_1353655704_dd2e939924cb226e5bbfad3cb1bdcfce_rle_crop_3769361785_0.png.png imagette224257981745567077/1745566752_1800865_1353655719_302cce06899f53af8de24ce622bded3d_rle_crop_3769361772_0.png.png imagette224257981745567077/1745566933_1803207_1353655767_cab234ba8c26168e5e443514dc8f9bc7_rle_crop_3769363540_0.png.png imagette224257981745567077/1745566692_1800360_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360654_0.png.png imagette224257981745567077/1745566572_1799286_1353655447_953149bab853582412e6c4c6b212272f_rle_crop_3769360654_0.png.png imagette224257981745567077/1745566631_1799871_1353655641_c5d122b9881c1f735aee0860569e2434_rle_crop_3769360862_0.png.png imagette224257981745567077/1745566933_1803207_1353655767_cab234ba8c26168e5e443514dc8f9bc7_rle_crop_3769363545_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d93454a284d17544364dd793fa197a6f_84650594.png imagette224257981745567077 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22425759 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22425800,22425801,22425802,22425803,22425804,22425805,22425806,22425807,22425808,22425809,22425810,22425811?tags=papier,kraft,flou,Carton_brun,plastique,cartonnette,environnement,Carton_gris,autre_refus,metal,Teint_Dans_La_Masse,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1353656156] : ('0.050026108103266353',) no score found for photo 1353656156 We are sending mail with results at report@fotonower.com args[1353656153] : ('0.050026108103266353',) no score found for photo 1353656153 We are sending mail with results at report@fotonower.com args[1353656150] : ('0.050026108103266353',) no score found for photo 1353656150 We are sending mail with results at report@fotonower.com args[1353656146] : ('0.050026108103266353',) no score found for photo 1353656146 We are sending mail with results at report@fotonower.com args[1353656111] : ('0.050026108103266353',) no score found for photo 1353656111 We are sending mail with results at report@fotonower.com args[1353656107] : ('0.050026108103266353',) no score found for photo 1353656107 We are sending mail with results at report@fotonower.com args[1353656102] : ('0.050026108103266353',) no score found for photo 1353656102 We are sending mail with results at report@fotonower.com args[1353656098] : ('0.050026108103266353',) no score found for photo 1353656098 We are sending mail with results at report@fotonower.com args[1353656095] : ('0.050026108103266353',) no score found for photo 1353656095 We are sending mail with results at report@fotonower.com args[1353656091] : ('0.050026108103266353',) no score found for photo 1353656091 We are sending mail with results at report@fotonower.com refus_total : 0.050026108103266353 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=22425759 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_P22425759_25-04-2025_09_44_32.pdf results_Auto_P22425759_25-04-2025_09_44_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22425759_25-04-2025_09_44_32.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','22425759','results_Auto_P22425759_25-04-2025_09_44_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22425759_25-04-2025_09_44_32.pdf','pdf','','0.35','0.050026108103266353') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22425759]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] map_info['map_portfolio_photo'] : {22425759: [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091, 1353656030, 1353656027, 1353656024, 1353656022, 1353655969, 1353655964, 1353655959, 1353655955, 1353655950, 1353655941, 1353655909, 1353655906, 1353655903, 1353655865, 1353655862, 1353655858, 1353655855, 1353655852, 1353655850, 1353655798, 1353655790, 1353655778, 1353655767, 1353655764, 1353655741, 1353655732, 1353655728, 1353655724, 1353655719, 1353655704, 1353655648, 1353655645, 1353655641, 1353655636, 1353655596, 1353655590, 1353655586, 1353655581, 1353655576, 1353655571, 1353655551, 1353655548, 1353655540, 1353655533, 1353655461, 1353655455, 1353655450, 1353655447, 1353655445, 1353655442, 1353655382, 1353655369, 1353655364, 1353655359, 1353655357, 1353655352, 1353655160, 1353655153]} final : False mtd_id 4302 list_pids : [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] 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, '2761636') ('4302', '22425759', '1353656156', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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', '22425759', '1353656156', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636')] time used for this insertion : 0.021367311477661133 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.603808164596558 time spend to save output : 0.02169942855834961 total time spend for step 4 : 7.625507593154907 step5:split_time_score Fri Apr 25 09:44:39 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 : ['22425759'] 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 : [('22425759',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22425759) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353656156: {'path': 'temp/1745567071_752046_1353656156_f03d78953d279ab83a9afd61b28282dd.jpg', 'extension': 'jpg'}, 1353656146: {'path': 'temp/1745567071_752046_1353656146_96f1b9588b8f174cb6e1d807e34ddcf6.jpg', 'extension': 'jpg'}, 1353656150: {'path': 'temp/1745567071_752046_1353656150_f63898829a6007e27a76b18526bda64c.jpg', 'extension': 'jpg'}, 1353656153: {'path': 'temp/1745567071_752046_1353656153_7d5b6c6711838aea597cd1512dd5e9f7.jpg', 'extension': 'jpg'}, 1353656102: {'path': 'temp/1745567071_752046_1353656102_9fb4911e320fa7cc4af74f823d959227.jpg', 'extension': 'jpg'}, 1353656107: {'path': 'temp/1745567071_752046_1353656107_c79dbbd6f497943d65010e4097d3a674.jpg', 'extension': 'jpg'}, 1353656111: {'path': 'temp/1745567071_752046_1353656111_04c3ab664018289f9953b795d60ec25b.jpg', 'extension': 'jpg'}, 1353656091: {'path': 'temp/1745567071_752046_1353656091_eb097976153595fa691cd89f75a1e33f.jpg', 'extension': 'jpg'}, 1353656095: {'path': 'temp/1745567071_752046_1353656095_897b90334d23e69a7929689abd287928.jpg', 'extension': 'jpg'}, 1353656098: {'path': 'temp/1745567071_752046_1353656098_3e3aad1b2606bf909b8c406161a26708.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 22425759; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22425759 group by h (('09', 68),) 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=22425759 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22425759) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22425759) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25042025 22425759 Nombre de photos uploadées : 68 / 23040 (0%) 25042025 22425759 Nombre de photos taguées (types de déchets): 0 / 68 (0%) 25042025 22425759 Nombre de photos taguées (volume) : 0 / 68 (0%) [{'photo_id': 1353655160, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/43d17adfcbbdff1baee292125a3f9719.jpg', 'username': None, 'uploaded_at': 1745566267, 'text': 'image_25042025_09_30_33_009137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353655153, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/f2c8eb41a743b91869179a68360cc017.jpg', 'username': None, 'uploaded_at': 1745566267, 'text': 'image_25042025_09_30_43_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353655382, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/50af5436750917bfa8e1eb47413642da.jpg', 'username': None, 'uploaded_at': 1745566338, 'text': 'image_25042025_09_30_53_10136.jpg'}, {'photo_id': 1353655369, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/92a43f9e7bf8818af4554d97f59597c3.jpg', 'username': None, 'uploaded_at': 1745566338, 'text': 'image_25042025_09_31_04_010148m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003087759017944336 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22425759, '2025-04-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1747621,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02674269676208496 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1747621 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1747621, 'dashboard_run_id': 1756359, 'mtr_portfolio_id': 22424509, 'dashboard_result_id': 10099282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22424509_25-04-2025_09_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22424545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22424546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22424547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22424548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22424549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22424550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22424551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22424552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22424553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22424554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22424555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22424556, 'pht': 3726}}"}, {'dashboat_entry_day': 1747621, 'dashboard_run_id': 1756359, 'mtr_portfolio_id': 22425759, 'dashboard_result_id': 10099283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22425759_25-04-2025_09_42_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22425788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22425789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22425790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22425791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22425792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22425793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22425794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22425795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22425796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22425797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22425798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22425799, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22424509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2761487, 'mtr_portfolio_id': 22424509, 'created_at': datetime.datetime(2025, 4, 25, 9, 32, 57), 'result': '0.052932061233173', 'result_long': None, 'result_double': None}] Qualite : 0.052932061233173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22424509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22424509_25-04-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22424509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22424509_25-04-2025_09_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22424545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22424546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22424547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22424548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22424549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22424550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22424551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22424552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22424553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22424554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22424555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22424556, 'pht': 3726}}" where mtr_portfolio_id = 22424509 and dashboard_run_id = 1756359 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22424509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10099282, 0.052932061233173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22424509_25-04-2025_09_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22424545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22424546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22424547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22424548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22424549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22424550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22424551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22424552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22424553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22424554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22424555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22424556, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22425759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2761636, 'mtr_portfolio_id': 22425759, 'created_at': datetime.datetime(2025, 4, 25, 9, 44, 31), 'result': '0.050026108103266353', 'result_long': None, 'result_double': None}] Qualite : 0.050026108103266353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22425759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22425759_25-04-2025_09_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22425759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22425759_25-04-2025_09_44_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22425788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22425789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22425790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22425791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22425792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22425793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22425794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22425795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22425796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22425797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22425798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22425799, 'pht': 3726}}" where mtr_portfolio_id = 22425759 and dashboard_run_id = 1756359 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22425759 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10099283, 0.050026108103266353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22425759_25-04-2025_09_44_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22425788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22425789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22425790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22425791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22425792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22425793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22425794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22425795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22425796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22425797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22425798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22425799, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22424509,22425759) result : ((1353648348,), (1353648352,), (1353648356,), (1353648420,), (1353648426,), (1353648429,), (1353648432,), (1353648436,), (1353648439,), (1353648453,), (1353648455,), (1353648459,), (1353648463,), (1353648501,), (1353648505,), (1353648511,), (1353648515,), (1353648517,), (1353648520,), (1353648562,), (1353648567,), (1353648572,), (1353648578,), (1353648584,), (1353648609,), (1353648620,), (1353648634,), (1353648638,), (1353648644,), (1353648684,), (1353648689,), (1353648694,), (1353648699,), (1353648707,), (1353648753,), (1353648757,), (1353648760,), (1353648763,), (1353648817,), (1353648820,), (1353648823,), (1353648828,), (1353648833,), (1353648837,), (1353648885,), (1353648889,), (1353648894,), (1353648899,), (1353648952,), (1353648955,), (1353648958,), (1353648964,), (1353648972,), (1353648988,), (1353649013,), (1353649015,), (1353649017,), (1353649019,), (1353649065,), (1353649069,), (1353649073,), (1353649077,), (1353649081,), (1353649330,), (1353649360,), (1353649398,), (1353649433,), (1353649536,), (1353649622,), (1353649651,), (1353655172,), (1353655153,), (1353655160,), (1353655352,), (1353655357,), (1353655359,), (1353655364,), (1353655369,), (1353655382,), (1353655442,), (1353655445,), (1353655447,), (1353655450,), (1353655455,), (1353655461,), (1353655533,), (1353655540,), (1353655548,), (1353655551,), (1353655571,), (1353655576,), (1353655581,), (1353655586,), (1353655590,), (1353655596,), (1353655636,), (1353655641,), (1353655645,), (1353655648,), (1353655704,), (1353655719,), (1353655724,), (1353655728,), (1353655732,), (1353655741,), (1353655764,), (1353655767,), (1353655778,), (1353655790,), (1353655798,), (1353655850,), (1353655852,), (1353655855,), (1353655858,), (1353655862,), (1353655865,), (1353655903,), (1353655906,), (1353655909,), (1353655941,), (1353655950,), (1353655955,), (1353655959,), (1353655964,), (1353655969,), (1353656022,), (1353656024,), (1353656027,), (1353656030,), (1353656091,), (1353656095,), (1353656098,), (1353656102,), (1353656107,), (1353656111,), (1353656146,), (1353656150,), (1353656153,), (1353656156,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25042025': {'nb_upload': 68, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22425759]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] map_info['map_portfolio_photo'] : {22425759: [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091, 1353656030, 1353656027, 1353656024, 1353656022, 1353655969, 1353655964, 1353655959, 1353655955, 1353655950, 1353655941, 1353655909, 1353655906, 1353655903, 1353655865, 1353655862, 1353655858, 1353655855, 1353655852, 1353655850, 1353655798, 1353655790, 1353655778, 1353655767, 1353655764, 1353655741, 1353655732, 1353655728, 1353655724, 1353655719, 1353655704, 1353655648, 1353655645, 1353655641, 1353655636, 1353655596, 1353655590, 1353655586, 1353655581, 1353655576, 1353655571, 1353655551, 1353655548, 1353655540, 1353655533, 1353655461, 1353655455, 1353655450, 1353655447, 1353655445, 1353655442, 1353655382, 1353655369, 1353655364, 1353655359, 1353655357, 1353655352, 1353655160, 1353655153]} final : True mtd_id 4302 list_pids : [1353656156, 1353656153, 1353656150, 1353656146, 1353656111, 1353656107, 1353656102, 1353656098, 1353656095, 1353656091] Looping around the photos to save general results len do output : 1 /22425759Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656156', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636') ('4302', None, None, None, None, None, None, None, '2761636') ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636') 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', None, '22425759', 'None', None, None, None, None, '2761636'), ('4302', '22425759', '1353656156', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656153', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656150', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656146', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656111', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656107', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656102', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656098', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656095', None, None, None, None, None, '2761636'), ('4302', '22425759', '1353656091', None, None, None, None, None, '2761636')] time used for this insertion : 0.017000913619995117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2539687156677246 time spend to save output : 0.017389535903930664 total time spend for step 5 : 0.2713582515716553 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2761636) 2.37user 2.32system 0:14.33elapsed 32%CPU (0avgtext+0avgdata 159912maxresident)k 328inputs+19888outputs (10major+77452minor)pagefaults 0swaps