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 : 2723358 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 (3719836) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3719836) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836300 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3719836'] with mtr_portfolio_ids : ['26836300'] and first list_photo_ids : [] new path : /proc/2723358/ Name: python3 Umask: 0002 State: R (running) Tgid: 2723358 Ngid: 0 Pid: 2723358 PPid: 2723357 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2723358 NSpid: 2723358 NSpgid: 2721314 NSsid: 2721314 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100136 kB VmRSS: 100136 kB RssAnon: 60172 kB RssFile: 39964 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 57 nonvoluntary_ctxt_switches: 84 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2723358', 'Ngid': '0', 'Pid': '2723358', 'PPid': '2723357', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2723358', 'NSpid': '2723358', 'NSpgid': '2721314', 'NSsid': '2721314', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100136 kB', 'VmRSS': '100136 kB', 'RssAnon': '60172 kB', 'RssFile': '39964 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '57', 'nonvoluntary_ctxt_switches': '84'} ('datou_batch_current', '2723358', '1107252', '0', '1107252', '866004', '100136', b'', 'marlene', '3719836') 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 (26836300) 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 (3719836 ) ) 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 (26836300) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1383699988, 'portfolio_id': 26836300}, {'photo_id': 1383699986, 'portfolio_id': 26836300}, {'photo_id': 1383699980, 'portfolio_id': 26836300}, {'photo_id': 1383699975, 'portfolio_id': 26836300}, {'photo_id': 1383699947, 'portfolio_id': 26836300}, {'photo_id': 1383699945, 'portfolio_id': 26836300}, {'photo_id': 1383699944, 'portfolio_id': 26836300}, {'photo_id': 1383699943, 'portfolio_id': 26836300}, {'photo_id': 1383699942, 'portfolio_id': 26836300}, {'photo_id': 1383699936, 'portfolio_id': 26836300}, {'photo_id': 1383699934, 'portfolio_id': 26836300}, {'photo_id': 1383699929, 'portfolio_id': 26836300}, {'photo_id': 1383699926, 'portfolio_id': 26836300}, {'photo_id': 1383699923, 'portfolio_id': 26836300}, {'photo_id': 1383699921, 'portfolio_id': 26836300}, {'photo_id': 1383699920, 'portfolio_id': 26836300}, {'photo_id': 1383699919, 'portfolio_id': 26836300}, {'photo_id': 1383699909, 'portfolio_id': 26836300}, {'photo_id': 1383699908, 'portfolio_id': 26836300}, {'photo_id': 1383699907, 'portfolio_id': 26836300}, {'photo_id': 1383699906, 'portfolio_id': 26836300}, {'photo_id': 1383699891, 'portfolio_id': 26836300}, {'photo_id': 1383699888, 'portfolio_id': 26836300}, {'photo_id': 1383699887, 'portfolio_id': 26836300}, {'photo_id': 1383699885, 'portfolio_id': 26836300}, {'photo_id': 1383699880, 'portfolio_id': 26836300}, {'photo_id': 1383699878, 'portfolio_id': 26836300}, {'photo_id': 1383699875, 'portfolio_id': 26836300}, {'photo_id': 1383699874, 'portfolio_id': 26836300}, {'photo_id': 1383699873, 'portfolio_id': 26836300}, {'photo_id': 1383699872, 'portfolio_id': 26836300}, {'photo_id': 1383699859, 'portfolio_id': 26836300}, {'photo_id': 1383699857, 'portfolio_id': 26836300}, {'photo_id': 1383699855, 'portfolio_id': 26836300}, {'photo_id': 1383699853, 'portfolio_id': 26836300}, {'photo_id': 1383699848, 'portfolio_id': 26836300}, {'photo_id': 1383699846, 'portfolio_id': 26836300}, {'photo_id': 1383699844, 'portfolio_id': 26836300}, {'photo_id': 1383699842, 'portfolio_id': 26836300}, {'photo_id': 1383699840, 'portfolio_id': 26836300}, {'photo_id': 1383699825, 'portfolio_id': 26836300}, {'photo_id': 1383699823, 'portfolio_id': 26836300}, {'photo_id': 1383699796, 'portfolio_id': 26836300}, {'photo_id': 1383699795, 'portfolio_id': 26836300}, {'photo_id': 1383699794, 'portfolio_id': 26836300}, {'photo_id': 1383699792, 'portfolio_id': 26836300}, {'photo_id': 1383699789, 'portfolio_id': 26836300}, {'photo_id': 1383699787, 'portfolio_id': 26836300}, {'photo_id': 1383699784, 'portfolio_id': 26836300}, {'photo_id': 1383699783, 'portfolio_id': 26836300}, {'photo_id': 1383699782, 'portfolio_id': 26836300}, {'photo_id': 1383699781, 'portfolio_id': 26836300}, {'photo_id': 1383699768, 'portfolio_id': 26836300}, {'photo_id': 1383699765, 'portfolio_id': 26836300}, {'photo_id': 1383699763, 'portfolio_id': 26836300}, {'photo_id': 1383699761, 'portfolio_id': 26836300}, {'photo_id': 1383699744, 'portfolio_id': 26836300}] map_portfolio_id_photo_id: {26836300: [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942, 1383699936, 1383699934, 1383699929, 1383699926, 1383699923, 1383699921, 1383699920, 1383699919, 1383699909, 1383699908, 1383699907, 1383699906, 1383699891, 1383699888, 1383699887, 1383699885, 1383699880, 1383699878, 1383699875, 1383699874, 1383699873, 1383699872, 1383699859, 1383699857, 1383699855, 1383699853, 1383699848, 1383699846, 1383699844, 1383699842, 1383699840, 1383699825, 1383699823, 1383699796, 1383699795, 1383699794, 1383699792, 1383699789, 1383699787, 1383699784, 1383699783, 1383699782, 1383699781, 1383699768, 1383699765, 1383699763, 1383699761, 1383699744]} ##### 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.014374017715454102 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Mon Sep 15 06:00:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26836300) 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 : 26836300 get user id for portfolio 26836300 get sub ptf for main ptf 26836300, type 3726 and hashtags ['mal_croppe', 'autre_refus', 'Carton_gris', 'cartonnette', 'Teint_Dans_La_Masse', 'plastique', 'kraft', 'papier', 'Carton_brun', 'flou', 'environnement', 'metal'] 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`=26836300 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','Carton_gris','cartonnette','Teint_Dans_La_Masse','plastique','kraft','papier','Carton_brun','flou','environnement','metal')) 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`=26836300 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','Carton_gris','cartonnette','Teint_Dans_La_Masse','plastique','kraft','papier','Carton_brun','flou','environnement','metal')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 26836300, 'sub_port_id': 26836303, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090321, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'Carton_brun': {'main_port_id': 26836300, 'sub_port_id': 26836304, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090322, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'environnement': {'main_port_id': 26836300, 'sub_port_id': 26836305, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090323, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 26836300, 'sub_port_id': 26836306, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090324, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'plastique': {'main_port_id': 26836300, 'sub_port_id': 26836307, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090325, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'flou': {'main_port_id': 26836300, 'sub_port_id': 26836308, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090326, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'cartonnette': {'main_port_id': 26836300, 'sub_port_id': 26836309, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090327, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'papier': {'main_port_id': 26836300, 'sub_port_id': 26836310, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090328, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'mal_croppe': {'main_port_id': 26836300, 'sub_port_id': 26836311, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090329, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'metal': {'main_port_id': 26836300, 'sub_port_id': 26836312, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090330, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'autre_refus': {'main_port_id': 26836300, 'sub_port_id': 26836313, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090331, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}, 'Carton_gris': {'main_port_id': 26836300, 'sub_port_id': 26836314, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090332, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26836303 , 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=26836300 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 (26836303) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836304 , 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=26836300 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 (26836304) result : ((1383699800,), (1383699810,), (1383699811,), (1383699835,), (1383699868,), (1383699899,), (1383699901,), (1383699905,), (1383699931,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836305 , 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=26836300 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 (26836305) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836306 , 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=26836300 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 (26836306) result : ((1383699829,), (1383699830,), (1383699895,), (1383699896,), (1383699897,), (1383699928,), (1383699938,), (1383699957,), (1383699958,), (1383699959,), (1383699960,), (1383699961,), (1383699962,), (1383699963,), (1383699964,), (1383699965,), (1383699966,), (1383699967,), (1383699968,), (1383699969,), (1383699977,), (1383699978,), (1383699979,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836307 , 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=26836300 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 (26836307) result : ((1383699833,), (1383699941,), (1383699985,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836308 , 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=26836300 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 (26836308) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836309 , 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=26836300 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 (26836309) result : ((1383699832,), (1383699898,), (1383699904,), (1383699973,), (1383699974,), (1383699983,), (1383699984,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836310 , 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=26836300 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 (26836310) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836311 , 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=26836300 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 (26836311) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836312 , 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=26836300 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 (26836312) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836313 , 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=26836300 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 (26836313) result : ((1383699806,), (1383699807,), (1383699808,), (1383699809,), (1383699831,), (1383699834,), (1383699939,), (1383699970,), (1383699971,), (1383699972,), (1383699982,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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 26836314 , 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=26836300 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 (26836314) result : ((1383699930,), (1383699940,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26836300) result : ((1383699744,), (1383699761,), (1383699763,), (1383699765,), (1383699768,), (1383699781,), (1383699782,), (1383699783,), (1383699784,), (1383699787,), (1383699789,), (1383699792,), (1383699794,), (1383699795,), (1383699796,), (1383699823,), (1383699825,), (1383699840,), (1383699842,), (1383699844,), (1383699846,), (1383699848,), (1383699853,), (1383699855,), (1383699857,), (1383699859,), (1383699872,), (1383699873,), (1383699874,), (1383699875,), (1383699878,), (1383699880,), (1383699885,), (1383699887,), (1383699888,), (1383699891,), (1383699906,), (1383699907,), (1383699908,), (1383699909,), (1383699919,), (1383699920,), (1383699921,), (1383699923,), (1383699926,), (1383699929,), (1383699934,), (1383699936,), (1383699942,), (1383699943,), (1383699944,), (1383699945,), (1383699947,), (1383699975,), (1383699980,), (1383699986,), (1383699988,)) 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`=26836300 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','Carton_gris','cartonnette','Teint_Dans_La_Masse','plastique','kraft','papier','Carton_brun','flou','environnement','metal')) 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`=26836300 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','Carton_gris','cartonnette','Teint_Dans_La_Masse','plastique','kraft','papier','Carton_brun','flou','environnement','metal')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 26836300, 'sub_port_id': 26836315, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090333, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'Carton_brun': {'main_port_id': 26836300, 'sub_port_id': 26836316, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090334, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'environnement': {'main_port_id': 26836300, 'sub_port_id': 26836317, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090335, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26836300, 'sub_port_id': 26836318, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090336, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'plastique': {'main_port_id': 26836300, 'sub_port_id': 26836319, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090337, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'flou': {'main_port_id': 26836300, 'sub_port_id': 26836320, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090338, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'cartonnette': {'main_port_id': 26836300, 'sub_port_id': 26836321, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090339, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'papier': {'main_port_id': 26836300, 'sub_port_id': 26836322, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090340, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'mal_croppe': {'main_port_id': 26836300, 'sub_port_id': 26836323, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090341, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'metal': {'main_port_id': 26836300, 'sub_port_id': 26836324, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090342, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'autre_refus': {'main_port_id': 26836300, 'sub_port_id': 26836325, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090343, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}, 'Carton_gris': {'main_port_id': 26836300, 'sub_port_id': 26836326, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18090344, 'last_updated_at': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 15, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 15, 5, 50, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836315,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836303 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836316,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836304 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836317,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836305 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836318,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836306 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836319,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836307 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836320,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836308 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836321,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836309 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836322,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836310 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836323,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836311 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836324,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836312 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836325,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836313 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26836326,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26836314 lien utilise dans velours : https://marlene.fotonower.com/velours/26836315,26836316,26836317,26836318,26836319,26836320,26836321,26836322,26836323,26836324,26836325,26836326?tags=kraft,Carton_brun,environnement,Teint_Dans_La_Masse,plastique,flou,cartonnette,papier,mal_croppe,metal,autre_refus,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26836300]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] map_info['map_portfolio_photo'] : {26836300: [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942, 1383699936, 1383699934, 1383699929, 1383699926, 1383699923, 1383699921, 1383699920, 1383699919, 1383699909, 1383699908, 1383699907, 1383699906, 1383699891, 1383699888, 1383699887, 1383699885, 1383699880, 1383699878, 1383699875, 1383699874, 1383699873, 1383699872, 1383699859, 1383699857, 1383699855, 1383699853, 1383699848, 1383699846, 1383699844, 1383699842, 1383699840, 1383699825, 1383699823, 1383699796, 1383699795, 1383699794, 1383699792, 1383699789, 1383699787, 1383699784, 1383699783, 1383699782, 1383699781, 1383699768, 1383699765, 1383699763, 1383699761, 1383699744]} final : False mtd_id 4302 list_pids : [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] Looping around the photos to save general results len do output : 1 /26836300. 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, '3719836') ('4302', '26836300', '1383699988', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699986', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699980', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699975', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699947', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699945', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699944', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699943', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699942', None, None, None, None, None, '3719836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26836300', "{'kraft': 26836303, 'Carton_brun': 26836304, 'environnement': 26836305, 'Teint_Dans_La_Masse': 26836306, 'plastique': 26836307, 'flou': 26836308, 'cartonnette': 26836309, 'papier': 26836310, 'mal_croppe': 26836311, 'metal': 26836312, 'autre_refus': 26836313, 'Carton_gris': 26836314}", None, None, None, None, '3719836'), ('4302', '26836300', '1383699988', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699986', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699980', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699975', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699947', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699945', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699944', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699943', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699942', None, None, None, None, None, '3719836')] time used for this insertion : 0.020386695861816406 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.221572160720825 time spend to save output : 0.02070164680480957 total time spend for step 1 : 2.2422738075256348 step2:final Mon Sep 15 06:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26836300) 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 26836300 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1383699768,1383699744,1383699765,1383699763,1383699761,1383699789,1383699787,1383699784,1383699783,1383699782,1383699781,1383699796,1383699795,1383699794,1383699792,1383699825,1383699823,1383699848,1383699846,1383699844,1383699842,1383699840,1383699859,1383699857,1383699855,1383699853,1383699880,1383699878,1383699875,1383699874,1383699873,1383699872,1383699891,1383699888,1383699887,1383699885,1383699909,1383699936,1383699908,1383699934,1383699907,1383699929,1383699906,1383699926,1383699923,1383699921,1383699920,1383699919,1383699947,1383699945,1383699944,1383699943,1383699942,1383699988,1383699986,1383699980,1383699975); 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([26836300]) Inside saveOutput : final : False verbose : True original output for save of step final : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} new output for save of step final : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] map_info['map_portfolio_photo'] : {26836300: [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942, 1383699936, 1383699934, 1383699929, 1383699926, 1383699923, 1383699921, 1383699920, 1383699919, 1383699909, 1383699908, 1383699907, 1383699906, 1383699891, 1383699888, 1383699887, 1383699885, 1383699880, 1383699878, 1383699875, 1383699874, 1383699873, 1383699872, 1383699859, 1383699857, 1383699855, 1383699853, 1383699848, 1383699846, 1383699844, 1383699842, 1383699840, 1383699825, 1383699823, 1383699796, 1383699795, 1383699794, 1383699792, 1383699789, 1383699787, 1383699784, 1383699783, 1383699782, 1383699781, 1383699768, 1383699765, 1383699763, 1383699761, 1383699744]} final : False mtd_id 4302 list_pids : [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] Looping around the photos to save general results len do output : 9 /1383699988.Didn't retrieve data . /1383699986.Didn't retrieve data . /1383699980.Didn't retrieve data . /1383699975.Didn't retrieve data . /1383699947.Didn't retrieve data . /1383699945.Didn't retrieve data . /1383699944.Didn't retrieve data . /1383699943.Didn't retrieve data . /1383699942.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, '3719836') ('4302', '26836300', '1383699988', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699986', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699980', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699975', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699947', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699945', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699944', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699943', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699942', None, None, None, None, None, '3719836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26836300', '1383699988', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699986', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699980', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699975', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699947', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699945', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699944', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699943', '0.09990043122322392', None, None, None, None, '3719836'), ('4302', '26836300', '1383699942', '0.09990043122322392', None, None, None, None, '3719836')] time used for this insertion : 0.018091201782226562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07101297378540039 time spend to save output : 0.018658876419067383 total time spend for step 2 : 0.08967185020446777 step3:velours_tree Mon Sep 15 06:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26836300: [{'kraft': 26836303, 'Carton_brun': 26836304, 'environnement': 26836305, 'Teint_Dans_La_Masse': 26836306, 'plastique': 26836307, 'flou': 26836308, 'cartonnette': 26836309, 'papier': 26836310, 'mal_croppe': 26836311, 'metal': 26836312, 'autre_refus': 26836313, 'Carton_gris': 26836314}]} input_args_next_step : {26836300: ()} output_args : {26836300: [{'kraft': 26836303, 'Carton_brun': 26836304, 'environnement': 26836305, 'Teint_Dans_La_Masse': 26836306, 'plastique': 26836307, 'flou': 26836308, 'cartonnette': 26836309, 'papier': 26836310, 'mal_croppe': 26836311, 'metal': 26836312, 'autre_refus': 26836313, 'Carton_gris': 26836314}]} args : 26836300 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 : ({'kraft': 26836303, 'Carton_brun': 26836304, 'environnement': 26836305, 'Teint_Dans_La_Masse': 26836306, 'plastique': 26836307, 'flou': 26836308, 'cartonnette': 26836309, 'papier': 26836310, 'mal_croppe': 26836311, 'metal': 26836312, 'autre_refus': 26836313, 'Carton_gris': 26836314},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26836300) 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([26836300]) 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.2987401485443115 time spend to save output : 4.220008850097656e-05 total time spend for step 3 : 0.2987823486328125 step4:send_mail_cod Mon Sep 15 06:00:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} input_args_next_step : {1383699988: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699988 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699986 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699980 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699975 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699947 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699945 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699944 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699943 depend.output_id : 0 input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ()} output_args : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',)} args : 1383699942 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 : {26836300: [{'kraft': 26836303, 'Carton_brun': 26836304, 'environnement': 26836305, 'Teint_Dans_La_Masse': 26836306, 'plastique': 26836307, 'flou': 26836308, 'cartonnette': 26836309, 'papier': 26836310, 'mal_croppe': 26836311, 'metal': 26836312, 'autre_refus': 26836313, 'Carton_gris': 26836314}]} input_args_next_step : {1383699988: ('0.09990043122322392',), 1383699986: ('0.09990043122322392',), 1383699980: ('0.09990043122322392',), 1383699975: ('0.09990043122322392',), 1383699947: ('0.09990043122322392',), 1383699945: ('0.09990043122322392',), 1383699944: ('0.09990043122322392',), 1383699943: ('0.09990043122322392',), 1383699942: ('0.09990043122322392',), 26836300: ()} output_args : {26836300: [{'kraft': 26836303, 'Carton_brun': 26836304, 'environnement': 26836305, 'Teint_Dans_La_Masse': 26836306, 'plastique': 26836307, 'flou': 26836308, 'cartonnette': 26836309, 'papier': 26836310, 'mal_croppe': 26836311, 'metal': 26836312, 'autre_refus': 26836313, 'Carton_gris': 26836314}]} args : 26836300 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :10, first value : ('0.09990043122322392',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26836300) 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 (1383699988,1383699986,1383699980,1383699975,1383699947,1383699945,1383699944,1383699943,1383699942) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1383699942 begin to download photo : 1383699944 begin to download photo : 1383699947 begin to download photo : 1383699980 begin to download photo : 1383699988 download finish for photo 1383699942 begin to download photo : 1383699943 download finish for photo 1383699988 download finish for photo 1383699947 download finish for photo 1383699944 begin to download photo : 1383699975 begin to download photo : 1383699945 download finish for photo 1383699980 begin to download photo : 1383699986 download finish for photo 1383699943 download finish for photo 1383699986 download finish for photo 1383699975 download finish for photo 1383699945 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette268363031757908860/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P26836300_15-09-2025_06_01_00.pdf 26836303 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=26836303 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268363031757908860 26836307 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=26836307 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383699833: '1757908266_3950127_1383699795_c40b834dd3e5df10b60ddd693bc97598_rle_crop_3958205962_0.png', 1383699941: '1757908647_3968138_1383699909_317a4082342fa63f96fd29665456bed8_rle_crop_3958206429_0.png', 1383699985: '1757908767_3973320_1383699919_e84b3a35e0770d179d2f0d353841f6d2_rle_crop_3958206925_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/b54202ec9f60b75f824fad7f560cd090_84493413.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/ff6fe72d4588586f7ec41c65fe478728_36158284.png change filename to text .imagette268363071757908860/ imagette268363071757908860/1757908266_3950127_1383699795_c40b834dd3e5df10b60ddd693bc97598_rle_crop_3958205962_0.png.png imagette268363071757908860/1757908767_3973320_1383699919_e84b3a35e0770d179d2f0d353841f6d2_rle_crop_3958206925_0.png.png imagette268363071757908860/1757908647_3968138_1383699909_317a4082342fa63f96fd29665456bed8_rle_crop_3958206429_0.png.png imagette268363081757908860/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/f51a56f931cbfebfacbbbd23752b38d0_56997633.png imagette268363071757908860 26836308 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=26836308 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268363081757908860 26836309 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=26836309 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383699832: '1757908266_3950127_1383699794_cba35efafbf27228a4e945af8ae04467_rle_crop_3958205978_0.png', 1383699898: '1757908506_3961602_1383699857_e94206b99448432d9ebeb52ca6f3bd75_rle_crop_3958206215_0.png', 1383699904: '1757908526_3961999_1383699859_3544aa72ac6dca7ed03f3dc3ce13af84_rle_crop_3958206265_0.png', 1383699973: '1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206643_0.png', 1383699974: '1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206825_0.png', 1383699983: '1757908767_3973320_1383699921_a369936caac001b112763d58052940aa_rle_crop_3958206887_0.png', 1383699984: '1757908767_3973320_1383699919_e84b3a35e0770d179d2f0d353841f6d2_rle_crop_3958206922_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/8c6754d00d955b587b22119e2b3b27d8_46935074.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/b93272a6660a00770a7355a178ce1d1a_87353992.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/2c7616d2d2dc417d70ee41896f14eae9_8634726.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/b56f91d67e4122506cc1ef38175c4090_56796631.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/6acc222285bb1fc1b08248c4d6de273d_38572264.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/65b149dd19f7e0655ad37962a460daca_5038601.png change filename to text .imagette268363091757908860/ imagette268363091757908860/1757908767_3973320_1383699919_e84b3a35e0770d179d2f0d353841f6d2_rle_crop_3958206922_0.png.png imagette268363091757908860/1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206825_0.png.png imagette268363091757908860/1757908506_3961602_1383699857_e94206b99448432d9ebeb52ca6f3bd75_rle_crop_3958206215_0.png.png imagette268363091757908860/1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206643_0.png.png imagette268363091757908860/1757908767_3973320_1383699921_a369936caac001b112763d58052940aa_rle_crop_3958206887_0.png.png imagette268363091757908860/1757908526_3961999_1383699859_3544aa72ac6dca7ed03f3dc3ce13af84_rle_crop_3958206265_0.png.png imagette268363091757908860/1757908266_3950127_1383699794_cba35efafbf27228a4e945af8ae04467_rle_crop_3958205978_0.png.png imagette268363111757908860/ imagette268363121757908860/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/bf981e1d0fecdd597a1f0e903f4e6a48_60135214.png imagette268363091757908860 26836311 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=26836311 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268363111757908860 26836312 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=26836312 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268363121757908860 26836313 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=26836313 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383699806: '1757908167_3945219_1383699768_198d5854ab63c794d66d7e4b3203697e_rle_crop_3958205814_0.png', 1383699807: '1757908167_3945219_1383699768_198d5854ab63c794d66d7e4b3203697e_rle_crop_3958205815_0.png', 1383699808: '1757908167_3945219_1383699744_74eb7b054c5e885e0bc5664b31c3ec88_rle_crop_3958205828_0.png', 1383699809: '1757908167_3945219_1383699744_74eb7b054c5e885e0bc5664b31c3ec88_rle_crop_3958205829_0.png', 1383699831: '1757908266_3950127_1383699795_c40b834dd3e5df10b60ddd693bc97598_rle_crop_3958205960_0.png', 1383699834: '1757908287_3950710_1383699789_8873dc4e27a13616afb59ea73302cfd9_rle_crop_3958206043_0.png', 1383699939: '1757908647_3968138_1383699887_bdd4bce3c1b0395cdb83f12ccd304d84_rle_crop_3958206453_0.png', 1383699970: '1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206644_0.png', 1383699971: '1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206654_0.png', 1383699972: '1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206834_0.png', 1383699982: '1757908767_3973320_1383699919_e84b3a35e0770d179d2f0d353841f6d2_rle_crop_3958206919_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/07378fa4d7249bf6fa9734b05a81fc61_3372187.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/332d55c9e73d70192d9ca96f9e51180f_10487416.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/07378fa4d7249bf6fa9734b05a81fc61_28246809.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/332d55c9e73d70192d9ca96f9e51180f_49461684.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/7ca31cef20c2cc81713d812b4b2c77e0_41783788.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/6174743279a053d847b531b548fc44bf_28218765.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/52c65f160f9d953cc6a99e3b77649cdc_29867471.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/abdf79153dc217c776c8d6fb7a3bd409_7546816.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/5afd7c1a19db22a0687f26df745081e3_34606530.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/6bc418d72d4c1a36d439b1d849254f19_52153000.png change filename to text .imagette268363131757908860/ imagette268363131757908860/1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206834_0.png.png imagette268363131757908860/1757908167_3945219_1383699768_198d5854ab63c794d66d7e4b3203697e_rle_crop_3958205814_0.png.png imagette268363131757908860/1757908167_3945219_1383699768_198d5854ab63c794d66d7e4b3203697e_rle_crop_3958205815_0.png.png imagette268363131757908860/1757908767_3973320_1383699919_e84b3a35e0770d179d2f0d353841f6d2_rle_crop_3958206919_0.png.png imagette268363131757908860/1757908647_3968138_1383699887_bdd4bce3c1b0395cdb83f12ccd304d84_rle_crop_3958206453_0.png.png imagette268363131757908860/1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206644_0.png.png imagette268363131757908860/1757908287_3950710_1383699789_8873dc4e27a13616afb59ea73302cfd9_rle_crop_3958206043_0.png.png imagette268363131757908860/1757908167_3945219_1383699744_74eb7b054c5e885e0bc5664b31c3ec88_rle_crop_3958205829_0.png.png imagette268363131757908860/1757908266_3950127_1383699795_c40b834dd3e5df10b60ddd693bc97598_rle_crop_3958205960_0.png.png imagette268363131757908860/1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206654_0.png.png imagette268363131757908860/1757908167_3945219_1383699744_74eb7b054c5e885e0bc5664b31c3ec88_rle_crop_3958205828_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/7467c7a8b1b5b8b973297792c4fbb973_44245861.png imagette268363131757908860 26836304 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=26836304 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383699800: '1757908145_3944789_1383699761_54554811ceaab0d05f47c9a136bf81e5_rle_crop_3958205762_0.png', 1383699810: '1757908167_3945219_1383699768_198d5854ab63c794d66d7e4b3203697e_rle_crop_3958205816_0.png', 1383699811: '1757908167_3945219_1383699744_74eb7b054c5e885e0bc5664b31c3ec88_rle_crop_3958205830_0.png', 1383699835: '1757908287_3950710_1383699789_8873dc4e27a13616afb59ea73302cfd9_rle_crop_3958206041_0.png', 1383699868: '1757908406_3956717_1383699840_51b9327a7e6e7a972431fbd83c861371_rle_crop_3958206147_0.png', 1383699899: '1757908506_3961602_1383699857_e94206b99448432d9ebeb52ca6f3bd75_rle_crop_3958206217_0.png', 1383699901: '1757908506_3961602_1383699855_08fda7fcae65c01cb22850f910abd707_rle_crop_3958206226_0.png', 1383699905: '1757908526_3961999_1383699859_3544aa72ac6dca7ed03f3dc3ce13af84_rle_crop_3958206266_0.png', 1383699931: '1757908625_3967733_1383699908_74538118d4b764a4a4f8e22d508712d4_rle_crop_3958206317_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/1597a4b6d6d7b8a81a4ce5c859e3a350_63542200.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/af1fb6d8dd2aa62b961d681fd6ac447f_97300796.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/af1fb6d8dd2aa62b961d681fd6ac447f_22956389.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/666771e6014357e3c3b496108e1b3efe_90823386.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/5627c34600b36e6e00229b80c3901b6a_63439841.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/f1f337ac0d97e638bfa866a4f6e49960_73658395.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/2bd6a022f0857de4423535757e22b260_60789867.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/6e49a8141b0e3e449c2939b45646b6af_55217293.png change filename to text .imagette268363041757908861/ imagette268363041757908861/1757908167_3945219_1383699768_198d5854ab63c794d66d7e4b3203697e_rle_crop_3958205816_0.png.png imagette268363041757908861/1757908145_3944789_1383699761_54554811ceaab0d05f47c9a136bf81e5_rle_crop_3958205762_0.png.png imagette268363041757908861/1757908506_3961602_1383699855_08fda7fcae65c01cb22850f910abd707_rle_crop_3958206226_0.png.png imagette268363041757908861/1757908506_3961602_1383699857_e94206b99448432d9ebeb52ca6f3bd75_rle_crop_3958206217_0.png.png imagette268363041757908861/1757908526_3961999_1383699859_3544aa72ac6dca7ed03f3dc3ce13af84_rle_crop_3958206266_0.png.png imagette268363041757908861/1757908406_3956717_1383699840_51b9327a7e6e7a972431fbd83c861371_rle_crop_3958206147_0.png.png imagette268363041757908861/1757908287_3950710_1383699789_8873dc4e27a13616afb59ea73302cfd9_rle_crop_3958206041_0.png.png imagette268363041757908861/1757908167_3945219_1383699744_74eb7b054c5e885e0bc5664b31c3ec88_rle_crop_3958205830_0.png.png imagette268363041757908861/1757908625_3967733_1383699908_74538118d4b764a4a4f8e22d508712d4_rle_crop_3958206317_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/3a6f4422373f18386669993435fcfd7d_21538545.png imagette268363041757908861 26836306 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=26836306 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383699961: '1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206661_0.png', 1383699979: '1757908767_3973320_1383699947_87c7531d1be5929008a00c6f57c9ab1f_rle_crop_3958206869_0.png', 1383699978: '1757908767_3973320_1383699947_87c7531d1be5929008a00c6f57c9ab1f_rle_crop_3958206865_0.png', 1383699977: '1757908767_3973320_1383699947_87c7531d1be5929008a00c6f57c9ab1f_rle_crop_3958206880_0.png', 1383699969: '1757908747_3972984_1383699942_ad614f09c1c9d63d7c3018ad144ed79a_rle_crop_3958206852_0.png', 1383699968: '1757908747_3972984_1383699942_ad614f09c1c9d63d7c3018ad144ed79a_rle_crop_3958206853_0.png', 1383699967: '1757908747_3972984_1383699942_ad614f09c1c9d63d7c3018ad144ed79a_rle_crop_3958206855_0.png', 1383699966: '1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206838_0.png', 1383699965: '1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206841_0.png', 1383699964: '1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206842_0.png', 1383699963: '1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206835_0.png', 1383699962: '1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206658_0.png', 1383699829: '1757908266_3950127_1383699795_c40b834dd3e5df10b60ddd693bc97598_rle_crop_3958205964_0.png', 1383699960: '1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206660_0.png', 1383699959: '1757908747_3972984_1383699945_b16914f60391f7094e26fd4d7b2b7d59_rle_crop_3958206631_0.png', 1383699958: '1757908747_3972984_1383699945_b16914f60391f7094e26fd4d7b2b7d59_rle_crop_3958206638_0.png', 1383699957: '1757908747_3972984_1383699945_b16914f60391f7094e26fd4d7b2b7d59_rle_crop_3958206630_0.png', 1383699938: '1757908647_3968138_1383699909_317a4082342fa63f96fd29665456bed8_rle_crop_3958206425_0.png', 1383699928: '1757908625_3967733_1383699908_74538118d4b764a4a4f8e22d508712d4_rle_crop_3958206325_0.png', 1383699897: '1757908506_3961602_1383699853_f31e4f3f778ba321fd085287f82802d7_rle_crop_3958206240_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/039ff431c521209ee880dfd73b53e054_13808899.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/70f37450b0dcdc4cf461edd7fbbb2769_68485137.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/2d7ae9f23b4fc05342cd104187d9038d_14270320.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/884a2b99e3c4a30fb66cd148dacb7eca_3223222.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/06335ac943cea2b877b0d3249ee15a0b_49810267.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/884bfba50c66a01bb04ac2538eb7967e_83701549.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/663fba29192a3a673a556adfacc53567_11687451.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/966a8a23ad2094cbdde33c2a2447e008_48619244.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/5a06fbe0e2fde47d52f9dba74cbe7af0_5128450.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/dd9ec2e1b5e9a62e6e5ba64919d671b7_11001085.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/e355fc3f0da9ef56dfead397be56d55f_30464112.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/7fb924ad2b1757add680c96f2e20f793_46059669.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/69ce625620a21f0589d74dc7a7a28545_70275159.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/3dea8923395261000ec09dc7cadb1bf1_25689611.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/10921ac9b2495ea701a2b7356985ef46_70170258.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/0577ebcb90ef67a90047430b397c7822_38147914.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/3285f7bb073ece49a392a2bd5b47c1dc_20784006.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/3a7c4ff01ba8f6f785c688aefb6f3add_8398466.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/49017aed3d0b061d781cd603371ff278_59480198.png change filename to text .imagette268363061757908862/ imagette268363061757908862/1757908747_3972984_1383699942_ad614f09c1c9d63d7c3018ad144ed79a_rle_crop_3958206855_0.png.png imagette268363061757908862/1757908767_3973320_1383699947_87c7531d1be5929008a00c6f57c9ab1f_rle_crop_3958206865_0.png.png imagette268363061757908862/1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206841_0.png.png imagette268363061757908862/1757908747_3972984_1383699945_b16914f60391f7094e26fd4d7b2b7d59_rle_crop_3958206630_0.png.png imagette268363061757908862/1757908747_3972984_1383699942_ad614f09c1c9d63d7c3018ad144ed79a_rle_crop_3958206852_0.png.png imagette268363061757908862/1757908625_3967733_1383699908_74538118d4b764a4a4f8e22d508712d4_rle_crop_3958206325_0.png.png imagette268363061757908862/1757908647_3968138_1383699909_317a4082342fa63f96fd29665456bed8_rle_crop_3958206425_0.png.png imagette268363061757908862/1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206661_0.png.png imagette268363061757908862/1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206660_0.png.png imagette268363061757908862/1757908767_3973320_1383699947_87c7531d1be5929008a00c6f57c9ab1f_rle_crop_3958206880_0.png.png imagette268363061757908862/1757908747_3972984_1383699942_ad614f09c1c9d63d7c3018ad144ed79a_rle_crop_3958206853_0.png.png imagette268363061757908862/1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206838_0.png.png imagette268363061757908862/1757908747_3972984_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956_rle_crop_3958206658_0.png.png imagette268363061757908862/1757908767_3973320_1383699947_87c7531d1be5929008a00c6f57c9ab1f_rle_crop_3958206869_0.png.png imagette268363061757908862/1757908747_3972984_1383699945_b16914f60391f7094e26fd4d7b2b7d59_rle_crop_3958206638_0.png.png imagette268363061757908862/1757908266_3950127_1383699795_c40b834dd3e5df10b60ddd693bc97598_rle_crop_3958205964_0.png.png imagette268363061757908862/1757908747_3972984_1383699945_b16914f60391f7094e26fd4d7b2b7d59_rle_crop_3958206631_0.png.png imagette268363061757908862/1757908506_3961602_1383699853_f31e4f3f778ba321fd085287f82802d7_rle_crop_3958206240_0.png.png imagette268363061757908862/1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206835_0.png.png imagette268363061757908862/1757908747_3972984_1383699943_a0a825940da9a27c99cba90e3ae7cb9a_rle_crop_3958206842_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/88da6180f3cb691604e4aa66fd6f679a_29801106.png imagette268363061757908862 26836314 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=26836314 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383699930: '1757908625_3967733_1383699908_74538118d4b764a4a4f8e22d508712d4_rle_crop_3958206324_0.png', 1383699940: '1757908647_3968138_1383699909_317a4082342fa63f96fd29665456bed8_rle_crop_3958206422_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/51a4766f505a6177098909df16f7b583_41450912.png change filename to text .imagette268363141757908863/ imagette268363141757908863/1757908647_3968138_1383699909_317a4082342fa63f96fd29665456bed8_rle_crop_3958206422_0.png.png imagette268363141757908863/1757908625_3967733_1383699908_74538118d4b764a4a4f8e22d508712d4_rle_crop_3958206324_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/15/fdcabe0001dfdd4f8c50cfb8bdce1063_74676636.png imagette268363141757908863 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26836300 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26836315,26836316,26836317,26836318,26836319,26836320,26836321,26836322,26836323,26836324,26836325,26836326?tags=kraft,Carton_brun,environnement,Teint_Dans_La_Masse,plastique,flou,cartonnette,papier,mal_croppe,metal,autre_refus,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1383699988] : ('0.09990043122322392',) no score found for photo 1383699988 We are sending mail with results at report@fotonower.com args[1383699986] : ('0.09990043122322392',) no score found for photo 1383699986 We are sending mail with results at report@fotonower.com args[1383699980] : ('0.09990043122322392',) no score found for photo 1383699980 We are sending mail with results at report@fotonower.com args[1383699975] : ('0.09990043122322392',) no score found for photo 1383699975 We are sending mail with results at report@fotonower.com args[1383699947] : ('0.09990043122322392',) no score found for photo 1383699947 We are sending mail with results at report@fotonower.com args[1383699945] : ('0.09990043122322392',) no score found for photo 1383699945 We are sending mail with results at report@fotonower.com args[1383699944] : ('0.09990043122322392',) no score found for photo 1383699944 We are sending mail with results at report@fotonower.com args[1383699943] : ('0.09990043122322392',) no score found for photo 1383699943 We are sending mail with results at report@fotonower.com args[1383699942] : ('0.09990043122322392',) no score found for photo 1383699942 We are sending mail with results at report@fotonower.com refus_total : 0.09990043122322392 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=26836300 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_P26836300_15-09-2025_06_01_00.pdf results_Auto_P26836300_15-09-2025_06_01_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26836300_15-09-2025_06_01_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26836300','results_Auto_P26836300_15-09-2025_06_01_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26836300_15-09-2025_06_01_00.pdf','pdf','','0.28','0.09990043122322392') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26836300]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] map_info['map_portfolio_photo'] : {26836300: [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942, 1383699936, 1383699934, 1383699929, 1383699926, 1383699923, 1383699921, 1383699920, 1383699919, 1383699909, 1383699908, 1383699907, 1383699906, 1383699891, 1383699888, 1383699887, 1383699885, 1383699880, 1383699878, 1383699875, 1383699874, 1383699873, 1383699872, 1383699859, 1383699857, 1383699855, 1383699853, 1383699848, 1383699846, 1383699844, 1383699842, 1383699840, 1383699825, 1383699823, 1383699796, 1383699795, 1383699794, 1383699792, 1383699789, 1383699787, 1383699784, 1383699783, 1383699782, 1383699781, 1383699768, 1383699765, 1383699763, 1383699761, 1383699744]} final : False mtd_id 4302 list_pids : [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] 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, '3719836') ('4302', '26836300', '1383699988', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699986', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699980', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699975', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699947', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699945', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699944', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699943', None, None, None, None, None, '3719836') ('4302', None, None, None, None, None, None, None, '3719836') ('4302', '26836300', '1383699942', None, None, None, None, None, '3719836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26836300', '1383699988', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699986', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699980', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699975', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699947', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699945', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699944', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699943', None, None, None, None, None, '3719836'), ('4302', '26836300', '1383699942', None, None, None, None, None, '3719836')] time used for this insertion : 0.2473132610321045 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.058973073959351 time spend to save output : 0.2475430965423584 total time spend for step 4 : 5.306516170501709 step5:split_time_score Mon Sep 15 06:01:05 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 : ['26836300'] 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 : [('26836300',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26836300) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1383699988: {'path': 'temp/1757908859_2723358_1383699988_e911b07de3f4b88f4ee999df89f886de.jpg', 'extension': 'jpg'}, 1383699942: {'path': 'temp/1757908859_2723358_1383699942_ad614f09c1c9d63d7c3018ad144ed79a.jpg', 'extension': 'jpg'}, 1383699943: {'path': 'temp/1757908859_2723358_1383699943_a0a825940da9a27c99cba90e3ae7cb9a.jpg', 'extension': 'jpg'}, 1383699980: {'path': 'temp/1757908859_2723358_1383699980_2f03d9455141fe9261a7154d2cb4d5d0.jpg', 'extension': 'jpg'}, 1383699986: {'path': 'temp/1757908859_2723358_1383699986_c6638da95ba5cab526f1637e06d457e2.jpg', 'extension': 'jpg'}, 1383699947: {'path': 'temp/1757908859_2723358_1383699947_87c7531d1be5929008a00c6f57c9ab1f.jpg', 'extension': 'jpg'}, 1383699975: {'path': 'temp/1757908859_2723358_1383699975_eb1df34166a867b4b69e7feb9225a61a.jpg', 'extension': 'jpg'}, 1383699944: {'path': 'temp/1757908859_2723358_1383699944_09a9c1f8c1b960df7dbd2eb0f638b956.jpg', 'extension': 'jpg'}, 1383699945: {'path': 'temp/1757908859_2723358_1383699945_b16914f60391f7094e26fd4d7b2b7d59.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 = 26836300; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',)) dashboard list : (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',)) can't retrive data from the dashboard with the suffix, please check suffix After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26836300]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] map_info['map_portfolio_photo'] : {26836300: [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942, 1383699936, 1383699934, 1383699929, 1383699926, 1383699923, 1383699921, 1383699920, 1383699919, 1383699909, 1383699908, 1383699907, 1383699906, 1383699891, 1383699888, 1383699887, 1383699885, 1383699880, 1383699878, 1383699875, 1383699874, 1383699873, 1383699872, 1383699859, 1383699857, 1383699855, 1383699853, 1383699848, 1383699846, 1383699844, 1383699842, 1383699840, 1383699825, 1383699823, 1383699796, 1383699795, 1383699794, 1383699792, 1383699789, 1383699787, 1383699784, 1383699783, 1383699782, 1383699781, 1383699768, 1383699765, 1383699763, 1383699761, 1383699744]} final : True mtd_id 4302 list_pids : [1383699988, 1383699986, 1383699980, 1383699975, 1383699947, 1383699945, 1383699944, 1383699943, 1383699942] Looping around the photos to save general results object of type 'int' has no len() begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26836300', '1383699988', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699986', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699980', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699975', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699947', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699945', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699944', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699943', '0', '0', '-1.0', '501120777', '1.0', '3719836'), ('4302', '26836300', '1383699942', '0', '0', '-1.0', '501120777', '1.0', '3719836')] time used for this insertion : 0.3866703510284424 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.025043964385986328 time spend to save output : 0.38685083389282227 total time spend for step 5 : 0.4118947982788086 UPDATE MTRPhoto.mtr_datou_current SET state=-11, hostname='marlene' WHERE id in (3719836) 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 (3719836) 2.09user 2.38system 0:11.05elapsed 40%CPU (0avgtext+0avgdata 163568maxresident)k 64inputs+14144outputs (2major+64979minor)pagefaults 0swaps