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 : 1918607 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 (2689442) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2689442) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692901 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2689442'] with mtr_portfolio_ids : ['21692901'] and first list_photo_ids : [] new path : /proc/1918607/ Name: python3 Umask: 0002 State: R (running) Tgid: 1918607 Ngid: 0 Pid: 1918607 PPid: 1918606 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1918607 NSpid: 1918607 NSpgid: 1913025 NSsid: 1913025 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98032 kB VmRSS: 98032 kB RssAnon: 59760 kB RssFile: 38272 kB RssShmem: 0 kB VmData: 865588 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 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: 86 nonvoluntary_ctxt_switches: 110 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1918607', 'Ngid': '0', 'Pid': '1918607', 'PPid': '1918606', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1918607', 'NSpid': '1918607', 'NSpgid': '1913025', 'NSsid': '1913025', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98032 kB', 'VmRSS': '98032 kB', 'RssAnon': '59760 kB', 'RssFile': '38272 kB', 'RssShmem': '0 kB', 'VmData': '865588 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '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': '86', 'nonvoluntary_ctxt_switches': '110'} ('datou_batch_current', '1918607', '1106840', '0', '1106840', '865588', '98032', b'', 'marlene', '2689442') 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 (21692901) 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 (2689442 ) ) 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 (21692901) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1347204968, 'portfolio_id': 21692901}, {'photo_id': 1347204963, 'portfolio_id': 21692901}, {'photo_id': 1347204959, 'portfolio_id': 21692901}, {'photo_id': 1347204957, 'portfolio_id': 21692901}, {'photo_id': 1347204952, 'portfolio_id': 21692901}, {'photo_id': 1347204908, 'portfolio_id': 21692901}, {'photo_id': 1347204905, 'portfolio_id': 21692901}, {'photo_id': 1347204902, 'portfolio_id': 21692901}, {'photo_id': 1347204895, 'portfolio_id': 21692901}, {'photo_id': 1347204889, 'portfolio_id': 21692901}, {'photo_id': 1347204817, 'portfolio_id': 21692901}, {'photo_id': 1347204812, 'portfolio_id': 21692901}, {'photo_id': 1347204808, 'portfolio_id': 21692901}, {'photo_id': 1347204805, 'portfolio_id': 21692901}, {'photo_id': 1347204794, 'portfolio_id': 21692901}, {'photo_id': 1347204725, 'portfolio_id': 21692901}, {'photo_id': 1347204719, 'portfolio_id': 21692901}, {'photo_id': 1347204708, 'portfolio_id': 21692901}, {'photo_id': 1347204671, 'portfolio_id': 21692901}, {'photo_id': 1347204668, 'portfolio_id': 21692901}, {'photo_id': 1347204662, 'portfolio_id': 21692901}, {'photo_id': 1347204560, 'portfolio_id': 21692901}, {'photo_id': 1347204557, 'portfolio_id': 21692901}, {'photo_id': 1347204555, 'portfolio_id': 21692901}, {'photo_id': 1347204552, 'portfolio_id': 21692901}, {'photo_id': 1347204362, 'portfolio_id': 21692901}, {'photo_id': 1347204356, 'portfolio_id': 21692901}, {'photo_id': 1347204351, 'portfolio_id': 21692901}, {'photo_id': 1347204347, 'portfolio_id': 21692901}, {'photo_id': 1347204343, 'portfolio_id': 21692901}, {'photo_id': 1347204275, 'portfolio_id': 21692901}, {'photo_id': 1347204270, 'portfolio_id': 21692901}, {'photo_id': 1347204254, 'portfolio_id': 21692901}, {'photo_id': 1347204242, 'portfolio_id': 21692901}, {'photo_id': 1347204215, 'portfolio_id': 21692901}, {'photo_id': 1347204212, 'portfolio_id': 21692901}, {'photo_id': 1347204178, 'portfolio_id': 21692901}, {'photo_id': 1347204173, 'portfolio_id': 21692901}, {'photo_id': 1347204168, 'portfolio_id': 21692901}, {'photo_id': 1347204164, 'portfolio_id': 21692901}, {'photo_id': 1347204160, 'portfolio_id': 21692901}, {'photo_id': 1347204105, 'portfolio_id': 21692901}, {'photo_id': 1347204102, 'portfolio_id': 21692901}, {'photo_id': 1347204100, 'portfolio_id': 21692901}, {'photo_id': 1347204096, 'portfolio_id': 21692901}, {'photo_id': 1347204049, 'portfolio_id': 21692901}, {'photo_id': 1347204043, 'portfolio_id': 21692901}, {'photo_id': 1347204012, 'portfolio_id': 21692901}, {'photo_id': 1347204010, 'portfolio_id': 21692901}, {'photo_id': 1347204008, 'portfolio_id': 21692901}, {'photo_id': 1347203614, 'portfolio_id': 21692901}, {'photo_id': 1347203609, 'portfolio_id': 21692901}, {'photo_id': 1347203605, 'portfolio_id': 21692901}, {'photo_id': 1347203464, 'portfolio_id': 21692901}] map_portfolio_id_photo_id: {21692901: [1347204968, 1347204963, 1347204959, 1347204957, 1347204952, 1347204908, 1347204905, 1347204902, 1347204895, 1347204889, 1347204817, 1347204812, 1347204808, 1347204805, 1347204794, 1347204725, 1347204719, 1347204708, 1347204671, 1347204668, 1347204662, 1347204560, 1347204557, 1347204555, 1347204552, 1347204362, 1347204356, 1347204351, 1347204347, 1347204343, 1347204275, 1347204270, 1347204254, 1347204242, 1347204215, 1347204212, 1347204178, 1347204173, 1347204168, 1347204164, 1347204160, 1347204105, 1347204102, 1347204100, 1347204096, 1347204049, 1347204043, 1347204012, 1347204010, 1347204008, 1347203614, 1347203609, 1347203605, 1347203464]} ##### 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.01599264144897461 #### 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 Tue Mar 25 14:29:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21692901) 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 : 21692901 get user id for portfolio 21692901 get sub ptf for main ptf 21692901, type 3726 and hashtags ['papier', 'Carton_gris', 'cartonnette', 'flou', 'autre_refus', 'plastique', 'mal_croppe', 'environnement', 'metal', 'kraft', 'Carton_brun', 'Teint_Dans_La_Masse'] 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`=21692901 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','cartonnette','flou','autre_refus','plastique','mal_croppe','environnement','metal','kraft','Carton_brun','Teint_Dans_La_Masse')) 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`=21692901 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','cartonnette','flou','autre_refus','plastique','mal_croppe','environnement','metal','kraft','Carton_brun','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21692901, 'sub_port_id': 21692902, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223714, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'mal_croppe': {'main_port_id': 21692901, 'sub_port_id': 21692903, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223715, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'Carton_brun': {'main_port_id': 21692901, 'sub_port_id': 21692904, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223716, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'kraft': {'main_port_id': 21692901, 'sub_port_id': 21692905, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223717, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'plastique': {'main_port_id': 21692901, 'sub_port_id': 21692906, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223718, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'autre_refus': {'main_port_id': 21692901, 'sub_port_id': 21692907, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223719, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'papier': {'main_port_id': 21692901, 'sub_port_id': 21692908, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223720, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'Carton_gris': {'main_port_id': 21692901, 'sub_port_id': 21692909, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223721, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21692901, 'sub_port_id': 21692910, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223722, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'flou': {'main_port_id': 21692901, 'sub_port_id': 21692911, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223723, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'metal': {'main_port_id': 21692901, 'sub_port_id': 21692912, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223724, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}, 'environnement': {'main_port_id': 21692901, 'sub_port_id': 21692913, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223725, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 19, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21692902 , 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=21692901 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 (21692902) result : ((1347204129,), (1347204329,), (1347204330,), (1347204331,), (1347204332,), (1347204333,), (1347204334,), (1347204335,), (1347204336,), (1347204337,), (1347204382,), (1347204383,), (1347204384,), (1347204648,), (1347204712,), (1347204713,), (1347204714,), (1347204748,), (1347204749,), (1347204750,), (1347205007,), (1347205029,), (1347205030,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692903 , 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=21692901 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 (21692903) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692904 , 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=21692901 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 (21692904) result : ((1347204338,), (1347204339,), (1347204340,), (1347204386,), (1347204650,), (1347204651,), (1347204652,), (1347204653,), (1347204717,), (1347204757,), (1347204759,), (1347204892,), (1347205000,), (1347205001,), (1347205010,), (1347205011,), (1347205012,), (1347205033,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692905 , 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=21692901 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 (21692905) result : ((1347204663,), (1347205003,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692906 , 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=21692901 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 (21692906) result : ((1347204387,), (1347204660,), (1347204661,), (1347204761,), (1347205015,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692907 , 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=21692901 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 (21692907) result : ((1347204109,), (1347204317,), (1347204319,), (1347204645,), (1347204700,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692908 , 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=21692901 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 (21692908) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692909 , 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=21692901 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 (21692909) result : ((1347204321,), (1347204322,), (1347204323,), (1347204324,), (1347204325,), (1347204326,), (1347204380,), (1347204381,), (1347204647,), (1347204709,), (1347204746,), (1347204747,), (1347204890,), (1347205002,), (1347205004,), (1347205005,), (1347205026,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692910 , 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=21692901 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 (21692910) result : ((1347204126,), (1347204127,), (1347204314,), (1347204315,), (1347204316,), (1347204318,), (1347204376,), (1347204377,), (1347204638,), (1347204639,), (1347204640,), (1347204641,), (1347204675,), (1347204676,), (1347204742,), (1347204743,), (1347204995,), (1347204997,), (1347205023,), (1347205025,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692911 , 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=21692901 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 (21692911) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692912 , 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=21692901 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 (21692912) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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 21692913 , 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=21692901 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 (21692913) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692901) result : ((1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) 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 (1347204100) 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`=21692901 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','cartonnette','flou','autre_refus','plastique','mal_croppe','environnement','metal','kraft','Carton_brun','Teint_Dans_La_Masse')) 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`=21692901 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','cartonnette','flou','autre_refus','plastique','mal_croppe','environnement','metal','kraft','Carton_brun','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21692901, 'sub_port_id': 21692914, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223726, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'mal_croppe': {'main_port_id': 21692901, 'sub_port_id': 21692915, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223727, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'Carton_brun': {'main_port_id': 21692901, 'sub_port_id': 21692916, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223728, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'kraft': {'main_port_id': 21692901, 'sub_port_id': 21692917, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223729, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'plastique': {'main_port_id': 21692901, 'sub_port_id': 21692918, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223730, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'autre_refus': {'main_port_id': 21692901, 'sub_port_id': 21692919, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223731, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'papier': {'main_port_id': 21692901, 'sub_port_id': 21692920, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223732, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'Carton_gris': {'main_port_id': 21692901, 'sub_port_id': 21692921, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223733, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'Teint_Dans_La_Masse': {'main_port_id': 21692901, 'sub_port_id': 21692922, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223734, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'flou': {'main_port_id': 21692901, 'sub_port_id': 21692923, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223735, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'metal': {'main_port_id': 21692901, 'sub_port_id': 21692924, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223736, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 20), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}, 'environnement': {'main_port_id': 21692901, 'sub_port_id': 21692925, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14223737, 'last_updated_at': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 14, 28, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 14, 20)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692914,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692902 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692915,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692903 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692916,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692904 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692917,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692905 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692918,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692906 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692919,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692907 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692920,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692908 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692921,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692909 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692922,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692910 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692923,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692911 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692924,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692912 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21692925,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21692913 lien utilise dans velours : https://www.fotonower.com/velours/21692914,21692915,21692916,21692917,21692918,21692919,21692920,21692921,21692922,21692923,21692924,21692925?tags=cartonnette,mal_croppe,Carton_brun,kraft,plastique,autre_refus,papier,Carton_gris,Teint_Dans_La_Masse,flou,metal,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21692901]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] map_info['map_portfolio_photo'] : {21692901: [1347204968, 1347204963, 1347204959, 1347204957, 1347204952, 1347204908, 1347204905, 1347204902, 1347204895, 1347204889, 1347204817, 1347204812, 1347204808, 1347204805, 1347204794, 1347204725, 1347204719, 1347204708, 1347204671, 1347204668, 1347204662, 1347204560, 1347204557, 1347204555, 1347204552, 1347204362, 1347204356, 1347204351, 1347204347, 1347204343, 1347204275, 1347204270, 1347204254, 1347204242, 1347204215, 1347204212, 1347204178, 1347204173, 1347204168, 1347204164, 1347204160, 1347204105, 1347204102, 1347204100, 1347204096, 1347204049, 1347204043, 1347204012, 1347204010, 1347204008, 1347203614, 1347203609, 1347203605, 1347203464]} final : False mtd_id 4302 list_pids : [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] Looping around the photos to save general results len do output : 1 /21692901. 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, '2689442') ('4302', '21692901', '1347204968', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 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, '21692901', "{'cartonnette': 21692902, 'mal_croppe': 21692903, 'Carton_brun': 21692904, 'kraft': 21692905, 'plastique': 21692906, 'autre_refus': 21692907, 'papier': 21692908, 'Carton_gris': 21692909, 'Teint_Dans_La_Masse': 21692910, 'flou': 21692911, 'metal': 21692912, 'environnement': 21692913}", None, None, None, None, '2689442'), ('4302', '21692901', '1347204968', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442')] time used for this insertion : 0.013899564743041992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4690895080566406 time spend to save output : 0.014184713363647461 total time spend for step 1 : 0.4832742214202881 step2:final Tue Mar 25 14:29:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21692901) 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 21692901 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347203464,1347203614,1347203609,1347203605,1347204049,1347204043,1347204012,1347204010,1347204008,1347204105,1347204102,1347204100,1347204096,1347204178,1347204173,1347204168,1347204164,1347204160,1347204275,1347204270,1347204254,1347204242,1347204215,1347204212,1347204362,1347204356,1347204351,1347204347,1347204343,1347204560,1347204557,1347204555,1347204552,1347204725,1347204719,1347204708,1347204671,1347204668,1347204662,1347204817,1347204812,1347204808,1347204805,1347204794,1347204908,1347204905,1347204902,1347204895,1347204889,1347204968,1347204963,1347204959,1347204957,1347204952); 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([21692901]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} new output for save of step final : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] map_info['map_portfolio_photo'] : {21692901: [1347204968, 1347204963, 1347204959, 1347204957, 1347204952, 1347204908, 1347204905, 1347204902, 1347204895, 1347204889, 1347204817, 1347204812, 1347204808, 1347204805, 1347204794, 1347204725, 1347204719, 1347204708, 1347204671, 1347204668, 1347204662, 1347204560, 1347204557, 1347204555, 1347204552, 1347204362, 1347204356, 1347204351, 1347204347, 1347204343, 1347204275, 1347204270, 1347204254, 1347204242, 1347204215, 1347204212, 1347204178, 1347204173, 1347204168, 1347204164, 1347204160, 1347204105, 1347204102, 1347204100, 1347204096, 1347204049, 1347204043, 1347204012, 1347204010, 1347204008, 1347203614, 1347203609, 1347203605, 1347203464]} final : False mtd_id 4302 list_pids : [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] Looping around the photos to save general results len do output : 5 /1347204968.Didn't retrieve data . /1347204963.Didn't retrieve data . /1347204959.Didn't retrieve data . /1347204957.Didn't retrieve data . /1347204952.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, '2689442') ('4302', '21692901', '1347204968', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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', '21692901', '1347204968', '0.045610222811440226', None, None, None, None, '2689442'), ('4302', '21692901', '1347204963', '0.045610222811440226', None, None, None, None, '2689442'), ('4302', '21692901', '1347204959', '0.045610222811440226', None, None, None, None, '2689442'), ('4302', '21692901', '1347204957', '0.045610222811440226', None, None, None, None, '2689442'), ('4302', '21692901', '1347204952', '0.045610222811440226', None, None, None, None, '2689442')] time used for this insertion : 0.013167142868041992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07001781463623047 time spend to save output : 0.014207601547241211 total time spend for step 2 : 0.08422541618347168 step3:velours_tree Tue Mar 25 14:29:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21692901: [{'cartonnette': 21692902, 'mal_croppe': 21692903, 'Carton_brun': 21692904, 'kraft': 21692905, 'plastique': 21692906, 'autre_refus': 21692907, 'papier': 21692908, 'Carton_gris': 21692909, 'Teint_Dans_La_Masse': 21692910, 'flou': 21692911, 'metal': 21692912, 'environnement': 21692913}]} input_args_next_step : {21692901: ()} output_args : {21692901: [{'cartonnette': 21692902, 'mal_croppe': 21692903, 'Carton_brun': 21692904, 'kraft': 21692905, 'plastique': 21692906, 'autre_refus': 21692907, 'papier': 21692908, 'Carton_gris': 21692909, 'Teint_Dans_La_Masse': 21692910, 'flou': 21692911, 'metal': 21692912, 'environnement': 21692913}]} args : 21692901 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': 21692902, 'mal_croppe': 21692903, 'Carton_brun': 21692904, 'kraft': 21692905, 'plastique': 21692906, 'autre_refus': 21692907, 'papier': 21692908, 'Carton_gris': 21692909, 'Teint_Dans_La_Masse': 21692910, 'flou': 21692911, 'metal': 21692912, 'environnement': 21692913},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21692901) 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([21692901]) 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.36737751960754395 time spend to save output : 5.555152893066406e-05 total time spend for step 3 : 0.3674330711364746 step4:send_mail_cod Tue Mar 25 14:29:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} input_args_next_step : {1347204968: ()} output_args : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} args : 1347204968 depend.output_id : 0 input_args_next_step : {1347204968: ('0.045610222811440226',), 1347204963: ()} output_args : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} args : 1347204963 depend.output_id : 0 input_args_next_step : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ()} output_args : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} args : 1347204959 depend.output_id : 0 input_args_next_step : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ()} output_args : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} args : 1347204957 depend.output_id : 0 input_args_next_step : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ()} output_args : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',)} args : 1347204952 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 : {21692901: [{'cartonnette': 21692902, 'mal_croppe': 21692903, 'Carton_brun': 21692904, 'kraft': 21692905, 'plastique': 21692906, 'autre_refus': 21692907, 'papier': 21692908, 'Carton_gris': 21692909, 'Teint_Dans_La_Masse': 21692910, 'flou': 21692911, 'metal': 21692912, 'environnement': 21692913}]} input_args_next_step : {1347204968: ('0.045610222811440226',), 1347204963: ('0.045610222811440226',), 1347204959: ('0.045610222811440226',), 1347204957: ('0.045610222811440226',), 1347204952: ('0.045610222811440226',), 21692901: ()} output_args : {21692901: [{'cartonnette': 21692902, 'mal_croppe': 21692903, 'Carton_brun': 21692904, 'kraft': 21692905, 'plastique': 21692906, 'autre_refus': 21692907, 'papier': 21692908, 'Carton_gris': 21692909, 'Teint_Dans_La_Masse': 21692910, 'flou': 21692911, 'metal': 21692912, 'environnement': 21692913}]} args : 21692901 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 :6, first value : ('0.045610222811440226',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21692901) 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 (1347204968,1347204963,1347204959,1347204957,1347204952) Found this number of photos: 5 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347204952 begin to download photo : 1347204959 begin to download photo : 1347204968 download finish for photo 1347204968 download finish for photo 1347204952 begin to download photo : 1347204957 download finish for photo 1347204959 begin to download photo : 1347204963 download finish for photo 1347204957 download finish for photo 1347204963 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 : 5 ; length of list_pids : 5 ; length of list_args : 5 results_Auto_P21692901_25-03-2025_14_30_00.pdf 21692902 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=21692902 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204383: '1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214787_0.png', 1347205030: '1742909324_2313877_1347204662_2860df1b515c47418bd73740f2ebb992_rle_crop_3729218111_0.png', 1347205029: '1742909324_2313877_1347204671_6d57a0a75ea01d2215c5dca46a8f2595_rle_crop_3729218085_0.png', 1347205007: '1742909306_3557974_1347204808_14d60cb9b5b5a4ed3b5e4f67da331c8c_rle_crop_3729217868_0.png', 1347204750: '1742909072_579936_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214850_0.png', 1347204749: '1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214787_0.png', 1347204748: '1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214788_0.png', 1347204714: '1742909052_579378_1347204343_b6ec6be9a5df863972361ca72558ede9_rle_crop_3729215563_0.png', 1347204713: '1742909052_579378_1347204347_91219cd8e6fce5f601c02ed7e0e274ce_rle_crop_3729215514_0.png', 1347204712: '1742909052_579378_1347204351_f2c96b76b2154a73fc19f89069d56bba_rle_crop_3729215471_0.png', 1347204648: '1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215338_0.png', 1347204384: '1742908972_577863_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214850_0.png', 1347204129: '1742908813_574887_1347203464_065dee0d62179431ed1153785d892a6c_rle_crop_3729213096_0.png', 1347204382: '1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214788_0.png', 1347204337: '1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214500_0.png', 1347204336: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214486_0.png', 1347204335: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214490_0.png', 1347204334: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214484_0.png', 1347204333: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214485_0.png', 1347204332: '1742908933_577192_1347204173_4f6c206760cf81c382ef4b94952df93b_rle_crop_3729214476_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/cdeb522f5659afad0a5ecc79ea576418_78818158.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/aa2383aa899c1f5ea241aa49e9c8890e_46233851.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7e3768c11651d4a84c164f60427ce9bb_22369689.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/dc4e733dbbc14dba63cfc9dd424c3df1_70599808.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/90ace6fe1c36e4a15fd7db0c032c1ccd_81937702.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/cdeb522f5659afad0a5ecc79ea576418_43501947.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/905a6fba7d83486a7716df8b05b89449_3958491.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f91675dd7d80219789882d06d71d011f_49905436.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c7bdef07ab7c74a6cbb9c7c5c0a5428c_7447902.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6985d6927aca83f7a704bd972fe50a63_62020221.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/48d8f0f4d6c73f1ce3430bd9e19585fb_58170219.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/90ace6fe1c36e4a15fd7db0c032c1ccd_60838116.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/13affc196472adf86b8529d101041a7a_24119838.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/905a6fba7d83486a7716df8b05b89449_38638900.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/983785b176dcea594ef7b1aa432a7d30_78441420.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/63217fad407f88725e6ddea773e4c4df_16815684.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ec81bd06165cf2770dc4edaf6d363cb5_91738451.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0e78c4ed34d9f3f712bfab9ed69f406f_28105138.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/27a250086901a0cf1c48a5477e7014d5_64397123.png change filename to text .imagette216929021742909400/ imagette216929021742909400/1742909052_579378_1347204347_91219cd8e6fce5f601c02ed7e0e274ce_rle_crop_3729215514_0.png.png imagette216929021742909400/1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215338_0.png.png imagette216929021742909400/1742909306_3557974_1347204808_14d60cb9b5b5a4ed3b5e4f67da331c8c_rle_crop_3729217868_0.png.png imagette216929021742909400/1742908972_577863_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214850_0.png.png imagette216929021742909400/1742908813_574887_1347203464_065dee0d62179431ed1153785d892a6c_rle_crop_3729213096_0.png.png imagette216929021742909400/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214484_0.png.png imagette216929021742909400/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214486_0.png.png imagette216929021742909400/1742909052_579378_1347204351_f2c96b76b2154a73fc19f89069d56bba_rle_crop_3729215471_0.png.png imagette216929021742909400/1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214787_0.png.png imagette216929021742909400/1742909052_579378_1347204343_b6ec6be9a5df863972361ca72558ede9_rle_crop_3729215563_0.png.png imagette216929021742909400/1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214500_0.png.png imagette216929021742909400/1742908933_577192_1347204173_4f6c206760cf81c382ef4b94952df93b_rle_crop_3729214476_0.png.png imagette216929021742909400/1742909324_2313877_1347204662_2860df1b515c47418bd73740f2ebb992_rle_crop_3729218111_0.png.png imagette216929021742909400/1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214788_0.png.png imagette216929021742909400/1742909072_579936_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214850_0.png.png imagette216929021742909400/1742909324_2313877_1347204671_6d57a0a75ea01d2215c5dca46a8f2595_rle_crop_3729218085_0.png.png imagette216929021742909400/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214490_0.png.png imagette216929021742909400/1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214787_0.png.png imagette216929021742909400/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214485_0.png.png imagette216929021742909400/1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214788_0.png.png imagette216929031742909401/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f8a02b9728e0a523922c87107fb0a277_56973336.png imagette216929021742909400 21692903 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=21692903 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216929031742909401 21692905 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=21692905 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204663: '1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215337_0.png', 1347205003: '1742909294_582217_1347204905_bd5dd57879baade95f6da55edc3e873c_rle_crop_3729217881_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/63c28c78f6da573ebcdc5cbe1b4d7b5c_12815288.png change filename to text .imagette216929051742909401/ imagette216929051742909401/1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215337_0.png.png imagette216929051742909401/1742909294_582217_1347204905_bd5dd57879baade95f6da55edc3e873c_rle_crop_3729217881_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8a878111d23492c8563aa072b0460c76_49859316.png imagette216929051742909401 21692906 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=21692906 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204387: '1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214792_0.png', 1347204660: '1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215351_0.png', 1347204661: '1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215357_0.png', 1347204761: '1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214792_0.png', 1347205015: '1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218027_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bfb7a9f54a906e5ee765ce0ab584ecc3_95421303.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/30896f25443f8e157aaf203305b3f159_9512285.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/96a57911150fe6b12972acb70c30f0f5_29200999.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bfb7a9f54a906e5ee765ce0ab584ecc3_98061757.png change filename to text .imagette216929061742909401/ imagette216929061742909401/1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215351_0.png.png imagette216929061742909401/1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214792_0.png.png imagette216929061742909401/1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218027_0.png.png imagette216929061742909401/1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215357_0.png.png imagette216929061742909401/1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214792_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/1f30f77a86c5a6d0dae2f3b0d9fae34f_33268307.png imagette216929061742909401 21692907 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=21692907 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204109: '1742908792_573111_1347203609_21517217d9385c0dba9693f749a0b2c0_rle_crop_3729212958_0.png', 1347204317: '1742908950_577494_1347204049_b7e3576444d8da72550f590a9abbdb70_rle_crop_3729214545_0.png', 1347204319: '1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214502_0.png', 1347204645: '1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215342_0.png', 1347204700: '1742909052_579378_1347204347_91219cd8e6fce5f601c02ed7e0e274ce_rle_crop_3729215515_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ade80b720cfff65b8de53360211f86bb_61958157.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c96ce8d9aca68d1a419c9ef5dce1041a_13541645.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/79728ef046fad185e7fc73d4af1a1dd5_61792924.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6553e87fc57be6594653fa3e359c4ea6_45242514.png change filename to text .imagette216929071742909401/ imagette216929071742909401/1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214502_0.png.png imagette216929071742909401/1742908950_577494_1347204049_b7e3576444d8da72550f590a9abbdb70_rle_crop_3729214545_0.png.png imagette216929071742909401/1742909052_579378_1347204347_91219cd8e6fce5f601c02ed7e0e274ce_rle_crop_3729215515_0.png.png imagette216929071742909401/1742908792_573111_1347203609_21517217d9385c0dba9693f749a0b2c0_rle_crop_3729212958_0.png.png imagette216929071742909401/1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215342_0.png.png imagette216929111742909402/ imagette216929121742909402/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b8122f28700696b40e03c39516bd8fb1_36771867.png imagette216929071742909401 21692911 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=21692911 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216929111742909402 21692912 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=21692912 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216929121742909402 21692904 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=21692904 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204757: '1742909072_579936_1347204012_03130cd741186341504275bd42e90cfd_rle_crop_3729215590_0.png', 1347205033: '1742909324_2313877_1347204671_6d57a0a75ea01d2215c5dca46a8f2595_rle_crop_3729218091_0.png', 1347205012: '1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218030_0.png', 1347205011: '1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218028_0.png', 1347205010: '1742909306_3557974_1347204805_a7300092f6c9926239f7a2e53f599a73_rle_crop_3729217893_0.png', 1347205001: '1742909294_582217_1347204895_9fce4c3a64298fdc56a35b31c7b78954_rle_crop_3729218038_0.png', 1347205000: '1742909294_582217_1347204902_1d626a7ec606ec1cd04a3000fcf43a2a_rle_crop_3729217958_0.png', 1347204892: '1742909174_581105_1347204552_caa81fe6b22599a974ab3c445536b7e2_rle_crop_3729216379_0.png', 1347204759: '1742909072_579936_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214851_0.png', 1347204338: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214494_0.png', 1347204717: '1742909052_579378_1347204351_f2c96b76b2154a73fc19f89069d56bba_rle_crop_3729215476_0.png', 1347204653: '1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215353_0.png', 1347204652: '1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215328_0.png', 1347204651: '1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215327_0.png', 1347204650: '1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215325_0.png', 1347204386: '1742908972_577863_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214851_0.png', 1347204340: '1742908959_2307493_1347204096_eb3eba9c7cf7de3e3184c3bacfd14217_rle_crop_3729214568_0.png', 1347204339: '1742908959_2307493_1347204096_eb3eba9c7cf7de3e3184c3bacfd14217_rle_crop_3729214562_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/82256020dd4c4fd6ac4f6f195cbab5a7_31809237.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/58f39c914f6ae112f259f8c7a31d9bef_78446291.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/863e1205307d31a6ffb3b27cb7f971c4_52079256.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d08ae05282f84bdbbe790b33a5d0538b_42000553.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/df15ad2ced272201f716c83a60cddbd7_50754552.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f75405e9288981060cb169cc360f8e19_63935742.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8be81ef09db00b9fbc150e38d78b434f_11367140.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d37b05477f0ff6714faeff3f27bf4ea2_17470472.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2c37a801386582b2d5b731cd27be42e4_49337615.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d7aeacc6871d158f969afbc776ec7a17_33208606.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c90d13bf852404d6832b65f317d5091e_12193858.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5fa8f4f191714910cbf12cbf24ab1ecb_25799835.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6592f84ee0d5e44299eabc77a414f2fa_95540264.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0ebfc879ede18828e73fa25e124d0bfe_53052387.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/59fe68672964d63d49b5263577b58b70_43415441.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2c37a801386582b2d5b731cd27be42e4_2883000.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ded8b84e6ff8aa1e0ebfac119ece87fa_26736352.png change filename to text .imagette216929041742909402/ imagette216929041742909402/1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215327_0.png.png imagette216929041742909402/1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215325_0.png.png imagette216929041742909402/1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218030_0.png.png imagette216929041742909402/1742908959_2307493_1347204096_eb3eba9c7cf7de3e3184c3bacfd14217_rle_crop_3729214568_0.png.png imagette216929041742909402/1742909324_2313877_1347204671_6d57a0a75ea01d2215c5dca46a8f2595_rle_crop_3729218091_0.png.png imagette216929041742909402/1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215328_0.png.png imagette216929041742909402/1742909174_581105_1347204552_caa81fe6b22599a974ab3c445536b7e2_rle_crop_3729216379_0.png.png imagette216929041742909402/1742908959_2307493_1347204096_eb3eba9c7cf7de3e3184c3bacfd14217_rle_crop_3729214562_0.png.png imagette216929041742909402/1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218028_0.png.png imagette216929041742909402/1742909072_579936_1347204012_03130cd741186341504275bd42e90cfd_rle_crop_3729215590_0.png.png imagette216929041742909402/1742908972_577863_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214851_0.png.png imagette216929041742909402/1742909294_582217_1347204895_9fce4c3a64298fdc56a35b31c7b78954_rle_crop_3729218038_0.png.png imagette216929041742909402/1742909052_579378_1347204351_f2c96b76b2154a73fc19f89069d56bba_rle_crop_3729215476_0.png.png imagette216929041742909402/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214494_0.png.png imagette216929041742909402/1742909072_579936_1347204010_72ee5af08b0c616a22d89197c9bf0a4d_rle_crop_3729214851_0.png.png imagette216929041742909402/1742909306_3557974_1347204805_a7300092f6c9926239f7a2e53f599a73_rle_crop_3729217893_0.png.png imagette216929041742909402/1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215353_0.png.png imagette216929041742909402/1742909294_582217_1347204902_1d626a7ec606ec1cd04a3000fcf43a2a_rle_crop_3729217958_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/36a56edac3ab4e95de306d9b8c2831c4_74885869.png imagette216929041742909402 21692909 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=21692909 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204647: '1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215355_0.png', 1347205026: '1742909324_2313877_1347204817_5d3fe9be8f1e40c8eff2bea0ded349b0_rle_crop_3729218059_0.png', 1347205005: '1742909306_3557974_1347204808_14d60cb9b5b5a4ed3b5e4f67da331c8c_rle_crop_3729217869_0.png', 1347205004: '1742909306_3557974_1347204808_14d60cb9b5b5a4ed3b5e4f67da331c8c_rle_crop_3729217871_0.png', 1347205002: '1742909306_3557974_1347204812_67da53fac50663526dfd0e2cf0171e71_rle_crop_3729217847_0.png', 1347204890: '1742909174_581105_1347204557_be42287c933788f8a2287552a244ce6c_rle_crop_3729216327_0.png', 1347204747: '1742909072_579936_1347204008_4c025846c38283f1f2b1a595e14b048d_rle_crop_3729214857_0.png', 1347204746: '1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214794_0.png', 1347204709: '1742909052_579378_1347204343_b6ec6be9a5df863972361ca72558ede9_rle_crop_3729215557_0.png', 1347204321: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214483_0.png', 1347204381: '1742908972_577863_1347204008_4c025846c38283f1f2b1a595e14b048d_rle_crop_3729214857_0.png', 1347204380: '1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214794_0.png', 1347204326: '1742908959_2307493_1347204096_eb3eba9c7cf7de3e3184c3bacfd14217_rle_crop_3729214563_0.png', 1347204325: '1742908959_2307493_1347204102_a627ab8b0d0e5f98d1bee58d2bf8b999_rle_crop_3729214523_0.png', 1347204324: '1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214509_0.png', 1347204323: '1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214499_0.png', 1347204322: '1742908959_2307493_1347204102_a627ab8b0d0e5f98d1bee58d2bf8b999_rle_crop_3729214529_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0523d24f8d5ef60fc12d0656632cc748_94461515.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b5462125b4f4e34c4e28e9ebd13fc22e_97251202.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/37e7884ccb827b7c182d2fce308ce9e8_53189502.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7b100e3d90c79220bf6449f935f12dab_80933826.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3d28788f88f9db28d60bef518dbf5bb5_66203081.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/a8d6c8110ff5ac5a96e43c8c1d91aeac_22209617.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bae78e2cec1de790f8c4ac4e4c441749_87379292.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2f9aafc5e4f44f0bf98356b1995c9985_68132033.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/a7c444db5fae8df4e4e9abb57ad2e55e_54651744.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6a399d8d2e768a453f53a08b1fde4718_6764283.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bae78e2cec1de790f8c4ac4e4c441749_8282195.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2f9aafc5e4f44f0bf98356b1995c9985_62793781.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8162f20b7b405f055d0e798374cfd17f_48128030.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/281040f398978b8a0089d678432f9e5f_21271991.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/cf903e065b52fcd0af13e6d8b8abc241_74460533.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c52d8e2d8199a1f057be00d01164e5bb_2030578.png change filename to text .imagette216929091742909403/ imagette216929091742909403/1742909072_579936_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214794_0.png.png imagette216929091742909403/1742908959_2307493_1347204096_eb3eba9c7cf7de3e3184c3bacfd14217_rle_crop_3729214563_0.png.png imagette216929091742909403/1742908959_2307493_1347204102_a627ab8b0d0e5f98d1bee58d2bf8b999_rle_crop_3729214523_0.png.png imagette216929091742909403/1742908972_577863_1347204105_41bce39252ddfb6cc32cf4b4c1ee72f0_rle_crop_3729214794_0.png.png imagette216929091742909403/1742909306_3557974_1347204812_67da53fac50663526dfd0e2cf0171e71_rle_crop_3729217847_0.png.png imagette216929091742909403/1742908972_577863_1347204008_4c025846c38283f1f2b1a595e14b048d_rle_crop_3729214857_0.png.png imagette216929091742909403/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214483_0.png.png imagette216929091742909403/1742909306_3557974_1347204808_14d60cb9b5b5a4ed3b5e4f67da331c8c_rle_crop_3729217869_0.png.png imagette216929091742909403/1742909072_579936_1347204008_4c025846c38283f1f2b1a595e14b048d_rle_crop_3729214857_0.png.png imagette216929091742909403/1742908959_2307493_1347204102_a627ab8b0d0e5f98d1bee58d2bf8b999_rle_crop_3729214529_0.png.png imagette216929091742909403/1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215355_0.png.png imagette216929091742909403/1742909174_581105_1347204557_be42287c933788f8a2287552a244ce6c_rle_crop_3729216327_0.png.png imagette216929091742909403/1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214499_0.png.png imagette216929091742909403/1742909052_579378_1347204343_b6ec6be9a5df863972361ca72558ede9_rle_crop_3729215557_0.png.png imagette216929091742909403/1742909306_3557974_1347204808_14d60cb9b5b5a4ed3b5e4f67da331c8c_rle_crop_3729217871_0.png.png imagette216929091742909403/1742909324_2313877_1347204817_5d3fe9be8f1e40c8eff2bea0ded349b0_rle_crop_3729218059_0.png.png imagette216929091742909403/1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214509_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e4d929b34f0a83d36cbb24d5f0cf8ac4_27614688.png imagette216929091742909403 21692910 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=21692910 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347204640: '1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215343_0.png', 1347205025: '1742909324_2313877_1347204668_81832546375e6d227f2801b33e5baf39_rle_crop_3729218106_0.png', 1347205023: '1742909324_2313877_1347204671_6d57a0a75ea01d2215c5dca46a8f2595_rle_crop_3729218087_0.png', 1347204997: '1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218032_0.png', 1347204995: '1742909306_3557974_1347204812_67da53fac50663526dfd0e2cf0171e71_rle_crop_3729217852_0.png', 1347204743: '1742909072_579936_1347204012_03130cd741186341504275bd42e90cfd_rle_crop_3729214844_0.png', 1347204742: '1742909072_579936_1347204043_e8aeb366241c7aa2bb113c9bb699a9f8_rle_crop_3729214800_0.png', 1347204676: '1742909052_579378_1347204347_91219cd8e6fce5f601c02ed7e0e274ce_rle_crop_3729215516_0.png', 1347204675: '1742909052_579378_1347204351_f2c96b76b2154a73fc19f89069d56bba_rle_crop_3729215475_0.png', 1347204641: '1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215354_0.png', 1347204126: '1742908813_574887_1347203464_065dee0d62179431ed1153785d892a6c_rle_crop_3729213100_0.png', 1347204639: '1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215331_0.png', 1347204638: '1742909033_578976_1347204270_8c80b6b406f502bee15d21cabff7272c_rle_crop_3729215204_0.png', 1347204377: '1742908972_577863_1347204012_03130cd741186341504275bd42e90cfd_rle_crop_3729214844_0.png', 1347204376: '1742908972_577863_1347204043_e8aeb366241c7aa2bb113c9bb699a9f8_rle_crop_3729214800_0.png', 1347204318: '1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214504_0.png', 1347204316: '1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214507_0.png', 1347204315: '1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214492_0.png', 1347204314: '1742908933_577192_1347204173_4f6c206760cf81c382ef4b94952df93b_rle_crop_3729214473_0.png', 1347204127: '1742908813_574887_1347203464_065dee0d62179431ed1153785d892a6c_rle_crop_3729213099_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/a2547ecdfaaf67900930f34ae338ed75_50602395.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3a7a4025038f62a6a4c2a66621907bd4_54012867.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f72a596101a286452fd047dbd8f24bb9_87295492.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2d885ad89e1a2a4e8b5168f23c48a5d3_34805966.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5b0204845de49b24fd8dfdae1f7d2329_78338925.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c1855443d8f7c640e16c4ad1cc1945f9_71930531.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/54ce8f97dea2a5fec831d26d94435feb_5506442.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/b520aee92a91dbefcb829ef21c329502_97025705.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/76a070836c2e2b1786ffb074d841c970_6599526.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bacc874b534d7151b39183d47358476e_23101241.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2c28065a025cb54896ef06e1d07df976_56543390.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d68e83e0bfc5055b3a351840e5c37c35_94171934.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6c5795d32a4eb6e248e52444516d42bb_76782548.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c1855443d8f7c640e16c4ad1cc1945f9_20835640.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/54ce8f97dea2a5fec831d26d94435feb_93718581.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ab7cd97be2ee75ec127e8c38ce808c16_58540051.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/427e4106c90341b2471e0e52bdb74402_58101420.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4de0e34f854d18a75e0cf161e53ef5a3_27019061.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8262ebbde188de719654a8f243eb1ed0_16537873.png change filename to text .imagette216929101742909404/ imagette216929101742909404/1742909072_579936_1347204043_e8aeb366241c7aa2bb113c9bb699a9f8_rle_crop_3729214800_0.png.png imagette216929101742909404/1742909324_2313877_1347204671_6d57a0a75ea01d2215c5dca46a8f2595_rle_crop_3729218087_0.png.png imagette216929101742909404/1742909306_3557974_1347204812_67da53fac50663526dfd0e2cf0171e71_rle_crop_3729217852_0.png.png imagette216929101742909404/1742909033_578976_1347204242_9a309d1bf9025fdbcd8cea38f1c90ad8_rle_crop_3729215343_0.png.png imagette216929101742909404/1742909033_578976_1347204215_d33bcab806c7ad26f16de4d295957fa3_rle_crop_3729215354_0.png.png imagette216929101742909404/1742908972_577863_1347204043_e8aeb366241c7aa2bb113c9bb699a9f8_rle_crop_3729214800_0.png.png imagette216929101742909404/1742909033_578976_1347204270_8c80b6b406f502bee15d21cabff7272c_rle_crop_3729215204_0.png.png imagette216929101742909404/1742908933_577192_1347204168_1391a5368211810d0f103b3296851dc3_rle_crop_3729214492_0.png.png imagette216929101742909404/1742908972_577863_1347204012_03130cd741186341504275bd42e90cfd_rle_crop_3729214844_0.png.png imagette216929101742909404/1742909033_578976_1347204254_d25ba4018cb993ae65d88d129cd1c56b_rle_crop_3729215331_0.png.png imagette216929101742909404/1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214507_0.png.png imagette216929101742909404/1742908813_574887_1347203464_065dee0d62179431ed1153785d892a6c_rle_crop_3729213099_0.png.png imagette216929101742909404/1742909324_2313877_1347204668_81832546375e6d227f2801b33e5baf39_rle_crop_3729218106_0.png.png imagette216929101742909404/1742909306_3557974_1347204794_e0489e74e280dd91ea36c2f368db5678_rle_crop_3729218032_0.png.png imagette216929101742909404/1742909052_579378_1347204351_f2c96b76b2154a73fc19f89069d56bba_rle_crop_3729215475_0.png.png imagette216929101742909404/1742908933_577192_1347204173_4f6c206760cf81c382ef4b94952df93b_rle_crop_3729214473_0.png.png imagette216929101742909404/1742908813_574887_1347203464_065dee0d62179431ed1153785d892a6c_rle_crop_3729213100_0.png.png imagette216929101742909404/1742909052_579378_1347204347_91219cd8e6fce5f601c02ed7e0e274ce_rle_crop_3729215516_0.png.png imagette216929101742909404/1742908933_577192_1347204164_f0538000b46bf400990fe56af3f72b90_rle_crop_3729214504_0.png.png imagette216929101742909404/1742909072_579936_1347204012_03130cd741186341504275bd42e90cfd_rle_crop_3729214844_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3d16e00f4b941704b9c287587a0b39a8_36106575.png imagette216929101742909404 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21692901 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21692914,21692915,21692916,21692917,21692918,21692919,21692920,21692921,21692922,21692923,21692924,21692925?tags=cartonnette,mal_croppe,Carton_brun,kraft,plastique,autre_refus,papier,Carton_gris,Teint_Dans_La_Masse,flou,metal,environnement your option no_mail is active, we will not send the real mail to your client args[1347204968] : ('0.045610222811440226',) no score found for photo 1347204968 We are sending mail with results at report@fotonower.com args[1347204963] : ('0.045610222811440226',) no score found for photo 1347204963 We are sending mail with results at report@fotonower.com args[1347204959] : ('0.045610222811440226',) no score found for photo 1347204959 We are sending mail with results at report@fotonower.com args[1347204957] : ('0.045610222811440226',) no score found for photo 1347204957 We are sending mail with results at report@fotonower.com args[1347204952] : ('0.045610222811440226',) no score found for photo 1347204952 We are sending mail with results at report@fotonower.com refus_total : 0.045610222811440226 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=21692901 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_P21692901_25-03-2025_14_30_00.pdf results_Auto_P21692901_25-03-2025_14_30_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_25-03-2025_14_30_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21692901','results_Auto_P21692901_25-03-2025_14_30_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_25-03-2025_14_30_00.pdf','pdf','','0.29','0.045610222811440226') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21692901]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] map_info['map_portfolio_photo'] : {21692901: [1347204968, 1347204963, 1347204959, 1347204957, 1347204952, 1347204908, 1347204905, 1347204902, 1347204895, 1347204889, 1347204817, 1347204812, 1347204808, 1347204805, 1347204794, 1347204725, 1347204719, 1347204708, 1347204671, 1347204668, 1347204662, 1347204560, 1347204557, 1347204555, 1347204552, 1347204362, 1347204356, 1347204351, 1347204347, 1347204343, 1347204275, 1347204270, 1347204254, 1347204242, 1347204215, 1347204212, 1347204178, 1347204173, 1347204168, 1347204164, 1347204160, 1347204105, 1347204102, 1347204100, 1347204096, 1347204049, 1347204043, 1347204012, 1347204010, 1347204008, 1347203614, 1347203609, 1347203605, 1347203464]} final : False mtd_id 4302 list_pids : [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] 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, '2689442') ('4302', '21692901', '1347204968', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 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', '21692901', '1347204968', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442')] time used for this insertion : 0.013645648956298828 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.873585224151611 time spend to save output : 0.013841390609741211 total time spend for step 4 : 6.8874266147613525 step5:split_time_score Tue Mar 25 14:30:06 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 : ['21692901'] 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 : [('21692901',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21692901) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347204968: {'path': 'temp/1742909399_1918607_1347204968_a25827ce1def9d4cf434a1d7de11e72e.jpg', 'extension': 'jpg'}, 1347204952: {'path': 'temp/1742909399_1918607_1347204952_b62b8fe797729f9ac2ceec5e329e6512.jpg', 'extension': 'jpg'}, 1347204957: {'path': 'temp/1742909399_1918607_1347204957_9d5c4a1460dd8f3d2b25dafc3d0e7d23.jpg', 'extension': 'jpg'}, 1347204959: {'path': 'temp/1742909399_1918607_1347204959_0cf0afe41800ebc353b5df0314f81083.jpg', 'extension': 'jpg'}, 1347204963: {'path': 'temp/1742909399_1918607_1347204963_d082d967fe06f0db232ff7d8f6f6e456.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 21692901; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21692901 group by h (('14', 54),) 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=21692901 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (21692901) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (21692901) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25032025 21692901 Nombre de photos uploadées : 54 / 23040 (0%) 25032025 21692901 Nombre de photos taguées (types de déchets): 0 / 54 (0%) 25032025 21692901 Nombre de photos taguées (volume) : 0 / 54 (0%) [{'photo_id': 1347203464, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/065dee0d62179431ed1153785d892a6c.jpg', 'username': None, 'uploaded_at': 1742908632, 'text': 'image_25032025_14_15_04_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347203614, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/70f9d45a8d2b2d95098574338616f187.jpg', 'username': None, 'uploaded_at': 1742908692, 'text': 'image_25032025_14_15_43_010143m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347203609, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/21517217d9385c0dba9693f749a0b2c0.jpg', 'username': None, 'uploaded_at': 1742908692, 'text': 'image_25032025_14_16_04_010150m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347203605, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/cc3b1a7f57346a8152e1c4a0eaf3678b.jpg', 'username': None, 'uploaded_at': 1742908692, 'text': 'image_25032025_14_16_14_010138m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.049041748046875e-05 ?????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002660512924194336 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21692901, '2025-03-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1685799,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024222373962402344 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1685799 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1685799, 'dashboard_run_id': 1695217, 'mtr_portfolio_id': 21692496, 'dashboard_result_id': 9611009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692496_25-03-2025_14_17_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692508, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1695217, 'mtr_portfolio_id': 21692901, 'dashboard_result_id': 9611010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_25-03-2025_14_28_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692913, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21692496 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689411, 'mtr_portfolio_id': 21692496, 'created_at': datetime.datetime(2025, 3, 25, 14, 17, 59), 'result': '0.10241042591815748', 'result_long': None, 'result_double': None}] Qualite : 0.10241042591815748 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21692496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692496_25-03-2025_14_17_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21692496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692496_25-03-2025_14_17_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692508, 'pht': 3726}}" where mtr_portfolio_id = 21692496 and dashboard_run_id = 1695217 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21692496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9611009, 0.10241042591815748, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692496_25-03-2025_14_17_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21692901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2689442, 'mtr_portfolio_id': 21692901, 'created_at': datetime.datetime(2025, 3, 25, 14, 29, 59), 'result': '0.045610222811440226', 'result_long': None, 'result_double': None}] Qualite : 0.045610222811440226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21692901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_25-03-2025_14_30_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21692901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_25-03-2025_14_30_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692913, 'pht': 3726}}" where mtr_portfolio_id = 21692901 and dashboard_run_id = 1695217 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21692901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9611010, 0.045610222811440226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21692901_25-03-2025_14_30_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21692902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21692903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21692904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21692905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21692906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21692907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21692908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21692909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21692910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21692911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21692912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21692913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21692496,21692901) result : ((1347201169,), (1347201204,), (1347201240,), (1347201275,), (1347201389,), (1347201393,), (1347201396,), (1347201400,), (1347201585,), (1347201616,), (1347202157,), (1347202188,), (1347202562,), (1347202586,), (1347202652,), (1347202657,), (1347202832,), (1347203467,), (1347203464,), (1347203605,), (1347203609,), (1347203614,), (1347204008,), (1347204010,), (1347204012,), (1347204043,), (1347204049,), (1347204096,), (1347204100,), (1347204102,), (1347204105,), (1347204160,), (1347204164,), (1347204168,), (1347204173,), (1347204178,), (1347204212,), (1347204215,), (1347204242,), (1347204254,), (1347204270,), (1347204275,), (1347204343,), (1347204347,), (1347204351,), (1347204356,), (1347204362,), (1347204552,), (1347204555,), (1347204557,), (1347204560,), (1347204662,), (1347204668,), (1347204671,), (1347204708,), (1347204719,), (1347204725,), (1347204794,), (1347204805,), (1347204808,), (1347204812,), (1347204817,), (1347204889,), (1347204895,), (1347204902,), (1347204905,), (1347204908,), (1347204952,), (1347204957,), (1347204959,), (1347204963,), (1347204968,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25032025': {'nb_upload': 54, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21692901]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] map_info['map_portfolio_photo'] : {21692901: [1347204968, 1347204963, 1347204959, 1347204957, 1347204952, 1347204908, 1347204905, 1347204902, 1347204895, 1347204889, 1347204817, 1347204812, 1347204808, 1347204805, 1347204794, 1347204725, 1347204719, 1347204708, 1347204671, 1347204668, 1347204662, 1347204560, 1347204557, 1347204555, 1347204552, 1347204362, 1347204356, 1347204351, 1347204347, 1347204343, 1347204275, 1347204270, 1347204254, 1347204242, 1347204215, 1347204212, 1347204178, 1347204173, 1347204168, 1347204164, 1347204160, 1347204105, 1347204102, 1347204100, 1347204096, 1347204049, 1347204043, 1347204012, 1347204010, 1347204008, 1347203614, 1347203609, 1347203605, 1347203464]} final : True mtd_id 4302 list_pids : [1347204968, 1347204963, 1347204959, 1347204957, 1347204952] Looping around the photos to save general results len do output : 1 /21692901Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204968', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442') ('4302', None, None, None, None, None, None, None, '2689442') ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 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, '21692901', 'None', None, None, None, None, '2689442'), ('4302', '21692901', '1347204968', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204963', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204959', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204957', None, None, None, None, None, '2689442'), ('4302', '21692901', '1347204952', None, None, None, None, None, '2689442')] time used for this insertion : 0.014523744583129883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.23340296745300293 time spend to save output : 0.014719724655151367 total time spend for step 5 : 0.2481226921081543 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2689442) 2.12user 2.49system 0:12.24elapsed 37%CPU (0avgtext+0avgdata 157536maxresident)k 1568inputs+15160outputs (29major+71373minor)pagefaults 0swaps