python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 830652 load datou : 4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2655656) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2655656) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241634 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2655656'] with mtr_portfolio_ids : ['21241634'] and first list_photo_ids : [] new path : /proc/830652/ Name: python3 Umask: 0002 State: R (running) Tgid: 830652 Ngid: 0 Pid: 830652 PPid: 830651 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 830652 NSpid: 830652 NSpgid: 825329 NSsid: 825329 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98284 kB VmRSS: 98284 kB RssAnon: 59764 kB RssFile: 38520 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 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: 62 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '830652', 'Ngid': '0', 'Pid': '830652', 'PPid': '830651', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '830652', 'NSpid': '830652', 'NSpgid': '825329', 'NSsid': '825329', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98284 kB', 'VmRSS': '98284 kB', 'RssAnon': '59764 kB', 'RssFile': '38520 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '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': '62', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '830652', '1106844', '0', '1106844', '865592', '98284', b'', 'marlene', '2655656') 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 (21241634) 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 (2655656 ) ) 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 (21241634) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1342668854, 'portfolio_id': 21241634}, {'photo_id': 1342668850, 'portfolio_id': 21241634}, {'photo_id': 1342668843, 'portfolio_id': 21241634}, {'photo_id': 1342668829, 'portfolio_id': 21241634}, {'photo_id': 1342668811, 'portfolio_id': 21241634}, {'photo_id': 1342668493, 'portfolio_id': 21241634}, {'photo_id': 1342668486, 'portfolio_id': 21241634}, {'photo_id': 1342668481, 'portfolio_id': 21241634}, {'photo_id': 1342668122, 'portfolio_id': 21241634}, {'photo_id': 1342668096, 'portfolio_id': 21241634}, {'photo_id': 1342668077, 'portfolio_id': 21241634}, {'photo_id': 1342668049, 'portfolio_id': 21241634}, {'photo_id': 1342668021, 'portfolio_id': 21241634}, {'photo_id': 1342667656, 'portfolio_id': 21241634}, {'photo_id': 1342667626, 'portfolio_id': 21241634}, {'photo_id': 1342667606, 'portfolio_id': 21241634}, {'photo_id': 1342667579, 'portfolio_id': 21241634}, {'photo_id': 1342667559, 'portfolio_id': 21241634}, {'photo_id': 1342667528, 'portfolio_id': 21241634}, {'photo_id': 1342667298, 'portfolio_id': 21241634}, {'photo_id': 1342667290, 'portfolio_id': 21241634}, {'photo_id': 1342667286, 'portfolio_id': 21241634}, {'photo_id': 1342667142, 'portfolio_id': 21241634}, {'photo_id': 1342667040, 'portfolio_id': 21241634}, {'photo_id': 1342666778, 'portfolio_id': 21241634}, {'photo_id': 1342666770, 'portfolio_id': 21241634}, {'photo_id': 1342666766, 'portfolio_id': 21241634}, {'photo_id': 1342666752, 'portfolio_id': 21241634}, {'photo_id': 1342666749, 'portfolio_id': 21241634}, {'photo_id': 1342666674, 'portfolio_id': 21241634}, {'photo_id': 1342666659, 'portfolio_id': 21241634}, {'photo_id': 1342666655, 'portfolio_id': 21241634}, {'photo_id': 1342666637, 'portfolio_id': 21241634}, {'photo_id': 1342666610, 'portfolio_id': 21241634}, {'photo_id': 1342666343, 'portfolio_id': 21241634}, {'photo_id': 1342666315, 'portfolio_id': 21241634}, {'photo_id': 1342666300, 'portfolio_id': 21241634}, {'photo_id': 1342666295, 'portfolio_id': 21241634}] map_portfolio_id_photo_id: {21241634: [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021, 1342667656, 1342667626, 1342667606, 1342667579, 1342667559, 1342667528, 1342667298, 1342667290, 1342667286, 1342667142, 1342667040, 1342666778, 1342666770, 1342666766, 1342666752, 1342666749, 1342666674, 1342666659, 1342666655, 1342666637, 1342666610, 1342666343, 1342666315, 1342666300, 1342666295]} ##### 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.016482830047607422 #### 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 Mon Mar 10 21:24:57 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 (21241634) 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 : 21241634 get user id for portfolio 21241634 get sub ptf for main ptf 21241634, type 3726 and hashtags ['kraft', 'cartonnette', 'environnement', 'metal', 'papier', 'Carton_gris', 'plastique', 'flou', 'autre_refus', 'Teint_Dans_La_Masse', 'Carton_brun', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21241634 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','environnement','metal','papier','Carton_gris','plastique','flou','autre_refus','Teint_Dans_La_Masse','Carton_brun','mal_croppe')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21241634 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','environnement','metal','papier','Carton_gris','plastique','flou','autre_refus','Teint_Dans_La_Masse','Carton_brun','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21241634, 'sub_port_id': 21241637, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830922, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'Carton_gris': {'main_port_id': 21241634, 'sub_port_id': 21241638, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830923, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'papier': {'main_port_id': 21241634, 'sub_port_id': 21241639, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830924, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'plastique': {'main_port_id': 21241634, 'sub_port_id': 21241640, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830925, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'flou': {'main_port_id': 21241634, 'sub_port_id': 21241641, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830926, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21241634, 'sub_port_id': 21241642, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830927, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'environnement': {'main_port_id': 21241634, 'sub_port_id': 21241643, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830928, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'mal_croppe': {'main_port_id': 21241634, 'sub_port_id': 21241644, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830929, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'autre_refus': {'main_port_id': 21241634, 'sub_port_id': 21241645, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830930, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'metal': {'main_port_id': 21241634, 'sub_port_id': 21241646, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830931, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'kraft': {'main_port_id': 21241634, 'sub_port_id': 21241647, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830932, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}, 'Carton_brun': {'main_port_id': 21241634, 'sub_port_id': 21241648, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830933, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 19, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241637 , 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=21241634 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 (21241637) result : ((1342666798,), (1342667650,), (1342667652,), (1342667684,), (1342667685,), (1342667686,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241638 , 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=21241634 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 (21241638) result : ((1342666789,), (1342667678,), (1342668609,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241639 , 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=21241634 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 (21241639) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241640 , 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=21241634 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 (21241640) result : ((1342667668,), (1342668737,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241641 , 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=21241634 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 (21241641) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241642 , 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=21241634 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 (21241642) result : ((1342666779,), (1342666780,), (1342666781,), (1342666782,), (1342666783,), (1342667654,), (1342667655,), (1342668570,), (1342668571,), (1342668572,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241643 , 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=21241634 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 (21241643) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241644 , 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=21241634 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 (21241644) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241645 , 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=21241634 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 (21241645) result : ((1342666784,), (1342666785,), (1342666786,), (1342666787,), (1342667634,), (1342667636,), (1342667638,), (1342667669,), (1342667670,), (1342667671,), (1342667673,), (1342668573,), (1342668574,), (1342668575,), (1342668577,), (1342668579,), (1342668580,), (1342668582,), (1342668583,), (1342668585,), (1342668586,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241646 , 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=21241634 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 (21241646) result : ((1342666800,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241647 , 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=21241634 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 (21241647) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21241648 , 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=21241634 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 (21241648) result : ((1342666799,), (1342667662,), (1342667694,), (1342667695,), (1342667696,), (1342668590,), (1342668592,), (1342668611,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21241634) result : ((1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,)) 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 (1342666300) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21241634 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','environnement','metal','papier','Carton_gris','plastique','flou','autre_refus','Teint_Dans_La_Masse','Carton_brun','mal_croppe')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21241634 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','environnement','metal','papier','Carton_gris','plastique','flou','autre_refus','Teint_Dans_La_Masse','Carton_brun','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21241634, 'sub_port_id': 21241649, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830934, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'Carton_gris': {'main_port_id': 21241634, 'sub_port_id': 21241650, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830935, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'papier': {'main_port_id': 21241634, 'sub_port_id': 21241651, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830936, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'plastique': {'main_port_id': 21241634, 'sub_port_id': 21241652, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830937, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'flou': {'main_port_id': 21241634, 'sub_port_id': 21241653, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830938, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'Teint_Dans_La_Masse': {'main_port_id': 21241634, 'sub_port_id': 21241654, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830939, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'environnement': {'main_port_id': 21241634, 'sub_port_id': 21241655, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830940, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'mal_croppe': {'main_port_id': 21241634, 'sub_port_id': 21241656, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830941, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'autre_refus': {'main_port_id': 21241634, 'sub_port_id': 21241657, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830942, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'metal': {'main_port_id': 21241634, 'sub_port_id': 21241658, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830943, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'kraft': {'main_port_id': 21241634, 'sub_port_id': 21241659, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830944, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}, 'Carton_brun': {'main_port_id': 21241634, 'sub_port_id': 21241660, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13830945, 'last_updated_at': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 21, 21, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 21, 20)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241649,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241637 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241650,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241638 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241651,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241639 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241652,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241640 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241653,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241641 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241654,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241642 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241655,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241643 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241656,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241644 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241657,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241645 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241658,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241646 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241659,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241647 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21241660,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21241648 lien utilise dans velours : https://www.fotonower.com/velours/21241649,21241650,21241651,21241652,21241653,21241654,21241655,21241656,21241657,21241658,21241659,21241660?tags=cartonnette,Carton_gris,papier,plastique,flou,Teint_Dans_La_Masse,environnement,mal_croppe,autre_refus,metal,kraft,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21241634]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021] map_info['map_portfolio_photo'] : {21241634: [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021, 1342667656, 1342667626, 1342667606, 1342667579, 1342667559, 1342667528, 1342667298, 1342667290, 1342667286, 1342667142, 1342667040, 1342666778, 1342666770, 1342666766, 1342666752, 1342666749, 1342666674, 1342666659, 1342666655, 1342666637, 1342666610, 1342666343, 1342666315, 1342666300, 1342666295]} final : False mtd_id 4302 list_pids : [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021] Looping around the photos to save general results len do output : 1 /21241634. 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, '2655656') ('4302', '21241634', '1342668854', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668850', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668843', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668829', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668811', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668493', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668486', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668481', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668122', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668096', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668077', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668049', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668021', None, None, None, None, None, '2655656') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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, '21241634', "{'cartonnette': 21241637, 'Carton_gris': 21241638, 'papier': 21241639, 'plastique': 21241640, 'flou': 21241641, 'Teint_Dans_La_Masse': 21241642, 'environnement': 21241643, 'mal_croppe': 21241644, 'autre_refus': 21241645, 'metal': 21241646, 'kraft': 21241647, 'Carton_brun': 21241648}", None, None, None, None, '2655656'), ('4302', '21241634', '1342668854', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668850', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668843', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668829', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668811', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668493', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668486', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668481', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668122', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668096', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668077', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668049', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668021', None, None, None, None, None, '2655656')] time used for this insertion : 0.01557159423828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6381895542144775 time spend to save output : 0.015857696533203125 total time spend for step 1 : 0.6540472507476807 step2:final Mon Mar 10 21:24:57 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 (21241634) 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 21241634 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1342666343,1342666315,1342666300,1342666295,1342666674,1342666659,1342666655,1342666637,1342666610,1342666778,1342666770,1342666766,1342666752,1342666749,1342667298,1342667290,1342667286,1342667142,1342667040,1342667656,1342667626,1342667606,1342667579,1342667559,1342667528,1342668122,1342668096,1342668077,1342668049,1342668021,1342668493,1342668486,1342668481,1342668854,1342668850,1342668843,1342668829,1342668811); 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([21241634]) Inside saveOutput : final : False verbose : True original output for save of step final : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} new output for save of step final : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021] map_info['map_portfolio_photo'] : {21241634: [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021, 1342667656, 1342667626, 1342667606, 1342667579, 1342667559, 1342667528, 1342667298, 1342667290, 1342667286, 1342667142, 1342667040, 1342666778, 1342666770, 1342666766, 1342666752, 1342666749, 1342666674, 1342666659, 1342666655, 1342666637, 1342666610, 1342666343, 1342666315, 1342666300, 1342666295]} final : False mtd_id 4302 list_pids : [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021] Looping around the photos to save general results len do output : 13 /1342668854.Didn't retrieve data . /1342668850.Didn't retrieve data . /1342668843.Didn't retrieve data . /1342668829.Didn't retrieve data . /1342668811.Didn't retrieve data . /1342668493.Didn't retrieve data . /1342668486.Didn't retrieve data . /1342668481.Didn't retrieve data . /1342668122.Didn't retrieve data . /1342668096.Didn't retrieve data . /1342668077.Didn't retrieve data . /1342668049.Didn't retrieve data . /1342668021.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, '2655656') ('4302', '21241634', '1342668854', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668850', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668843', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668829', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668811', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668493', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668486', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668481', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668122', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668096', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668077', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668049', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668021', None, None, None, None, None, '2655656') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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', '21241634', '1342668854', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668850', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668843', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668829', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668811', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668493', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668486', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668481', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668122', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668096', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668077', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668049', '0.06677781353372149', None, None, None, None, '2655656'), ('4302', '21241634', '1342668021', '0.06677781353372149', None, None, None, None, '2655656')] time used for this insertion : 0.016414403915405273 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06784439086914062 time spend to save output : 0.01699972152709961 total time spend for step 2 : 0.08484411239624023 step3:velours_tree Mon Mar 10 21:24:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {21241634: [{'cartonnette': 21241637, 'Carton_gris': 21241638, 'papier': 21241639, 'plastique': 21241640, 'flou': 21241641, 'Teint_Dans_La_Masse': 21241642, 'environnement': 21241643, 'mal_croppe': 21241644, 'autre_refus': 21241645, 'metal': 21241646, 'kraft': 21241647, 'Carton_brun': 21241648}]} input_args_next_step : {21241634: ()} output_args : {21241634: [{'cartonnette': 21241637, 'Carton_gris': 21241638, 'papier': 21241639, 'plastique': 21241640, 'flou': 21241641, 'Teint_Dans_La_Masse': 21241642, 'environnement': 21241643, 'mal_croppe': 21241644, 'autre_refus': 21241645, 'metal': 21241646, 'kraft': 21241647, 'Carton_brun': 21241648}]} args : 21241634 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 : ({'cartonnette': 21241637, 'Carton_gris': 21241638, 'papier': 21241639, 'plastique': 21241640, 'flou': 21241641, 'Teint_Dans_La_Masse': 21241642, 'environnement': 21241643, 'mal_croppe': 21241644, 'autre_refus': 21241645, 'metal': 21241646, 'kraft': 21241647, 'Carton_brun': 21241648},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21241634) 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([21241634]) 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.4416663646697998 time spend to save output : 0.0001227855682373047 total time spend for step 3 : 0.4417891502380371 step4:send_mail_cod Mon Mar 10 21:24:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} input_args_next_step : {1342668854: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668854 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668850 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668843 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668829 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668811 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668493 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668486 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668481 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668122 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668096 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668077 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668049 depend.output_id : 0 input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ()} output_args : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',)} args : 1342668021 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 : {21241634: [{'cartonnette': 21241637, 'Carton_gris': 21241638, 'papier': 21241639, 'plastique': 21241640, 'flou': 21241641, 'Teint_Dans_La_Masse': 21241642, 'environnement': 21241643, 'mal_croppe': 21241644, 'autre_refus': 21241645, 'metal': 21241646, 'kraft': 21241647, 'Carton_brun': 21241648}]} input_args_next_step : {1342668854: ('0.06677781353372149',), 1342668850: ('0.06677781353372149',), 1342668843: ('0.06677781353372149',), 1342668829: ('0.06677781353372149',), 1342668811: ('0.06677781353372149',), 1342668493: ('0.06677781353372149',), 1342668486: ('0.06677781353372149',), 1342668481: ('0.06677781353372149',), 1342668122: ('0.06677781353372149',), 1342668096: ('0.06677781353372149',), 1342668077: ('0.06677781353372149',), 1342668049: ('0.06677781353372149',), 1342668021: ('0.06677781353372149',), 21241634: ()} output_args : {21241634: [{'cartonnette': 21241637, 'Carton_gris': 21241638, 'papier': 21241639, 'plastique': 21241640, 'flou': 21241641, 'Teint_Dans_La_Masse': 21241642, 'environnement': 21241643, 'mal_croppe': 21241644, 'autre_refus': 21241645, 'metal': 21241646, 'kraft': 21241647, 'Carton_brun': 21241648}]} args : 21241634 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 :14, first value : ('0.06677781353372149',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21241634) 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 (1342668854,1342668850,1342668843,1342668829,1342668811,1342668493,1342668486,1342668481,1342668122,1342668096,1342668077,1342668049,1342668021) Found this number of photos: 13 ##### Call download_photos : nb_thread : 5 begin to download photo : 1342668021 begin to download photo : 1342668096 begin to download photo : 1342668486 begin to download photo : 1342668829 begin to download photo : 1342668854 download finish for photo 1342668486 begin to download photo : 1342668493 download finish for photo 1342668854 download finish for photo 1342668829 begin to download photo : 1342668843 download finish for photo 1342668021 begin to download photo : 1342668049 download finish for photo 1342668096 begin to download photo : 1342668122 download finish for photo 1342668049 begin to download photo : 1342668077 download finish for photo 1342668122 begin to download photo : 1342668481 download finish for photo 1342668843 begin to download photo : 1342668850 download finish for photo 1342668493 begin to download photo : 1342668811 download finish for photo 1342668077 download finish for photo 1342668481 download finish for photo 1342668850 download finish for photo 1342668811 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 : 13 ; length of list_pids : 13 ; length of list_args : 13 results_Auto_P21241634_10-03-2025_21_24_59.pdf 21241637 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=21241637 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342666798: '1741637872_21856_1342666343_fd49758e56a599be91593d46748ebd81_rle_crop_3703508701_0.png', 1342667650: '1741638027_373868_1342666770_1571dcee9abb94f7a041fd8c2d2277b9_rle_crop_3703510349_0.png', 1342667652: '1741638027_373868_1342666766_686af2c293978ae6386ac911be4b64df_rle_crop_3703510427_0.png', 1342667684: '1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510373_0.png', 1342667685: '1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510367_0.png', 1342667686: '1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511043_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8b9ff7ab5bf181a956a9624e2510ba4f_53583365.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e667d4a7c6b34c461aaeec029967f75a_8873163.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4bd613a9241f5b29fec7ebfc57311cce_66380760.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4ad8f1569f73e6626710991bf43c5fd9_89070229.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/58371b47e6e4731abee1fb476919e298_61916021.png change filename to text .imagette212416371741638299/ imagette212416371741638299/1741637872_21856_1342666343_fd49758e56a599be91593d46748ebd81_rle_crop_3703508701_0.png.png imagette212416371741638299/1741638027_373868_1342666770_1571dcee9abb94f7a041fd8c2d2277b9_rle_crop_3703510349_0.png.png imagette212416371741638299/1741638027_373868_1342666766_686af2c293978ae6386ac911be4b64df_rle_crop_3703510427_0.png.png imagette212416371741638299/1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510373_0.png.png imagette212416371741638299/1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511043_0.png.png imagette212416371741638299/1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510367_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/7b569cf349d12e886f069d2914be2460_76284569.png imagette212416371741638299 21241640 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=21241640 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342667668: '1741638027_373868_1342666766_686af2c293978ae6386ac911be4b64df_rle_crop_3703510425_0.png', 1342668737: '1741638134_26543_1342667579_54631ee63138aa685ffcc1c9d4a10984_rle_crop_3703515350_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c61fb3405bf8792ee7331ba3e48e6d4e_4278001.png change filename to text .imagette212416401741638299/ imagette212416401741638299/1741638134_26543_1342667579_54631ee63138aa685ffcc1c9d4a10984_rle_crop_3703515350_0.png.png imagette212416401741638299/1741638027_373868_1342666766_686af2c293978ae6386ac911be4b64df_rle_crop_3703510425_0.png.png imagette212416411741638299/ imagette212416441741638299/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1835c9fe01e2edc43237fbc668b70b96_82663223.png imagette212416401741638299 21241641 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=21241641 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212416411741638299 21241644 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=21241644 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212416441741638299 21241645 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=21241645 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342667673: '1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511048_0.png', 1342668586: '1741638147_378210_1342667040_2a080c49a9a48da73f5b6514d265eecf_rle_crop_3703515398_0.png', 1342668585: '1741638134_26543_1342667528_84372b0c281b0f838a55f42566741a73_rle_crop_3703515415_0.png', 1342668583: '1741638134_26543_1342667559_dd7f31050903a3724950be7dbf496618_rle_crop_3703515382_0.png', 1342668582: '1741638134_26543_1342667579_54631ee63138aa685ffcc1c9d4a10984_rle_crop_3703515359_0.png', 1342668580: '1741638134_26543_1342667606_3595b014de7e02ce00abbc9f619a70a5_rle_crop_3703515304_0.png', 1342668579: '1741638134_26543_1342667626_7467ad7d04c08e952319565170b54296_rle_crop_3703515205_0.png', 1342668577: '1741638147_378210_1342667142_7796e5a3d22422e45f8f2cf8d0fe1d85_rle_crop_3703515370_0.png', 1342668575: '1741638147_378210_1342667286_700001bc3ae6d77b2da31653ba5a73fd_rle_crop_3703515321_0.png', 1342668574: '1741638147_378210_1342667290_01f194d7cd54e2c56c44662c0ff69814_rle_crop_3703515259_0.png', 1342668573: '1741638147_378210_1342667656_b64df3b9cf6f4b2a8798da1c52ee45ad_rle_crop_3703515216_0.png', 1342666784: '1741637872_21856_1342666343_fd49758e56a599be91593d46748ebd81_rle_crop_3703508702_0.png', 1342667671: '1741638012_25515_1342666637_e357fce7a949b2e22da0f3e6e0c51c2f_rle_crop_3703510533_0.png', 1342667670: '1741638012_25515_1342666655_bd0c80c1b8e3fa3ac0fe0b4489d5d9a6_rle_crop_3703510507_0.png', 1342667669: '1741638012_25515_1342666655_bd0c80c1b8e3fa3ac0fe0b4489d5d9a6_rle_crop_3703510505_0.png', 1342667638: '1741638027_373868_1342666749_ecd594e4e79af626a7dfc2036b06139b_rle_crop_3703510520_0.png', 1342667636: '1741638027_373868_1342666752_6c5bee1d134d29320742502166abd989_rle_crop_3703510494_0.png', 1342667634: '1741638027_373868_1342666770_1571dcee9abb94f7a041fd8c2d2277b9_rle_crop_3703510348_0.png', 1342666787: '1741637872_21856_1342666300_682d3d11fbb9383d73938b100dbdc62d_rle_crop_3703508734_0.png', 1342666786: '1741637872_21856_1342666315_3a57f86d1c7aaac0c01aba554314cf32_rle_crop_3703508713_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/03431ea224f7924195c471f992780659_59846220.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/74eb48a1741f0f40d2330ed0f9e68e30_17171025.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c9ae9f696d712d4a57a04cb4b959c3b4_94150235.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0b1679366963e9b9c2dcd427484bb45e_82069170.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/07fe401096dc409a5f2bbf0d64de0668_29726358.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0adadc95f4b852df6381eae7804a6dc4_35556411.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e7b18ed13064d11b2ba28a132a8ded69_85281926.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2afb36f9d5da6e941c3435c30f16c872_39313867.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/16eff969b18ace3cb645bbbebcda8c86_57372224.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/47cf7ff71547f20e993a0b355bc36bb7_3155546.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/fa769530b54b6976db09a15ef069df54_2194741.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2bf6931dfbbdfa3560828cba1783c0b1_89339608.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c1988cbad18c233c98deca7e0142b020_38964350.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/df5a6d7efad2ed03028f812babfa100b_51333152.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/fdf8681d90cb87efaa831c2977d387e7_45072454.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/773d2ed851c25dc0082a9e2059e81181_50882208.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3a0eeea7f3f3847f2db96273205ab6e6_61213963.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2b7d64c396c216b4c173a02045e32b51_3146032.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ae642191c81a8671ca65ed2e65179e7f_64742501.png change filename to text .imagette212416451741638299/ imagette212416451741638299/1741638027_373868_1342666749_ecd594e4e79af626a7dfc2036b06139b_rle_crop_3703510520_0.png.png imagette212416451741638299/1741638134_26543_1342667626_7467ad7d04c08e952319565170b54296_rle_crop_3703515205_0.png.png imagette212416451741638299/1741637872_21856_1342666315_3a57f86d1c7aaac0c01aba554314cf32_rle_crop_3703508713_0.png.png imagette212416451741638299/1741638147_378210_1342667656_b64df3b9cf6f4b2a8798da1c52ee45ad_rle_crop_3703515216_0.png.png imagette212416451741638299/1741638012_25515_1342666655_bd0c80c1b8e3fa3ac0fe0b4489d5d9a6_rle_crop_3703510505_0.png.png imagette212416451741638299/1741637872_21856_1342666300_682d3d11fbb9383d73938b100dbdc62d_rle_crop_3703508734_0.png.png imagette212416451741638299/1741638134_26543_1342667559_dd7f31050903a3724950be7dbf496618_rle_crop_3703515382_0.png.png imagette212416451741638299/1741638147_378210_1342667040_2a080c49a9a48da73f5b6514d265eecf_rle_crop_3703515398_0.png.png imagette212416451741638299/1741638134_26543_1342667606_3595b014de7e02ce00abbc9f619a70a5_rle_crop_3703515304_0.png.png imagette212416451741638299/1741638134_26543_1342667579_54631ee63138aa685ffcc1c9d4a10984_rle_crop_3703515359_0.png.png imagette212416451741638299/1741638134_26543_1342667528_84372b0c281b0f838a55f42566741a73_rle_crop_3703515415_0.png.png imagette212416451741638299/1741638012_25515_1342666655_bd0c80c1b8e3fa3ac0fe0b4489d5d9a6_rle_crop_3703510507_0.png.png imagette212416451741638299/1741638012_25515_1342666637_e357fce7a949b2e22da0f3e6e0c51c2f_rle_crop_3703510533_0.png.png imagette212416451741638299/1741637872_21856_1342666343_fd49758e56a599be91593d46748ebd81_rle_crop_3703508702_0.png.png imagette212416451741638299/1741638147_378210_1342667142_7796e5a3d22422e45f8f2cf8d0fe1d85_rle_crop_3703515370_0.png.png imagette212416451741638299/1741638027_373868_1342666770_1571dcee9abb94f7a041fd8c2d2277b9_rle_crop_3703510348_0.png.png imagette212416451741638299/1741638147_378210_1342667286_700001bc3ae6d77b2da31653ba5a73fd_rle_crop_3703515321_0.png.png imagette212416451741638299/1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511048_0.png.png imagette212416451741638299/1741638147_378210_1342667290_01f194d7cd54e2c56c44662c0ff69814_rle_crop_3703515259_0.png.png imagette212416451741638299/1741638027_373868_1342666752_6c5bee1d134d29320742502166abd989_rle_crop_3703510494_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ad8ddaaa03ca76f38e620b9aed0b9e6a_82376482.png imagette212416451741638299 21241646 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=21241646 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342666800: '1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508909_0.png'} change filename to text .imagette212416461741638300/ imagette212416461741638300/1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508909_0.png.png imagette212416471741638300/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a1311ebb4d406ea63a4e6e1ad281ddff_87308649.png imagette212416461741638300 21241647 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=21241647 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212416471741638300 21241638 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=21241638 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342666789: '1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508903_0.png', 1342667678: '1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511042_0.png', 1342668609: '1741638147_378210_1342667656_b64df3b9cf6f4b2a8798da1c52ee45ad_rle_crop_3703515212_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3f13503e59497255be94b5b1d94cea5c_58712117.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4d6158e222002b6e4e716e05a0ea50bf_80532632.png change filename to text .imagette212416381741638300/ imagette212416381741638300/1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511042_0.png.png imagette212416381741638300/1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508903_0.png.png imagette212416381741638300/1741638147_378210_1342667656_b64df3b9cf6f4b2a8798da1c52ee45ad_rle_crop_3703515212_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/760af9e9fcdaf003054afca5abff844a_56851329.png imagette212416381741638300 21241642 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=21241642 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342666779: '1741637872_21856_1342666343_fd49758e56a599be91593d46748ebd81_rle_crop_3703508704_0.png', 1342666780: '1741637872_21856_1342666315_3a57f86d1c7aaac0c01aba554314cf32_rle_crop_3703508720_0.png', 1342666781: '1741637872_21856_1342666315_3a57f86d1c7aaac0c01aba554314cf32_rle_crop_3703508715_0.png', 1342666782: '1741637872_21856_1342666300_682d3d11fbb9383d73938b100dbdc62d_rle_crop_3703508731_0.png', 1342666783: '1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508908_0.png', 1342667654: '1741638012_25515_1342666659_cadf4098fe71c607319a6a5126bfbc52_rle_crop_3703510484_0.png', 1342667655: '1741638012_25515_1342666655_bd0c80c1b8e3fa3ac0fe0b4489d5d9a6_rle_crop_3703510512_0.png', 1342668570: '1741638152_26713_1342667298_96a3e85cbd47ab4af30983305005a6e7_rle_crop_3703515405_0.png', 1342668571: '1741638147_378210_1342667142_7796e5a3d22422e45f8f2cf8d0fe1d85_rle_crop_3703515365_0.png', 1342668572: '1741638134_26543_1342667606_3595b014de7e02ce00abbc9f619a70a5_rle_crop_3703515302_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e7c190438abbf28f9828c2a20ff4620a_24520799.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/392174e681145ac11239eed68cf635db_86321657.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/079e60097db7a2fad899782a0c0492ef_18296822.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0dced2493d686c07772ab1cebeec3ea0_82251324.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b6fc79d33ae727c0ca482e20ba0998ff_80370089.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/7dcb54e6ff9f8e2b586b4c22bab3c892_53213800.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3910aef4a88a9bab79d5080955df0b1b_85625363.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/7ec5ac45e44d9dd20d3bd5912194d18e_11444998.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f76c6b6bc09377b7da224e1680430721_99071036.png change filename to text .imagette212416421741638300/ imagette212416421741638300/1741638012_25515_1342666659_cadf4098fe71c607319a6a5126bfbc52_rle_crop_3703510484_0.png.png imagette212416421741638300/1741638134_26543_1342667606_3595b014de7e02ce00abbc9f619a70a5_rle_crop_3703515302_0.png.png imagette212416421741638300/1741638012_25515_1342666655_bd0c80c1b8e3fa3ac0fe0b4489d5d9a6_rle_crop_3703510512_0.png.png imagette212416421741638300/1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508908_0.png.png imagette212416421741638300/1741637872_21856_1342666315_3a57f86d1c7aaac0c01aba554314cf32_rle_crop_3703508720_0.png.png imagette212416421741638300/1741637872_21856_1342666343_fd49758e56a599be91593d46748ebd81_rle_crop_3703508704_0.png.png imagette212416421741638300/1741638147_378210_1342667142_7796e5a3d22422e45f8f2cf8d0fe1d85_rle_crop_3703515365_0.png.png imagette212416421741638300/1741638152_26713_1342667298_96a3e85cbd47ab4af30983305005a6e7_rle_crop_3703515405_0.png.png imagette212416421741638300/1741637872_21856_1342666315_3a57f86d1c7aaac0c01aba554314cf32_rle_crop_3703508715_0.png.png imagette212416421741638300/1741637872_21856_1342666300_682d3d11fbb9383d73938b100dbdc62d_rle_crop_3703508731_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/52aff2b69972f111f39ec1386462da44_82481537.png imagette212416421741638300 21241648 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=21241648 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342666799: '1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508907_0.png', 1342667662: '1741638027_373868_1342666770_1571dcee9abb94f7a041fd8c2d2277b9_rle_crop_3703510351_0.png', 1342667694: '1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510376_0.png', 1342667695: '1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510370_0.png', 1342667696: '1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511047_0.png', 1342668590: '1741638134_26543_1342667626_7467ad7d04c08e952319565170b54296_rle_crop_3703515203_0.png', 1342668592: '1741638134_26543_1342667579_54631ee63138aa685ffcc1c9d4a10984_rle_crop_3703515354_0.png', 1342668611: '1741638147_378210_1342667040_2a080c49a9a48da73f5b6514d265eecf_rle_crop_3703515394_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6700c5afdf70878bccd5209ce560ea0d_67369004.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c3dcbf2f483d256277871b4af59b24ff_57581281.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ad28afd9ae6403847e3fb9d6fec22e73_39017608.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/73826d93fb383498442ae4c129ec40ba_40491525.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/897e15d2ee6b17a5f30f180b15379db2_21781505.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/10025cb9d55625b51ba7e1d192772fd3_40412707.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/94393c51c1f120d6cfb4d422ab3e0548_60533670.png change filename to text .imagette212416481741638301/ imagette212416481741638301/1741638012_25515_1342666610_464055d40d92421d38059d423e1b047d_rle_crop_3703511047_0.png.png imagette212416481741638301/1741638147_378210_1342667040_2a080c49a9a48da73f5b6514d265eecf_rle_crop_3703515394_0.png.png imagette212416481741638301/1741638134_26543_1342667626_7467ad7d04c08e952319565170b54296_rle_crop_3703515203_0.png.png imagette212416481741638301/1741638027_373868_1342666770_1571dcee9abb94f7a041fd8c2d2277b9_rle_crop_3703510351_0.png.png imagette212416481741638301/1741638134_26543_1342667579_54631ee63138aa685ffcc1c9d4a10984_rle_crop_3703515354_0.png.png imagette212416481741638301/1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510376_0.png.png imagette212416481741638301/1741637872_21856_1342666295_12461df0521db9365b62fefe271c52b2_rle_crop_3703508907_0.png.png imagette212416481741638301/1741638012_25515_1342666778_16dc4388a5a6210369e41232d6fe1a88_rle_crop_3703510370_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/64d544c7a322a25d02667d5af5823578_82836130.png imagette212416481741638301 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21241634 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21241649,21241650,21241651,21241652,21241653,21241654,21241655,21241656,21241657,21241658,21241659,21241660?tags=cartonnette,Carton_gris,papier,plastique,flou,Teint_Dans_La_Masse,environnement,mal_croppe,autre_refus,metal,kraft,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1342668854] : ('0.06677781353372149',) no score found for photo 1342668854 We are sending mail with results at report@fotonower.com args[1342668850] : ('0.06677781353372149',) no score found for photo 1342668850 We are sending mail with results at report@fotonower.com args[1342668843] : ('0.06677781353372149',) no score found for photo 1342668843 We are sending mail with results at report@fotonower.com args[1342668829] : ('0.06677781353372149',) no score found for photo 1342668829 We are sending mail with results at report@fotonower.com args[1342668811] : ('0.06677781353372149',) no score found for photo 1342668811 We are sending mail with results at report@fotonower.com args[1342668493] : ('0.06677781353372149',) no score found for photo 1342668493 We are sending mail with results at report@fotonower.com args[1342668486] : ('0.06677781353372149',) no score found for photo 1342668486 We are sending mail with results at report@fotonower.com args[1342668481] : ('0.06677781353372149',) no score found for photo 1342668481 We are sending mail with results at report@fotonower.com args[1342668122] : ('0.06677781353372149',) no score found for photo 1342668122 We are sending mail with results at report@fotonower.com args[1342668096] : ('0.06677781353372149',) no score found for photo 1342668096 We are sending mail with results at report@fotonower.com args[1342668077] : ('0.06677781353372149',) no score found for photo 1342668077 We are sending mail with results at report@fotonower.com args[1342668049] : ('0.06677781353372149',) no score found for photo 1342668049 We are sending mail with results at report@fotonower.com args[1342668021] : ('0.06677781353372149',) no score found for photo 1342668021 We are sending mail with results at report@fotonower.com refus_total : 0.06677781353372149 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=21241634 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_P21241634_10-03-2025_21_24_59.pdf results_Auto_P21241634_10-03-2025_21_24_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21241634_10-03-2025_21_24_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21241634','results_Auto_P21241634_10-03-2025_21_24_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21241634_10-03-2025_21_24_59.pdf','pdf','','0.28','0.06677781353372149') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21241634]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021] map_info['map_portfolio_photo'] : {21241634: [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021, 1342667656, 1342667626, 1342667606, 1342667579, 1342667559, 1342667528, 1342667298, 1342667290, 1342667286, 1342667142, 1342667040, 1342666778, 1342666770, 1342666766, 1342666752, 1342666749, 1342666674, 1342666659, 1342666655, 1342666637, 1342666610, 1342666343, 1342666315, 1342666300, 1342666295]} final : False mtd_id 4302 list_pids : [1342668854, 1342668850, 1342668843, 1342668829, 1342668811, 1342668493, 1342668486, 1342668481, 1342668122, 1342668096, 1342668077, 1342668049, 1342668021] 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, '2655656') ('4302', '21241634', '1342668854', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668850', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668843', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668829', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668811', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668493', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668486', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668481', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668122', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668096', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668077', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668049', None, None, None, None, None, '2655656') ('4302', None, None, None, None, None, None, None, '2655656') ('4302', '21241634', '1342668021', None, None, None, None, None, '2655656') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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', '21241634', '1342668854', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668850', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668843', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668829', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668811', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668493', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668486', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668481', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668122', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668096', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668077', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668049', None, None, None, None, None, '2655656'), ('4302', '21241634', '1342668021', None, None, None, None, None, '2655656')] time used for this insertion : 0.013552665710449219 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.139642953872681 time spend to save output : 0.013941049575805664 total time spend for step 4 : 5.153584003448486 step5:split_time_score Mon Mar 10 21:25:03 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 : ['21241634'] 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 : [('21241634',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21241634) new photo added, this last batch is non a complet batch, should exit and reload photo caffe_path_current : About to save ! 2 After save, about to update current ! 2.46user 2.06system 0:09.37elapsed 48%CPU (0avgtext+0avgdata 166956maxresident)k 30160inputs+15264outputs (236major+76467minor)pagefaults 0swaps