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 : 3397671 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 (2622378) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2622378) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912133 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2622378'] with mtr_portfolio_ids : ['20912133'] and first list_photo_ids : [] new path : /proc/3397671/ Name: python3 Umask: 0002 State: R (running) Tgid: 3397671 Ngid: 0 Pid: 3397671 PPid: 3397670 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3397671 NSpid: 3397671 NSpgid: 3394967 NSsid: 3394967 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98292 kB VmRSS: 98292 kB RssAnon: 59756 kB RssFile: 38536 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 77 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3397671', 'Ngid': '0', 'Pid': '3397671', 'PPid': '3397670', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3397671', 'NSpid': '3397671', 'NSpgid': '3394967', 'NSsid': '3394967', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98292 kB', 'VmRSS': '98292 kB', 'RssAnon': '59756 kB', 'RssFile': '38536 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '77'} ('datou_batch_current', '3397671', '1106844', '0', '1106844', '865592', '98292', b'', 'marlene', '2622378') 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 (20912133) 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 (2622378 ) ) 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 (20912133) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340078635, 'portfolio_id': 20912133}, {'photo_id': 1340078603, 'portfolio_id': 20912133}, {'photo_id': 1340078601, 'portfolio_id': 20912133}, {'photo_id': 1340078596, 'portfolio_id': 20912133}, {'photo_id': 1340078594, 'portfolio_id': 20912133}, {'photo_id': 1340078592, 'portfolio_id': 20912133}, {'photo_id': 1340078569, 'portfolio_id': 20912133}, {'photo_id': 1340078565, 'portfolio_id': 20912133}, {'photo_id': 1340078563, 'portfolio_id': 20912133}, {'photo_id': 1340078561, 'portfolio_id': 20912133}, {'photo_id': 1340078226, 'portfolio_id': 20912133}, {'photo_id': 1340078224, 'portfolio_id': 20912133}, {'photo_id': 1340078222, 'portfolio_id': 20912133}, {'photo_id': 1340078220, 'portfolio_id': 20912133}, {'photo_id': 1340077964, 'portfolio_id': 20912133}, {'photo_id': 1340077895, 'portfolio_id': 20912133}, {'photo_id': 1340077884, 'portfolio_id': 20912133}, {'photo_id': 1340077882, 'portfolio_id': 20912133}, {'photo_id': 1340077880, 'portfolio_id': 20912133}, {'photo_id': 1340077595, 'portfolio_id': 20912133}, {'photo_id': 1340077562, 'portfolio_id': 20912133}, {'photo_id': 1340077063, 'portfolio_id': 20912133}, {'photo_id': 1340077059, 'portfolio_id': 20912133}, {'photo_id': 1340077058, 'portfolio_id': 20912133}, {'photo_id': 1340077056, 'portfolio_id': 20912133}, {'photo_id': 1340077032, 'portfolio_id': 20912133}, {'photo_id': 1340077029, 'portfolio_id': 20912133}, {'photo_id': 1340077026, 'portfolio_id': 20912133}, {'photo_id': 1340077024, 'portfolio_id': 20912133}, {'photo_id': 1340077021, 'portfolio_id': 20912133}, {'photo_id': 1340077010, 'portfolio_id': 20912133}, {'photo_id': 1340077006, 'portfolio_id': 20912133}, {'photo_id': 1340077001, 'portfolio_id': 20912133}, {'photo_id': 1340076995, 'portfolio_id': 20912133}, {'photo_id': 1340076981, 'portfolio_id': 20912133}, {'photo_id': 1340076964, 'portfolio_id': 20912133}, {'photo_id': 1340076925, 'portfolio_id': 20912133}, {'photo_id': 1340076918, 'portfolio_id': 20912133}, {'photo_id': 1340076911, 'portfolio_id': 20912133}, {'photo_id': 1340076909, 'portfolio_id': 20912133}, {'photo_id': 1340076908, 'portfolio_id': 20912133}, {'photo_id': 1340076885, 'portfolio_id': 20912133}, {'photo_id': 1340076880, 'portfolio_id': 20912133}, {'photo_id': 1340076873, 'portfolio_id': 20912133}, {'photo_id': 1340076863, 'portfolio_id': 20912133}, {'photo_id': 1340076861, 'portfolio_id': 20912133}, {'photo_id': 1340076859, 'portfolio_id': 20912133}, {'photo_id': 1340076824, 'portfolio_id': 20912133}] map_portfolio_id_photo_id: {20912133: [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561, 1340078226, 1340078224, 1340078222, 1340078220, 1340077964, 1340077895, 1340077884, 1340077882, 1340077880, 1340077595, 1340077562, 1340077063, 1340077059, 1340077058, 1340077056, 1340077032, 1340077029, 1340077026, 1340077024, 1340077021, 1340077010, 1340077006, 1340077001, 1340076995, 1340076981, 1340076964, 1340076925, 1340076918, 1340076911, 1340076909, 1340076908, 1340076885, 1340076880, 1340076873, 1340076863, 1340076861, 1340076859, 1340076824]} ##### 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.02161121368408203 #### 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 Feb 28 06:42:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20912133) 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 : 20912133 get user id for portfolio 20912133 get sub ptf for main ptf 20912133, type 3726 and hashtags ['flou', 'Carton_brun', 'Teint_Dans_La_Masse', 'cartonnette', 'metal', 'environnement', 'kraft', 'Carton_gris', 'autre_refus', 'mal_croppe', 'papier', 'plastique'] 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`=20912133 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_brun','Teint_Dans_La_Masse','cartonnette','metal','environnement','kraft','Carton_gris','autre_refus','mal_croppe','papier','plastique')) 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`=20912133 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_brun','Teint_Dans_La_Masse','cartonnette','metal','environnement','kraft','Carton_gris','autre_refus','mal_croppe','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20912133, 'sub_port_id': 20912160, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539714, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'Carton_gris': {'main_port_id': 20912133, 'sub_port_id': 20912161, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539715, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20912133, 'sub_port_id': 20912162, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539716, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'mal_croppe': {'main_port_id': 20912133, 'sub_port_id': 20912163, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539717, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'autre_refus': {'main_port_id': 20912133, 'sub_port_id': 20912164, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539718, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'papier': {'main_port_id': 20912133, 'sub_port_id': 20912165, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539719, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'Carton_brun': {'main_port_id': 20912133, 'sub_port_id': 20912166, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539720, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'kraft': {'main_port_id': 20912133, 'sub_port_id': 20912167, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539721, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'flou': {'main_port_id': 20912133, 'sub_port_id': 20912168, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539722, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'metal': {'main_port_id': 20912133, 'sub_port_id': 20912169, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539723, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'plastique': {'main_port_id': 20912133, 'sub_port_id': 20912170, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539724, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}, 'cartonnette': {'main_port_id': 20912133, 'sub_port_id': 20912171, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539725, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 36, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912160 , 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=20912133 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 (20912160) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912161 , 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=20912133 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 (20912161) result : ((1340077043,), (1340077052,), (1340077053,), (1340077872,), (1340077873,), (1340077874,), (1340077875,), (1340077891,), (1340077892,), (1340078254,), (1340078266,), (1340078615,), (1340078616,), (1340078617,), (1340078626,), (1340078627,), (1340078628,), (1340078659,), (1340078660,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912162 , 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=20912133 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 (20912162) result : ((1340077077,), (1340077078,), (1340077079,), (1340077885,), (1340077886,), (1340078246,), (1340078247,), (1340078253,), (1340078611,), (1340078612,), (1340078625,), (1340078656,), (1340078657,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912163 , 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=20912133 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 (20912163) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912164 , 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=20912133 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 (20912164) result : ((1340077051,), (1340077080,), (1340077887,), (1340077888,), (1340077889,), (1340078248,), (1340078249,), (1340078250,), (1340078613,), (1340078658,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912165 , 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=20912133 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 (20912165) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912166 , 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=20912133 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 (20912166) result : ((1340077054,), (1340077086,), (1340077088,), (1340077089,), (1340077897,), (1340077898,), (1340077899,), (1340077900,), (1340078305,), (1340078377,), (1340078379,), (1340078619,), (1340078620,), (1340078621,), (1340078622,), (1340078629,), (1340078630,), (1340078631,), (1340078664,), (1340078665,), (1340078666,), (1340078667,), (1340078668,), (1340078669,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912167 , 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=20912133 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 (20912167) result : ((1340078519,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912168 , 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=20912133 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 (20912168) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912169 , 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=20912133 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 (20912169) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912170 , 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=20912133 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 (20912170) result : ((1340077046,), (1340077097,), (1340077098,), (1340077100,), (1340077876,), (1340077902,), (1340077903,), (1340078481,), (1340078483,), (1340078485,), (1340078487,), (1340078624,), (1340078633,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20912171 , 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=20912133 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 (20912171) result : ((1340077045,), (1340077082,), (1340077893,), (1340078312,), (1340078314,), (1340078316,), (1340078618,), (1340078661,), (1340078662,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20912133) result : ((1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20912133 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_brun','Teint_Dans_La_Masse','cartonnette','metal','environnement','kraft','Carton_gris','autre_refus','mal_croppe','papier','plastique')) 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`=20912133 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_brun','Teint_Dans_La_Masse','cartonnette','metal','environnement','kraft','Carton_gris','autre_refus','mal_croppe','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20912133, 'sub_port_id': 20912172, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539726, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'Carton_gris': {'main_port_id': 20912133, 'sub_port_id': 20912173, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539727, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'Teint_Dans_La_Masse': {'main_port_id': 20912133, 'sub_port_id': 20912174, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539728, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'mal_croppe': {'main_port_id': 20912133, 'sub_port_id': 20912175, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539729, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'autre_refus': {'main_port_id': 20912133, 'sub_port_id': 20912176, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539730, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'papier': {'main_port_id': 20912133, 'sub_port_id': 20912177, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539731, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'Carton_brun': {'main_port_id': 20912133, 'sub_port_id': 20912178, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539732, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'kraft': {'main_port_id': 20912133, 'sub_port_id': 20912179, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539733, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'flou': {'main_port_id': 20912133, 'sub_port_id': 20912180, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539734, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'metal': {'main_port_id': 20912133, 'sub_port_id': 20912181, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539735, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'plastique': {'main_port_id': 20912133, 'sub_port_id': 20912182, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539736, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 37), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}, 'cartonnette': {'main_port_id': 20912133, 'sub_port_id': 20912183, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13539737, 'last_updated_at': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 6, 37)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912172,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912160 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912173,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912161 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912174,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912162 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912175,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912163 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912176,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912164 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912177,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912165 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912178,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912166 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912179,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912167 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912180,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912168 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912181,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912169 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912182,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912170 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20912183,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20912171 lien utilise dans velours : https://www.fotonower.com/velours/20912172,20912173,20912174,20912175,20912176,20912177,20912178,20912179,20912180,20912181,20912182,20912183?tags=environnement,Carton_gris,Teint_Dans_La_Masse,mal_croppe,autre_refus,papier,Carton_brun,kraft,flou,metal,plastique,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20912133]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] map_info['map_portfolio_photo'] : {20912133: [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561, 1340078226, 1340078224, 1340078222, 1340078220, 1340077964, 1340077895, 1340077884, 1340077882, 1340077880, 1340077595, 1340077562, 1340077063, 1340077059, 1340077058, 1340077056, 1340077032, 1340077029, 1340077026, 1340077024, 1340077021, 1340077010, 1340077006, 1340077001, 1340076995, 1340076981, 1340076964, 1340076925, 1340076918, 1340076911, 1340076909, 1340076908, 1340076885, 1340076880, 1340076873, 1340076863, 1340076861, 1340076859, 1340076824]} final : False mtd_id 4302 list_pids : [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] Looping around the photos to save general results len do output : 1 /20912133. 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, '2622378') ('4302', '20912133', '1340078635', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20912133', "{'environnement': 20912160, 'Carton_gris': 20912161, 'Teint_Dans_La_Masse': 20912162, 'mal_croppe': 20912163, 'autre_refus': 20912164, 'papier': 20912165, 'Carton_brun': 20912166, 'kraft': 20912167, 'flou': 20912168, 'metal': 20912169, 'plastique': 20912170, 'cartonnette': 20912171}", None, None, None, None, '2622378'), ('4302', '20912133', '1340078635', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378')] time used for this insertion : 0.1109473705291748 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5771393775939941 time spend to save output : 0.11124467849731445 total time spend for step 1 : 1.6883840560913086 step2:final Fri Feb 28 06:43:01 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 (20912133) 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 20912133 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340076824,1340076885,1340076880,1340076873,1340076863,1340076861,1340076859,1340076925,1340076918,1340076911,1340076909,1340076908,1340077010,1340077006,1340077001,1340076995,1340076981,1340076964,1340077032,1340077029,1340077026,1340077024,1340077021,1340077063,1340077059,1340077058,1340077056,1340077595,1340077562,1340077964,1340077895,1340077884,1340077882,1340077880,1340078226,1340078224,1340078222,1340078220,1340078569,1340078565,1340078563,1340078561,1340078603,1340078601,1340078596,1340078594,1340078592,1340078635); 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([20912133]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} new output for save of step final : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] map_info['map_portfolio_photo'] : {20912133: [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561, 1340078226, 1340078224, 1340078222, 1340078220, 1340077964, 1340077895, 1340077884, 1340077882, 1340077880, 1340077595, 1340077562, 1340077063, 1340077059, 1340077058, 1340077056, 1340077032, 1340077029, 1340077026, 1340077024, 1340077021, 1340077010, 1340077006, 1340077001, 1340076995, 1340076981, 1340076964, 1340076925, 1340076918, 1340076911, 1340076909, 1340076908, 1340076885, 1340076880, 1340076873, 1340076863, 1340076861, 1340076859, 1340076824]} final : False mtd_id 4302 list_pids : [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] Looping around the photos to save general results len do output : 10 /1340078635.Didn't retrieve data . /1340078603.Didn't retrieve data . /1340078601.Didn't retrieve data . /1340078596.Didn't retrieve data . /1340078594.Didn't retrieve data . /1340078592.Didn't retrieve data . /1340078569.Didn't retrieve data . /1340078565.Didn't retrieve data . /1340078563.Didn't retrieve data . /1340078561.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, '2622378') ('4302', '20912133', '1340078635', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20912133', '1340078635', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078603', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078601', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078596', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078594', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078592', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078569', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078565', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078563', '0.116909820919867', None, None, None, None, '2622378'), ('4302', '20912133', '1340078561', '0.116909820919867', None, None, None, None, '2622378')] time used for this insertion : 0.019085407257080078 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08045530319213867 time spend to save output : 0.0196683406829834 total time spend for step 2 : 0.10012364387512207 step3:velours_tree Fri Feb 28 06:43:01 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 : {20912133: [{'environnement': 20912160, 'Carton_gris': 20912161, 'Teint_Dans_La_Masse': 20912162, 'mal_croppe': 20912163, 'autre_refus': 20912164, 'papier': 20912165, 'Carton_brun': 20912166, 'kraft': 20912167, 'flou': 20912168, 'metal': 20912169, 'plastique': 20912170, 'cartonnette': 20912171}]} input_args_next_step : {20912133: ()} output_args : {20912133: [{'environnement': 20912160, 'Carton_gris': 20912161, 'Teint_Dans_La_Masse': 20912162, 'mal_croppe': 20912163, 'autre_refus': 20912164, 'papier': 20912165, 'Carton_brun': 20912166, 'kraft': 20912167, 'flou': 20912168, 'metal': 20912169, 'plastique': 20912170, 'cartonnette': 20912171}]} args : 20912133 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 : ({'environnement': 20912160, 'Carton_gris': 20912161, 'Teint_Dans_La_Masse': 20912162, 'mal_croppe': 20912163, 'autre_refus': 20912164, 'papier': 20912165, 'Carton_brun': 20912166, 'kraft': 20912167, 'flou': 20912168, 'metal': 20912169, 'plastique': 20912170, 'cartonnette': 20912171},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20912133) 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([20912133]) 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.28623437881469727 time spend to save output : 7.104873657226562e-05 total time spend for step 3 : 0.28630542755126953 step4:send_mail_cod Fri Feb 28 06:43:01 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 : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} input_args_next_step : {1340078635: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078635 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078603 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078601 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078596 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078594 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078592 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078569 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078565 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078563 depend.output_id : 0 input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ()} output_args : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',)} args : 1340078561 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 : {20912133: [{'environnement': 20912160, 'Carton_gris': 20912161, 'Teint_Dans_La_Masse': 20912162, 'mal_croppe': 20912163, 'autre_refus': 20912164, 'papier': 20912165, 'Carton_brun': 20912166, 'kraft': 20912167, 'flou': 20912168, 'metal': 20912169, 'plastique': 20912170, 'cartonnette': 20912171}]} input_args_next_step : {1340078635: ('0.116909820919867',), 1340078603: ('0.116909820919867',), 1340078601: ('0.116909820919867',), 1340078596: ('0.116909820919867',), 1340078594: ('0.116909820919867',), 1340078592: ('0.116909820919867',), 1340078569: ('0.116909820919867',), 1340078565: ('0.116909820919867',), 1340078563: ('0.116909820919867',), 1340078561: ('0.116909820919867',), 20912133: ()} output_args : {20912133: [{'environnement': 20912160, 'Carton_gris': 20912161, 'Teint_Dans_La_Masse': 20912162, 'mal_croppe': 20912163, 'autre_refus': 20912164, 'papier': 20912165, 'Carton_brun': 20912166, 'kraft': 20912167, 'flou': 20912168, 'metal': 20912169, 'plastique': 20912170, 'cartonnette': 20912171}]} args : 20912133 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : ('0.116909820919867',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20912133) 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 (1340078635,1340078603,1340078601,1340078596,1340078594,1340078592,1340078569,1340078565,1340078563,1340078561) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340078561 begin to download photo : 1340078569 begin to download photo : 1340078596 begin to download photo : 1340078635 download finish for photo 1340078635 download finish for photo 1340078561 begin to download photo : 1340078563 download finish for photo 1340078569 begin to download photo : 1340078592 download finish for photo 1340078596 begin to download photo : 1340078601 download finish for photo 1340078601 begin to download photo : 1340078603 download finish for photo 1340078592 begin to download photo : 1340078594 download finish for photo 1340078563 begin to download photo : 1340078565 download finish for photo 1340078594 download finish for photo 1340078565 download finish for photo 1340078603 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette209121631740721381/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P20912133_28-02-2025_06_43_01.pdf 20912163 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=20912163 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209121631740721381 20912164 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=20912164 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340077051: '1740720930_2615915_1340076824_f5a7dd63011e29a9adc209672591ae18_rle_crop_3689628761_0.png', 1340077080: '1740720951_2616154_1340076925_a0d289fcc6b148fc182ef1c124b6c094_rle_crop_3689628927_0.png', 1340077887: '1740721052_2617423_1340077032_e64581fc771d9866ede5c7d4a776bfce_rle_crop_3689629294_0.png', 1340077888: '1740721052_2617423_1340077001_6600b434c1ba83da7a726a49572d7094_rle_crop_3689629325_0.png', 1340077889: '1740721052_2617423_1340076964_73d3be264946dbf3f2cff6e284d1a068_rle_crop_3689629370_0.png', 1340078248: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629590_0.png', 1340078249: '1740721150_2618305_1340077058_4f2d6754ee3fcb160d151f423a100c3b_rle_crop_3689629609_0.png', 1340078250: '1740721150_2618305_1340077058_4f2d6754ee3fcb160d151f423a100c3b_rle_crop_3689629610_0.png', 1340078613: '1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629753_0.png', 1340078658: '1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630041_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/53ee8f4b7af66279b2c17a94c222e834_73325656.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4e909560595987e657cc1a2696398b42_87063875.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/47447e1be0ee8aca4fa3fca04f0420d6_11979993.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7cfb9c73f2defa93139f536243dd3493_36747780.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/228b70729dfcb4135ea6ef7880dbb699_28424890.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d24ffcf21c0377d911f4e8f829f29ef4_31652589.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e3e6d996f943d66d05c200db79c889b6_2984495.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/27432bdd20060cd4517cb703b65cc23e_26028253.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6679c18c6392c623d7d67250bb7f1bd7_99571933.png change filename to text .imagette209121641740721381/ imagette209121641740721381/1740720951_2616154_1340076925_a0d289fcc6b148fc182ef1c124b6c094_rle_crop_3689628927_0.png.png imagette209121641740721381/1740721150_2618305_1340077058_4f2d6754ee3fcb160d151f423a100c3b_rle_crop_3689629610_0.png.png imagette209121641740721381/1740721052_2617423_1340077001_6600b434c1ba83da7a726a49572d7094_rle_crop_3689629325_0.png.png imagette209121641740721381/1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629753_0.png.png imagette209121641740721381/1740721150_2618305_1340077058_4f2d6754ee3fcb160d151f423a100c3b_rle_crop_3689629609_0.png.png imagette209121641740721381/1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630041_0.png.png imagette209121641740721381/1740721052_2617423_1340077032_e64581fc771d9866ede5c7d4a776bfce_rle_crop_3689629294_0.png.png imagette209121641740721381/1740721052_2617423_1340076964_73d3be264946dbf3f2cff6e284d1a068_rle_crop_3689629370_0.png.png imagette209121641740721381/1740720930_2615915_1340076824_f5a7dd63011e29a9adc209672591ae18_rle_crop_3689628761_0.png.png imagette209121641740721381/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629590_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/68cfce1c655436ef4e5efaa5770d2a72_35107053.png imagette209121641740721381 20912167 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=20912167 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340078519: '1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629571_0.png'} change filename to text .imagette209121671740721382/ imagette209121671740721382/1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629571_0.png.png imagette209121681740721382/ imagette209121691740721382/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/be64e58bcb40a8d74586b87bbc616c9d_28111302.png imagette209121671740721382 20912168 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=20912168 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209121681740721382 20912169 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=20912169 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209121691740721382 20912170 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=20912170 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340077046: '1740720913_2615700_1340076918_9333b1bfe3d2eb4425f7dc83eed12e24_rle_crop_3689628670_0.png', 1340077097: '1740720951_2616154_1340076925_a0d289fcc6b148fc182ef1c124b6c094_rle_crop_3689628930_0.png', 1340077098: '1740720951_2616154_1340076873_1fb11b5a8fdb86d594c184a96570b734_rle_crop_3689628941_0.png', 1340077100: '1740720951_2616154_1340076873_1fb11b5a8fdb86d594c184a96570b734_rle_crop_3689628943_0.png', 1340077876: '1740721033_2617206_1340077029_bef3f275ecac57939f633f979c546139_rle_crop_3689629064_0.png', 1340077902: '1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629353_0.png', 1340077903: '1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629356_0.png', 1340078481: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629599_0.png', 1340078483: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629589_0.png', 1340078485: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629595_0.png', 1340078487: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629581_0.png', 1340078624: '1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629831_0.png', 1340078633: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629869_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f02ea6ab034bde20c2dc00b695233c2f_82230987.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9142bcd3486c74031061ea43ee6fe59c_11303425.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5338566431d2986749bf498330593c82_82017747.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/cd7e70c1df4ff92ac405474c461b6be1_92383540.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f8ac4b6c7bf51cb333b9289e10c6b300_47635862.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/26180e9c288c7fef888c395cd8e9fa36_41269553.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c85c02e93e1151e91747630b67788ae1_95097410.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9c7d6577335bda55e83e1c064ee742fe_25337368.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1692876f5e3c629c1eb6e3590fd543a8_76496466.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/95f28a2e0b5df1c8239f767e68517a73_79461667.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9ea4a5f9fd4ecdbcbca15642e7015061_11727040.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/96ad9ec75701ec6c06e39162b1575fe7_86520602.png change filename to text .imagette209121701740721382/ imagette209121701740721382/1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629353_0.png.png imagette209121701740721382/1740721033_2617206_1340077029_bef3f275ecac57939f633f979c546139_rle_crop_3689629064_0.png.png imagette209121701740721382/1740720913_2615700_1340076918_9333b1bfe3d2eb4425f7dc83eed12e24_rle_crop_3689628670_0.png.png imagette209121701740721382/1740720951_2616154_1340076873_1fb11b5a8fdb86d594c184a96570b734_rle_crop_3689628943_0.png.png imagette209121701740721382/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629595_0.png.png imagette209121701740721382/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629869_0.png.png imagette209121701740721382/1740720951_2616154_1340076873_1fb11b5a8fdb86d594c184a96570b734_rle_crop_3689628941_0.png.png imagette209121701740721382/1740720951_2616154_1340076925_a0d289fcc6b148fc182ef1c124b6c094_rle_crop_3689628930_0.png.png imagette209121701740721382/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629589_0.png.png imagette209121701740721382/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629599_0.png.png imagette209121701740721382/1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629356_0.png.png imagette209121701740721382/1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629831_0.png.png imagette209121701740721382/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629581_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6d0439bda292478c84e2cdfdf6bce35d_75638039.png imagette209121701740721382 20912171 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=20912171 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340077045: '1740720913_2615700_1340076918_9333b1bfe3d2eb4425f7dc83eed12e24_rle_crop_3689628668_0.png', 1340077082: '1740720951_2616154_1340076861_65a01839dba4a8f2e7b72934798ad6cd_rle_crop_3689628969_0.png', 1340077893: '1740721052_2617423_1340077006_5c71f7fc6f0a2549a608e3114cbc7149_rle_crop_3689629309_0.png', 1340078312: '1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629565_0.png', 1340078314: '1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629572_0.png', 1340078316: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629587_0.png', 1340078618: '1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629759_0.png', 1340078661: '1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630043_0.png', 1340078662: '1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630042_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3a7c9dcd853579ef2595c6ac520bf143_39785114.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/57fb180685171d32af90c9e7c55e6be1_28433894.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4ee307e73f0461ca74c64f0c90182c40_42778404.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1c16bd5eecef8748db42961b96c9786f_60986501.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b6ae62f7cab5d121c5d6bf4c5d8c0c40_94584518.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ccfffec781432b13f7fca083bdaa8cd4_81675867.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f24924bfa7a1629b3ec729ef7ddd9ac4_71936567.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d42b1c35a6ab24e9cce4c42201137fd8_90589368.png change filename to text .imagette209121711740721383/ imagette209121711740721383/1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629759_0.png.png imagette209121711740721383/1740720913_2615700_1340076918_9333b1bfe3d2eb4425f7dc83eed12e24_rle_crop_3689628668_0.png.png imagette209121711740721383/1740720951_2616154_1340076861_65a01839dba4a8f2e7b72934798ad6cd_rle_crop_3689628969_0.png.png imagette209121711740721383/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629587_0.png.png imagette209121711740721383/1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629572_0.png.png imagette209121711740721383/1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630043_0.png.png imagette209121711740721383/1740721052_2617423_1340077006_5c71f7fc6f0a2549a608e3114cbc7149_rle_crop_3689629309_0.png.png imagette209121711740721383/1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630042_0.png.png imagette209121711740721383/1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629565_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d1d5474bc08d915550973350e7ad5188_11380090.png imagette209121711740721383 20912161 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=20912161 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340078254: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629586_0.png', 1340078660: '1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630112_0.png', 1340078659: '1740721312_2620113_1340077884_4838de04e725f726b8e83120214c65f2_rle_crop_3689630064_0.png', 1340078628: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629854_0.png', 1340078627: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629867_0.png', 1340078626: '1740721291_2619883_1340077964_9e3a002cb535ca6f3ee7dfd14156fb5a_rle_crop_3689629849_0.png', 1340078617: '1740721273_2619657_1340078220_869517e7da5309871193e5f4fbd147a5_rle_crop_3689629845_0.png', 1340078616: '1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629825_0.png', 1340078615: '1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629755_0.png', 1340078266: '1740721172_2618565_1340077063_eebc7f8a619a2b0e3625d640bb327e6d_rle_crop_3689629639_0.png', 1340077043: '1740720913_2615700_1340076911_6c7eb6cf836a29dd9e8064acd7555530_rle_crop_3689628677_0.png', 1340077892: '1740721052_2617423_1340077001_6600b434c1ba83da7a726a49572d7094_rle_crop_3689629332_0.png', 1340077891: '1740721052_2617423_1340077006_5c71f7fc6f0a2549a608e3114cbc7149_rle_crop_3689629310_0.png', 1340077875: '1740721033_2617206_1340077021_8ab1d619a1e73b872a03d0d303ad25fc_rle_crop_3689629077_0.png', 1340077874: '1740721033_2617206_1340077024_cc2258030c8b3ad0200aafed397af414_rle_crop_3689629072_0.png', 1340077873: '1740721033_2617206_1340077029_bef3f275ecac57939f633f979c546139_rle_crop_3689629059_0.png', 1340077872: '1740721033_2617206_1340077029_bef3f275ecac57939f633f979c546139_rle_crop_3689629056_0.png', 1340077053: '1740720930_2615915_1340076824_f5a7dd63011e29a9adc209672591ae18_rle_crop_3689628756_0.png', 1340077052: '1740720930_2615915_1340076885_979b289b669aa0da9475241f5a54870b_rle_crop_3689628744_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1fd8a0ca15046ff9889e4cd2bcef9199_25198692.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0c8125584af028ccd3381b51b0cde850_93143267.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/505b224a972c04100ce68f4b9494ecbf_36888034.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8a7235bf77609312b927afea4caf34c9_7274221.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f8ff1cb36c71d5ebae15906685448e39_48594564.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/57f5f92895f5e070b31a0f56c42297dc_868217.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6cf5a81f552af20a839004c428ed443d_78746681.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5ca56f2217dcf144e4b0c4dc1ea05800_74060414.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/db1d464c51f0337509bfdccdf1c9f62d_41777182.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1cdc50165c25880764c471f8c0ba1443_6240257.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9cb6505832f9ae4e1a5f7e78b983a450_84019457.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b3257045cffb86bc0263af875e73c1ee_94414782.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5b1d6be4c1b2fd95c4da442cf6642048_66127616.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/dbb34e2dba1069e5c68e794f7434df15_56693404.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4715a0bf84ba50d892e9ce8303140a4d_11873987.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/17e9167f27b1156443fdfd07e8ffb84e_35101745.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a4f16c1c7f829fe042427bad4a0f9038_37144743.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2438d62b5f3e58db95f2a49367225bc4_29003929.png change filename to text .imagette209121611740721383/ imagette209121611740721383/1740721172_2618565_1340077063_eebc7f8a619a2b0e3625d640bb327e6d_rle_crop_3689629639_0.png.png imagette209121611740721383/1740721273_2619657_1340078220_869517e7da5309871193e5f4fbd147a5_rle_crop_3689629845_0.png.png imagette209121611740721383/1740721312_2620113_1340077884_4838de04e725f726b8e83120214c65f2_rle_crop_3689630064_0.png.png imagette209121611740721383/1740721033_2617206_1340077024_cc2258030c8b3ad0200aafed397af414_rle_crop_3689629072_0.png.png imagette209121611740721383/1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630112_0.png.png imagette209121611740721383/1740721033_2617206_1340077029_bef3f275ecac57939f633f979c546139_rle_crop_3689629056_0.png.png imagette209121611740721383/1740720930_2615915_1340076885_979b289b669aa0da9475241f5a54870b_rle_crop_3689628744_0.png.png imagette209121611740721383/1740721033_2617206_1340077021_8ab1d619a1e73b872a03d0d303ad25fc_rle_crop_3689629077_0.png.png imagette209121611740721383/1740720913_2615700_1340076911_6c7eb6cf836a29dd9e8064acd7555530_rle_crop_3689628677_0.png.png imagette209121611740721383/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629854_0.png.png imagette209121611740721383/1740721052_2617423_1340077001_6600b434c1ba83da7a726a49572d7094_rle_crop_3689629332_0.png.png imagette209121611740721383/1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629755_0.png.png imagette209121611740721383/1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629825_0.png.png imagette209121611740721383/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629867_0.png.png imagette209121611740721383/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629586_0.png.png imagette209121611740721383/1740720930_2615915_1340076824_f5a7dd63011e29a9adc209672591ae18_rle_crop_3689628756_0.png.png imagette209121611740721383/1740721291_2619883_1340077964_9e3a002cb535ca6f3ee7dfd14156fb5a_rle_crop_3689629849_0.png.png imagette209121611740721383/1740721052_2617423_1340077006_5c71f7fc6f0a2549a608e3114cbc7149_rle_crop_3689629310_0.png.png imagette209121611740721383/1740721033_2617206_1340077029_bef3f275ecac57939f633f979c546139_rle_crop_3689629059_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2f75f880ec1e7b3249cdd9cedf8a035f_58829891.png imagette209121611740721383 20912162 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=20912162 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340077077: '1740720951_2616154_1340076863_d96a12bddb95a48d52ac5d26437796b8_rle_crop_3689628962_0.png', 1340077078: '1740720951_2616154_1340076861_65a01839dba4a8f2e7b72934798ad6cd_rle_crop_3689628970_0.png', 1340077079: '1740720951_2616154_1340076859_dfb431982ed2d49be35fad43af303892_rle_crop_3689628983_0.png', 1340077885: '1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629359_0.png', 1340077886: '1740721052_2617423_1340076964_73d3be264946dbf3f2cff6e284d1a068_rle_crop_3689629369_0.png', 1340078246: '1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629573_0.png', 1340078247: '1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629568_0.png', 1340078253: '1740721172_2618565_1340077063_eebc7f8a619a2b0e3625d640bb327e6d_rle_crop_3689629643_0.png', 1340078611: '1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629756_0.png', 1340078612: '1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629840_0.png', 1340078625: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629858_0.png', 1340078656: '1740721312_2620113_1340077884_4838de04e725f726b8e83120214c65f2_rle_crop_3689630070_0.png', 1340078657: '1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630110_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ab3cdea50bde4d8cfd7cbbbbaf509eeb_66044847.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1112d3fd69a30fd0cdcf7044e07bb939_23603820.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fcf886c89d48b3c08a042662b0801e69_54274933.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bebee46a967205c335df11c92455e742_93443621.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b43876885f73ec38f964e597318c4e9d_94792476.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6e03d1e261d535b9f50cc2ded9d6886b_93910956.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c21c6aa765a07b261b4a7274b07bf1c3_81394192.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/53bc0c1915c39e85b9fd8b367eac484b_39127995.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/62f65178f0a1a296b5ec72b6da63534e_58374209.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e91c380c8909cb0184f96cc858187611_49306861.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bc085b32aad492602e3c247d99731150_65364298.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6c830b21841aaf1fa8d6c77d7bdcd0db_88644361.png change filename to text .imagette209121621740721384/ imagette209121621740721384/1740721312_2620113_1340077884_4838de04e725f726b8e83120214c65f2_rle_crop_3689630070_0.png.png imagette209121621740721384/1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629359_0.png.png imagette209121621740721384/1740720951_2616154_1340076863_d96a12bddb95a48d52ac5d26437796b8_rle_crop_3689628962_0.png.png imagette209121621740721384/1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629756_0.png.png imagette209121621740721384/1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629568_0.png.png imagette209121621740721384/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629858_0.png.png imagette209121621740721384/1740721172_2618565_1340077063_eebc7f8a619a2b0e3625d640bb327e6d_rle_crop_3689629643_0.png.png imagette209121621740721384/1740720951_2616154_1340076861_65a01839dba4a8f2e7b72934798ad6cd_rle_crop_3689628970_0.png.png imagette209121621740721384/1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630110_0.png.png imagette209121621740721384/1740721150_2618305_1340077595_ea757450eb583363b52524a5430ad770_rle_crop_3689629573_0.png.png imagette209121621740721384/1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629840_0.png.png imagette209121621740721384/1740720951_2616154_1340076859_dfb431982ed2d49be35fad43af303892_rle_crop_3689628983_0.png.png imagette209121621740721384/1740721052_2617423_1340076964_73d3be264946dbf3f2cff6e284d1a068_rle_crop_3689629369_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ca49384061648e7ab0e79aec3aa5a476_75206115.png imagette209121621740721384 20912166 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=20912166 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340078620: '1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629829_0.png', 1340078669: '1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630111_0.png', 1340078668: '1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630113_0.png', 1340078667: '1740721312_2620113_1340077882_004827e330b3922ba6fcd4fef3edd17d_rle_crop_3689630092_0.png', 1340078666: '1740721312_2620113_1340077882_004827e330b3922ba6fcd4fef3edd17d_rle_crop_3689630095_0.png', 1340078665: '1740721312_2620113_1340077884_4838de04e725f726b8e83120214c65f2_rle_crop_3689630066_0.png', 1340078664: '1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630048_0.png', 1340078631: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629864_0.png', 1340078630: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629865_0.png', 1340078629: '1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629861_0.png', 1340078622: '1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629830_0.png', 1340078621: '1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629835_0.png', 1340077054: '1740720930_2615915_1340076824_f5a7dd63011e29a9adc209672591ae18_rle_crop_3689628758_0.png', 1340078619: '1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629757_0.png', 1340078379: '1740721150_2618305_1340077056_2d701048cdee672317db88b64e0db9ee_rle_crop_3689629629_0.png', 1340078377: '1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629591_0.png', 1340078305: '1740721172_2618565_1340077063_eebc7f8a619a2b0e3625d640bb327e6d_rle_crop_3689629647_0.png', 1340077900: '1740721052_2617423_1340076964_73d3be264946dbf3f2cff6e284d1a068_rle_crop_3689629371_0.png', 1340077899: '1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629358_0.png', 1340077898: '1740721052_2617423_1340077032_e64581fc771d9866ede5c7d4a776bfce_rle_crop_3689629295_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8aadcfdcf80217877bb6d6c2c92c7757_55501026.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e4ab5f77daf597b580c0ef6f5ce38e33_68653119.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4391c13e9221ac51f2d79755a1aff59a_59626850.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bd55d3b8b6a99d1ffc228d929d19bbc6_97485365.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d71ac0bebda7b260c38086ade25a8794_19214984.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/caa64fd25711f6f7d0648aa3e2a9ef13_53925465.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/92f7aa8975ae629dc3e313de7ac85689_40304113.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b25d47abf3949809dab21872bdbd30ce_97735219.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b4fa2c73e0e1f7940340e63af38ddbb5_19149439.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/267030a19079cddc30267ed7ada23c08_82035798.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/42cf9bf3f6ee2fb4381da8c15c9b5036_36060996.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5b1b5989ab8501a768fb23567e173de4_90902773.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b54ebb42499df025356abdc7c794494f_23182590.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/53f15b46ca94f4e242af89780777a1b0_85810624.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a5a6a1fe7954705b14088b2fb3f4c455_63981763.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8ab27cd917b6c7b47cc73f87ec03483e_57366418.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d039113a7385742daa972fbefdb2dc24_79352142.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3590fb41f207f3a3e49a7b6812eaf239_38744228.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/862e55b1ad4a2830e6a792c39b359c3a_10765014.png change filename to text .imagette209121661740721385/ imagette209121661740721385/1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630111_0.png.png imagette209121661740721385/1740721052_2617423_1340076964_73d3be264946dbf3f2cff6e284d1a068_rle_crop_3689629371_0.png.png imagette209121661740721385/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629861_0.png.png imagette209121661740721385/1740721312_2620113_1340077880_29315660a3de3dc25a007d31efd51f16_rle_crop_3689630113_0.png.png imagette209121661740721385/1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629829_0.png.png imagette209121661740721385/1740721312_2620113_1340077882_004827e330b3922ba6fcd4fef3edd17d_rle_crop_3689630095_0.png.png imagette209121661740721385/1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629830_0.png.png imagette209121661740721385/1740721052_2617423_1340076981_0961f0ffacecb676b0c1bef06de13320_rle_crop_3689629358_0.png.png imagette209121661740721385/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629865_0.png.png imagette209121661740721385/1740721052_2617423_1340077032_e64581fc771d9866ede5c7d4a776bfce_rle_crop_3689629295_0.png.png imagette209121661740721385/1740720930_2615915_1340076824_f5a7dd63011e29a9adc209672591ae18_rle_crop_3689628758_0.png.png imagette209121661740721385/1740721273_2619657_1340078222_7737a64eeaefd5f05663b3e2dd89594d_rle_crop_3689629835_0.png.png imagette209121661740721385/1740721312_2620113_1340078226_f3ef4d8ac2b80ce412d89ecff2118a79_rle_crop_3689630048_0.png.png imagette209121661740721385/1740721172_2618565_1340077063_eebc7f8a619a2b0e3625d640bb327e6d_rle_crop_3689629647_0.png.png imagette209121661740721385/1740721150_2618305_1340077056_2d701048cdee672317db88b64e0db9ee_rle_crop_3689629629_0.png.png imagette209121661740721385/1740721312_2620113_1340077882_004827e330b3922ba6fcd4fef3edd17d_rle_crop_3689630092_0.png.png imagette209121661740721385/1740721312_2620113_1340077884_4838de04e725f726b8e83120214c65f2_rle_crop_3689630066_0.png.png imagette209121661740721385/1740721291_2619883_1340077562_c7c0be92601ff414de944c807497ba1a_rle_crop_3689629864_0.png.png imagette209121661740721385/1740721150_2618305_1340077059_11b52fedfce0df5cb336e278a006fdf6_rle_crop_3689629591_0.png.png imagette209121661740721385/1740721273_2619657_1340078224_df59c59c54d8bc9526255795fb26c265_rle_crop_3689629757_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/90900a2a1cede9f9ab5a4cb32c41ef0d_45568346.png imagette209121661740721385 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20912133 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20912172,20912173,20912174,20912175,20912176,20912177,20912178,20912179,20912180,20912181,20912182,20912183?tags=environnement,Carton_gris,Teint_Dans_La_Masse,mal_croppe,autre_refus,papier,Carton_brun,kraft,flou,metal,plastique,cartonnette your option no_mail is active, we will not send the real mail to your client args[1340078635] : ('0.116909820919867',) no score found for photo 1340078635 We are sending mail with results at report@fotonower.com args[1340078603] : ('0.116909820919867',) no score found for photo 1340078603 We are sending mail with results at report@fotonower.com args[1340078601] : ('0.116909820919867',) no score found for photo 1340078601 We are sending mail with results at report@fotonower.com args[1340078596] : ('0.116909820919867',) no score found for photo 1340078596 We are sending mail with results at report@fotonower.com args[1340078594] : ('0.116909820919867',) no score found for photo 1340078594 We are sending mail with results at report@fotonower.com args[1340078592] : ('0.116909820919867',) no score found for photo 1340078592 We are sending mail with results at report@fotonower.com args[1340078569] : ('0.116909820919867',) no score found for photo 1340078569 We are sending mail with results at report@fotonower.com args[1340078565] : ('0.116909820919867',) no score found for photo 1340078565 We are sending mail with results at report@fotonower.com args[1340078563] : ('0.116909820919867',) no score found for photo 1340078563 We are sending mail with results at report@fotonower.com args[1340078561] : ('0.116909820919867',) no score found for photo 1340078561 We are sending mail with results at report@fotonower.com refus_total : 0.116909820919867 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=20912133 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_P20912133_28-02-2025_06_43_01.pdf results_Auto_P20912133_28-02-2025_06_43_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_43_01.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','20912133','results_Auto_P20912133_28-02-2025_06_43_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_43_01.pdf','pdf','','0.39','0.116909820919867') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20912133]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] map_info['map_portfolio_photo'] : {20912133: [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561, 1340078226, 1340078224, 1340078222, 1340078220, 1340077964, 1340077895, 1340077884, 1340077882, 1340077880, 1340077595, 1340077562, 1340077063, 1340077059, 1340077058, 1340077056, 1340077032, 1340077029, 1340077026, 1340077024, 1340077021, 1340077010, 1340077006, 1340077001, 1340076995, 1340076981, 1340076964, 1340076925, 1340076918, 1340076911, 1340076909, 1340076908, 1340076885, 1340076880, 1340076873, 1340076863, 1340076861, 1340076859, 1340076824]} final : False mtd_id 4302 list_pids : [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] 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, '2622378') ('4302', '20912133', '1340078635', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378') 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', '20912133', '1340078635', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378')] time used for this insertion : 0.014535188674926758 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.223093748092651 time spend to save output : 0.014759540557861328 total time spend for step 4 : 6.237853288650513 step5:split_time_score Fri Feb 28 06:43:07 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 : ['20912133'] 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 : [('20912133',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20912133) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340078635: {'path': 'temp/1740721381_3397671_1340078635_4cf2e716e3497da4b80c469b2924e5a9.jpg', 'extension': 'jpg'}, 1340078569: {'path': 'temp/1740721381_3397671_1340078569_8ff14fd6b3448906f4082e4c30ec8ba6.jpg', 'extension': 'jpg'}, 1340078592: {'path': 'temp/1740721381_3397671_1340078592_3ba96b8c937a714649f16ec33f1eb969.jpg', 'extension': 'jpg'}, 1340078594: {'path': 'temp/1740721381_3397671_1340078594_bcec04b7176d113d015198b662f44213.jpg', 'extension': 'jpg'}, 1340078561: {'path': 'temp/1740721381_3397671_1340078561_cb62cdaae7882855720c6f6270ca78d4.jpg', 'extension': 'jpg'}, 1340078563: {'path': 'temp/1740721381_3397671_1340078563_37e047d11163ad467cd2dcaea643568a.jpg', 'extension': 'jpg'}, 1340078565: {'path': 'temp/1740721381_3397671_1340078565_acbd10679c1f2078e0577b33ac1b3aeb.jpg', 'extension': 'jpg'}, 1340078596: {'path': 'temp/1740721381_3397671_1340078596_40a3575e1ce5ea771e6863b47cd88ac9.jpg', 'extension': 'jpg'}, 1340078601: {'path': 'temp/1740721381_3397671_1340078601_53af97fcd58b854e3f1667354ab0c044.jpg', 'extension': 'jpg'}, 1340078603: {'path': 'temp/1740721381_3397671_1340078603_2d81a48d8f2219d9453afd449fcdb1a3.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 = 20912133; (('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 = 20912133 group by h (('06', 48),) 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=20912133 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 (20912133) 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 (20912133) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20912133 Nombre de photos uploadées : 48 / 23040 (0%) 28022025 20912133 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 28022025 20912133 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1340076824, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f5a7dd63011e29a9adc209672591ae18.jpg', 'username': None, 'uploaded_at': 1740720672, 'text': 'image_28022025_06_30_34_010136m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340076885, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/979b289b669aa0da9475241f5a54870b.jpg', 'username': None, 'uploaded_at': 1740720732, 'text': 'image_28022025_06_30_44_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340076880, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3d7a54b24d74654d5353069bd6b3095c.jpg', 'username': None, 'uploaded_at': 1740720732, 'text': 'image_28022025_06_31_04_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340076873, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1fb11b5a8fdb86d594c184a96570b734.jpg', 'username': None, 'uploaded_at': 1740720732, 'text': 'image_28022025_06_31_13_009124m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002228260040283203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20912133, '2025-02-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1629471,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02785325050354004 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= 1629471 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637738, 'mtr_portfolio_id': 20910508, 'dashboard_result_id': 9124417, '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_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637738, 'mtr_portfolio_id': 20911007, 'dashboard_result_id': 9124418, '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_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637738, 'mtr_portfolio_id': 20911538, 'dashboard_result_id': 9124419, '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_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637738, 'mtr_portfolio_id': 20912133, 'dashboard_result_id': 9124420, '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_P20912133_28-02-2025_06_40_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, '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 = 20910508 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': 2622263, 'mtr_portfolio_id': 20910508, 'created_at': datetime.datetime(2025, 2, 28, 6, 5, 29), 'result': '0.10985063203541856', 'result_long': None, 'result_double': None}] Qualite : 0.10985063203541856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20910508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20910508 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_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}" where mtr_portfolio_id = 20910508 and dashboard_run_id = 1637738 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`=20910508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9124417, 0.10985063203541856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, '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 = 20911007 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': 2622304, 'mtr_portfolio_id': 20911007, 'created_at': datetime.datetime(2025, 2, 28, 6, 18, 58), 'result': '0.11129111297383326', 'result_long': None, 'result_double': None}] Qualite : 0.11129111297383326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20911007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20911007 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_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}" where mtr_portfolio_id = 20911007 and dashboard_run_id = 1637738 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`=20911007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9124418, 0.11129111297383326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, '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 = 20911538 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': 2622338, 'mtr_portfolio_id': 20911538, 'created_at': datetime.datetime(2025, 2, 28, 6, 32, 57), 'result': '0.09534862347120972', 'result_long': None, 'result_double': None}] Qualite : 0.09534862347120972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20911538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20911538 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_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}" where mtr_portfolio_id = 20911538 and dashboard_run_id = 1637738 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`=20911538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9124419, 0.09534862347120972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, '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 = 20912133 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': 2622378, 'mtr_portfolio_id': 20912133, 'created_at': datetime.datetime(2025, 2, 28, 6, 43, 1), 'result': '0.116909820919867', 'result_long': None, 'result_double': None}] Qualite : 0.116909820919867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20912133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20912133 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_P20912133_28-02-2025_06_43_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}" where mtr_portfolio_id = 20912133 and dashboard_run_id = 1637738 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`=20912133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9124420, 0.116909820919867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_43_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, '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 (20910508,20911007,20911538,20912133) result : ((1340070963,), (1340070970,), (1340070977,), (1340070995,), (1340071004,), (1340071008,), (1340071014,), (1340071020,), (1340071023,), (1340071505,), (1340071507,), (1340071509,), (1340071512,), (1340071515,), (1340071520,), (1340071770,), (1340071772,), (1340071777,), (1340071814,), (1340072232,), (1340072234,), (1340072236,), (1340072239,), (1340072243,), (1340072247,), (1340072263,), (1340072265,), (1340072267,), (1340072271,), (1340072300,), (1340072303,), (1340072307,), (1340072314,), (1340072321,), (1340072326,), (1340072354,), (1340072356,), (1340072358,), (1340072361,), (1340072364,), (1340072392,), (1340072394,), (1340072396,), (1340072399,), (1340072411,), (1340072417,), (1340072479,), (1340072481,), (1340072483,), (1340072486,), (1340072552,), (1340072554,), (1340072557,), (1340072559,), (1340072566,), (1340072570,), (1340072582,), (1340072584,), (1340072586,), (1340072589,), (1340072626,), (1340072628,), (1340072630,), (1340072632,), (1340072636,), (1340072641,), (1340072672,), (1340072678,), (1340072684,), (1340072698,), (1340072886,), (1340072970,), (1340073050,), (1340073118,), (1340073141,), (1340073128,), (1340073131,), (1340073134,), (1340073138,), (1340073184,), (1340073187,), (1340073189,), (1340073192,), (1340073277,), (1340073280,), (1340073285,), (1340073288,), (1340073309,), (1340073312,), (1340073317,), (1340073320,), (1340073326,), (1340073331,), (1340074110,), (1340074112,), (1340074114,), (1340074119,), (1340075015,), (1340075039,), (1340075052,), (1340075063,), (1340075075,), (1340075080,), (1340075280,), (1340075293,), (1340075313,), (1340075315,), (1340075320,), (1340075345,), (1340075347,), (1340075349,), (1340075354,), (1340075357,), (1340075395,), (1340075425,), (1340075427,), (1340075429,), (1340075442,), (1340075453,), (1340075471,), (1340075474,), (1340075476,), (1340075480,), (1340075482,), (1340075487,), (1340075502,), (1340075504,), (1340075509,), (1340075545,), (1340075548,), (1340075554,), (1340075557,), (1340075564,), (1340075572,), (1340075582,), (1340075590,), (1340075600,), (1340075603,), (1340075632,), (1340075635,), (1340075637,), (1340075641,), (1340075644,), (1340075648,), (1340075682,), (1340075675,), (1340075677,), (1340075679,), (1340075731,), (1340075733,), (1340075739,), (1340075746,), (1340075749,), (1340075755,), (1340076245,), (1340076267,), (1340076286,), (1340076290,), (1340076317,), (1340076319,), (1340076321,), (1340076327,), (1340076337,), (1340076349,), (1340076382,), (1340076384,), (1340076393,), (1340076396,), (1340076441,), (1340076443,), (1340076446,), (1340076449,), (1340076452,), (1340076458,), (1340076480,), (1340076482,), (1340076490,), (1340076496,), (1340076499,), (1340076516,), (1340076518,), (1340076520,), (1340076523,), (1340076527,), (1340076560,), (1340076562,), (1340076565,), (1340076569,), (1340076572,), (1340076577,), (1340076590,), (1340076592,), (1340076594,), (1340076598,), (1340076603,), (1340076640,), (1340076642,), (1340076644,), (1340076649,), (1340076669,), (1340076671,), (1340076673,), (1340076675,), (1340076678,), (1340076682,), (1340076709,), (1340076711,), (1340076713,), (1340076715,), (1340076719,), (1340076755,), (1340076757,), (1340076826,), (1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20912133]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] map_info['map_portfolio_photo'] : {20912133: [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561, 1340078226, 1340078224, 1340078222, 1340078220, 1340077964, 1340077895, 1340077884, 1340077882, 1340077880, 1340077595, 1340077562, 1340077063, 1340077059, 1340077058, 1340077056, 1340077032, 1340077029, 1340077026, 1340077024, 1340077021, 1340077010, 1340077006, 1340077001, 1340076995, 1340076981, 1340076964, 1340076925, 1340076918, 1340076911, 1340076909, 1340076908, 1340076885, 1340076880, 1340076873, 1340076863, 1340076861, 1340076859, 1340076824]} final : True mtd_id 4302 list_pids : [1340078635, 1340078603, 1340078601, 1340078596, 1340078594, 1340078592, 1340078569, 1340078565, 1340078563, 1340078561] Looping around the photos to save general results len do output : 1 /20912133Didn'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, '2622378') ('4302', '20912133', '1340078635', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378') ('4302', None, None, None, None, None, None, None, '2622378') ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20912133', 'None', None, None, None, None, '2622378'), ('4302', '20912133', '1340078635', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078603', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078601', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078596', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078594', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078592', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078569', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078565', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078563', None, None, None, None, None, '2622378'), ('4302', '20912133', '1340078561', None, None, None, None, None, '2622378')] time used for this insertion : 0.01620316505432129 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34268736839294434 time spend to save output : 0.016550540924072266 total time spend for step 5 : 0.3592379093170166 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 (2622378) 2.26user 2.45system 0:12.53elapsed 37%CPU (0avgtext+0avgdata 161376maxresident)k 232inputs+20376outputs (1major+72103minor)pagefaults 0swaps