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 : 3717619 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 (2648928) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2648928) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148788 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2648928'] with mtr_portfolio_ids : ['21148788'] and first list_photo_ids : [] new path : /proc/3717619/ Name: python3 Umask: 0002 State: R (running) Tgid: 3717619 Ngid: 0 Pid: 3717619 PPid: 3717618 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3717619 NSpid: 3717619 NSpgid: 3713859 NSsid: 3713859 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97596 kB VmRSS: 97596 kB RssAnon: 59760 kB RssFile: 37836 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 108 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3717619', 'Ngid': '0', 'Pid': '3717619', 'PPid': '3717618', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3717619', 'NSpid': '3717619', 'NSpgid': '3713859', 'NSsid': '3713859', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97596 kB', 'VmRSS': '97596 kB', 'RssAnon': '59760 kB', 'RssFile': '37836 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '108'} ('datou_batch_current', '3717619', '1106844', '0', '1106844', '865592', '97596', b'', 'marlene', '2648928') 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 (21148788) 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 (2648928 ) ) 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 (21148788) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1341498646, 'portfolio_id': 21148788}, {'photo_id': 1341498639, 'portfolio_id': 21148788}, {'photo_id': 1341498633, 'portfolio_id': 21148788}, {'photo_id': 1341498601, 'portfolio_id': 21148788}, {'photo_id': 1341498596, 'portfolio_id': 21148788}, {'photo_id': 1341498589, 'portfolio_id': 21148788}, {'photo_id': 1341498583, 'portfolio_id': 21148788}, {'photo_id': 1341498578, 'portfolio_id': 21148788}, {'photo_id': 1341498574, 'portfolio_id': 21148788}, {'photo_id': 1341498531, 'portfolio_id': 21148788}, {'photo_id': 1341498525, 'portfolio_id': 21148788}, {'photo_id': 1341498517, 'portfolio_id': 21148788}, {'photo_id': 1341498510, 'portfolio_id': 21148788}, {'photo_id': 1341498454, 'portfolio_id': 21148788}, {'photo_id': 1341498447, 'portfolio_id': 21148788}, {'photo_id': 1341498443, 'portfolio_id': 21148788}, {'photo_id': 1341498414, 'portfolio_id': 21148788}, {'photo_id': 1341498409, 'portfolio_id': 21148788}, {'photo_id': 1341498405, 'portfolio_id': 21148788}, {'photo_id': 1341498400, 'portfolio_id': 21148788}, {'photo_id': 1341498394, 'portfolio_id': 21148788}, {'photo_id': 1341498388, 'portfolio_id': 21148788}, {'photo_id': 1341498275, 'portfolio_id': 21148788}, {'photo_id': 1341498271, 'portfolio_id': 21148788}, {'photo_id': 1341498262, 'portfolio_id': 21148788}, {'photo_id': 1341498256, 'portfolio_id': 21148788}, {'photo_id': 1341498232, 'portfolio_id': 21148788}, {'photo_id': 1341497927, 'portfolio_id': 21148788}, {'photo_id': 1341497869, 'portfolio_id': 21148788}, {'photo_id': 1341497713, 'portfolio_id': 21148788}, {'photo_id': 1341497687, 'portfolio_id': 21148788}, {'photo_id': 1341497557, 'portfolio_id': 21148788}, {'photo_id': 1341497483, 'portfolio_id': 21148788}, {'photo_id': 1341497413, 'portfolio_id': 21148788}, {'photo_id': 1341497408, 'portfolio_id': 21148788}, {'photo_id': 1341497329, 'portfolio_id': 21148788}, {'photo_id': 1341497325, 'portfolio_id': 21148788}, {'photo_id': 1341497319, 'portfolio_id': 21148788}, {'photo_id': 1341497317, 'portfolio_id': 21148788}, {'photo_id': 1341497313, 'portfolio_id': 21148788}, {'photo_id': 1341497308, 'portfolio_id': 21148788}, {'photo_id': 1341497279, 'portfolio_id': 21148788}, {'photo_id': 1341497269, 'portfolio_id': 21148788}, {'photo_id': 1341497246, 'portfolio_id': 21148788}, {'photo_id': 1341497225, 'portfolio_id': 21148788}, {'photo_id': 1341496836, 'portfolio_id': 21148788}, {'photo_id': 1341496832, 'portfolio_id': 21148788}, {'photo_id': 1341496828, 'portfolio_id': 21148788}, {'photo_id': 1341496824, 'portfolio_id': 21148788}, {'photo_id': 1341496737, 'portfolio_id': 21148788}, {'photo_id': 1341496733, 'portfolio_id': 21148788}, {'photo_id': 1341496708, 'portfolio_id': 21148788}, {'photo_id': 1341496693, 'portfolio_id': 21148788}, {'photo_id': 1341496620, 'portfolio_id': 21148788}] map_portfolio_id_photo_id: {21148788: [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574, 1341498531, 1341498525, 1341498517, 1341498510, 1341498454, 1341498447, 1341498443, 1341498414, 1341498409, 1341498405, 1341498400, 1341498394, 1341498388, 1341498275, 1341498271, 1341498262, 1341498256, 1341498232, 1341497927, 1341497869, 1341497713, 1341497687, 1341497557, 1341497483, 1341497413, 1341497408, 1341497329, 1341497325, 1341497319, 1341497317, 1341497313, 1341497308, 1341497279, 1341497269, 1341497246, 1341497225, 1341496836, 1341496832, 1341496828, 1341496824, 1341496737, 1341496733, 1341496708, 1341496693, 1341496620]} ##### 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.015422344207763672 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Mar 7 16:58:56 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 (21148788) 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 : 21148788 get user id for portfolio 21148788 get sub ptf for main ptf 21148788, type 3726 and hashtags ['Carton_gris', 'cartonnette', 'environnement', 'papier', 'flou', 'plastique', 'mal_croppe', 'autre_refus', 'metal', 'Teint_Dans_La_Masse', 'Carton_brun', 'kraft'] 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`=21148788 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','environnement','papier','flou','plastique','mal_croppe','autre_refus','metal','Teint_Dans_La_Masse','Carton_brun','kraft')) 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`=21148788 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','environnement','papier','flou','plastique','mal_croppe','autre_refus','metal','Teint_Dans_La_Masse','Carton_brun','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21148788, 'sub_port_id': 21148865, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747634, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'mal_croppe': {'main_port_id': 21148788, 'sub_port_id': 21148866, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747635, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'Carton_gris': {'main_port_id': 21148788, 'sub_port_id': 21148867, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747636, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'flou': {'main_port_id': 21148788, 'sub_port_id': 21148868, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747637, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'autre_refus': {'main_port_id': 21148788, 'sub_port_id': 21148869, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747638, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'papier': {'main_port_id': 21148788, 'sub_port_id': 21148870, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747639, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'environnement': {'main_port_id': 21148788, 'sub_port_id': 21148871, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747640, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'plastique': {'main_port_id': 21148788, 'sub_port_id': 21148872, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747641, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'metal': {'main_port_id': 21148788, 'sub_port_id': 21148873, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747642, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 21148788, 'sub_port_id': 21148874, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747643, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'kraft': {'main_port_id': 21148788, 'sub_port_id': 21148875, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747644, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}, 'cartonnette': {'main_port_id': 21148788, 'sub_port_id': 21148876, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747645, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21148865 , 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=21148788 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 (21148865) result : ((1341497340,), (1341497341,), (1341497362,), (1341497363,), (1341497364,), (1341497365,), (1341497367,), (1341497368,), (1341498249,), (1341498250,), (1341498251,), (1341498252,), (1341498430,), (1341498558,), (1341498559,), (1341498560,), (1341498561,), (1341498567,), (1341498617,), (1341498618,), (1341498619,), (1341498620,), (1341498621,), (1341498622,), (1341498623,), (1341498929,), (1341498939,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148866 , 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=21148788 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 (21148866) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148867 , 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=21148788 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 (21148867) result : ((1341497337,), (1341497359,), (1341498171,), (1341498173,), (1341498231,), (1341498426,), (1341498554,), (1341498566,), (1341498615,), (1341498897,), (1341498936,), (1341498937,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148868 , 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=21148788 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 (21148868) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148869 , 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=21148788 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 (21148869) result : ((1341497334,), (1341497335,), (1341497336,), (1341497348,), (1341497350,), (1341497351,), (1341497352,), (1341497354,), (1341497355,), (1341497356,), (1341497357,), (1341498135,), (1341498137,), (1341498139,), (1341498141,), (1341498224,), (1341498225,), (1341498226,), (1341498227,), (1341498228,), (1341498229,), (1341498421,), (1341498422,), (1341498423,), (1341498424,), (1341498425,), (1341498548,), (1341498549,), (1341498550,), (1341498551,), (1341498552,), (1341498553,), (1341498563,), (1341498564,), (1341498565,), (1341498610,), (1341498611,), (1341498612,), (1341498613,), (1341498614,), (1341498872,), (1341498876,), (1341498881,), (1341498933,), (1341498934,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148870 , 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=21148788 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 (21148870) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148871 , 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=21148788 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 (21148871) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148872 , 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=21148788 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 (21148872) result : ((1341497370,), (1341498177,), (1341498431,), (1341498624,), (1341498931,), (1341498932,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148873 , 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=21148788 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 (21148873) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148874 , 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=21148788 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 (21148874) result : ((1341497331,), (1341497332,), (1341497343,), (1341497344,), (1341497345,), (1341497346,), (1341498089,), (1341498094,), (1341498099,), (1341498220,), (1341498221,), (1341498222,), (1341498223,), (1341498420,), (1341498540,), (1341498541,), (1341498542,), (1341498543,), (1341498557,), (1341498605,), (1341498862,), (1341498865,), (1341498866,), (1341498868,), (1341498869,), (1341498870,), (1341498930,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148875 , 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=21148788 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 (21148875) result : ((1341498562,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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 21148876 , 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=21148788 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 (21148876) result : ((1341497339,), (1341498176,), (1341498234,), (1341498235,), (1341498236,), (1341498428,), (1341498429,), (1341498555,), (1341498556,), (1341498914,), (1341498938,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21148788) result : ((1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) 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 (1341498400) 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`=21148788 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','environnement','papier','flou','plastique','mal_croppe','autre_refus','metal','Teint_Dans_La_Masse','Carton_brun','kraft')) 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`=21148788 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','environnement','papier','flou','plastique','mal_croppe','autre_refus','metal','Teint_Dans_La_Masse','Carton_brun','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21148788, 'sub_port_id': 21148877, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747646, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'mal_croppe': {'main_port_id': 21148788, 'sub_port_id': 21148878, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747647, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'Carton_gris': {'main_port_id': 21148788, 'sub_port_id': 21148879, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747648, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'flou': {'main_port_id': 21148788, 'sub_port_id': 21148880, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747649, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'autre_refus': {'main_port_id': 21148788, 'sub_port_id': 21148881, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747650, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'papier': {'main_port_id': 21148788, 'sub_port_id': 21148882, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747651, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'environnement': {'main_port_id': 21148788, 'sub_port_id': 21148883, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747652, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'plastique': {'main_port_id': 21148788, 'sub_port_id': 21148884, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747653, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'metal': {'main_port_id': 21148788, 'sub_port_id': 21148885, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747654, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21148788, 'sub_port_id': 21148886, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747655, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'kraft': {'main_port_id': 21148788, 'sub_port_id': 21148887, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747656, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}, 'cartonnette': {'main_port_id': 21148788, 'sub_port_id': 21148888, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13747657, 'last_updated_at': datetime.datetime(2025, 3, 7, 16, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 7, 16, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 7, 16, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148877,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148865 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148878,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148866 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148879,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148867 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148880,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148868 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148881,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148869 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148882,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148870 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148883,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148871 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148884,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148872 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148885,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148873 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148886,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148874 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148887,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148875 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21148888,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21148876 lien utilise dans velours : https://www.fotonower.com/velours/21148877,21148878,21148879,21148880,21148881,21148882,21148883,21148884,21148885,21148886,21148887,21148888?tags=Carton_brun,mal_croppe,Carton_gris,flou,autre_refus,papier,environnement,plastique,metal,Teint_Dans_La_Masse,kraft,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21148788]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] map_info['map_portfolio_photo'] : {21148788: [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574, 1341498531, 1341498525, 1341498517, 1341498510, 1341498454, 1341498447, 1341498443, 1341498414, 1341498409, 1341498405, 1341498400, 1341498394, 1341498388, 1341498275, 1341498271, 1341498262, 1341498256, 1341498232, 1341497927, 1341497869, 1341497713, 1341497687, 1341497557, 1341497483, 1341497413, 1341497408, 1341497329, 1341497325, 1341497319, 1341497317, 1341497313, 1341497308, 1341497279, 1341497269, 1341497246, 1341497225, 1341496836, 1341496832, 1341496828, 1341496824, 1341496737, 1341496733, 1341496708, 1341496693, 1341496620]} final : False mtd_id 4302 list_pids : [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] Looping around the photos to save general results len do output : 1 /21148788. 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, '2648928') ('4302', '21148788', '1341498646', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21148788', "{'Carton_brun': 21148865, 'mal_croppe': 21148866, 'Carton_gris': 21148867, 'flou': 21148868, 'autre_refus': 21148869, 'papier': 21148870, 'environnement': 21148871, 'plastique': 21148872, 'metal': 21148873, 'Teint_Dans_La_Masse': 21148874, 'kraft': 21148875, 'cartonnette': 21148876}", None, None, None, None, '2648928'), ('4302', '21148788', '1341498646', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928')] time used for this insertion : 0.01389002799987793 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.49782419204711914 time spend to save output : 0.014186859130859375 total time spend for step 1 : 0.5120110511779785 step2:final Fri Mar 7 16:58:56 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 (21148788) 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 21148788 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1341496737,1341496733,1341496708,1341496693,1341496620,1341496836,1341496832,1341496828,1341496824,1341497279,1341497269,1341497246,1341497225,1341497329,1341497325,1341497319,1341497317,1341497313,1341497308,1341497713,1341497687,1341497557,1341497483,1341497413,1341497408,1341497927,1341497869,1341498275,1341498271,1341498262,1341498256,1341498232,1341498414,1341498409,1341498405,1341498400,1341498394,1341498388,1341498454,1341498447,1341498443,1341498531,1341498525,1341498517,1341498510,1341498601,1341498596,1341498589,1341498583,1341498578,1341498574,1341498646,1341498639,1341498633); 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([21148788]) Inside saveOutput : final : False verbose : True original output for save of step final : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} new output for save of step final : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] map_info['map_portfolio_photo'] : {21148788: [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574, 1341498531, 1341498525, 1341498517, 1341498510, 1341498454, 1341498447, 1341498443, 1341498414, 1341498409, 1341498405, 1341498400, 1341498394, 1341498388, 1341498275, 1341498271, 1341498262, 1341498256, 1341498232, 1341497927, 1341497869, 1341497713, 1341497687, 1341497557, 1341497483, 1341497413, 1341497408, 1341497329, 1341497325, 1341497319, 1341497317, 1341497313, 1341497308, 1341497279, 1341497269, 1341497246, 1341497225, 1341496836, 1341496832, 1341496828, 1341496824, 1341496737, 1341496733, 1341496708, 1341496693, 1341496620]} final : False mtd_id 4302 list_pids : [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] Looping around the photos to save general results len do output : 9 /1341498646.Didn't retrieve data . /1341498639.Didn't retrieve data . /1341498633.Didn't retrieve data . /1341498601.Didn't retrieve data . /1341498596.Didn't retrieve data . /1341498589.Didn't retrieve data . /1341498583.Didn't retrieve data . /1341498578.Didn't retrieve data . /1341498574.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, '2648928') ('4302', '21148788', '1341498646', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '21148788', '1341498646', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498639', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498633', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498601', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498596', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498589', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498583', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498578', '0.07340760547161596', None, None, None, None, '2648928'), ('4302', '21148788', '1341498574', '0.07340760547161596', None, None, None, None, '2648928')] time used for this insertion : 0.012275457382202148 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08082294464111328 time spend to save output : 0.012912988662719727 total time spend for step 2 : 0.09373593330383301 step3:velours_tree Fri Mar 7 16:58:56 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 : {21148788: [{'Carton_brun': 21148865, 'mal_croppe': 21148866, 'Carton_gris': 21148867, 'flou': 21148868, 'autre_refus': 21148869, 'papier': 21148870, 'environnement': 21148871, 'plastique': 21148872, 'metal': 21148873, 'Teint_Dans_La_Masse': 21148874, 'kraft': 21148875, 'cartonnette': 21148876}]} input_args_next_step : {21148788: ()} output_args : {21148788: [{'Carton_brun': 21148865, 'mal_croppe': 21148866, 'Carton_gris': 21148867, 'flou': 21148868, 'autre_refus': 21148869, 'papier': 21148870, 'environnement': 21148871, 'plastique': 21148872, 'metal': 21148873, 'Teint_Dans_La_Masse': 21148874, 'kraft': 21148875, 'cartonnette': 21148876}]} args : 21148788 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 21148865, 'mal_croppe': 21148866, 'Carton_gris': 21148867, 'flou': 21148868, 'autre_refus': 21148869, 'papier': 21148870, 'environnement': 21148871, 'plastique': 21148872, 'metal': 21148873, 'Teint_Dans_La_Masse': 21148874, 'kraft': 21148875, 'cartonnette': 21148876},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21148788) 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([21148788]) 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.32502317428588867 time spend to save output : 6.461143493652344e-05 total time spend for step 3 : 0.3250877857208252 step4:send_mail_cod Fri Mar 7 16:58:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} input_args_next_step : {1341498646: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498646 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498639 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498633 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498601 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498596 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498589 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498583 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498578 depend.output_id : 0 input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ()} output_args : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',)} args : 1341498574 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 : {21148788: [{'Carton_brun': 21148865, 'mal_croppe': 21148866, 'Carton_gris': 21148867, 'flou': 21148868, 'autre_refus': 21148869, 'papier': 21148870, 'environnement': 21148871, 'plastique': 21148872, 'metal': 21148873, 'Teint_Dans_La_Masse': 21148874, 'kraft': 21148875, 'cartonnette': 21148876}]} input_args_next_step : {1341498646: ('0.07340760547161596',), 1341498639: ('0.07340760547161596',), 1341498633: ('0.07340760547161596',), 1341498601: ('0.07340760547161596',), 1341498596: ('0.07340760547161596',), 1341498589: ('0.07340760547161596',), 1341498583: ('0.07340760547161596',), 1341498578: ('0.07340760547161596',), 1341498574: ('0.07340760547161596',), 21148788: ()} output_args : {21148788: [{'Carton_brun': 21148865, 'mal_croppe': 21148866, 'Carton_gris': 21148867, 'flou': 21148868, 'autre_refus': 21148869, 'papier': 21148870, 'environnement': 21148871, 'plastique': 21148872, 'metal': 21148873, 'Teint_Dans_La_Masse': 21148874, 'kraft': 21148875, 'cartonnette': 21148876}]} args : 21148788 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 :10, first value : ('0.07340760547161596',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21148788) 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 (1341498646,1341498639,1341498633,1341498601,1341498596,1341498589,1341498583,1341498578,1341498574) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1341498574 begin to download photo : 1341498583 begin to download photo : 1341498596 begin to download photo : 1341498633 begin to download photo : 1341498646 download finish for photo 1341498574 begin to download photo : 1341498578 download finish for photo 1341498646 download finish for photo 1341498596 begin to download photo : 1341498601 download finish for photo 1341498583 begin to download photo : 1341498589 download finish for photo 1341498633 begin to download photo : 1341498639 download finish for photo 1341498578 download finish for photo 1341498589 download finish for photo 1341498601 download finish for photo 1341498639 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette211488661741363137/ imagette211488681741363137/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P21148788_07-03-2025_16_58_57.pdf 21148866 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=21148866 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211488661741363137 21148868 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=21148868 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211488681741363137 21148869 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=21148869 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341498565: '1741362933_226927_1341497869_7ea005847e4763b2f90f58f00a1ce1ae_rle_crop_3697519545_0.png', 1341498423: '1741362793_225299_1341497483_49e4d857c8077266e69786080b3b1c7d_rle_crop_3697509753_0.png', 1341498424: '1741362793_225299_1341497413_efaf89d7d86b0eb08204b52a00a35b3a_rle_crop_3697509770_0.png', 1341498425: '1741362793_225299_1341497408_ef20c2b7f3e91f114ae07be6df7b96df_rle_crop_3697509785_0.png', 1341498548: '1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510675_0.png', 1341498549: '1741362911_226608_1341498405_6075671ca44ae95cc29e824f59a02504_rle_crop_3697510736_0.png', 1341498550: '1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510749_0.png', 1341498551: '1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510746_0.png', 1341498552: '1741362911_226608_1341498394_7d0b830be93dbc46e52cc027e4a9d58f_rle_crop_3697510785_0.png', 1341498553: '1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519520_0.png', 1341498563: '1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519530_0.png', 1341498564: '1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519535_0.png', 1341498422: '1741362793_225299_1341497557_e338fb64f15518b5057cc077b410ab6f_rle_crop_3697509733_0.png', 1341498610: '1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532961_0.png', 1341498611: '1741362952_227133_1341498271_c7da61183cb51aecebca31e14e8bb5bf_rle_crop_3697533499_0.png', 1341498612: '1741362952_227133_1341498262_3df2490a9cab3a3c8e8d0d7dadf83dfd_rle_crop_3697535928_0.png', 1341498613: '1741362952_227133_1341498256_042e80a5cb475314af34a0ae4d4fffa2_rle_crop_3697536172_0.png', 1341498614: '1741362952_227133_1341498232_6ddd2445b0b2f748ce63a953b8cdbfa2_rle_crop_3697536235_0.png', 1341498872: '1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539268_0.png', 1341498876: '1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539284_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/83d90f977475895ce84e783c4c906157_24569780.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/2237238d79002ba8de75c8fdf75979de_41171403.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/d7f15307019f2431141d1886b2128bfc_17822458.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/bdbc11437363a17e9f4488ffd141ea3e_71153969.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/323917de2d2356ff7b6907acb67eff8d_50174569.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/d96e26b108badd838a77e3df49be8ff5_68696747.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/14f157e976e1795f39e3ab0e2a1fcb4c_23107853.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f52cd83e40fd61f90996d5a5334e4e13_12419132.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f3fa5a92d319edac1be60bcb10162b43_3635432.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/3c4d9e0edf352bbfca46a31793e4d6c2_20680864.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/dc966834b246432245e70a8136cfebfa_11840923.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/a4624991e694b6cdf4b95c7efa831f6e_77618793.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/2c66bea1f4d73098a05e7ef195862ea6_16248524.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/8b77c862af8a752549d84598c28cb8a0_61148221.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/53df58087ca9e14d38488cdadc34e420_14297838.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/15402a3b32821cef60e58544e4510da3_66268408.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/a6c62aac0ff497c7f13dc4f3d1182001_76710778.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/76e888a9807beae478875a24cb51251e_23826156.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/6bf500538e79cda71ca61a9385ebe3f3_28721780.png change filename to text .imagette211488691741363137/ imagette211488691741363137/1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519520_0.png.png imagette211488691741363137/1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510749_0.png.png imagette211488691741363137/1741362793_225299_1341497408_ef20c2b7f3e91f114ae07be6df7b96df_rle_crop_3697509785_0.png.png imagette211488691741363137/1741362793_225299_1341497557_e338fb64f15518b5057cc077b410ab6f_rle_crop_3697509733_0.png.png imagette211488691741363137/1741362911_226608_1341498405_6075671ca44ae95cc29e824f59a02504_rle_crop_3697510736_0.png.png imagette211488691741363137/1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539268_0.png.png imagette211488691741363137/1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532961_0.png.png imagette211488691741363137/1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519535_0.png.png imagette211488691741363137/1741362793_225299_1341497413_efaf89d7d86b0eb08204b52a00a35b3a_rle_crop_3697509770_0.png.png imagette211488691741363137/1741362911_226608_1341498394_7d0b830be93dbc46e52cc027e4a9d58f_rle_crop_3697510785_0.png.png imagette211488691741363137/1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539284_0.png.png imagette211488691741363137/1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510675_0.png.png imagette211488691741363137/1741362952_227133_1341498232_6ddd2445b0b2f748ce63a953b8cdbfa2_rle_crop_3697536235_0.png.png imagette211488691741363137/1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519530_0.png.png imagette211488691741363137/1741362933_226927_1341497869_7ea005847e4763b2f90f58f00a1ce1ae_rle_crop_3697519545_0.png.png imagette211488691741363137/1741362952_227133_1341498262_3df2490a9cab3a3c8e8d0d7dadf83dfd_rle_crop_3697535928_0.png.png imagette211488691741363137/1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510746_0.png.png imagette211488691741363137/1741362793_225299_1341497483_49e4d857c8077266e69786080b3b1c7d_rle_crop_3697509753_0.png.png imagette211488691741363137/1741362952_227133_1341498256_042e80a5cb475314af34a0ae4d4fffa2_rle_crop_3697536172_0.png.png imagette211488691741363137/1741362952_227133_1341498271_c7da61183cb51aecebca31e14e8bb5bf_rle_crop_3697533499_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/654d81b661a7ee0cc9c26e84c848fc49_77044948.png imagette211488691741363137 21148872 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=21148872 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341497370: '1741362567_480706_1341496737_973c9313a20ec2b016f8ef08288e0234_rle_crop_3697507749_0.png', 1341498177: '1741362689_483309_1341497269_a7f63fe76ac92cc03b00268b9d5264f6_rle_crop_3697508507_0.png', 1341498431: '1741362793_225299_1341497408_ef20c2b7f3e91f114ae07be6df7b96df_rle_crop_3697509781_0.png', 1341498624: '1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532957_0.png', 1341498931: '1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539260_0.png', 1341498932: '1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539280_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/28692b3b21a09454fea3fce14ba46319_66585698.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/4573c0128f58788ae9f7a03b921085e5_10338475.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/2b90b75db062658e6b624e5d6d2c8090_33747933.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/58c38046aa9b828dc7f38adfa3624978_24059763.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/e8ebc1708d2bab2a2682cc11d491c825_37084177.png change filename to text .imagette211488721741363138/ imagette211488721741363138/1741362793_225299_1341497408_ef20c2b7f3e91f114ae07be6df7b96df_rle_crop_3697509781_0.png.png imagette211488721741363138/1741362689_483309_1341497269_a7f63fe76ac92cc03b00268b9d5264f6_rle_crop_3697508507_0.png.png imagette211488721741363138/1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539260_0.png.png imagette211488721741363138/1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532957_0.png.png imagette211488721741363138/1741362567_480706_1341496737_973c9313a20ec2b016f8ef08288e0234_rle_crop_3697507749_0.png.png imagette211488721741363138/1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539280_0.png.png imagette211488731741363138/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/b6c683bced03e49ccf4b006de61429f1_9295455.png imagette211488721741363138 21148873 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=21148873 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211488731741363138 21148875 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=21148875 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341498562: '1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510676_0.png'} change filename to text .imagette211488751741363138/ imagette211488751741363138/1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510676_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/1bd7d033857548a99d14583f0ff7dc4b_6126814.png imagette211488751741363138 21148876 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=21148876 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341497339: '1741362553_222906_1341496832_521e1a41bfeb018477c2fd811123e0ab_rle_crop_3697507576_0.png', 1341498176: '1741362689_483309_1341497225_c616e11504342e526ad0ede9d37b3a05_rle_crop_3697508641_0.png', 1341498234: '1741362692_224559_1341497325_026495f9d35aa075e047152260d5f158_rle_crop_3697508735_0.png', 1341498235: '1741362692_224559_1341497319_8ea7c40b5592b87c4b0b1705efb7ac28_rle_crop_3697508756_0.png', 1341498236: '1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508763_0.png', 1341498428: '1741362793_225299_1341497927_7287b17aad5e3b7a1e92d49993e986ea_rle_crop_3697509702_0.png', 1341498429: '1741362793_225299_1341497413_efaf89d7d86b0eb08204b52a00a35b3a_rle_crop_3697509769_0.png', 1341498555: '1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510668_0.png', 1341498556: '1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510745_0.png', 1341498914: '1741363047_487225_1341498510_77920fa017a13c8f2d109039105ce1e3_rle_crop_3697539294_0.png', 1341498938: '1741363033_228196_1341498443_932cd3b4fb57c3379d85b0341a9708b6_rle_crop_3697539341_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/9264f4e2df301f7fc2045d7d8eaeccbf_7427607.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/bfe2988aa351b964d146e7763ae40229_26556802.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/977437addd2b0ee43689bb960a5d2a50_99468070.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/92e586ac08f2acfb639be0a791f329d8_80427782.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/9c74621c0890679c864b8b8e40b191ba_47771549.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/7525021d9fb5bbe6d8ff2c314d3daf4e_55664262.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f67b37a26fc1acd192bd1fb7ae204e92_16321410.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f07604ac6567a599283d61173d8c276a_76582360.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/6a6c30aa991a812b672c8fe5778cc669_41347618.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/d88dd878ebc76005879511d56617a130_96148690.png change filename to text .imagette211488761741363138/ imagette211488761741363138/1741363047_487225_1341498510_77920fa017a13c8f2d109039105ce1e3_rle_crop_3697539294_0.png.png imagette211488761741363138/1741362793_225299_1341497927_7287b17aad5e3b7a1e92d49993e986ea_rle_crop_3697509702_0.png.png imagette211488761741363138/1741362553_222906_1341496832_521e1a41bfeb018477c2fd811123e0ab_rle_crop_3697507576_0.png.png imagette211488761741363138/1741362692_224559_1341497325_026495f9d35aa075e047152260d5f158_rle_crop_3697508735_0.png.png imagette211488761741363138/1741362692_224559_1341497319_8ea7c40b5592b87c4b0b1705efb7ac28_rle_crop_3697508756_0.png.png imagette211488761741363138/1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510668_0.png.png imagette211488761741363138/1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510745_0.png.png imagette211488761741363138/1741362689_483309_1341497225_c616e11504342e526ad0ede9d37b3a05_rle_crop_3697508641_0.png.png imagette211488761741363138/1741362793_225299_1341497413_efaf89d7d86b0eb08204b52a00a35b3a_rle_crop_3697509769_0.png.png imagette211488761741363138/1741363033_228196_1341498443_932cd3b4fb57c3379d85b0341a9708b6_rle_crop_3697539341_0.png.png imagette211488761741363138/1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508763_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/847d3914f7e3e1aac20539a1f9ac2a01_25442500.png imagette211488761741363138 21148865 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=21148865 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341498558: '1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510679_0.png', 1341498939: '1741363033_228196_1341498531_bba23ccb441ec8df40752ad24126dba0_rle_crop_3697539320_0.png', 1341498929: '1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539258_0.png', 1341498623: '1741362952_227133_1341498232_6ddd2445b0b2f748ce63a953b8cdbfa2_rle_crop_3697536236_0.png', 1341498622: '1741362952_227133_1341498232_6ddd2445b0b2f748ce63a953b8cdbfa2_rle_crop_3697536239_0.png', 1341498621: '1741362952_227133_1341498256_042e80a5cb475314af34a0ae4d4fffa2_rle_crop_3697536173_0.png', 1341498620: '1741362952_227133_1341498262_3df2490a9cab3a3c8e8d0d7dadf83dfd_rle_crop_3697535924_0.png', 1341498619: '1741362952_227133_1341498271_c7da61183cb51aecebca31e14e8bb5bf_rle_crop_3697533503_0.png', 1341498618: '1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532963_0.png', 1341498617: '1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532962_0.png', 1341498567: '1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519533_0.png', 1341498561: '1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519519_0.png', 1341498560: '1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519521_0.png', 1341498559: '1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510674_0.png', 1341497340: '1741362553_222906_1341496832_521e1a41bfeb018477c2fd811123e0ab_rle_crop_3697507580_0.png', 1341498430: '1741362793_225299_1341497483_49e4d857c8077266e69786080b3b1c7d_rle_crop_3697509750_0.png', 1341498252: '1741362692_224559_1341497313_64b305e6786db5722bdb2301e691478d_rle_crop_3697508780_0.png', 1341498251: '1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508767_0.png', 1341498250: '1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508768_0.png', 1341498249: '1741362692_224559_1341497319_8ea7c40b5592b87c4b0b1705efb7ac28_rle_crop_3697508751_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/dcddbaa209c718f70672dee73fd06196_67103330.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/25c4f2adc058202f65090b205bb2b26f_76029488.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/7ddf5b6a007ddfea9214b42a8e2a3d2e_17476639.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/7cc1fe4e81150ec98d50b36db0e254f9_61241077.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/e86fbff3d394f402a2b93aee123f613c_46043956.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/52962a375495c3f883cfa0d1385fa9fe_78730557.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/4bbfa9d4768f4abf263ef7904267fec1_59124907.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/976ed84b93e895a315971c25036d66dc_72670350.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/9a0b97782e68486772bc5920ba4cec3d_41403704.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/589ce47e027e2ced01597b67f0549dff_19396436.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/058d2fedf6ba0e4a5ba440e054458a67_56244118.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/47aa4e16a5902aabfb2c19616211666d_96540444.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/4cf0536810967419c161b2609337a760_33489776.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/c01594ebe7ed9b1e4b4e3a30d8ecbdd5_30469085.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/e142694c3f85ed0c081715058073ba1f_87384862.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/e56a364dce7e00f485e27fe67db3884f_74058280.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/6e661b8d42853826ec4dc01a112a9e5a_67681648.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/0a35809d016f9e5bb0f31fccecbf136d_14538520.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/dea6ff4ba731269b804e23d24cabe464_51960409.png change filename to text .imagette211488651741363139/ imagette211488651741363139/1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532962_0.png.png imagette211488651741363139/1741362952_227133_1341498232_6ddd2445b0b2f748ce63a953b8cdbfa2_rle_crop_3697536239_0.png.png imagette211488651741363139/1741362553_222906_1341496832_521e1a41bfeb018477c2fd811123e0ab_rle_crop_3697507580_0.png.png imagette211488651741363139/1741362952_227133_1341498232_6ddd2445b0b2f748ce63a953b8cdbfa2_rle_crop_3697536236_0.png.png imagette211488651741363139/1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519533_0.png.png imagette211488651741363139/1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508767_0.png.png imagette211488651741363139/1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508768_0.png.png imagette211488651741363139/1741362793_225299_1341497483_49e4d857c8077266e69786080b3b1c7d_rle_crop_3697509750_0.png.png imagette211488651741363139/1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519521_0.png.png imagette211488651741363139/1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532963_0.png.png imagette211488651741363139/1741362952_227133_1341498256_042e80a5cb475314af34a0ae4d4fffa2_rle_crop_3697536173_0.png.png imagette211488651741363139/1741362952_227133_1341498262_3df2490a9cab3a3c8e8d0d7dadf83dfd_rle_crop_3697535924_0.png.png imagette211488651741363139/1741362692_224559_1341497319_8ea7c40b5592b87c4b0b1705efb7ac28_rle_crop_3697508751_0.png.png imagette211488651741363139/1741362692_224559_1341497313_64b305e6786db5722bdb2301e691478d_rle_crop_3697508780_0.png.png imagette211488651741363139/1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539258_0.png.png imagette211488651741363139/1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519519_0.png.png imagette211488651741363139/1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510679_0.png.png imagette211488651741363139/1741362952_227133_1341498271_c7da61183cb51aecebca31e14e8bb5bf_rle_crop_3697533503_0.png.png imagette211488651741363139/1741363033_228196_1341498531_bba23ccb441ec8df40752ad24126dba0_rle_crop_3697539320_0.png.png imagette211488651741363139/1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510674_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/1b805e901c9487294f6d195a2f1fe144_76425345.png imagette211488651741363139 21148867 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=21148867 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341497337: '1741362553_222906_1341496828_0fbefd2b6cca4c29bf94e25780fd2321_rle_crop_3697507726_0.png', 1341497359: '1741362567_480706_1341496737_973c9313a20ec2b016f8ef08288e0234_rle_crop_3697507739_0.png', 1341498171: '1741362689_483309_1341497246_6018ab5ca219c42cdd2819a5661fa252_rle_crop_3697508543_0.png', 1341498173: '1741362689_483309_1341497225_c616e11504342e526ad0ede9d37b3a05_rle_crop_3697508639_0.png', 1341498231: '1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508765_0.png', 1341498426: '1741362793_225299_1341497413_efaf89d7d86b0eb08204b52a00a35b3a_rle_crop_3697509765_0.png', 1341498554: '1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510743_0.png', 1341498566: '1741362933_226927_1341497869_7ea005847e4763b2f90f58f00a1ce1ae_rle_crop_3697519542_0.png', 1341498615: '1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532953_0.png', 1341498897: '1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539256_0.png', 1341498936: '1741363033_228196_1341498531_bba23ccb441ec8df40752ad24126dba0_rle_crop_3697539317_0.png', 1341498937: '1741363033_228196_1341498447_9913a4b97f3413e06e295e627cb7aac6_rle_crop_3697539329_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/107e83a46ca6050360aa9b0a1423c26e_61032351.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/c6724e629906cda99dbe3c17a972909b_54054521.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/842a4b94f9e6348880f9770dc07c207c_56777285.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f1cfdbb9ffdd4dd34e125402a8a1ac6f_25672329.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f99c04f3ce2b4f6ec19e22daabcba60e_52792248.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/c7fcae303f75ce03b8aa000086e95176_4836862.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/741c6a66b5a7f7c7f9285fac18f1c270_90436306.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/cbd91038ce4884b25fcd009c217f94c1_97232669.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/d128c98214ff5e8d59d2e84f502ab0d7_92531430.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/3b8b928f857a426681f0ac4940b6e4dd_22478170.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/03fd287f3cc03c0c5ec08cf186bca05b_81966027.png change filename to text .imagette211488671741363140/ imagette211488671741363140/1741362689_483309_1341497225_c616e11504342e526ad0ede9d37b3a05_rle_crop_3697508639_0.png.png imagette211488671741363140/1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510743_0.png.png imagette211488671741363140/1741362952_227133_1341498414_e41b4af674ace5614320c7538f30425e_rle_crop_3697532953_0.png.png imagette211488671741363140/1741362793_225299_1341497413_efaf89d7d86b0eb08204b52a00a35b3a_rle_crop_3697509765_0.png.png imagette211488671741363140/1741362689_483309_1341497246_6018ab5ca219c42cdd2819a5661fa252_rle_crop_3697508543_0.png.png imagette211488671741363140/1741362567_480706_1341496737_973c9313a20ec2b016f8ef08288e0234_rle_crop_3697507739_0.png.png imagette211488671741363140/1741362933_226927_1341497869_7ea005847e4763b2f90f58f00a1ce1ae_rle_crop_3697519542_0.png.png imagette211488671741363140/1741363033_228196_1341498531_bba23ccb441ec8df40752ad24126dba0_rle_crop_3697539317_0.png.png imagette211488671741363140/1741362553_222906_1341496828_0fbefd2b6cca4c29bf94e25780fd2321_rle_crop_3697507726_0.png.png imagette211488671741363140/1741363033_228196_1341498447_9913a4b97f3413e06e295e627cb7aac6_rle_crop_3697539329_0.png.png imagette211488671741363140/1741362692_224559_1341497317_c4d3522304f395fca8dfb6948f806a23_rle_crop_3697508765_0.png.png imagette211488671741363140/1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539256_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/6515dd1a497cb9d5f8a6e67539919817_53701095.png imagette211488671741363140 21148874 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=21148874 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341498420: '1741362793_225299_1341497687_f0a28ac49ffa1ab47b93593b6737fe59_rle_crop_3697509715_0.png', 1341498930: '1741363033_228196_1341498531_bba23ccb441ec8df40752ad24126dba0_rle_crop_3697539321_0.png', 1341498870: '1741363047_487225_1341498510_77920fa017a13c8f2d109039105ce1e3_rle_crop_3697539293_0.png', 1341498869: '1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539286_0.png', 1341498868: '1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539275_0.png', 1341498866: '1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539282_0.png', 1341498865: '1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539263_0.png', 1341498862: '1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539262_0.png', 1341498605: '1741362952_227133_1341498256_042e80a5cb475314af34a0ae4d4fffa2_rle_crop_3697536178_0.png', 1341498557: '1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519538_0.png', 1341498543: '1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519517_0.png', 1341498542: '1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510750_0.png', 1341498541: '1741362911_226608_1341498405_6075671ca44ae95cc29e824f59a02504_rle_crop_3697510733_0.png', 1341498540: '1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510681_0.png', 1341497331: '1741362553_222906_1341496832_521e1a41bfeb018477c2fd811123e0ab_rle_crop_3697507579_0.png', 1341498223: '1741362692_224559_1341497308_8262cc0d994058df84c58ee068844f37_rle_crop_3697508797_0.png', 1341498222: '1741362692_224559_1341497313_64b305e6786db5722bdb2301e691478d_rle_crop_3697508779_0.png', 1341498221: '1741362692_224559_1341497319_8ea7c40b5592b87c4b0b1705efb7ac28_rle_crop_3697508755_0.png', 1341498220: '1741362692_224559_1341497325_026495f9d35aa075e047152260d5f158_rle_crop_3697508739_0.png', 1341498099: '1741362689_483309_1341497225_c616e11504342e526ad0ede9d37b3a05_rle_crop_3697508642_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/9a167b36defc1df9278de0a423a0a2ab_26747104.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/369b00bf4721949f158685aca50da64c_17427659.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/e8e4eec50c95a454b01e45b05c64594b_16304014.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/86ef3f392114c219001bc72f4b93d2e7_63468854.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f8546f0d6812b8a061a94f88dfa9f424_80111155.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/5aa33ddc47459ace458bfbe9310f3051_78186712.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/d7496c8429d2d43bac4364b4ce8cd2f4_65878377.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/a11146b2553dee851a10e7e68f6d3493_85277796.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/d37e5d1c017b9c5624578d67ece7ff00_94560357.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/4516ef16caa992414b977bbbc2a3a744_78004742.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/02ba75f620770b35440d5e3d7d4b8ab3_57468046.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/21ad08523bb6b938e3c363b80fbef3e7_46206711.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/103fe80a1f2c0522725515b6db6f1943_58436372.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/495fb9f365398da41bf96ee7452ea613_79907491.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/997c54e381b286b0aaff5530dc1d5b30_23580428.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/e30facf84eb861a14f37173774014b6f_36231308.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/b465febe618726a4afeb6ac1adc32503_43843748.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/20c510d917fd6969998ff9e5c039eb23_2486920.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/aec6f45c4c7ac1132fdac9027cc7c140_43013795.png change filename to text .imagette211488741741363141/ imagette211488741741363141/1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539262_0.png.png imagette211488741741363141/1741362692_224559_1341497308_8262cc0d994058df84c58ee068844f37_rle_crop_3697508797_0.png.png imagette211488741741363141/1741362911_226608_1341498400_6c74db94b59997b94aee475502095e66_rle_crop_3697510750_0.png.png imagette211488741741363141/1741362911_226608_1341498405_6075671ca44ae95cc29e824f59a02504_rle_crop_3697510733_0.png.png imagette211488741741363141/1741362692_224559_1341497325_026495f9d35aa075e047152260d5f158_rle_crop_3697508739_0.png.png imagette211488741741363141/1741363047_487225_1341498510_77920fa017a13c8f2d109039105ce1e3_rle_crop_3697539293_0.png.png imagette211488741741363141/1741362553_222906_1341496832_521e1a41bfeb018477c2fd811123e0ab_rle_crop_3697507579_0.png.png imagette211488741741363141/1741362911_226608_1341498388_e679eb25c57f84478ac523fcd080ae61_rle_crop_3697519517_0.png.png imagette211488741741363141/1741362952_227133_1341498256_042e80a5cb475314af34a0ae4d4fffa2_rle_crop_3697536178_0.png.png imagette211488741741363141/1741362911_226608_1341498409_ef188fd80d89d672f54e06995ccfa2ab_rle_crop_3697510681_0.png.png imagette211488741741363141/1741362793_225299_1341497687_f0a28ac49ffa1ab47b93593b6737fe59_rle_crop_3697509715_0.png.png imagette211488741741363141/1741362933_226927_1341498275_082b56b0a50c7ab96dd2f54a62d4efbe_rle_crop_3697519538_0.png.png imagette211488741741363141/1741362689_483309_1341497225_c616e11504342e526ad0ede9d37b3a05_rle_crop_3697508642_0.png.png imagette211488741741363141/1741363033_228196_1341498531_bba23ccb441ec8df40752ad24126dba0_rle_crop_3697539321_0.png.png imagette211488741741363141/1741363047_487225_1341498525_b1b443e76be3b33e92a67c225ebd8801_rle_crop_3697539263_0.png.png imagette211488741741363141/1741362692_224559_1341497319_8ea7c40b5592b87c4b0b1705efb7ac28_rle_crop_3697508755_0.png.png imagette211488741741363141/1741362692_224559_1341497313_64b305e6786db5722bdb2301e691478d_rle_crop_3697508779_0.png.png imagette211488741741363141/1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539282_0.png.png imagette211488741741363141/1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539286_0.png.png imagette211488741741363141/1741363047_487225_1341498517_ffccc7afa2b4f78dde02e83426da1b2c_rle_crop_3697539275_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/2076b0b91ce87e1d5f4004a8060b401e_99071680.png imagette211488741741363141 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21148788 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21148877,21148878,21148879,21148880,21148881,21148882,21148883,21148884,21148885,21148886,21148887,21148888?tags=Carton_brun,mal_croppe,Carton_gris,flou,autre_refus,papier,environnement,plastique,metal,Teint_Dans_La_Masse,kraft,cartonnette your option no_mail is active, we will not send the real mail to your client args[1341498646] : ('0.07340760547161596',) no score found for photo 1341498646 We are sending mail with results at report@fotonower.com args[1341498639] : ('0.07340760547161596',) no score found for photo 1341498639 We are sending mail with results at report@fotonower.com args[1341498633] : ('0.07340760547161596',) no score found for photo 1341498633 We are sending mail with results at report@fotonower.com args[1341498601] : ('0.07340760547161596',) no score found for photo 1341498601 We are sending mail with results at report@fotonower.com args[1341498596] : ('0.07340760547161596',) no score found for photo 1341498596 We are sending mail with results at report@fotonower.com args[1341498589] : ('0.07340760547161596',) no score found for photo 1341498589 We are sending mail with results at report@fotonower.com args[1341498583] : ('0.07340760547161596',) no score found for photo 1341498583 We are sending mail with results at report@fotonower.com args[1341498578] : ('0.07340760547161596',) no score found for photo 1341498578 We are sending mail with results at report@fotonower.com args[1341498574] : ('0.07340760547161596',) no score found for photo 1341498574 We are sending mail with results at report@fotonower.com refus_total : 0.07340760547161596 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=21148788 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_P21148788_07-03-2025_16_58_57.pdf results_Auto_P21148788_07-03-2025_16_58_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21148788_07-03-2025_16_58_57.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','21148788','results_Auto_P21148788_07-03-2025_16_58_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21148788_07-03-2025_16_58_57.pdf','pdf','','0.35','0.07340760547161596') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21148788]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] map_info['map_portfolio_photo'] : {21148788: [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574, 1341498531, 1341498525, 1341498517, 1341498510, 1341498454, 1341498447, 1341498443, 1341498414, 1341498409, 1341498405, 1341498400, 1341498394, 1341498388, 1341498275, 1341498271, 1341498262, 1341498256, 1341498232, 1341497927, 1341497869, 1341497713, 1341497687, 1341497557, 1341497483, 1341497413, 1341497408, 1341497329, 1341497325, 1341497319, 1341497317, 1341497313, 1341497308, 1341497279, 1341497269, 1341497246, 1341497225, 1341496836, 1341496832, 1341496828, 1341496824, 1341496737, 1341496733, 1341496708, 1341496693, 1341496620]} final : False mtd_id 4302 list_pids : [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] 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, '2648928') ('4302', '21148788', '1341498646', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928') 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', '21148788', '1341498646', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928')] time used for this insertion : 0.018610000610351562 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.404653549194336 time spend to save output : 0.01885986328125 total time spend for step 4 : 6.423513412475586 step5:split_time_score Fri Mar 7 16:59: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 : ['21148788'] 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 : [('21148788',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21148788) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1341498646: {'path': 'temp/1741363137_3717619_1341498646_55ef528b5b1c651d297aefadb4d3520e.jpg', 'extension': 'jpg'}, 1341498574: {'path': 'temp/1741363137_3717619_1341498574_d9f422cfb86e6eabebd1f2e26563e075.jpg', 'extension': 'jpg'}, 1341498578: {'path': 'temp/1741363137_3717619_1341498578_7e00305357ef4f925045241fa7a7a7eb.jpg', 'extension': 'jpg'}, 1341498583: {'path': 'temp/1741363137_3717619_1341498583_a390f4fb377a5971d71f7da248f50dd1.jpg', 'extension': 'jpg'}, 1341498589: {'path': 'temp/1741363137_3717619_1341498589_502db4b866a3aec0ab78761ed8197087.jpg', 'extension': 'jpg'}, 1341498596: {'path': 'temp/1741363137_3717619_1341498596_886da7cc4367b2d2b73128f5141650f4.jpg', 'extension': 'jpg'}, 1341498601: {'path': 'temp/1741363137_3717619_1341498601_c88bf77a6f1e065d50cd2825867e2c35.jpg', 'extension': 'jpg'}, 1341498633: {'path': 'temp/1741363137_3717619_1341498633_5d7987e504854bf57ba92aab769dadfa.jpg', 'extension': 'jpg'}, 1341498639: {'path': 'temp/1741363137_3717619_1341498639_5d30adaf31fa9a6b3e35c7907b00e1e2.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 = 21148788; (('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 = 21148788 group by h (('16', 54),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21148788 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 (21148788) 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 (21148788) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07032025 21148788 Nombre de photos uploadées : 54 / 23040 (0%) 07032025 21148788 Nombre de photos taguées (types de déchets): 0 / 54 (0%) 07032025 21148788 Nombre de photos taguées (volume) : 0 / 54 (0%) [{'photo_id': 1341496737, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/973c9313a20ec2b016f8ef08288e0234.jpg', 'username': None, 'uploaded_at': 1741362389, 'text': 'image_07032025_16_45_04_010143m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341496733, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/af8bf3818bc7a1f2b394d90ccc9d168d.jpg', 'username': None, 'uploaded_at': 1741362389, 'text': 'image_07032025_16_45_14_009129m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341496708, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/f8da97777493b9e57d540dd2b0f35f8c.jpg', 'username': None, 'uploaded_at': 1741362389, 'text': 'image_07032025_16_45_24_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341496693, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/7/72100ddcbc4bfd0fed3c1abdd9fae7a8.jpg', 'username': None, 'uploaded_at': 1741362389, 'text': 'image_07032025_16_45_34_010144m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002497434616088867 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21148788, '2025-03-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1646019,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03236532211303711 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= 1646019 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1646019, 'dashboard_run_id': 1655766, 'mtr_portfolio_id': 21146412, 'dashboard_result_id': 9288048, '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_P21146412_07-03-2025_16_19_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21146453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21146454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21146455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21146456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21146457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21146458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21146459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21146460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21146461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21146462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21146463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21146464, 'pht': 3726}}"}, {'dashboat_entry_day': 1646019, 'dashboard_run_id': 1655766, 'mtr_portfolio_id': 21147216, 'dashboard_result_id': 9288049, '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_P21147216_07-03-2025_16_32_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21147264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21147265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21147266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21147267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21147268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21147269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21147270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21147271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21147272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21147273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21147274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21147275, 'pht': 3726}}"}, {'dashboat_entry_day': 1646019, 'dashboard_run_id': 1655766, 'mtr_portfolio_id': 21147941, 'dashboard_result_id': 9288050, '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_P21147941_07-03-2025_16_49_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21147948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21147949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21147950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21147951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21147952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21147953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21147954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21147955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21147956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21147957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21147958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21147959, 'pht': 3726}}"}, {'dashboat_entry_day': 1646019, 'dashboard_run_id': 1655766, 'mtr_portfolio_id': 21148788, 'dashboard_result_id': 9288051, '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_P21148788_07-03-2025_16_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21148865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21148866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21148867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21148868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21148869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21148870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21148871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21148872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21148873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21148874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21148875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21148876, '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 = 21146412 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': 2648759, 'mtr_portfolio_id': 21146412, 'created_at': datetime.datetime(2025, 3, 7, 16, 19, 29), 'result': '0.08191782066017682', 'result_long': None, 'result_double': None}] Qualite : 0.08191782066017682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21146412 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21146412_07-03-2025_16_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21146412 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_P21146412_07-03-2025_16_19_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21146453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21146454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21146455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21146456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21146457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21146458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21146459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21146460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21146461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21146462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21146463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21146464, 'pht': 3726}}" where mtr_portfolio_id = 21146412 and dashboard_run_id = 1655766 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`=21146412 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9288048, 0.08191782066017682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21146412_07-03-2025_16_19_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21146453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21146454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21146455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21146456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21146457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21146458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21146459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21146460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21146461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21146462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21146463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21146464, '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 = 21147216 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': 2648800, 'mtr_portfolio_id': 21147216, 'created_at': datetime.datetime(2025, 3, 7, 16, 32, 29), 'result': '0.0860101387582772', 'result_long': None, 'result_double': None}] Qualite : 0.0860101387582772 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21147216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21147216_07-03-2025_16_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21147216 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_P21147216_07-03-2025_16_32_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21147264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21147265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21147266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21147267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21147268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21147269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21147270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21147271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21147272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21147273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21147274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21147275, 'pht': 3726}}" where mtr_portfolio_id = 21147216 and dashboard_run_id = 1655766 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`=21147216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9288049, 0.0860101387582772, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21147216_07-03-2025_16_32_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21147264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21147265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21147266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21147267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21147268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21147269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21147270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21147271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21147272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21147273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21147274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21147275, '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 = 21147941 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': 2648862, 'mtr_portfolio_id': 21147941, 'created_at': datetime.datetime(2025, 3, 7, 16, 49, 32), 'result': '0.07321781653145713', 'result_long': None, 'result_double': None}] Qualite : 0.07321781653145713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21147941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21147941_07-03-2025_16_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21147941 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_P21147941_07-03-2025_16_49_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21147948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21147949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21147950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21147951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21147952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21147953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21147954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21147955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21147956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21147957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21147958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21147959, 'pht': 3726}}" where mtr_portfolio_id = 21147941 and dashboard_run_id = 1655766 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`=21147941 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9288050, 0.07321781653145713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21147941_07-03-2025_16_49_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21147948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21147949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21147950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21147951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21147952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21147953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21147954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21147955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21147956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21147957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21147958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21147959, '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 = 21148788 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': 2648928, 'mtr_portfolio_id': 21148788, 'created_at': datetime.datetime(2025, 3, 7, 16, 58, 56), 'result': '0.07340760547161596', 'result_long': None, 'result_double': None}] Qualite : 0.07340760547161596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21148788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21148788_07-03-2025_16_58_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21148788 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_P21148788_07-03-2025_16_58_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21148865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21148866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21148867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21148868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21148869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21148870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21148871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21148872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21148873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21148874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21148875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21148876, 'pht': 3726}}" where mtr_portfolio_id = 21148788 and dashboard_run_id = 1655766 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`=21148788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9288051, 0.07340760547161596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21148788_07-03-2025_16_58_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21148865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21148866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21148867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21148868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21148869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21148870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21148871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21148872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21148873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21148874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21148875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21148876, '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 (21146412,21147216,21147941,21148788) result : ((1341484386,), (1341484391,), (1341484394,), (1341485051,), (1341485108,), (1341486187,), (1341486264,), (1341486369,), (1341486449,), (1341486557,), (1341487160,), (1341487181,), (1341487186,), (1341487190,), (1341487366,), (1341487505,), (1341487549,), (1341487600,), (1341487637,), (1341487671,), (1341488012,), (1341488683,), (1341488726,), (1341489158,), (1341489174,), (1341489197,), (1341489211,), (1341489500,), (1341489551,), (1341489860,), (1341489867,), (1341489874,), (1341489879,), (1341489933,), (1341489946,), (1341489952,), (1341489956,), (1341490026,), (1341490055,), (1341490082,), (1341490374,), (1341490400,), (1341490423,), (1341490432,), (1341490438,), (1341490676,), (1341490704,), (1341490736,), (1341490785,), (1341490821,), (1341490824,), (1341490933,), (1341490952,), (1341491037,), (1341491247,), (1341491208,), (1341491212,), (1341491221,), (1341491324,), (1341491341,), (1341491348,), (1341491355,), (1341491399,), (1341491530,), (1341491535,), (1341491551,), (1341491557,), (1341491567,), (1341491571,), (1341491614,), (1341491625,), (1341491638,), (1341491745,), (1341491753,), (1341491759,), (1341491764,), (1341491769,), (1341491789,), (1341491795,), (1341491799,), (1341491805,), (1341491811,), (1341491826,), (1341491878,), (1341491895,), (1341491929,), (1341491951,), (1341492004,), (1341492010,), (1341492016,), (1341492114,), (1341492118,), (1341492123,), (1341492129,), (1341492162,), (1341492413,), (1341492430,), (1341492437,), (1341493910,), (1341493638,), (1341493801,), (1341494719,), (1341494807,), (1341494821,), (1341494875,), (1341494901,), (1341494915,), (1341494987,), (1341495033,), (1341495043,), (1341495047,), (1341495132,), (1341495137,), (1341495221,), (1341495236,), (1341495251,), (1341495269,), (1341495281,), (1341495497,), (1341495511,), (1341495520,), (1341495525,), (1341495529,), (1341495548,), (1341495654,), (1341495661,), (1341495668,), (1341495809,), (1341495814,), (1341495819,), (1341495822,), (1341495844,), (1341495850,), (1341495855,), (1341495862,), (1341495874,), (1341495930,), (1341495939,), (1341495945,), (1341495953,), (1341495967,), (1341495992,), (1341495994,), (1341496001,), (1341496006,), (1341496011,), (1341496017,), (1341496101,), (1341496110,), (1341496115,), (1341496144,), (1341496158,), (1341496172,), (1341496177,), (1341496181,), (1341496326,), (1341496342,), (1341496351,), (1341496359,), (1341496520,), (1341496527,), (1341496532,), (1341496538,), (1341496772,), (1341496620,), (1341496693,), (1341496708,), (1341496733,), (1341496737,), (1341496824,), (1341496828,), (1341496832,), (1341496836,), (1341497225,), (1341497246,), (1341497269,), (1341497279,), (1341497308,), (1341497313,), (1341497317,), (1341497319,), (1341497325,), (1341497329,), (1341497408,), (1341497413,), (1341497483,), (1341497557,), (1341497687,), (1341497713,), (1341497869,), (1341497927,), (1341498232,), (1341498256,), (1341498262,), (1341498271,), (1341498275,), (1341498388,), (1341498394,), (1341498400,), (1341498405,), (1341498409,), (1341498414,), (1341498443,), (1341498447,), (1341498454,), (1341498510,), (1341498517,), (1341498525,), (1341498531,), (1341498574,), (1341498578,), (1341498583,), (1341498589,), (1341498596,), (1341498601,), (1341498633,), (1341498639,), (1341498646,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07032025': {'nb_upload': 54, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21148788]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] map_info['map_portfolio_photo'] : {21148788: [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574, 1341498531, 1341498525, 1341498517, 1341498510, 1341498454, 1341498447, 1341498443, 1341498414, 1341498409, 1341498405, 1341498400, 1341498394, 1341498388, 1341498275, 1341498271, 1341498262, 1341498256, 1341498232, 1341497927, 1341497869, 1341497713, 1341497687, 1341497557, 1341497483, 1341497413, 1341497408, 1341497329, 1341497325, 1341497319, 1341497317, 1341497313, 1341497308, 1341497279, 1341497269, 1341497246, 1341497225, 1341496836, 1341496832, 1341496828, 1341496824, 1341496737, 1341496733, 1341496708, 1341496693, 1341496620]} final : True mtd_id 4302 list_pids : [1341498646, 1341498639, 1341498633, 1341498601, 1341498596, 1341498589, 1341498583, 1341498578, 1341498574] Looping around the photos to save general results len do output : 1 /21148788Didn'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, '2648928') ('4302', '21148788', '1341498646', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928') ('4302', None, None, None, None, None, None, None, '2648928') ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21148788', 'None', None, None, None, None, '2648928'), ('4302', '21148788', '1341498646', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498639', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498633', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498601', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498596', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498589', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498583', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498578', None, None, None, None, None, '2648928'), ('4302', '21148788', '1341498574', None, None, None, None, None, '2648928')] time used for this insertion : 0.018834829330444336 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3550760746002197 time spend to save output : 0.019022464752197266 total time spend for step 5 : 0.374098539352417 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 (2648928) 2.26user 2.20system 0:09.73elapsed 45%CPU (0avgtext+0avgdata 159536maxresident)k 104inputs+18256outputs (13major+77098minor)pagefaults 0swaps