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 : 3242709 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 (2645166) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2645166) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21124985 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2645166'] with mtr_portfolio_ids : ['21124985'] and first list_photo_ids : [] new path : /proc/3242709/ Name: python3 Umask: 0002 State: R (running) Tgid: 3242709 Ngid: 0 Pid: 3242709 PPid: 3242708 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3242709 NSpid: 3242709 NSpgid: 3240090 NSsid: 3240090 VmPeak: 1106852 kB VmSize: 1106852 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97836 kB VmRSS: 97836 kB RssAnon: 59760 kB RssFile: 38076 kB RssShmem: 0 kB VmData: 865600 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 75 nonvoluntary_ctxt_switches: 127 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3242709', 'Ngid': '0', 'Pid': '3242709', 'PPid': '3242708', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3242709', 'NSpid': '3242709', 'NSpgid': '3240090', 'NSsid': '3240090', 'VmPeak': '1106852 kB', 'VmSize': '1106852 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97836 kB', 'VmRSS': '97836 kB', 'RssAnon': '59760 kB', 'RssFile': '38076 kB', 'RssShmem': '0 kB', 'VmData': '865600 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '75', 'nonvoluntary_ctxt_switches': '127'} ('datou_batch_current', '3242709', '1106852', '0', '1106852', '865600', '97836', b'', 'marlene', '2645166') 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 (21124985) 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 (2645166 ) ) 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 (21124985) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1341292503, 'portfolio_id': 21124985}, {'photo_id': 1341292497, 'portfolio_id': 21124985}, {'photo_id': 1341292490, 'portfolio_id': 21124985}, {'photo_id': 1341292451, 'portfolio_id': 21124985}, {'photo_id': 1341292447, 'portfolio_id': 21124985}, {'photo_id': 1341292441, 'portfolio_id': 21124985}, {'photo_id': 1341292437, 'portfolio_id': 21124985}, {'photo_id': 1341292434, 'portfolio_id': 21124985}, {'photo_id': 1341292365, 'portfolio_id': 21124985}, {'photo_id': 1341292356, 'portfolio_id': 21124985}, {'photo_id': 1341292348, 'portfolio_id': 21124985}, {'photo_id': 1341292342, 'portfolio_id': 21124985}, {'photo_id': 1341292340, 'portfolio_id': 21124985}, {'photo_id': 1341292313, 'portfolio_id': 21124985}, {'photo_id': 1341292019, 'portfolio_id': 21124985}, {'photo_id': 1341291917, 'portfolio_id': 21124985}, {'photo_id': 1341291914, 'portfolio_id': 21124985}, {'photo_id': 1341291743, 'portfolio_id': 21124985}, {'photo_id': 1341291737, 'portfolio_id': 21124985}, {'photo_id': 1341291734, 'portfolio_id': 21124985}, {'photo_id': 1341291729, 'portfolio_id': 21124985}, {'photo_id': 1341291724, 'portfolio_id': 21124985}, {'photo_id': 1341291716, 'portfolio_id': 21124985}, {'photo_id': 1341291632, 'portfolio_id': 21124985}, {'photo_id': 1341291587, 'portfolio_id': 21124985}, {'photo_id': 1341291582, 'portfolio_id': 21124985}, {'photo_id': 1341291529, 'portfolio_id': 21124985}, {'photo_id': 1341291520, 'portfolio_id': 21124985}, {'photo_id': 1341290813, 'portfolio_id': 21124985}, {'photo_id': 1341290805, 'portfolio_id': 21124985}, {'photo_id': 1341290800, 'portfolio_id': 21124985}, {'photo_id': 1341290798, 'portfolio_id': 21124985}, {'photo_id': 1341290694, 'portfolio_id': 21124985}, {'photo_id': 1341290689, 'portfolio_id': 21124985}, {'photo_id': 1341290683, 'portfolio_id': 21124985}, {'photo_id': 1341290676, 'portfolio_id': 21124985}, {'photo_id': 1341290670, 'portfolio_id': 21124985}, {'photo_id': 1341290667, 'portfolio_id': 21124985}, {'photo_id': 1341290623, 'portfolio_id': 21124985}, {'photo_id': 1341290618, 'portfolio_id': 21124985}, {'photo_id': 1341290613, 'portfolio_id': 21124985}, {'photo_id': 1341290609, 'portfolio_id': 21124985}, {'photo_id': 1341290523, 'portfolio_id': 21124985}, {'photo_id': 1341290509, 'portfolio_id': 21124985}, {'photo_id': 1341290497, 'portfolio_id': 21124985}, {'photo_id': 1341290436, 'portfolio_id': 21124985}, {'photo_id': 1341290420, 'portfolio_id': 21124985}] map_portfolio_id_photo_id: {21124985: [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434, 1341292365, 1341292356, 1341292348, 1341292342, 1341292340, 1341292313, 1341292019, 1341291917, 1341291914, 1341291743, 1341291737, 1341291734, 1341291729, 1341291724, 1341291716, 1341291632, 1341291587, 1341291582, 1341291529, 1341291520, 1341290813, 1341290805, 1341290800, 1341290798, 1341290694, 1341290689, 1341290683, 1341290676, 1341290670, 1341290667, 1341290623, 1341290618, 1341290613, 1341290609, 1341290523, 1341290509, 1341290497, 1341290436, 1341290420]} ##### 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.015189886093139648 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Mar 6 19:56: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 (21124985) 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 : 21124985 get user id for portfolio 21124985 get sub ptf for main ptf 21124985, type 3726 and hashtags ['cartonnette', 'environnement', 'flou', 'mal_croppe', 'Carton_gris', 'metal', 'Carton_brun', 'papier', 'plastique', 'autre_refus', 'kraft', '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`=21124985 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','flou','mal_croppe','Carton_gris','metal','Carton_brun','papier','plastique','autre_refus','kraft','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`=21124985 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','flou','mal_croppe','Carton_gris','metal','Carton_brun','papier','plastique','autre_refus','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21124985, 'sub_port_id': 21125079, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728109, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'cartonnette': {'main_port_id': 21124985, 'sub_port_id': 21125080, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728110, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'kraft': {'main_port_id': 21124985, 'sub_port_id': 21125081, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728111, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'environnement': {'main_port_id': 21124985, 'sub_port_id': 21125082, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728112, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'Carton_gris': {'main_port_id': 21124985, 'sub_port_id': 21125083, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728113, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'autre_refus': {'main_port_id': 21124985, 'sub_port_id': 21125084, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728114, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'Carton_brun': {'main_port_id': 21124985, 'sub_port_id': 21125085, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728115, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'papier': {'main_port_id': 21124985, 'sub_port_id': 21125086, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728116, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'metal': {'main_port_id': 21124985, 'sub_port_id': 21125087, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728117, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 21124985, 'sub_port_id': 21125088, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728118, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'plastique': {'main_port_id': 21124985, 'sub_port_id': 21125089, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728119, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}, 'mal_croppe': {'main_port_id': 21124985, 'sub_port_id': 21125090, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728120, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21125079 , 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=21124985 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 (21125079) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125080 , 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=21124985 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 (21125080) result : ((1341291847,), (1341291848,), (1341291849,), (1341292309,), (1341292312,), (1341292369,), (1341292370,), (1341292371,), (1341292372,), (1341292407,), (1341292408,), (1341292409,), (1341292522,), (1341292523,), (1341292524,), (1341292583,), (1341292584,), (1341292585,), (1341292586,), (1341292587,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125081 , 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=21124985 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 (21125081) result : ((1341292377,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125082 , 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=21124985 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 (21125082) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125083 , 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=21124985 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 (21125083) result : ((1341291844,), (1341291845,), (1341292271,), (1341292323,), (1341292404,), (1341292405,), (1341292493,), (1341292580,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125084 , 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=21124985 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 (21125084) result : ((1341291840,), (1341291841,), (1341291842,), (1341291843,), (1341292214,), (1341292360,), (1341292361,), (1341292362,), (1341292363,), (1341292399,), (1341292400,), (1341292401,), (1341292402,), (1341292516,), (1341292517,), (1341292518,), (1341292519,), (1341292574,), (1341292575,), (1341292576,), (1341292577,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125085 , 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=21124985 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 (21125085) result : ((1341291850,), (1341291851,), (1341292316,), (1341292411,), (1341292412,), (1341292525,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125086 , 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=21124985 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 (21125086) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125087 , 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=21124985 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 (21125087) result : ((1341292379,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125088 , 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=21124985 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 (21125088) result : ((1341291827,), (1341291828,), (1341291829,), (1341291830,), (1341291831,), (1341291832,), (1341291833,), (1341291834,), (1341291835,), (1341291836,), (1341291837,), (1341292173,), (1341292354,), (1341292355,), (1341292385,), (1341292387,), (1341292388,), (1341292389,), (1341292390,), (1341292391,), (1341292392,), (1341292393,), (1341292394,), (1341292395,), (1341292396,), (1341292397,), (1341292513,), (1341292572,), (1341292573,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125089 , 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=21124985 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 (21125089) result : ((1341291853,), (1341291854,), (1341291855,), (1341291856,), (1341291857,), (1341292325,), (1341292326,), (1341292327,), (1341292373,), (1341292374,), (1341292375,), (1341292423,), (1341292424,), (1341292425,), (1341292426,), (1341292427,), (1341292495,), (1341292496,), (1341292590,), (1341292591,), (1341292592,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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 21125090 , 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=21124985 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 (21125090) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21124985) result : ((1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) 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 (1341290800) 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`=21124985 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','flou','mal_croppe','Carton_gris','metal','Carton_brun','papier','plastique','autre_refus','kraft','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`=21124985 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','flou','mal_croppe','Carton_gris','metal','Carton_brun','papier','plastique','autre_refus','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21124985, 'sub_port_id': 21125091, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728121, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'cartonnette': {'main_port_id': 21124985, 'sub_port_id': 21125092, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728122, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'kraft': {'main_port_id': 21124985, 'sub_port_id': 21125093, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728123, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'environnement': {'main_port_id': 21124985, 'sub_port_id': 21125094, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728124, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'Carton_gris': {'main_port_id': 21124985, 'sub_port_id': 21125095, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728125, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'autre_refus': {'main_port_id': 21124985, 'sub_port_id': 21125096, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728126, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'Carton_brun': {'main_port_id': 21124985, 'sub_port_id': 21125097, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728127, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'papier': {'main_port_id': 21124985, 'sub_port_id': 21125098, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728128, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'metal': {'main_port_id': 21124985, 'sub_port_id': 21125099, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728129, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 21124985, 'sub_port_id': 21125100, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728130, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'plastique': {'main_port_id': 21124985, 'sub_port_id': 21125101, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728131, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}, 'mal_croppe': {'main_port_id': 21124985, 'sub_port_id': 21125102, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13728132, 'last_updated_at': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 19, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 19, 49, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125091,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125079 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125092,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125080 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125093,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125081 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125094,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125082 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125095,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125083 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125096,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125084 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125097,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125085 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125098,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125086 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125099,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125087 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125100,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125088 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125101,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125089 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21125102,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21125090 lien utilise dans velours : https://www.fotonower.com/velours/21125091,21125092,21125093,21125094,21125095,21125096,21125097,21125098,21125099,21125100,21125101,21125102?tags=flou,cartonnette,kraft,environnement,Carton_gris,autre_refus,Carton_brun,papier,metal,Teint_Dans_La_Masse,plastique,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21124985]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] map_info['map_portfolio_photo'] : {21124985: [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434, 1341292365, 1341292356, 1341292348, 1341292342, 1341292340, 1341292313, 1341292019, 1341291917, 1341291914, 1341291743, 1341291737, 1341291734, 1341291729, 1341291724, 1341291716, 1341291632, 1341291587, 1341291582, 1341291529, 1341291520, 1341290813, 1341290805, 1341290800, 1341290798, 1341290694, 1341290689, 1341290683, 1341290676, 1341290670, 1341290667, 1341290623, 1341290618, 1341290613, 1341290609, 1341290523, 1341290509, 1341290497, 1341290436, 1341290420]} final : False mtd_id 4302 list_pids : [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] Looping around the photos to save general results len do output : 1 /21124985. 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, '2645166') ('4302', '21124985', '1341292503', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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, '21124985', "{'flou': 21125079, 'cartonnette': 21125080, 'kraft': 21125081, 'environnement': 21125082, 'Carton_gris': 21125083, 'autre_refus': 21125084, 'Carton_brun': 21125085, 'papier': 21125086, 'metal': 21125087, 'Teint_Dans_La_Masse': 21125088, 'plastique': 21125089, 'mal_croppe': 21125090}", None, None, None, None, '2645166'), ('4302', '21124985', '1341292503', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166')] time used for this insertion : 0.013634204864501953 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.352712631225586 time spend to save output : 0.013968467712402344 total time spend for step 1 : 4.366681098937988 step2:final Thu Mar 6 19:57:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 (21124985) 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 21124985 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1341290523,1341290509,1341290497,1341290436,1341290420,1341290623,1341290618,1341290613,1341290609,1341290694,1341290689,1341290683,1341290676,1341290670,1341290667,1341290813,1341290805,1341290800,1341290798,1341291632,1341291587,1341291582,1341291529,1341291520,1341291743,1341291737,1341291734,1341291729,1341291724,1341291716,1341292313,1341292019,1341291917,1341291914,1341292365,1341292356,1341292348,1341292342,1341292340,1341292451,1341292447,1341292441,1341292437,1341292434,1341292503,1341292497,1341292490); 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([21124985]) Inside saveOutput : final : False verbose : True original output for save of step final : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} new output for save of step final : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] map_info['map_portfolio_photo'] : {21124985: [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434, 1341292365, 1341292356, 1341292348, 1341292342, 1341292340, 1341292313, 1341292019, 1341291917, 1341291914, 1341291743, 1341291737, 1341291734, 1341291729, 1341291724, 1341291716, 1341291632, 1341291587, 1341291582, 1341291529, 1341291520, 1341290813, 1341290805, 1341290800, 1341290798, 1341290694, 1341290689, 1341290683, 1341290676, 1341290670, 1341290667, 1341290623, 1341290618, 1341290613, 1341290609, 1341290523, 1341290509, 1341290497, 1341290436, 1341290420]} final : False mtd_id 4302 list_pids : [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] Looping around the photos to save general results len do output : 8 /1341292503.Didn't retrieve data . /1341292497.Didn't retrieve data . /1341292490.Didn't retrieve data . /1341292451.Didn't retrieve data . /1341292447.Didn't retrieve data . /1341292441.Didn't retrieve data . /1341292437.Didn't retrieve data . /1341292434.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, '2645166') ('4302', '21124985', '1341292503', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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', '21124985', '1341292503', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292497', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292490', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292451', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292447', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292441', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292437', '0.04840622536466516', None, None, None, None, '2645166'), ('4302', '21124985', '1341292434', '0.04840622536466516', None, None, None, None, '2645166')] time used for this insertion : 0.01250314712524414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06490135192871094 time spend to save output : 0.012996196746826172 total time spend for step 2 : 0.07789754867553711 step3:velours_tree Thu Mar 6 19:57:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21124985: [{'flou': 21125079, 'cartonnette': 21125080, 'kraft': 21125081, 'environnement': 21125082, 'Carton_gris': 21125083, 'autre_refus': 21125084, 'Carton_brun': 21125085, 'papier': 21125086, 'metal': 21125087, 'Teint_Dans_La_Masse': 21125088, 'plastique': 21125089, 'mal_croppe': 21125090}]} input_args_next_step : {21124985: ()} output_args : {21124985: [{'flou': 21125079, 'cartonnette': 21125080, 'kraft': 21125081, 'environnement': 21125082, 'Carton_gris': 21125083, 'autre_refus': 21125084, 'Carton_brun': 21125085, 'papier': 21125086, 'metal': 21125087, 'Teint_Dans_La_Masse': 21125088, 'plastique': 21125089, 'mal_croppe': 21125090}]} args : 21124985 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 : ({'flou': 21125079, 'cartonnette': 21125080, 'kraft': 21125081, 'environnement': 21125082, 'Carton_gris': 21125083, 'autre_refus': 21125084, 'Carton_brun': 21125085, 'papier': 21125086, 'metal': 21125087, 'Teint_Dans_La_Masse': 21125088, 'plastique': 21125089, 'mal_croppe': 21125090},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21124985) 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([21124985]) 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.3068220615386963 time spend to save output : 7.796287536621094e-05 total time spend for step 3 : 0.3069000244140625 step4:send_mail_cod Thu Mar 6 19:57:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} input_args_next_step : {1341292503: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292503 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292497 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292490 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292451 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292447 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292441 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292437 depend.output_id : 0 input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ()} output_args : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',)} args : 1341292434 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 : {21124985: [{'flou': 21125079, 'cartonnette': 21125080, 'kraft': 21125081, 'environnement': 21125082, 'Carton_gris': 21125083, 'autre_refus': 21125084, 'Carton_brun': 21125085, 'papier': 21125086, 'metal': 21125087, 'Teint_Dans_La_Masse': 21125088, 'plastique': 21125089, 'mal_croppe': 21125090}]} input_args_next_step : {1341292503: ('0.04840622536466516',), 1341292497: ('0.04840622536466516',), 1341292490: ('0.04840622536466516',), 1341292451: ('0.04840622536466516',), 1341292447: ('0.04840622536466516',), 1341292441: ('0.04840622536466516',), 1341292437: ('0.04840622536466516',), 1341292434: ('0.04840622536466516',), 21124985: ()} output_args : {21124985: [{'flou': 21125079, 'cartonnette': 21125080, 'kraft': 21125081, 'environnement': 21125082, 'Carton_gris': 21125083, 'autre_refus': 21125084, 'Carton_brun': 21125085, 'papier': 21125086, 'metal': 21125087, 'Teint_Dans_La_Masse': 21125088, 'plastique': 21125089, 'mal_croppe': 21125090}]} args : 21124985 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 :9, first value : ('0.04840622536466516',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21124985) 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 (1341292503,1341292497,1341292490,1341292451,1341292447,1341292441,1341292437,1341292434) Found this number of photos: 8 ##### Call download_photos : nb_thread : 5 begin to download photo : 1341292434 begin to download photo : 1341292441 begin to download photo : 1341292451 begin to download photo : 1341292497 download finish for photo 1341292441 begin to download photo : 1341292447 download finish for photo 1341292451 begin to download photo : 1341292490 download finish for photo 1341292497 begin to download photo : 1341292503 download finish for photo 1341292434 begin to download photo : 1341292437 download finish for photo 1341292503 download finish for photo 1341292437 download finish for photo 1341292447 download finish for photo 1341292490 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette211250791741287423/ length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 results_Auto_P21124985_06-03-2025_19_57_03.pdf 21125079 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=21125079 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211250791741287423 21125080 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=21125080 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341292408: '1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342789_0.png', 1341292587: '1741287291_1388462_1341290670_daca8d401268157045737cdae1941de2_rle_crop_3696344143_0.png', 1341292586: '1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344108_0.png', 1341292585: '1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696345810_0.png', 1341292584: '1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_bib_crop_3696344085_0.jpg', 1341292583: '1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344079_0.png', 1341292524: '1741287253_1387625_1341291520_e45e55feb4bc7543630e020af1be850d_rle_crop_3696345381_0.png', 1341292523: '1741287253_1387625_1341291529_2f50514f0c743c3c439450dbc551e089_rle_crop_3696345358_0.png', 1341292522: '1741287253_1387625_1341291743_19b7932fc000b59176af6cc752dd0f2e_rle_crop_3696345209_0.png', 1341292409: '1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342811_0.png', 1341291847: '1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342657_0.png', 1341292407: '1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342657_0.png', 1341292372: '1741287151_1385909_1341290670_daca8d401268157045737cdae1941de2_rle_crop_3696344143_0.png', 1341292371: '1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344108_0.png', 1341292370: '1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344085_0.png', 1341292369: '1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344079_0.png', 1341292312: '1741287111_1385285_1341290800_12634bd9ee3152aa471b7ad76174660d_rle_crop_3696343095_0.png', 1341292309: '1741287111_1385285_1341290805_8703099bfe6b7c14f5d90657681af687_rle_crop_3696343010_0.png', 1341291849: '1741287053_1384437_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342811_0.png', 1341291848: '1741287053_1384437_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342789_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/05615a992a1688e96fe8bc15393846b3_72588808.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b09da6459f60382ea3f3a75e6af32eb3_74859007.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b6341d53e35fec0e6f8644fc5798f2b0_52560633.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/418750f4751e466860da09e497740172_218171.png change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4b5e5509783aa2ec302774fbb326e065_13029928.jpg change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/72a3e8968063a40bef3e0f8fecae6068_58059815.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ee3cf9bee7009d167a934d771c8ceb59_1941433.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1838842969089848843871cf874b0622_90583061.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b5efe3970566bbbb8c3d4d7d96b58349_71096069.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0457e6747d78380e210fd66e771e391d_11008088.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3f33c184cab5ea932fc0d1023a66455f_11257510.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3f33c184cab5ea932fc0d1023a66455f_21256699.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b09da6459f60382ea3f3a75e6af32eb3_6287397.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b6341d53e35fec0e6f8644fc5798f2b0_7912957.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bcce9381cc27a58fea4b8172d7a02fff_6978554.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/72a3e8968063a40bef3e0f8fecae6068_85011814.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b51e390bf3fbb327a03e697cd96eabd4_64118567.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2a79ab8088244bb7c0c6bb231b6ecaac_7620599.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0457e6747d78380e210fd66e771e391d_37096939.png change filename to text .imagette211250801741287423/ imagette211250801741287423/1741287111_1385285_1341290805_8703099bfe6b7c14f5d90657681af687_rle_crop_3696343010_0.png.png imagette211250801741287423/1741287253_1387625_1341291743_19b7932fc000b59176af6cc752dd0f2e_rle_crop_3696345209_0.png.png imagette211250801741287423/1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696345810_0.png.png imagette211250801741287423/1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_bib_crop_3696344085_0.jpg.jpg imagette211250801741287423/1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342657_0.png.png imagette211250801741287423/1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342789_0.png.png imagette211250801741287423/1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344108_0.png.png imagette211250801741287423/1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342811_0.png.png imagette211250801741287423/1741287253_1387625_1341291529_2f50514f0c743c3c439450dbc551e089_rle_crop_3696345358_0.png.png imagette211250801741287423/1741287111_1385285_1341290800_12634bd9ee3152aa471b7ad76174660d_rle_crop_3696343095_0.png.png imagette211250801741287423/1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344079_0.png.png imagette211250801741287423/1741287291_1388462_1341290670_daca8d401268157045737cdae1941de2_rle_crop_3696344143_0.png.png imagette211250801741287423/1741287253_1387625_1341291520_e45e55feb4bc7543630e020af1be850d_rle_crop_3696345381_0.png.png imagette211250801741287423/1741287053_1384437_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342811_0.png.png imagette211250801741287423/1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342657_0.png.png imagette211250801741287423/1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344108_0.png.png imagette211250801741287423/1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344085_0.png.png imagette211250801741287423/1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344079_0.png.png imagette211250801741287423/1741287053_1384437_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342789_0.png.png imagette211250801741287423/1741287151_1385909_1341290670_daca8d401268157045737cdae1941de2_rle_crop_3696344143_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/05615a992a1688e96fe8bc15393846b3_38349498.png imagette211250801741287423 21125081 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=21125081 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341292377: '1741287151_1385909_1341290670_daca8d401268157045737cdae1941de2_rle_crop_3696344146_0.png'} change filename to text .imagette211250811741287424/ imagette211250811741287424/1741287151_1385909_1341290670_daca8d401268157045737cdae1941de2_rle_crop_3696344146_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/58c5d28c6e4dc95e4287d0ce087bf43f_57248223.png imagette211250811741287424 21125084 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=21125084 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341292400: '1741287171_1386295_1341290509_6c39905b0fb212c75187e9a39a680520_rle_crop_3696342678_0.png', 1341292577: '1741287291_1388462_1341290667_0a73fb29bfc0a66da9e7b006beafc942_rle_crop_3696344274_0.png', 1341292576: '1741287291_1388462_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344128_0.png', 1341292575: '1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344111_0.png', 1341292574: '1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344083_0.png', 1341292519: '1741287253_1387625_1341291529_2f50514f0c743c3c439450dbc551e089_rle_crop_3696345363_0.png', 1341292518: '1741287253_1387625_1341291582_d21db5dde65d84464c2def1207b6cb78_rle_crop_3696345341_0.png', 1341292517: '1741287253_1387625_1341291587_46dec1b8be60f226605f15bf5209142f_rle_crop_3696345240_0.png', 1341292516: '1741287253_1387625_1341291587_46dec1b8be60f226605f15bf5209142f_rle_crop_3696345241_0.png', 1341292402: '1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342840_0.png', 1341292401: '1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342792_0.png', 1341291840: '1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342664_0.png', 1341292399: '1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342664_0.png', 1341292363: '1741287151_1385909_1341290667_0a73fb29bfc0a66da9e7b006beafc942_rle_crop_3696344274_0.png', 1341292362: '1741287151_1385909_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344128_0.png', 1341292361: '1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344111_0.png', 1341292360: '1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344083_0.png', 1341292214: '1741287111_1385285_1341290800_12634bd9ee3152aa471b7ad76174660d_rle_crop_3696343100_0.png', 1341291843: '1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342840_0.png', 1341291842: '1741287053_1384437_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342792_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4315d3526472593b9d49b8cc890be3c6_82496704.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/639d4ef38d5602067493aef2163d7ca5_12850603.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3a393d6c04d09f9689dfc2bc56b2193b_87516079.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3ca810b6dc23f4efb7b68de57c405704_17439923.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6ef2a161ef12e35005c9fdfa5623b59a_90838256.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/99a46244cbf4754a43262d501b5c2719_26251354.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1b84b5539cb24e666f9b0c1aeb43fd17_84039092.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f166bfb0eb4d9d309738f298c1af89a0_49488150.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/620d83e55f127ccbb8c49a78695c4ec5_98833257.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/08b437b9beb13b986a211e14906adfaf_91815361.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/78c0142e2ece1c91dc9de2e54b5ea7bd_10111842.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/265c450f419305a61f6782bd3e931ef0_45552102.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/265c450f419305a61f6782bd3e931ef0_18221487.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/639d4ef38d5602067493aef2163d7ca5_36520846.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3a393d6c04d09f9689dfc2bc56b2193b_40240559.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3ca810b6dc23f4efb7b68de57c405704_38414378.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6ef2a161ef12e35005c9fdfa5623b59a_17187865.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4192ea53f40aa3787fed433a818fe10d_22020785.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/08b437b9beb13b986a211e14906adfaf_58155715.png change filename to text .imagette211250841741287425/ imagette211250841741287425/1741287253_1387625_1341291582_d21db5dde65d84464c2def1207b6cb78_rle_crop_3696345341_0.png.png imagette211250841741287425/1741287253_1387625_1341291587_46dec1b8be60f226605f15bf5209142f_rle_crop_3696345240_0.png.png imagette211250841741287425/1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342840_0.png.png imagette211250841741287425/1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342840_0.png.png imagette211250841741287425/1741287151_1385909_1341290667_0a73fb29bfc0a66da9e7b006beafc942_rle_crop_3696344274_0.png.png imagette211250841741287425/1741287053_1384437_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342792_0.png.png imagette211250841741287425/1741287111_1385285_1341290800_12634bd9ee3152aa471b7ad76174660d_rle_crop_3696343100_0.png.png imagette211250841741287425/1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344111_0.png.png imagette211250841741287425/1741287291_1388462_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344128_0.png.png imagette211250841741287425/1741287171_1386295_1341290509_6c39905b0fb212c75187e9a39a680520_rle_crop_3696342678_0.png.png imagette211250841741287425/1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344083_0.png.png imagette211250841741287425/1741287253_1387625_1341291529_2f50514f0c743c3c439450dbc551e089_rle_crop_3696345363_0.png.png imagette211250841741287425/1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342664_0.png.png imagette211250841741287425/1741287151_1385909_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344128_0.png.png imagette211250841741287425/1741287291_1388462_1341290667_0a73fb29bfc0a66da9e7b006beafc942_rle_crop_3696344274_0.png.png imagette211250841741287425/1741287291_1388462_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344083_0.png.png imagette211250841741287425/1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342664_0.png.png imagette211250841741287425/1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342792_0.png.png imagette211250841741287425/1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344111_0.png.png imagette211250841741287425/1741287253_1387625_1341291587_46dec1b8be60f226605f15bf5209142f_rle_crop_3696345241_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/78c0142e2ece1c91dc9de2e54b5ea7bd_9725290.png imagette211250841741287425 21125087 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=21125087 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341292379: '1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344081_0.png'} change filename to text .imagette211250871741287426/ imagette211250871741287426/1741287151_1385909_1341290813_9398ecfa0fa46209558e72d79ed1004c_rle_crop_3696344081_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/27cfdcf811bfcd58e57042f025840b7a_73805897.png imagette211250871741287426 21125089 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=21125089 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341292375: '1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344112_0.png', 1341292592: '1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344112_0.png', 1341292591: '1741287291_1388462_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344097_0.png', 1341292590: '1741287291_1388462_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344102_0.png', 1341292496: '1741287272_1388113_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343124_0.png', 1341292495: '1741287272_1388113_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343126_0.png', 1341292427: '1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342846_0.png', 1341292426: '1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342820_0.png', 1341292425: '1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342799_0.png', 1341292424: '1741287171_1386295_1341290509_6c39905b0fb212c75187e9a39a680520_rle_crop_3696342673_0.png', 1341292423: '1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342667_0.png', 1341291853: '1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342667_0.png', 1341292374: '1741287151_1385909_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344097_0.png', 1341292373: '1741287151_1385909_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344102_0.png', 1341292327: '1741287131_1385597_1341290618_27a3136f72d48d6de288ff1bbecfa3da_rle_crop_3696342617_0.png', 1341292326: '1741287131_1385597_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343124_0.png', 1341292325: '1741287131_1385597_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343126_0.png', 1341291857: '1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342846_0.png', 1341291856: '1741287053_1384437_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342820_0.png', 1341291855: '1741287053_1384437_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342799_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dd423d98257c4702d1d9ddbdcae65f88_7117764.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dd423d98257c4702d1d9ddbdcae65f88_30022891.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f6b061d5f28d69afd0448586354aa0ff_60644610.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ae4436484bd93123e80ebab41fd61af1_75850185.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e1074e1e3857c68cd98f8c9740b73b3b_16445377.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/de97a4205c91059ad0b5792b8d957900_90055635.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/115e7914245655141bfa6e630b37e093_68235496.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a3fde8c592ec8d5d9df858cde7549e63_70507330.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/692f114c7232b4e4d3900420f2820709_83150007.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4cba7796770def86401106274f127dc8_21007503.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/742639b6472a7bfd43f149f01e4fc74e_86561236.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/742639b6472a7bfd43f149f01e4fc74e_66286707.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f6b061d5f28d69afd0448586354aa0ff_30249798.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ae4436484bd93123e80ebab41fd61af1_55029932.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6e70e2dc099a7d9779e7eea48915c2fc_87646323.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e1074e1e3857c68cd98f8c9740b73b3b_98315464.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/de97a4205c91059ad0b5792b8d957900_68939766.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/115e7914245655141bfa6e630b37e093_88400657.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a3fde8c592ec8d5d9df858cde7549e63_23563910.png change filename to text .imagette211250891741287426/ imagette211250891741287426/1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342667_0.png.png imagette211250891741287426/1741287272_1388113_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343126_0.png.png imagette211250891741287426/1741287272_1388113_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343124_0.png.png imagette211250891741287426/1741287291_1388462_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344097_0.png.png imagette211250891741287426/1741287151_1385909_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344097_0.png.png imagette211250891741287426/1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342667_0.png.png imagette211250891741287426/1741287131_1385597_1341290618_27a3136f72d48d6de288ff1bbecfa3da_rle_crop_3696342617_0.png.png imagette211250891741287426/1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344112_0.png.png imagette211250891741287426/1741287291_1388462_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344102_0.png.png imagette211250891741287426/1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344112_0.png.png imagette211250891741287426/1741287151_1385909_1341290689_39041196fea3b740003506f4a667832b_rle_crop_3696344102_0.png.png imagette211250891741287426/1741287053_1384437_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342799_0.png.png imagette211250891741287426/1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342846_0.png.png imagette211250891741287426/1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342846_0.png.png imagette211250891741287426/1741287053_1384437_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342820_0.png.png imagette211250891741287426/1741287131_1385597_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343126_0.png.png imagette211250891741287426/1741287131_1385597_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343124_0.png.png imagette211250891741287426/1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342820_0.png.png imagette211250891741287426/1741287171_1386295_1341290509_6c39905b0fb212c75187e9a39a680520_rle_crop_3696342673_0.png.png imagette211250891741287426/1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342799_0.png.png imagette211250901741287427/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/692f114c7232b4e4d3900420f2820709_41085324.png imagette211250891741287426 21125090 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=21125090 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211250901741287427 21125083 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=21125083 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341291844: '1741287053_1384437_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342636_0.png', 1341291845: '1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342654_0.png', 1341292271: '1741287111_1385285_1341290798_6b3c6bf305aedd35a9c9b5c772642be0_rle_crop_3696343107_0.png', 1341292323: '1741287131_1385597_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343128_0.png', 1341292404: '1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342636_0.png', 1341292405: '1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342654_0.png', 1341292493: '1741287272_1388113_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343128_0.png', 1341292580: '1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696345874_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/53db4ef5d9e9b9a79448230f156c74fc_90341447.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/382e9b43234ad342dea4d7e00db5375d_58395471.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ffa59ffe541e92cb06514fbba9ba8be3_62193906.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/82a08dd3e0d1b6fe0794c3ef3108e82f_64149412.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/53db4ef5d9e9b9a79448230f156c74fc_56898984.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/382e9b43234ad342dea4d7e00db5375d_30215699.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/82a08dd3e0d1b6fe0794c3ef3108e82f_48979152.png change filename to text .imagette211250831741287427/ imagette211250831741287427/1741287111_1385285_1341290798_6b3c6bf305aedd35a9c9b5c772642be0_rle_crop_3696343107_0.png.png imagette211250831741287427/1741287053_1384437_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342654_0.png.png imagette211250831741287427/1741287131_1385597_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343128_0.png.png imagette211250831741287427/1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342654_0.png.png imagette211250831741287427/1741287272_1388113_1341290694_2ff2e86e16d8542057fd1601f8f43439_rle_crop_3696343128_0.png.png imagette211250831741287427/1741287053_1384437_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342636_0.png.png imagette211250831741287427/1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696345874_0.png.png imagette211250831741287427/1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342636_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d6b4ae9e25f09507fc71eb5e04debee1_31385883.png imagette211250831741287427 21125085 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=21125085 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341291850: '1741287053_1384437_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342815_0.png', 1341291851: '1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342834_0.png', 1341292316: '1741287111_1385285_1341290805_8703099bfe6b7c14f5d90657681af687_rle_crop_3696343015_0.png', 1341292411: '1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342815_0.png', 1341292412: '1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342834_0.png', 1341292525: '1741287253_1387625_1341291529_2f50514f0c743c3c439450dbc551e089_rle_crop_3696345361_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/292ab9c7fd2dd624ac368e54d5495fa7_8062582.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e27b2d0a6a2c9022a773899ee46eafbe_12626781.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0e0c48278c065ff4b429e89806ed03a3_36284745.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/292ab9c7fd2dd624ac368e54d5495fa7_78176003.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e27b2d0a6a2c9022a773899ee46eafbe_24135953.png change filename to text .imagette211250851741287427/ imagette211250851741287427/1741287053_1384437_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342815_0.png.png imagette211250851741287427/1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342834_0.png.png imagette211250851741287427/1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342815_0.png.png imagette211250851741287427/1741287111_1385285_1341290805_8703099bfe6b7c14f5d90657681af687_rle_crop_3696343015_0.png.png imagette211250851741287427/1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342834_0.png.png imagette211250851741287427/1741287253_1387625_1341291529_2f50514f0c743c3c439450dbc551e089_rle_crop_3696345361_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b3e25e0c6a39f54e59a4ed5922165873_30467194.png imagette211250851741287427 21125088 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=21125088 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341292385: '1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342648_0.png', 1341292573: '1741287291_1388462_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344124_0.png', 1341292572: '1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344109_0.png', 1341292513: '1741287253_1387625_1341291587_46dec1b8be60f226605f15bf5209142f_rle_crop_3696345237_0.png', 1341292397: '1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342836_0.png', 1341292396: '1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342845_0.png', 1341292395: '1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342819_0.png', 1341292394: '1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342796_0.png', 1341292393: '1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342794_0.png', 1341292392: '1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342788_0.png', 1341292391: '1741287171_1386295_1341290509_6c39905b0fb212c75187e9a39a680520_rle_crop_3696342677_0.png', 1341292390: '1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342663_0.png', 1341292389: '1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342644_0.png', 1341292388: '1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696344280_0.png', 1341292387: '1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_bib_crop_3696342646_0.jpg', 1341291827: '1741287053_1384437_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342648_0.png', 1341292355: '1741287151_1385909_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344124_0.png', 1341292354: '1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344109_0.png', 1341292173: '1741287111_1385285_1341290800_12634bd9ee3152aa471b7ad76174660d_rle_crop_3696343093_0.png', 1341291837: '1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342836_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/edbf56837ee28a05dce33d8f50ac4225_38800494.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4fb4ebebb3b908e705ef6830980fc721_84657696.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ab080bf86f7f9ed05b35351da9230689_65918867.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e272c9000c3a63a88b6e7ba06de315e6_61532325.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5de662beabcd63bc66026b349173e476_60456368.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/14707c07214f471e11e571fd79dfbe62_70702805.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/49e9051547b2b560d3b6a2a818c96568_43318003.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e3d1f77304f99b7b6212ec4d57495c16_10105836.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a5ebf193e9e6569887017fb8ac876470_49852444.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ee4504aa0dfb530764a7dfab2f667cc9_35142951.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/777710a3dd50c2b6be68eccd4d703a65_78262052.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/938d4c720e63298b9635c2659973ae31_96933108.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/efb3ae882c975fae364600b1f411190f_8519906.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1afb8cc407715ae029a89600274e1e09_55380378.png change filename to text .wget -O 15.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/08cf1d3758b6f08911880a6fad524c6c_14136922.jpg change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/edbf56837ee28a05dce33d8f50ac4225_91948800.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4fb4ebebb3b908e705ef6830980fc721_82117211.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ab080bf86f7f9ed05b35351da9230689_64677097.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/788acef7c2017b359990607da217e394_91577848.png change filename to text .imagette211250881741287427/ imagette211250881741287427/1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696344280_0.png.png imagette211250881741287427/1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342794_0.png.png imagette211250881741287427/1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342644_0.png.png imagette211250881741287427/1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_bib_crop_3696342646_0.jpg.jpg imagette211250881741287427/1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342845_0.png.png imagette211250881741287427/1741287171_1386295_1341290523_db4763a4905f8b8d25e317b7a6abab03_rle_crop_3696342663_0.png.png imagette211250881741287427/1741287111_1385285_1341290800_12634bd9ee3152aa471b7ad76174660d_rle_crop_3696343093_0.png.png imagette211250881741287427/1741287253_1387625_1341291587_46dec1b8be60f226605f15bf5209142f_rle_crop_3696345237_0.png.png imagette211250881741287427/1741287171_1386295_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342648_0.png.png imagette211250881741287427/1741287291_1388462_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344124_0.png.png imagette211250881741287427/1741287171_1386295_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342836_0.png.png imagette211250881741287427/1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342788_0.png.png imagette211250881741287427/1741287291_1388462_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344109_0.png.png imagette211250881741287427/1741287053_1384437_1341290623_ae9992a090b1087158ea141b1212e937_rle_crop_3696342648_0.png.png imagette211250881741287427/1741287151_1385909_1341290683_7ab35e5570530bf4a8b5c6f2cd1f6ed0_rle_crop_3696344109_0.png.png imagette211250881741287427/1741287151_1385909_1341290676_d632a04b6c365386b872bbcda181f046_rle_crop_3696344124_0.png.png imagette211250881741287427/1741287053_1384437_1341290420_2fd75317aca409a338cee6b62e8e9c39_rle_crop_3696342836_0.png.png imagette211250881741287427/1741287171_1386295_1341290509_6c39905b0fb212c75187e9a39a680520_rle_crop_3696342677_0.png.png imagette211250881741287427/1741287171_1386295_1341290436_47adfe6ef5c93bbb0036ebc572a53184_rle_crop_3696342819_0.png.png imagette211250881741287427/1741287171_1386295_1341290497_670608e8aac8187db24fd8f48254a569_rle_crop_3696342796_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5de662beabcd63bc66026b349173e476_52931389.png imagette211250881741287427 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21124985 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21125091,21125092,21125093,21125094,21125095,21125096,21125097,21125098,21125099,21125100,21125101,21125102?tags=flou,cartonnette,kraft,environnement,Carton_gris,autre_refus,Carton_brun,papier,metal,Teint_Dans_La_Masse,plastique,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1341292503] : ('0.04840622536466516',) no score found for photo 1341292503 We are sending mail with results at report@fotonower.com args[1341292497] : ('0.04840622536466516',) no score found for photo 1341292497 We are sending mail with results at report@fotonower.com args[1341292490] : ('0.04840622536466516',) no score found for photo 1341292490 We are sending mail with results at report@fotonower.com args[1341292451] : ('0.04840622536466516',) no score found for photo 1341292451 We are sending mail with results at report@fotonower.com args[1341292447] : ('0.04840622536466516',) no score found for photo 1341292447 We are sending mail with results at report@fotonower.com args[1341292441] : ('0.04840622536466516',) no score found for photo 1341292441 We are sending mail with results at report@fotonower.com args[1341292437] : ('0.04840622536466516',) no score found for photo 1341292437 We are sending mail with results at report@fotonower.com args[1341292434] : ('0.04840622536466516',) no score found for photo 1341292434 We are sending mail with results at report@fotonower.com refus_total : 0.04840622536466516 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=21124985 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_P21124985_06-03-2025_19_57_03.pdf results_Auto_P21124985_06-03-2025_19_57_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_19_57_03.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','21124985','results_Auto_P21124985_06-03-2025_19_57_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_19_57_03.pdf','pdf','','0.25','0.04840622536466516') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21124985]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] map_info['map_portfolio_photo'] : {21124985: [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434, 1341292365, 1341292356, 1341292348, 1341292342, 1341292340, 1341292313, 1341292019, 1341291917, 1341291914, 1341291743, 1341291737, 1341291734, 1341291729, 1341291724, 1341291716, 1341291632, 1341291587, 1341291582, 1341291529, 1341291520, 1341290813, 1341290805, 1341290800, 1341290798, 1341290694, 1341290689, 1341290683, 1341290676, 1341290670, 1341290667, 1341290623, 1341290618, 1341290613, 1341290609, 1341290523, 1341290509, 1341290497, 1341290436, 1341290420]} final : False mtd_id 4302 list_pids : [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] 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, '2645166') ('4302', '21124985', '1341292503', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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', '21124985', '1341292503', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166')] time used for this insertion : 0.012819766998291016 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.5071635246276855 time spend to save output : 0.013084888458251953 total time spend for step 4 : 6.5202484130859375 step5:split_time_score Thu Mar 6 19:57:09 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 : ['21124985'] 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 : [('21124985',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21124985) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1341292497: {'path': 'temp/1741287423_3242709_1341292497_2ce7b1d2d7b1b7d0607acb4735a01389.jpg', 'extension': 'jpg'}, 1341292503: {'path': 'temp/1741287423_3242709_1341292503_5a2c2f31909a21ba266d87609036f2a2.jpg', 'extension': 'jpg'}, 1341292434: {'path': 'temp/1741287423_3242709_1341292434_541102ade1dac722adc9dbe713c60cce.jpg', 'extension': 'jpg'}, 1341292437: {'path': 'temp/1741287423_3242709_1341292437_098b67199851ff0640b8b29fa27e43f0.jpg', 'extension': 'jpg'}, 1341292441: {'path': 'temp/1741287423_3242709_1341292441_c24c0bf5f4327bde7b4e66ac3a68cd8f.jpg', 'extension': 'jpg'}, 1341292447: {'path': 'temp/1741287423_3242709_1341292447_e8f4e09e1eb48021ded2562bb435d029.jpg', 'extension': 'jpg'}, 1341292451: {'path': 'temp/1741287423_3242709_1341292451_0f61a185cb11eb2115e7f491cf03076d.jpg', 'extension': 'jpg'}, 1341292490: {'path': 'temp/1741287423_3242709_1341292490_c6b51f3a5479907ff0bd94bfe26f915a.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 = 21124985; (('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 = 21124985 group by h (('19', 47),) 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=21124985 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 (21124985) 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 (21124985) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21124985 Nombre de photos uploadées : 47 / 23040 (0%) 06032025 21124985 Nombre de photos taguées (types de déchets): 0 / 47 (0%) 06032025 21124985 Nombre de photos taguées (volume) : 0 / 47 (0%) [{'photo_id': 1341290523, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/db4763a4905f8b8d25e317b7a6abab03.jpg', 'username': None, 'uploaded_at': 1741286787, 'text': 'image_06032025_19_45_04_010162m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341290509, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6c39905b0fb212c75187e9a39a680520.jpg', 'username': None, 'uploaded_at': 1741286787, 'text': 'image_06032025_19_45_14_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341290497, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/670608e8aac8187db24fd8f48254a569.jpg', 'username': None, 'uploaded_at': 1741286787, 'text': 'image_06032025_19_45_24_010143m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1341290436, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/47adfe6ef5c93bbb0036ebc572a53184.jpg', 'username': None, 'uploaded_at': 1741286787, 'text': 'image_06032025_19_45_34_010140m0.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.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0728836059570312e-05 ??????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002345561981201172 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21124985, '2025-03-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1643118,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02377486228942871 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= 1643118 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1643118, 'dashboard_run_id': 1652856, 'mtr_portfolio_id': 21122791, 'dashboard_result_id': 9275348, '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_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1652856, 'mtr_portfolio_id': 21123460, 'dashboard_result_id': 9275349, '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_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1652856, 'mtr_portfolio_id': 21124323, 'dashboard_result_id': 9275350, '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_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1652856, 'mtr_portfolio_id': 21124985, 'dashboard_result_id': 9275351, '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_P21124985_06-03-2025_19_54_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, '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 = 21122791 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': 2644726, 'mtr_portfolio_id': 21122791, 'created_at': datetime.datetime(2025, 3, 6, 19, 18, 57), 'result': '0.07052891195406308', 'result_long': None, 'result_double': None}] Qualite : 0.07052891195406308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21122791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21122791 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_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}" where mtr_portfolio_id = 21122791 and dashboard_run_id = 1652856 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`=21122791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9275348, 0.07052891195406308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, '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 = 21123460 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': 2644924, 'mtr_portfolio_id': 21123460, 'created_at': datetime.datetime(2025, 3, 6, 19, 32, 59), 'result': '0.060882484143989515', 'result_long': None, 'result_double': None}] Qualite : 0.060882484143989515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21123460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21123460 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_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}" where mtr_portfolio_id = 21123460 and dashboard_run_id = 1652856 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`=21123460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9275349, 0.060882484143989515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, '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 = 21124323 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': 2645042, 'mtr_portfolio_id': 21124323, 'created_at': datetime.datetime(2025, 3, 6, 19, 48, 57), 'result': '0.06873884812445752', 'result_long': None, 'result_double': None}] Qualite : 0.06873884812445752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124323 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_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}" where mtr_portfolio_id = 21124323 and dashboard_run_id = 1652856 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`=21124323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9275350, 0.06873884812445752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, '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 = 21124985 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': 2645166, 'mtr_portfolio_id': 21124985, 'created_at': datetime.datetime(2025, 3, 6, 19, 57, 3), 'result': '0.04840622536466516', 'result_long': None, 'result_double': None}] Qualite : 0.04840622536466516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_19_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124985 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_P21124985_06-03-2025_19_57_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}" where mtr_portfolio_id = 21124985 and dashboard_run_id = 1652856 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`=21124985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9275351, 0.04840622536466516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_19_57_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, '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 (21122791,21123460,21124323,21124985) result : ((1341281850,), (1341281915,), (1341282051,), (1341282055,), (1341282061,), (1341282100,), (1341282103,), (1341282106,), (1341282109,), (1341282113,), (1341282163,), (1341282168,), (1341282171,), (1341282174,), (1341282176,), (1341282199,), (1341282204,), (1341282208,), (1341282239,), (1341282243,), (1341282248,), (1341282263,), (1341282265,), (1341282282,), (1341282670,), (1341282943,), (1341283155,), (1341283260,), (1341283263,), (1341283340,), (1341283347,), (1341283352,), (1341283356,), (1341283360,), (1341283640,), (1341283643,), (1341283687,), (1341283698,), (1341283701,), (1341283724,), (1341283740,), (1341283745,), (1341283750,), (1341283775,), (1341283778,), (1341283782,), (1341283787,), (1341283795,), (1341283963,), (1341283969,), (1341283973,), (1341283977,), (1341283981,), (1341284007,), (1341284024,), (1341284027,), (1341284080,), (1341284091,), (1341284098,), (1341284102,), (1341284106,), (1341284110,), (1341284465,), (1341284538,), (1341284545,), (1341284548,), (1341284553,), (1341284786,), (1341284701,), (1341284704,), (1341284723,), (1341284969,), (1341284973,), (1341284978,), (1341284982,), (1341285098,), (1341285498,), (1341285507,), (1341285510,), (1341285514,), (1341285550,), (1341285555,), (1341285558,), (1341285561,), (1341285647,), (1341285655,), (1341285666,), (1341285672,), (1341285716,), (1341285720,), (1341285726,), (1341285731,), (1341285753,), (1341285762,), (1341285768,), (1341285772,), (1341285795,), (1341285798,), (1341285842,), (1341285847,), (1341285850,), (1341285854,), (1341285860,), (1341285864,), (1341285893,), (1341285947,), (1341286138,), (1341286241,), (1341286249,), (1341286266,), (1341286290,), (1341286296,), (1341286304,), (1341286366,), (1341286373,), (1341286378,), (1341286383,), (1341286392,), (1341286396,), (1341286428,), (1341286436,), (1341286440,), (1341286447,), (1341286471,), (1341286474,), (1341286482,), (1341286487,), (1341286493,), (1341286497,), (1341286535,), (1341286539,), (1341286545,), (1341286548,), (1341286554,), (1341286559,), (1341286601,), (1341286589,), (1341286592,), (1341286596,), (1341286737,), (1341286782,), (1341286800,), (1341286812,), (1341286845,), (1341286888,), (1341286893,), (1341286897,), (1341286902,), (1341286907,), (1341286926,), (1341286929,), (1341286936,), (1341286944,), (1341286978,), (1341286981,), (1341286987,), (1341286992,), (1341286997,), (1341287016,), (1341287294,), (1341287296,), (1341287332,), (1341287422,), (1341287523,), (1341288418,), (1341288592,), (1341288602,), (1341288612,), (1341288630,), (1341288644,), (1341288659,), (1341288673,), (1341288682,), (1341288710,), (1341288724,), (1341288772,), (1341288798,), (1341288890,), (1341288936,), (1341289243,), (1341289251,), (1341289257,), (1341289554,), (1341289626,), (1341289629,), (1341289653,), (1341289666,), (1341289807,), (1341289820,), (1341289832,), (1341289870,), (1341289893,), (1341290036,), (1341290039,), (1341290050,), (1341290066,), (1341290076,), (1341290232,), (1341290255,), (1341290263,), (1341290355,), (1341290358,), (1341290365,), (1341290371,), (1341290378,), (1341290386,), (1341290541,), (1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 47, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21124985]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] map_info['map_portfolio_photo'] : {21124985: [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434, 1341292365, 1341292356, 1341292348, 1341292342, 1341292340, 1341292313, 1341292019, 1341291917, 1341291914, 1341291743, 1341291737, 1341291734, 1341291729, 1341291724, 1341291716, 1341291632, 1341291587, 1341291582, 1341291529, 1341291520, 1341290813, 1341290805, 1341290800, 1341290798, 1341290694, 1341290689, 1341290683, 1341290676, 1341290670, 1341290667, 1341290623, 1341290618, 1341290613, 1341290609, 1341290523, 1341290509, 1341290497, 1341290436, 1341290420]} final : True mtd_id 4302 list_pids : [1341292503, 1341292497, 1341292490, 1341292451, 1341292447, 1341292441, 1341292437, 1341292434] Looping around the photos to save general results len do output : 1 /21124985Didn'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, '2645166') ('4302', '21124985', '1341292503', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166') ('4302', None, None, None, None, None, None, None, '2645166') ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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, '21124985', 'None', None, None, None, None, '2645166'), ('4302', '21124985', '1341292503', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292497', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292490', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292451', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292447', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292441', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292437', None, None, None, None, None, '2645166'), ('4302', '21124985', '1341292434', None, None, None, None, None, '2645166')] time used for this insertion : 0.014747142791748047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3539605140686035 time spend to save output : 0.015071630477905273 total time spend for step 5 : 0.3690321445465088 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 (2645166) 2.27user 2.18system 0:14.76elapsed 30%CPU (0avgtext+0avgdata 158612maxresident)k 1128inputs+17432outputs (18major+73514minor)pagefaults 0swaps