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 : 2127112 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 (2758650) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2758650) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394050 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2758650'] with mtr_portfolio_ids : ['22394050'] and first list_photo_ids : [] new path : /proc/2127112/ Name: python3 Umask: 0002 State: R (running) Tgid: 2127112 Ngid: 0 Pid: 2127112 PPid: 2127111 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2127112 NSpid: 2127112 NSpgid: 2122884 NSsid: 2122884 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97636 kB VmRSS: 97636 kB RssAnon: 59804 kB RssFile: 37832 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 57 nonvoluntary_ctxt_switches: 145 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2127112', 'Ngid': '0', 'Pid': '2127112', 'PPid': '2127111', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2127112', 'NSpid': '2127112', 'NSpgid': '2122884', 'NSsid': '2122884', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97636 kB', 'VmRSS': '97636 kB', 'RssAnon': '59804 kB', 'RssFile': '37832 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '57', 'nonvoluntary_ctxt_switches': '145'} ('datou_batch_current', '2127112', '1106848', '0', '1106848', '865596', '97636', b'', 'marlene', '2758650') 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 (22394050) 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 (2758650 ) ) 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 (22394050) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353438459, 'portfolio_id': 22394050}, {'photo_id': 1353438338, 'portfolio_id': 22394050}, {'photo_id': 1353438306, 'portfolio_id': 22394050}, {'photo_id': 1353438301, 'portfolio_id': 22394050}, {'photo_id': 1353438213, 'portfolio_id': 22394050}, {'photo_id': 1353438196, 'portfolio_id': 22394050}, {'photo_id': 1353438191, 'portfolio_id': 22394050}, {'photo_id': 1353438181, 'portfolio_id': 22394050}, {'photo_id': 1353438152, 'portfolio_id': 22394050}, {'photo_id': 1353438136, 'portfolio_id': 22394050}, {'photo_id': 1353438099, 'portfolio_id': 22394050}, {'photo_id': 1353438091, 'portfolio_id': 22394050}, {'photo_id': 1353438087, 'portfolio_id': 22394050}, {'photo_id': 1353438083, 'portfolio_id': 22394050}, {'photo_id': 1353438081, 'portfolio_id': 22394050}, {'photo_id': 1353438055, 'portfolio_id': 22394050}, {'photo_id': 1353438051, 'portfolio_id': 22394050}, {'photo_id': 1353438045, 'portfolio_id': 22394050}, {'photo_id': 1353438042, 'portfolio_id': 22394050}, {'photo_id': 1353438038, 'portfolio_id': 22394050}, {'photo_id': 1353438036, 'portfolio_id': 22394050}, {'photo_id': 1353438011, 'portfolio_id': 22394050}, {'photo_id': 1353438006, 'portfolio_id': 22394050}, {'photo_id': 1353438003, 'portfolio_id': 22394050}, {'photo_id': 1353438002, 'portfolio_id': 22394050}, {'photo_id': 1353437998, 'portfolio_id': 22394050}, {'photo_id': 1353437963, 'portfolio_id': 22394050}, {'photo_id': 1353437959, 'portfolio_id': 22394050}, {'photo_id': 1353437956, 'portfolio_id': 22394050}, {'photo_id': 1353437953, 'portfolio_id': 22394050}, {'photo_id': 1353437948, 'portfolio_id': 22394050}, {'photo_id': 1353437920, 'portfolio_id': 22394050}, {'photo_id': 1353437916, 'portfolio_id': 22394050}, {'photo_id': 1353437912, 'portfolio_id': 22394050}, {'photo_id': 1353437908, 'portfolio_id': 22394050}, {'photo_id': 1353437905, 'portfolio_id': 22394050}, {'photo_id': 1353437890, 'portfolio_id': 22394050}, {'photo_id': 1353437848, 'portfolio_id': 22394050}, {'photo_id': 1353437843, 'portfolio_id': 22394050}, {'photo_id': 1353437835, 'portfolio_id': 22394050}, {'photo_id': 1353437830, 'portfolio_id': 22394050}, {'photo_id': 1353437793, 'portfolio_id': 22394050}, {'photo_id': 1353437788, 'portfolio_id': 22394050}, {'photo_id': 1353437782, 'portfolio_id': 22394050}, {'photo_id': 1353437779, 'portfolio_id': 22394050}, {'photo_id': 1353437776, 'portfolio_id': 22394050}, {'photo_id': 1353437770, 'portfolio_id': 22394050}, {'photo_id': 1353437731, 'portfolio_id': 22394050}, {'photo_id': 1353437728, 'portfolio_id': 22394050}, {'photo_id': 1353437725, 'portfolio_id': 22394050}, {'photo_id': 1353437722, 'portfolio_id': 22394050}, {'photo_id': 1353437720, 'portfolio_id': 22394050}, {'photo_id': 1353437687, 'portfolio_id': 22394050}, {'photo_id': 1353437684, 'portfolio_id': 22394050}, {'photo_id': 1353437681, 'portfolio_id': 22394050}, {'photo_id': 1353437677, 'portfolio_id': 22394050}, {'photo_id': 1353437542, 'portfolio_id': 22394050}, {'photo_id': 1353437538, 'portfolio_id': 22394050}, {'photo_id': 1353437534, 'portfolio_id': 22394050}, {'photo_id': 1353437530, 'portfolio_id': 22394050}, {'photo_id': 1353437526, 'portfolio_id': 22394050}, {'photo_id': 1353437509, 'portfolio_id': 22394050}, {'photo_id': 1353437383, 'portfolio_id': 22394050}, {'photo_id': 1353437379, 'portfolio_id': 22394050}, {'photo_id': 1353437376, 'portfolio_id': 22394050}, {'photo_id': 1353437373, 'portfolio_id': 22394050}, {'photo_id': 1353437371, 'portfolio_id': 22394050}, {'photo_id': 1353437250, 'portfolio_id': 22394050}, {'photo_id': 1353437222, 'portfolio_id': 22394050}, {'photo_id': 1353437192, 'portfolio_id': 22394050}, {'photo_id': 1353437163, 'portfolio_id': 22394050}, {'photo_id': 1353437155, 'portfolio_id': 22394050}, {'photo_id': 1353437073, 'portfolio_id': 22394050}, {'photo_id': 1353437068, 'portfolio_id': 22394050}, {'photo_id': 1353437064, 'portfolio_id': 22394050}] map_portfolio_id_photo_id: {22394050: [1353438459, 1353438338, 1353438306, 1353438301, 1353438213, 1353438196, 1353438191, 1353438181, 1353438152, 1353438136, 1353438099, 1353438091, 1353438087, 1353438083, 1353438081, 1353438055, 1353438051, 1353438045, 1353438042, 1353438038, 1353438036, 1353438011, 1353438006, 1353438003, 1353438002, 1353437998, 1353437963, 1353437959, 1353437956, 1353437953, 1353437948, 1353437920, 1353437916, 1353437912, 1353437908, 1353437905, 1353437890, 1353437848, 1353437843, 1353437835, 1353437830, 1353437793, 1353437788, 1353437782, 1353437779, 1353437776, 1353437770, 1353437731, 1353437728, 1353437725, 1353437722, 1353437720, 1353437687, 1353437684, 1353437681, 1353437677, 1353437542, 1353437538, 1353437534, 1353437530, 1353437526, 1353437509, 1353437383, 1353437379, 1353437376, 1353437373, 1353437371, 1353437250, 1353437222, 1353437192, 1353437163, 1353437155, 1353437073, 1353437068, 1353437064]} ##### 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.01639080047607422 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Apr 24 19:34: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 (22394050) 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 : 22394050 get user id for portfolio 22394050 get sub ptf for main ptf 22394050, type 3726 and hashtags ['autre_refus', 'mal_croppe', 'Carton_gris', 'kraft', 'papier', 'plastique', 'cartonnette', 'metal', 'Teint_Dans_La_Masse', 'environnement', 'flou', 'Carton_brun'] 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`=22394050 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','mal_croppe','Carton_gris','kraft','papier','plastique','cartonnette','metal','Teint_Dans_La_Masse','environnement','flou','Carton_brun')) 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`=22394050 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','mal_croppe','Carton_gris','kraft','papier','plastique','cartonnette','metal','Teint_Dans_La_Masse','environnement','flou','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22394050, 'sub_port_id': 22394075, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844031, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'Carton_gris': {'main_port_id': 22394050, 'sub_port_id': 22394076, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844032, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'Carton_brun': {'main_port_id': 22394050, 'sub_port_id': 22394077, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844033, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'autre_refus': {'main_port_id': 22394050, 'sub_port_id': 22394078, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844034, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'kraft': {'main_port_id': 22394050, 'sub_port_id': 22394079, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844035, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'mal_croppe': {'main_port_id': 22394050, 'sub_port_id': 22394080, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844036, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'flou': {'main_port_id': 22394050, 'sub_port_id': 22394081, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844037, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'cartonnette': {'main_port_id': 22394050, 'sub_port_id': 22394082, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844038, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'environnement': {'main_port_id': 22394050, 'sub_port_id': 22394083, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844039, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'papier': {'main_port_id': 22394050, 'sub_port_id': 22394084, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844040, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22394050, 'sub_port_id': 22394085, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844041, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}, 'metal': {'main_port_id': 22394050, 'sub_port_id': 22394086, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844042, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 18, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22394075 , 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=22394050 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 (22394075) result : ((1353437937,), (1353438072,), (1353438073,), (1353438140,), (1353438141,), (1353438142,), (1353438297,), (1353438337,), (1353438339,), (1353438578,), (1353438579,), (1353438580,), (1353438581,), (1353438606,), (1353438607,), (1353438608,), (1353438633,), (1353439140,), (1353439142,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394076 , 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=22394050 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 (22394076) result : ((1353437791,), (1353437876,), (1353437877,), (1353437878,), (1353437879,), (1353437979,), (1353438067,), (1353438068,), (1353438069,), (1353438303,), (1353438304,), (1353438305,), (1353438573,), (1353438625,), (1353439079,), (1353439081,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394077 , 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=22394050 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 (22394077) result : ((1353437795,), (1353437881,), (1353437882,), (1353437903,), (1353437904,), (1353437935,), (1353437936,), (1353438018,), (1353438070,), (1353438137,), (1353438292,), (1353438293,), (1353438294,), (1353438295,), (1353438296,), (1353438327,), (1353438329,), (1353438331,), (1353438333,), (1353438574,), (1353438575,), (1353438627,), (1353438628,), (1353438629,), (1353438630,), (1353438631,), (1353439111,), (1353439113,), (1353439115,), (1353439117,), (1353439119,), (1353439121,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394078 , 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=22394050 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 (22394078) result : ((1353437901,), (1353437932,), (1353438127,), (1353438128,), (1353438129,), (1353438288,), (1353438289,), (1353438570,), (1353438571,), (1353438572,), (1353438605,), (1353438624,), (1353439071,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394079 , 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=22394050 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 (22394079) result : ((1353438298,), (1353438582,), (1353439152,), (1353439154,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394080 , 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=22394050 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 (22394080) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394081 , 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=22394050 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 (22394081) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394082 , 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=22394050 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 (22394082) result : ((1353437607,), (1353437902,), (1353437934,), (1353437981,), (1353437982,), (1353438130,), (1353438131,), (1353438132,), (1353438133,), (1353438312,), (1353438314,), (1353439092,), (1353439094,), (1353439096,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394083 , 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=22394050 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 (22394083) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394084 , 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=22394050 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 (22394084) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394085 , 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=22394050 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 (22394085) result : ((1353437595,), (1353437597,), (1353437599,), (1353437790,), (1353437871,), (1353437872,), (1353437873,), (1353437874,), (1353437896,), (1353437897,), (1353437898,), (1353437899,), (1353437928,), (1353437977,), (1353438118,), (1353438119,), (1353438120,), (1353438121,), (1353438122,), (1353438123,), (1353438124,), (1353438125,), (1353438284,), (1353438285,), (1353438286,), (1353438287,), (1353438565,), (1353438566,), (1353438603,), (1353438623,), (1353439061,), (1353439062,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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 22394086 , 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=22394050 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 (22394086) result : ((1353437938,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394050) result : ((1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,)) 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`=22394050 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','mal_croppe','Carton_gris','kraft','papier','plastique','cartonnette','metal','Teint_Dans_La_Masse','environnement','flou','Carton_brun')) 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`=22394050 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','mal_croppe','Carton_gris','kraft','papier','plastique','cartonnette','metal','Teint_Dans_La_Masse','environnement','flou','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22394050, 'sub_port_id': 22394087, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844043, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'Carton_gris': {'main_port_id': 22394050, 'sub_port_id': 22394088, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844044, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'Carton_brun': {'main_port_id': 22394050, 'sub_port_id': 22394089, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844045, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'autre_refus': {'main_port_id': 22394050, 'sub_port_id': 22394090, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844046, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'kraft': {'main_port_id': 22394050, 'sub_port_id': 22394091, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844047, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'mal_croppe': {'main_port_id': 22394050, 'sub_port_id': 22394092, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844048, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'flou': {'main_port_id': 22394050, 'sub_port_id': 22394093, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844049, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'cartonnette': {'main_port_id': 22394050, 'sub_port_id': 22394094, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844050, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'environnement': {'main_port_id': 22394050, 'sub_port_id': 22394095, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844051, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'papier': {'main_port_id': 22394050, 'sub_port_id': 22394096, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844052, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'Teint_Dans_La_Masse': {'main_port_id': 22394050, 'sub_port_id': 22394097, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844053, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 19), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}, 'metal': {'main_port_id': 22394050, 'sub_port_id': 22394098, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844054, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 30, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 19)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394087,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394075 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394088,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394076 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394089,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394077 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394090,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394078 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394091,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394079 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394092,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394080 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394093,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394081 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394094,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394082 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394095,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394083 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394096,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394084 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394097,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394085 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394098,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394086 lien utilise dans velours : https://www.fotonower.com/velours/22394087,22394088,22394089,22394090,22394091,22394092,22394093,22394094,22394095,22394096,22394097,22394098?tags=plastique,Carton_gris,Carton_brun,autre_refus,kraft,mal_croppe,flou,cartonnette,environnement,papier,Teint_Dans_La_Masse,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22394050]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353438459] map_info['map_portfolio_photo'] : {22394050: [1353438459, 1353438338, 1353438306, 1353438301, 1353438213, 1353438196, 1353438191, 1353438181, 1353438152, 1353438136, 1353438099, 1353438091, 1353438087, 1353438083, 1353438081, 1353438055, 1353438051, 1353438045, 1353438042, 1353438038, 1353438036, 1353438011, 1353438006, 1353438003, 1353438002, 1353437998, 1353437963, 1353437959, 1353437956, 1353437953, 1353437948, 1353437920, 1353437916, 1353437912, 1353437908, 1353437905, 1353437890, 1353437848, 1353437843, 1353437835, 1353437830, 1353437793, 1353437788, 1353437782, 1353437779, 1353437776, 1353437770, 1353437731, 1353437728, 1353437725, 1353437722, 1353437720, 1353437687, 1353437684, 1353437681, 1353437677, 1353437542, 1353437538, 1353437534, 1353437530, 1353437526, 1353437509, 1353437383, 1353437379, 1353437376, 1353437373, 1353437371, 1353437250, 1353437222, 1353437192, 1353437163, 1353437155, 1353437073, 1353437068, 1353437064]} final : False mtd_id 4302 list_pids : [1353438459] Looping around the photos to save general results len do output : 1 /22394050. 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, '2758650') ('4302', '22394050', '1353438459', None, None, None, None, None, '2758650') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '22394050', "{'plastique': 22394075, 'Carton_gris': 22394076, 'Carton_brun': 22394077, 'autre_refus': 22394078, 'kraft': 22394079, 'mal_croppe': 22394080, 'flou': 22394081, 'cartonnette': 22394082, 'environnement': 22394083, 'papier': 22394084, 'Teint_Dans_La_Masse': 22394085, 'metal': 22394086}", None, None, None, None, '2758650'), ('4302', '22394050', '1353438459', None, None, None, None, None, '2758650')] time used for this insertion : 0.013375282287597656 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.534243106842041 time spend to save output : 0.013608932495117188 total time spend for step 1 : 1.5478520393371582 step2:final Thu Apr 24 19:34: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 (22394050) 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 22394050 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353437073,1353437068,1353437064,1353437250,1353437222,1353437192,1353437163,1353437155,1353437383,1353437379,1353437376,1353437373,1353437371,1353437542,1353437538,1353437534,1353437530,1353437526,1353437509,1353437687,1353437684,1353437681,1353437677,1353437731,1353437728,1353437725,1353437722,1353437720,1353437793,1353437788,1353437782,1353437779,1353437776,1353437770,1353437848,1353437843,1353437835,1353437830,1353437920,1353437916,1353437912,1353437908,1353437905,1353437890,1353437963,1353437959,1353437956,1353437953,1353437948,1353438011,1353438006,1353438003,1353438002,1353437998,1353438055,1353438051,1353438045,1353438042,1353438038,1353438036,1353438099,1353438091,1353438087,1353438083,1353438081,1353438213,1353438196,1353438191,1353438181,1353438152,1353438136,1353438338,1353438306,1353438301,1353438459); 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([22394050]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353438459: ('0.05536436296369449',)} new output for save of step final : {1353438459: ('0.05536436296369449',)} [1353438459] map_info['map_portfolio_photo'] : {22394050: [1353438459, 1353438338, 1353438306, 1353438301, 1353438213, 1353438196, 1353438191, 1353438181, 1353438152, 1353438136, 1353438099, 1353438091, 1353438087, 1353438083, 1353438081, 1353438055, 1353438051, 1353438045, 1353438042, 1353438038, 1353438036, 1353438011, 1353438006, 1353438003, 1353438002, 1353437998, 1353437963, 1353437959, 1353437956, 1353437953, 1353437948, 1353437920, 1353437916, 1353437912, 1353437908, 1353437905, 1353437890, 1353437848, 1353437843, 1353437835, 1353437830, 1353437793, 1353437788, 1353437782, 1353437779, 1353437776, 1353437770, 1353437731, 1353437728, 1353437725, 1353437722, 1353437720, 1353437687, 1353437684, 1353437681, 1353437677, 1353437542, 1353437538, 1353437534, 1353437530, 1353437526, 1353437509, 1353437383, 1353437379, 1353437376, 1353437373, 1353437371, 1353437250, 1353437222, 1353437192, 1353437163, 1353437155, 1353437073, 1353437068, 1353437064]} final : False mtd_id 4302 list_pids : [1353438459] Looping around the photos to save general results len do output : 1 /1353438459.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, '2758650') ('4302', '22394050', '1353438459', None, None, None, None, None, '2758650') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '22394050', '1353438459', '0.05536436296369449', None, None, None, None, '2758650')] time used for this insertion : 0.01203298568725586 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07449460029602051 time spend to save output : 0.012293338775634766 total time spend for step 2 : 0.08678793907165527 step3:velours_tree Thu Apr 24 19:34: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 : {22394050: [{'plastique': 22394075, 'Carton_gris': 22394076, 'Carton_brun': 22394077, 'autre_refus': 22394078, 'kraft': 22394079, 'mal_croppe': 22394080, 'flou': 22394081, 'cartonnette': 22394082, 'environnement': 22394083, 'papier': 22394084, 'Teint_Dans_La_Masse': 22394085, 'metal': 22394086}]} input_args_next_step : {22394050: ()} output_args : {22394050: [{'plastique': 22394075, 'Carton_gris': 22394076, 'Carton_brun': 22394077, 'autre_refus': 22394078, 'kraft': 22394079, 'mal_croppe': 22394080, 'flou': 22394081, 'cartonnette': 22394082, 'environnement': 22394083, 'papier': 22394084, 'Teint_Dans_La_Masse': 22394085, 'metal': 22394086}]} args : 22394050 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 : ({'plastique': 22394075, 'Carton_gris': 22394076, 'Carton_brun': 22394077, 'autre_refus': 22394078, 'kraft': 22394079, 'mal_croppe': 22394080, 'flou': 22394081, 'cartonnette': 22394082, 'environnement': 22394083, 'papier': 22394084, 'Teint_Dans_La_Masse': 22394085, 'metal': 22394086},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22394050) 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([22394050]) 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.32599925994873047 time spend to save output : 6.699562072753906e-05 total time spend for step 3 : 0.326066255569458 step4:send_mail_cod Thu Apr 24 19:34: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 : {1353438459: ('0.05536436296369449',)} input_args_next_step : {1353438459: ()} output_args : {1353438459: ('0.05536436296369449',)} args : 1353438459 depend.output_id : 0 complete output_args for input 3 : {22394050: [{'plastique': 22394075, 'Carton_gris': 22394076, 'Carton_brun': 22394077, 'autre_refus': 22394078, 'kraft': 22394079, 'mal_croppe': 22394080, 'flou': 22394081, 'cartonnette': 22394082, 'environnement': 22394083, 'papier': 22394084, 'Teint_Dans_La_Masse': 22394085, 'metal': 22394086}]} input_args_next_step : {1353438459: ('0.05536436296369449',), 22394050: ()} output_args : {22394050: [{'plastique': 22394075, 'Carton_gris': 22394076, 'Carton_brun': 22394077, 'autre_refus': 22394078, 'kraft': 22394079, 'mal_croppe': 22394080, 'flou': 22394081, 'cartonnette': 22394082, 'environnement': 22394083, 'papier': 22394084, 'Teint_Dans_La_Masse': 22394085, 'metal': 22394086}]} args : 22394050 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 :2, first value : ('0.05536436296369449',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22394050) 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 (1353438459) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353438459 download finish for photo 1353438459 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P22394050_24-04-2025_19_34_59.pdf 22394075 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=22394075 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438578: '1745515871_1153515_1353437788_03c6409f1d8b0804b38baf3ba6713012_rle_crop_3767864565_0.png', 1353439142: '1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867924_0.png', 1353439140: '1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867899_0.png', 1353438633: '1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867272_0.png', 1353438608: '1745515924_371204_1353438301_9f358acb15cb35fe83867341d99120d9_rle_crop_3767866386_0.png', 1353438607: '1745515924_371204_1353438306_05e2691a450b385d53f8e7dfdb66f7da_rle_crop_3767866121_0.png', 1353438606: '1745515924_371204_1353438306_05e2691a450b385d53f8e7dfdb66f7da_rle_crop_3767866119_0.png', 1353438581: '1745515871_1153515_1353437779_cd9dda4178701508bc729a9b081436bf_rle_crop_3767864588_0.png', 1353438580: '1745515871_1153515_1353437782_a3bbd98e3167544794aa7ccdd05c804d_rle_crop_3767864575_0.png', 1353438579: '1745515871_1153515_1353437788_03c6409f1d8b0804b38baf3ba6713012_rle_crop_3767864562_0.png', 1353437937: '1745515450_1149330_1353437373_0c414c70292d58f0efaefbcf40232dc1_rle_crop_3767860589_0.png', 1353438339: '1745515780_368331_1353438002_df15c66452410b7bf2ed3f7b4bc0caee_rle_crop_3767864137_0.png', 1353438337: '1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864110_0.png', 1353438297: '1745515751_1152109_1353438051_82edb050d63ab48012f3514893c274c3_rle_crop_3767863888_0.png', 1353438142: '1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862033_0.png', 1353438141: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767862001_0.png', 1353438140: '1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861976_0.png', 1353438073: '1745515634_1151177_1353437953_3d8cc89cca8bff150d96e264c5b8673d_rle_crop_3767861234_0.png', 1353438072: '1745515634_1151177_1353437956_ddbfc8b550a1a6bc7c02c29aab941a7d_rle_crop_3767861221_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7f3481704c799dc89e887dc8076ccf9d_38394430.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0d431189298f6c6ff0df91711c0d60f0_47294050.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9dd5c2066128516e66d37bec29a01f44_72933645.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5748e76d6bb810e7745966f5304f5c04_12430508.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/97bd123560cb5bd2841f7bf6d86bfc67_18630810.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e34aa3bcde6de3f8da20f888a61b01fc_74225847.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1f282d83d9f4502a458fd94460f38114_54419455.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b14affdf7b237c945c7e6b26019c9668_58113769.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0896381d6ae7e14acf2fbc72f2b12e6e_5507884.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ffb8cce51dc3cb97b65953ac0440afb0_32959546.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/043ffc11ec2b5426a6136cd72fc3f52b_51083447.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/180dba9967a2cad0a7ede4c8904885f1_13032204.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/043760a0f51069b5ca6ed5435fcf11fc_71447722.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a32ca8b06c507c90c24d142094beee4e_52273242.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/efd52736a35f3ba2298c0b56467bccd6_98099783.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f1cb652292518fdeeb7a3fd029ed9ccf_63417843.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c030b47b199b9c2571cad28d19efc7eb_27582060.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1611f04c89f7d10b081f0c6685a920ca_16207811.png change filename to text .imagette223940751745516099/ imagette223940751745516099/1745515450_1149330_1353437373_0c414c70292d58f0efaefbcf40232dc1_rle_crop_3767860589_0.png.png imagette223940751745516099/1745515634_1151177_1353437956_ddbfc8b550a1a6bc7c02c29aab941a7d_rle_crop_3767861221_0.png.png imagette223940751745516099/1745515634_1151177_1353437953_3d8cc89cca8bff150d96e264c5b8673d_rle_crop_3767861234_0.png.png imagette223940751745516099/1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867924_0.png.png imagette223940751745516099/1745515871_1153515_1353437779_cd9dda4178701508bc729a9b081436bf_rle_crop_3767864588_0.png.png imagette223940751745516099/1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864110_0.png.png imagette223940751745516099/1745515871_1153515_1353437788_03c6409f1d8b0804b38baf3ba6713012_rle_crop_3767864565_0.png.png imagette223940751745516099/1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867272_0.png.png imagette223940751745516099/1745515871_1153515_1353437788_03c6409f1d8b0804b38baf3ba6713012_rle_crop_3767864562_0.png.png imagette223940751745516099/1745515924_371204_1353438306_05e2691a450b385d53f8e7dfdb66f7da_rle_crop_3767866121_0.png.png imagette223940751745516099/1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867899_0.png.png imagette223940751745516099/1745515924_371204_1353438301_9f358acb15cb35fe83867341d99120d9_rle_crop_3767866386_0.png.png imagette223940751745516099/1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862033_0.png.png imagette223940751745516099/1745515751_1152109_1353438051_82edb050d63ab48012f3514893c274c3_rle_crop_3767863888_0.png.png imagette223940751745516099/1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861976_0.png.png imagette223940751745516099/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767862001_0.png.png imagette223940751745516099/1745515924_371204_1353438306_05e2691a450b385d53f8e7dfdb66f7da_rle_crop_3767866119_0.png.png imagette223940751745516099/1745515871_1153515_1353437782_a3bbd98e3167544794aa7ccdd05c804d_rle_crop_3767864575_0.png.png imagette223940751745516099/1745515780_368331_1353438002_df15c66452410b7bf2ed3f7b4bc0caee_rle_crop_3767864137_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4d347b70d796deeec85da482316f6926_43326728.png imagette223940751745516099 22394078 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=22394078 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353437901: '1745515421_361762_1353437509_dcd7b6a350d23195ca3fb0aba00cbe3d_rle_crop_3767856967_0.png', 1353437932: '1745515450_1149330_1353437373_0c414c70292d58f0efaefbcf40232dc1_rle_crop_3767860582_0.png', 1353438127: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861992_0.png', 1353438128: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861988_0.png', 1353438129: '1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862032_0.png', 1353438288: '1745515751_1152109_1353438051_82edb050d63ab48012f3514893c274c3_rle_crop_3767863883_0.png', 1353438289: '1745515751_1152109_1353438045_4dde7c39a6a122c60f1792eac7a5d852_rle_crop_3767863894_0.png', 1353438570: '1745515871_1153515_1353437848_fadeeba3639976d840c1aeb1fd9e7d31_rle_crop_3767864543_0.png', 1353438571: '1745515871_1153515_1353437779_cd9dda4178701508bc729a9b081436bf_rle_crop_3767864580_0.png', 1353438572: '1745515871_1153515_1353437770_2800aa5a85a7a35153245c66fdb5df71_rle_crop_3767864615_0.png', 1353438605: '1745515924_371204_1353438306_05e2691a450b385d53f8e7dfdb66f7da_rle_crop_3767866113_0.png', 1353438624: '1745515931_1154005_1353438213_0de7c59ee3a77f6f25d973872972aa50_rle_crop_3767867006_0.png', 1353439071: '1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767867997_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/2990851c65b11a11456b0c29b55b3310_12735767.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8752cbcdc3b4753fba548144d2e5fcb0_7106890.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/51c89e982bbf956e5e700950d2eb17d1_14671505.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/685ed3feea81bbdce364c8833b0d827f_54381723.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/507e56bd064522bbda940e49e41311d6_28622560.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/972b49f1444d3d8ae2996b0274c7bf00_38967497.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9924ec26f6389195c24b55882dfa43ac_65108735.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/d889d9d690aa41da0f82080464038e44_58781000.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b347bde42ec77616024d1f0a6e03828c_77888482.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c7db3ca1d5ba26acdb028ff5c7ae54be_75174628.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6b45b7f5f4dd7a1f7c9fd85f459573bb_15278392.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/569364ac762d8f156e2241add8183c66_17725315.png change filename to text .imagette223940781745516101/ imagette223940781745516101/1745515924_371204_1353438306_05e2691a450b385d53f8e7dfdb66f7da_rle_crop_3767866113_0.png.png imagette223940781745516101/1745515751_1152109_1353438045_4dde7c39a6a122c60f1792eac7a5d852_rle_crop_3767863894_0.png.png imagette223940781745516101/1745515871_1153515_1353437779_cd9dda4178701508bc729a9b081436bf_rle_crop_3767864580_0.png.png imagette223940781745516101/1745515871_1153515_1353437848_fadeeba3639976d840c1aeb1fd9e7d31_rle_crop_3767864543_0.png.png imagette223940781745516101/1745515450_1149330_1353437373_0c414c70292d58f0efaefbcf40232dc1_rle_crop_3767860582_0.png.png imagette223940781745516101/1745515421_361762_1353437509_dcd7b6a350d23195ca3fb0aba00cbe3d_rle_crop_3767856967_0.png.png imagette223940781745516101/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861992_0.png.png imagette223940781745516101/1745515931_1154005_1353438213_0de7c59ee3a77f6f25d973872972aa50_rle_crop_3767867006_0.png.png imagette223940781745516101/1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767867997_0.png.png imagette223940781745516101/1745515751_1152109_1353438051_82edb050d63ab48012f3514893c274c3_rle_crop_3767863883_0.png.png imagette223940781745516101/1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862032_0.png.png imagette223940781745516101/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861988_0.png.png imagette223940781745516101/1745515871_1153515_1353437770_2800aa5a85a7a35153245c66fdb5df71_rle_crop_3767864615_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/23197b9f93b0cb360babc53dae40628b_47624372.png imagette223940781745516101 22394079 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=22394079 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438298: '1745515751_1152109_1353438051_82edb050d63ab48012f3514893c274c3_rle_crop_3767863887_0.png', 1353438582: '1745515871_1153515_1353437782_a3bbd98e3167544794aa7ccdd05c804d_rle_crop_3767864569_0.png', 1353439152: '1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867905_0.png', 1353439154: '1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767868005_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9676b2c75912a1f3789e5ab3cc051e7a_23850291.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c4839d9e192b7aed9d92ee4b68e37200_19184397.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4f7aea0e0a8b77368e9b93934bd9d9fd_96912980.png change filename to text .imagette223940791745516101/ imagette223940791745516101/1745515871_1153515_1353437782_a3bbd98e3167544794aa7ccdd05c804d_rle_crop_3767864569_0.png.png imagette223940791745516101/1745515751_1152109_1353438051_82edb050d63ab48012f3514893c274c3_rle_crop_3767863887_0.png.png imagette223940791745516101/1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867905_0.png.png imagette223940791745516101/1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767868005_0.png.png imagette223940801745516102/ imagette223940811745516102/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a3d31ed3bbd712a570dd6516062b3f7b_18656714.png imagette223940791745516101 22394080 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=22394080 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223940801745516102 22394081 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=22394081 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223940811745516102 22394082 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=22394082 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353437607: '1745515166_360639_1353437250_ccdd1674d10fd4578211e0608c0047b9_rle_crop_3767855287_0.png', 1353437902: '1745515421_361762_1353437687_fbfc440e3dafd184035ce17e50f3341a_rle_crop_3767856912_0.png', 1353437934: '1745515450_1149330_1353437376_eafa11c5e2f4e535b3802fac1d4ac6dc_rle_crop_3767860571_0.png', 1353437981: '1745515512_1150056_1353437843_2de3988dbd2ec191e23bccd3cddaefa4_rle_crop_3767860657_0.png', 1353437982: '1745515512_1150056_1353437835_e4dbcce80fc0330e6f136852638bd525_rle_crop_3767860663_0.png', 1353438130: '1745515691_1151671_1353437963_4bffcf9f3312cbd578cc7aae997fc51b_rle_crop_3767861920_0.png', 1353438131: '1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861973_0.png', 1353438132: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861987_0.png', 1353438133: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861996_0.png', 1353438312: '1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864104_0.png', 1353438314: '1745515780_368331_1353437998_05f700635d06093688730c07c9dfd867_rle_crop_3767864149_0.png', 1353439092: '1745516022_372892_1353438181_fd42a91851591a5a987387b1a5f4c09d_rle_crop_3767867957_0.png', 1353439094: '1745516022_372892_1353438152_fe3b1f3a869f99e2b2a5a1d5f3a62f3b_rle_crop_3767867974_0.png', 1353439096: '1745516022_372892_1353438152_fe3b1f3a869f99e2b2a5a1d5f3a62f3b_rle_crop_3767867973_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b4febbe293088708c1697be8740881e4_21198752.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/03f7a3e9aee74959a77e7dbf7cbc8540_83905842.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8aaa4376fc896e67a1e2aebc8dbd9791_43563816.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7b8b626ab08c9cbf7789485fc8279fb8_68188011.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c7e8035853920ead40d107f8160e279a_81729085.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5454e2f0ee596c6c8656fe3dd8560361_33476535.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/65498a3f843d9bdc748191497caa133b_62698859.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/25a5fc90f3359f3327b04d6d630bd7d2_31340208.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/694465363b98ba4a8aa66085998d656f_33045290.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a738cc0caeffffa5f4ca28ffdb2436de_39544352.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/2caea92d10c77ccef78ca315b12f4671_47763498.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c5756b551ab3ec836f706d6f52f691e2_37383821.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/28010709f9e0220951b787ae1dcdf340_69875130.png change filename to text .imagette223940821745516102/ imagette223940821745516102/1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861973_0.png.png imagette223940821745516102/1745515450_1149330_1353437376_eafa11c5e2f4e535b3802fac1d4ac6dc_rle_crop_3767860571_0.png.png imagette223940821745516102/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861996_0.png.png imagette223940821745516102/1745516022_372892_1353438181_fd42a91851591a5a987387b1a5f4c09d_rle_crop_3767867957_0.png.png imagette223940821745516102/1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864104_0.png.png imagette223940821745516102/1745515512_1150056_1353437835_e4dbcce80fc0330e6f136852638bd525_rle_crop_3767860663_0.png.png imagette223940821745516102/1745515512_1150056_1353437843_2de3988dbd2ec191e23bccd3cddaefa4_rle_crop_3767860657_0.png.png imagette223940821745516102/1745515780_368331_1353437998_05f700635d06093688730c07c9dfd867_rle_crop_3767864149_0.png.png imagette223940821745516102/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861987_0.png.png imagette223940821745516102/1745515421_361762_1353437687_fbfc440e3dafd184035ce17e50f3341a_rle_crop_3767856912_0.png.png imagette223940821745516102/1745516022_372892_1353438152_fe3b1f3a869f99e2b2a5a1d5f3a62f3b_rle_crop_3767867973_0.png.png imagette223940821745516102/1745515166_360639_1353437250_ccdd1674d10fd4578211e0608c0047b9_rle_crop_3767855287_0.png.png imagette223940821745516102/1745516022_372892_1353438152_fe3b1f3a869f99e2b2a5a1d5f3a62f3b_rle_crop_3767867974_0.png.png imagette223940821745516102/1745515691_1151671_1353437963_4bffcf9f3312cbd578cc7aae997fc51b_rle_crop_3767861920_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/46629fb99e43f056ddacea8beb0f1d63_37759940.png imagette223940821745516102 22394086 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=22394086 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353437938: '1745515450_1149330_1353437376_eafa11c5e2f4e535b3802fac1d4ac6dc_rle_crop_3767860572_0.png'} change filename to text .imagette223940861745516103/ imagette223940861745516103/1745515450_1149330_1353437376_eafa11c5e2f4e535b3802fac1d4ac6dc_rle_crop_3767860572_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/cc438bc977bbc09ce653c425071609f7_24658319.png imagette223940861745516103 22394076 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=22394076 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353437791: '1745515308_357953_1353437677_7d48dcd85658366b6ec768adcffe2257_rle_crop_3767856766_0.png', 1353437876: '1745515391_1148684_1353437728_7e3bc3a4d408123bdad7908cc24458ba_rle_crop_3767858966_0.png', 1353437877: '1745515391_1148684_1353437725_329ad427a8fc5cab1ec594a29296d578_rle_crop_3767858983_0.png', 1353437878: '1745515391_1148684_1353437722_0f2bad9a805ba8d69d69bec9f704a266_rle_crop_3767858998_0.png', 1353437879: '1745515391_1148684_1353437722_0f2bad9a805ba8d69d69bec9f704a266_rle_crop_3767859003_0.png', 1353437979: '1745515512_1150056_1353437843_2de3988dbd2ec191e23bccd3cddaefa4_rle_crop_3767860653_0.png', 1353438067: '1745515634_1151177_1353437959_d9fafa09797974b55fb7348683a40525_rle_crop_3767861210_0.png', 1353438068: '1745515634_1151177_1353437953_3d8cc89cca8bff150d96e264c5b8673d_rle_crop_3767861226_0.png', 1353438069: '1745515634_1151177_1353437948_fd56a1aff9164f2fc0f8a4696a9003ea_rle_crop_3767861236_0.png', 1353438303: '1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864098_0.png', 1353438304: '1745515780_368331_1353437998_05f700635d06093688730c07c9dfd867_rle_crop_3767864152_0.png', 1353438305: '1745515780_368331_1353437998_05f700635d06093688730c07c9dfd867_rle_crop_3767864150_0.png', 1353438573: '1745515871_1153515_1353437848_fadeeba3639976d840c1aeb1fd9e7d31_rle_crop_3767864545_0.png', 1353438625: '1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867258_0.png', 1353439079: '1745516022_372892_1353438191_aa21afd23d43654d367aca5516883ad7_rle_crop_3767867945_0.png', 1353439081: '1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767867992_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4580c6e51d4177dc75d5c118db101681_88327104.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9e8bb701ef6d1637309dd4eb5a86bd80_14681560.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0e4ff175076eb4860609d9a256b2c82f_46792240.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0ce5ad44a2c48f711f937da151a5b4a2_32892466.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a4c9081aa9d72006124b29f4d08d8663_88198109.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f4ed2e49eb216cbbb8d67fe6e0fb25da_80931060.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b46360f51cf8e8b473ea0e655a73c6c3_47153153.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7de4243d24e44933b7cbadd6fade307b_92234159.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/17e9c39050e510c93b90ecf4790e8bd1_44683649.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c885984e2d52a084433f1b258749ba0a_56186725.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f583041a90bbc62ab782ed071a2abd99_70212411.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b33688343704c7a35fa3a90fa91695b7_23914499.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/949ca8ac992232d263a68abf22eb7205_31544278.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/dcb56a11ff575b012e444c1db2a972a3_76572096.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3f1e6a5534285e4a81c67a3159d32fd1_63222477.png change filename to text .imagette223940761745516103/ imagette223940761745516103/1745515391_1148684_1353437722_0f2bad9a805ba8d69d69bec9f704a266_rle_crop_3767859003_0.png.png imagette223940761745516103/1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864098_0.png.png imagette223940761745516103/1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867258_0.png.png imagette223940761745516103/1745515634_1151177_1353437948_fd56a1aff9164f2fc0f8a4696a9003ea_rle_crop_3767861236_0.png.png imagette223940761745516103/1745515871_1153515_1353437848_fadeeba3639976d840c1aeb1fd9e7d31_rle_crop_3767864545_0.png.png imagette223940761745516103/1745515308_357953_1353437677_7d48dcd85658366b6ec768adcffe2257_rle_crop_3767856766_0.png.png imagette223940761745516103/1745515391_1148684_1353437722_0f2bad9a805ba8d69d69bec9f704a266_rle_crop_3767858998_0.png.png imagette223940761745516103/1745516022_372892_1353438191_aa21afd23d43654d367aca5516883ad7_rle_crop_3767867945_0.png.png imagette223940761745516103/1745515634_1151177_1353437953_3d8cc89cca8bff150d96e264c5b8673d_rle_crop_3767861226_0.png.png imagette223940761745516103/1745515391_1148684_1353437728_7e3bc3a4d408123bdad7908cc24458ba_rle_crop_3767858966_0.png.png imagette223940761745516103/1745515391_1148684_1353437725_329ad427a8fc5cab1ec594a29296d578_rle_crop_3767858983_0.png.png imagette223940761745516103/1745515634_1151177_1353437959_d9fafa09797974b55fb7348683a40525_rle_crop_3767861210_0.png.png imagette223940761745516103/1745515780_368331_1353437998_05f700635d06093688730c07c9dfd867_rle_crop_3767864152_0.png.png imagette223940761745516103/1745515512_1150056_1353437843_2de3988dbd2ec191e23bccd3cddaefa4_rle_crop_3767860653_0.png.png imagette223940761745516103/1745515780_368331_1353437998_05f700635d06093688730c07c9dfd867_rle_crop_3767864150_0.png.png imagette223940761745516103/1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767867992_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fa9dae4c4eb28d9181bb53f2fddbf9e8_21072930.png imagette223940761745516103 22394077 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=22394077 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438329: '1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864102_0.png', 1353439121: '1745516022_372892_1353438191_aa21afd23d43654d367aca5516883ad7_rle_crop_3767867947_0.png', 1353439119: '1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867922_0.png', 1353439117: '1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867928_0.png', 1353439115: '1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867921_0.png', 1353439113: '1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867926_0.png', 1353439111: '1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867906_0.png', 1353438631: '1745515931_1154005_1353438081_f3ac7b365cda0d2482d1b45a4335151b_rle_crop_3767867287_0.png', 1353438630: '1745515931_1154005_1353438081_f3ac7b365cda0d2482d1b45a4335151b_rle_crop_3767867283_0.png', 1353438629: '1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867265_0.png', 1353438628: '1745515931_1154005_1353438213_0de7c59ee3a77f6f25d973872972aa50_rle_crop_3767867005_0.png', 1353438627: '1745515931_1154005_1353438213_0de7c59ee3a77f6f25d973872972aa50_rle_crop_3767867004_0.png', 1353438575: '1745515871_1153515_1353437770_2800aa5a85a7a35153245c66fdb5df71_rle_crop_3767864617_0.png', 1353438574: '1745515871_1153515_1353437848_fadeeba3639976d840c1aeb1fd9e7d31_rle_crop_3767864542_0.png', 1353438333: '1745515780_368331_1353438002_df15c66452410b7bf2ed3f7b4bc0caee_rle_crop_3767864134_0.png', 1353438331: '1745515780_368331_1353438002_df15c66452410b7bf2ed3f7b4bc0caee_rle_crop_3767864131_0.png', 1353437795: '1745515308_357953_1353437684_ade39c974fe1d8e13227182f9d69c2ab_rle_crop_3767856748_0.png', 1353438327: '1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864105_0.png', 1353438296: '1745515751_1152109_1353438036_9be556bb68819bc14d763dd804598df0_rle_crop_3767864085_0.png', 1353438295: '1745515751_1152109_1353438038_5062e82b7487beae38a43fef8c454793_rle_crop_3767864061_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5fbd815c2699dad756d799867ef42ff0_10208619.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/489f6d741243c2f687c8187f022477b6_42129304.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0e455a04a73fb31099bde134af825e41_1968313.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fecde355a7c43bdfa6434f62c6fb4268_60952754.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/eae2d1f9ea3d30c9654a8ee3fbcfecef_99322255.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ee2ee240a8cf33841030451fb0ffd3f5_90409199.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/43a864b71c4a45fdad77c0b4d44b755f_81406529.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/32e97ecd8ecd686e06b32facb8d10105_74739614.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4a85aa2d770d0d704ecf3b800813d03d_46532725.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fc73c6e939a6dd7eb9041bf961f59802_37889093.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6b8eec061c432b3c357452793739918f_57307881.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b15c13b45539dd622d97e0c7c4d71d3d_84792450.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c790cf8c23ec1ffffe7dde2f0dd91b10_28785464.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e30f5e35b158e875a06ca5462fa3864d_23069320.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a87f188a362e326c181663e3c4389e5c_77055463.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e24292560633308f4b60236f50c29486_18131162.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/35cc3a13bc4aa6d6b54213f66d1322c4_76937431.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0e22a7aea607bb9e806761fb2a584515_17475915.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/361d80d471223419b26075bf9dfa21a1_99912500.png change filename to text .imagette223940771745516104/ imagette223940771745516104/1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864102_0.png.png imagette223940771745516104/1745515780_368331_1353438055_3443db2616f89076cdd18d7a5300772f_rle_crop_3767864105_0.png.png imagette223940771745516104/1745515931_1154005_1353438213_0de7c59ee3a77f6f25d973872972aa50_rle_crop_3767867005_0.png.png imagette223940771745516104/1745516022_372892_1353438191_aa21afd23d43654d367aca5516883ad7_rle_crop_3767867947_0.png.png imagette223940771745516104/1745515751_1152109_1353438038_5062e82b7487beae38a43fef8c454793_rle_crop_3767864061_0.png.png imagette223940771745516104/1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867926_0.png.png imagette223940771745516104/1745515780_368331_1353438002_df15c66452410b7bf2ed3f7b4bc0caee_rle_crop_3767864131_0.png.png imagette223940771745516104/1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867921_0.png.png imagette223940771745516104/1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867922_0.png.png imagette223940771745516104/1745515931_1154005_1353438213_0de7c59ee3a77f6f25d973872972aa50_rle_crop_3767867004_0.png.png imagette223940771745516104/1745515308_357953_1353437684_ade39c974fe1d8e13227182f9d69c2ab_rle_crop_3767856748_0.png.png imagette223940771745516104/1745515871_1153515_1353437770_2800aa5a85a7a35153245c66fdb5df71_rle_crop_3767864617_0.png.png imagette223940771745516104/1745515931_1154005_1353438081_f3ac7b365cda0d2482d1b45a4335151b_rle_crop_3767867283_0.png.png imagette223940771745516104/1745516022_372892_1353438196_7678d7df5303000f51619f24f03c2bca_rle_crop_3767867928_0.png.png imagette223940771745516104/1745515751_1152109_1353438036_9be556bb68819bc14d763dd804598df0_rle_crop_3767864085_0.png.png imagette223940771745516104/1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867906_0.png.png imagette223940771745516104/1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867265_0.png.png imagette223940771745516104/1745515931_1154005_1353438081_f3ac7b365cda0d2482d1b45a4335151b_rle_crop_3767867287_0.png.png imagette223940771745516104/1745515871_1153515_1353437848_fadeeba3639976d840c1aeb1fd9e7d31_rle_crop_3767864542_0.png.png imagette223940771745516104/1745515780_368331_1353438002_df15c66452410b7bf2ed3f7b4bc0caee_rle_crop_3767864134_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6e424261afd3a521a1162a3aebb047bc_61164172.png imagette223940771745516104 22394085 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=22394085 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438120: '1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861975_0.png', 1353439062: '1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767867996_0.png', 1353439061: '1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867907_0.png', 1353438623: '1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867267_0.png', 1353438603: '1745515924_371204_1353438301_9f358acb15cb35fe83867341d99120d9_rle_crop_3767866384_0.png', 1353438566: '1745515871_1153515_1353437779_cd9dda4178701508bc729a9b081436bf_rle_crop_3767864583_0.png', 1353438565: '1745515871_1153515_1353437788_03c6409f1d8b0804b38baf3ba6713012_rle_crop_3767864557_0.png', 1353438287: '1745515751_1152109_1353438036_9be556bb68819bc14d763dd804598df0_rle_crop_3767864079_0.png', 1353438286: '1745515751_1152109_1353438036_9be556bb68819bc14d763dd804598df0_rle_crop_3767864086_0.png', 1353438285: '1745515751_1152109_1353438038_5062e82b7487beae38a43fef8c454793_rle_crop_3767864065_0.png', 1353438284: '1745515751_1152109_1353438038_5062e82b7487beae38a43fef8c454793_rle_crop_3767864063_0.png', 1353438125: '1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862040_0.png', 1353438124: '1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862038_0.png', 1353438123: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861999_0.png', 1353438122: '1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767862002_0.png', 1353438121: '1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861974_0.png', 1353437595: '1745515166_360639_1353437250_ccdd1674d10fd4578211e0608c0047b9_rle_crop_3767855288_0.png', 1353438119: '1745515691_1151671_1353437916_e251def9558488af4f8f74009fbe1bbe_rle_crop_3767861936_0.png', 1353438118: '1745515691_1151671_1353437916_e251def9558488af4f8f74009fbe1bbe_rle_crop_3767861937_0.png', 1353437977: '1745515512_1150056_1353437843_2de3988dbd2ec191e23bccd3cddaefa4_rle_crop_3767860654_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/69b417c1b292a4b3be6a0e604c4df381_92457150.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/2881fb91fbad68c470244a30a912f346_22069252.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/afe996122f1f5105de973b314548e533_68675944.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6ff63583869889120abb2cb5f3070b50_67540530.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e472107ef8b319c356df94c5ed04c66e_98214558.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0485a12e91feb36dbafd18c5914430ff_5946661.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7f0a6bfaa04b64e2bebc827fb5f16755_6797375.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b7e860e1addfdc6caeba6d37b7f2d832_45765891.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0930e83bae26071778b8ae3a305a7fad_51525350.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/88d8768aa0bf4ffcb550662daf205f42_6014951.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/bc44da09022f9313b9e72db03ccd269f_15815329.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/06444f57f451593149b75fc3d6ca49de_22184954.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5ca67fd230da0f236d404c291d0d1660_33571208.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8544d66445c5c7f61a20ad06aabf3c5a_2158078.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e885c2532d331d174b362dddfc0204dd_10156129.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/d09f8a7a1b8af7549c613ae4df9bcaba_40132508.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9085db17b9a8c3d2784accfd296bcf1f_68645787.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8c2f6a8ddc65567284db3e070fa04385_59215511.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7e101188e8572a01dca56e7c3aedcd7f_43050551.png change filename to text .imagette223940851745516105/ imagette223940851745516105/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767862002_0.png.png imagette223940851745516105/1745515871_1153515_1353437788_03c6409f1d8b0804b38baf3ba6713012_rle_crop_3767864557_0.png.png imagette223940851745516105/1745515751_1152109_1353438038_5062e82b7487beae38a43fef8c454793_rle_crop_3767864065_0.png.png imagette223940851745516105/1745515924_371204_1353438301_9f358acb15cb35fe83867341d99120d9_rle_crop_3767866384_0.png.png imagette223940851745516105/1745515691_1151671_1353437916_e251def9558488af4f8f74009fbe1bbe_rle_crop_3767861936_0.png.png imagette223940851745516105/1745515166_360639_1353437250_ccdd1674d10fd4578211e0608c0047b9_rle_crop_3767855288_0.png.png imagette223940851745516105/1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861975_0.png.png imagette223940851745516105/1745515691_1151671_1353437912_13be9de09e17c9111723720495c1fe63_rle_crop_3767861974_0.png.png imagette223940851745516105/1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862040_0.png.png imagette223940851745516105/1745516022_372892_1353438338_3a11a94cd3994aa820e1421bc04a8ff1_rle_crop_3767867907_0.png.png imagette223940851745516105/1745515691_1151671_1353437916_e251def9558488af4f8f74009fbe1bbe_rle_crop_3767861937_0.png.png imagette223940851745516105/1745515691_1151671_1353437905_a41c00410ab6aa942a18ae8f6fca471c_rle_crop_3767862038_0.png.png imagette223940851745516105/1745515751_1152109_1353438038_5062e82b7487beae38a43fef8c454793_rle_crop_3767864063_0.png.png imagette223940851745516105/1745516022_372892_1353438136_f6688dd5a3e7cbcaca74e3165bfec781_rle_crop_3767867996_0.png.png imagette223940851745516105/1745515931_1154005_1353438083_f9505156e67c492e32d15bb4ad3cc879_rle_crop_3767867267_0.png.png imagette223940851745516105/1745515691_1151671_1353437908_cffae7bdc5d96e314d6800f944fafdae_rle_crop_3767861999_0.png.png imagette223940851745516105/1745515512_1150056_1353437843_2de3988dbd2ec191e23bccd3cddaefa4_rle_crop_3767860654_0.png.png imagette223940851745516105/1745515751_1152109_1353438036_9be556bb68819bc14d763dd804598df0_rle_crop_3767864079_0.png.png imagette223940851745516105/1745515751_1152109_1353438036_9be556bb68819bc14d763dd804598df0_rle_crop_3767864086_0.png.png imagette223940851745516105/1745515871_1153515_1353437779_cd9dda4178701508bc729a9b081436bf_rle_crop_3767864583_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4e186c15f29aad8b9084117489237f36_75631703.png imagette223940851745516105 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22394050 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22394087,22394088,22394089,22394090,22394091,22394092,22394093,22394094,22394095,22394096,22394097,22394098?tags=plastique,Carton_gris,Carton_brun,autre_refus,kraft,mal_croppe,flou,cartonnette,environnement,papier,Teint_Dans_La_Masse,metal your option no_mail is active, we will not send the real mail to your client args[1353438459] : ('0.05536436296369449',) no score found for photo 1353438459 We are sending mail with results at report@fotonower.com refus_total : 0.05536436296369449 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=22394050 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_P22394050_24-04-2025_19_34_59.pdf results_Auto_P22394050_24-04-2025_19_34_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.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','22394050','results_Auto_P22394050_24-04-2025_19_34_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf','pdf','','0.36','0.05536436296369449') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22394050]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353438459] map_info['map_portfolio_photo'] : {22394050: [1353438459, 1353438338, 1353438306, 1353438301, 1353438213, 1353438196, 1353438191, 1353438181, 1353438152, 1353438136, 1353438099, 1353438091, 1353438087, 1353438083, 1353438081, 1353438055, 1353438051, 1353438045, 1353438042, 1353438038, 1353438036, 1353438011, 1353438006, 1353438003, 1353438002, 1353437998, 1353437963, 1353437959, 1353437956, 1353437953, 1353437948, 1353437920, 1353437916, 1353437912, 1353437908, 1353437905, 1353437890, 1353437848, 1353437843, 1353437835, 1353437830, 1353437793, 1353437788, 1353437782, 1353437779, 1353437776, 1353437770, 1353437731, 1353437728, 1353437725, 1353437722, 1353437720, 1353437687, 1353437684, 1353437681, 1353437677, 1353437542, 1353437538, 1353437534, 1353437530, 1353437526, 1353437509, 1353437383, 1353437379, 1353437376, 1353437373, 1353437371, 1353437250, 1353437222, 1353437192, 1353437163, 1353437155, 1353437073, 1353437068, 1353437064]} final : False mtd_id 4302 list_pids : [1353438459] 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, '2758650') ('4302', '22394050', '1353438459', None, None, None, None, None, '2758650') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '22394050', '1353438459', None, None, None, None, None, '2758650')] time used for this insertion : 0.013039350509643555 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.714911699295044 time spend to save output : 0.013258218765258789 total time spend for step 4 : 7.728169918060303 step5:split_time_score Thu Apr 24 19:35:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22394050'] 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 : [('22394050',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22394050) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353438459: {'path': 'temp/1745516099_2127112_1353438459_5e623df680ce859cba9476b16892b078.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 = 22394050; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22394050 group by h (('19', 75),) 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=22394050 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22394050) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22394050) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24042025 22394050 Nombre de photos uploadées : 75 / 23040 (0%) 24042025 22394050 Nombre de photos taguées (types de déchets): 0 / 75 (0%) 24042025 22394050 Nombre de photos taguées (volume) : 0 / 75 (0%) [{'photo_id': 1353437073, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/bb36e5d1f4ed2cfc90ccaecd3bd611db.jpg', 'username': None, 'uploaded_at': 1745514967, 'text': 'image_24042025_19_15_24_10140.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353437068, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/682a1754d81ef9217cd804984a37ba0b.jpg', 'username': None, 'uploaded_at': 1745514967, 'text': 'image_24042025_19_15_34_10133.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353437064, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0767fc5169692ed9c7e43dbe99573cf5.jpg', 'username': None, 'uploaded_at': 1745514967, 'text': 'image_24042025_19_15_44_10136.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1353437250, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ccdd1674d10fd4578211e0608c0047b9.jpg', 'username': None, 'uploaded_at': 1745515027, 'text': 'image_24042025_19_15_54_10134.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ??????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003691434860229492 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22394050, '2025-04-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1743777,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03022027015686035 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1743777 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754290, 'mtr_portfolio_id': 22392883, 'dashboard_result_id': 10079130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754290, 'mtr_portfolio_id': 22393323, 'dashboard_result_id': 10079131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754290, 'mtr_portfolio_id': 22394050, 'dashboard_result_id': 10079132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_30_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754290, 'mtr_portfolio_id': 22394741, 'dashboard_result_id': 10079134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22392883 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758545, 'mtr_portfolio_id': 22392883, 'created_at': datetime.datetime(2025, 4, 24, 19, 2, 32), 'result': '0.07720033540700966', 'result_long': None, 'result_double': None}] Qualite : 0.07720033540700966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22392883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22392883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}" where mtr_portfolio_id = 22392883 and dashboard_run_id = 1754290 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22392883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079130, 0.07720033540700966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22393323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758607, 'mtr_portfolio_id': 22393323, 'created_at': datetime.datetime(2025, 4, 24, 19, 17), 'result': '0.07177438740590858', 'result_long': None, 'result_double': None}] Qualite : 0.07177438740590858 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22393323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22393323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}" where mtr_portfolio_id = 22393323 and dashboard_run_id = 1754290 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22393323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079131, 0.07177438740590858, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22394050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758650, 'mtr_portfolio_id': 22394050, 'created_at': datetime.datetime(2025, 4, 24, 19, 34, 59), 'result': '0.05536436296369449', 'result_long': None, 'result_double': None}] Qualite : 0.05536436296369449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}" where mtr_portfolio_id = 22394050 and dashboard_run_id = 1754290 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22394050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079132, 0.05536436296369449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22394741 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22394741 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394741 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%22394741%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 22394741 and dashboard_run_id = 1754290 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22392883,22393323,22394050,22394741) result : ((1353428609,), (1353428659,), (1353428661,), (1353428663,), (1353428709,), (1353428713,), (1353428718,), (1353428722,), (1353428726,), (1353428761,), (1353428764,), (1353428805,), (1353428808,), (1353428811,), (1353428814,), (1353428816,), (1353428846,), (1353428847,), (1353428849,), (1353428851,), (1353428895,), (1353428902,), (1353428907,), (1353429023,), (1353429068,), (1353429072,), (1353429102,), (1353429104,), (1353429108,), (1353429111,), (1353429150,), (1353429152,), (1353429155,), (1353429158,), (1353429209,), (1353429214,), (1353429217,), (1353429221,), (1353429224,), (1353429228,), (1353429271,), (1353429277,), (1353429288,), (1353429301,), (1353429833,), (1353429839,), (1353429847,), (1353429855,), (1353429865,), (1353429872,), (1353429937,), (1353429962,), (1353429990,), (1353430153,), (1353430057,), (1353430073,), (1353430098,), (1353430126,), (1353430148,), (1353430228,), (1353430263,), (1353430294,), (1353430321,), (1353430346,), (1353430348,), (1353430497,), (1353430530,), (1353430557,), (1353430586,), (1353430915,), (1353430946,), (1353430974,), (1353431007,), (1353431036,), (1353431371,), (1353431397,), (1353431426,), (1353431455,), (1353431794,), (1353431825,), (1353431851,), (1353431886,), (1353431894,), (1353432392,), (1353432476,), (1353432555,), (1353432630,), (1353432712,), (1353432788,), (1353433683,), (1353433734,), (1353433775,), (1353433810,), (1353433838,), (1353434706,), (1353434746,), (1353434803,), (1353434821,), (1353434830,), (1353434846,), (1353435429,), (1353435445,), (1353435448,), (1353435493,), (1353435532,), (1353435817,), (1353435845,), (1353435878,), (1353435910,), (1353435966,), (1353436048,), (1353436190,), (1353436244,), (1353436297,), (1353436351,), (1353436407,), (1353436464,), (1353436680,), (1353436685,), (1353436688,), (1353436696,), (1353436814,), (1353436819,), (1353436824,), (1353436965,), (1353436968,), (1353436973,), (1353437007,), (1353437012,), (1353437017,), (1353437025,), (1353437031,), (1353437039,), (1353437080,), (1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,), (1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24042025': {'nb_upload': 75, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22394050]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353438459] map_info['map_portfolio_photo'] : {22394050: [1353438459, 1353438338, 1353438306, 1353438301, 1353438213, 1353438196, 1353438191, 1353438181, 1353438152, 1353438136, 1353438099, 1353438091, 1353438087, 1353438083, 1353438081, 1353438055, 1353438051, 1353438045, 1353438042, 1353438038, 1353438036, 1353438011, 1353438006, 1353438003, 1353438002, 1353437998, 1353437963, 1353437959, 1353437956, 1353437953, 1353437948, 1353437920, 1353437916, 1353437912, 1353437908, 1353437905, 1353437890, 1353437848, 1353437843, 1353437835, 1353437830, 1353437793, 1353437788, 1353437782, 1353437779, 1353437776, 1353437770, 1353437731, 1353437728, 1353437725, 1353437722, 1353437720, 1353437687, 1353437684, 1353437681, 1353437677, 1353437542, 1353437538, 1353437534, 1353437530, 1353437526, 1353437509, 1353437383, 1353437379, 1353437376, 1353437373, 1353437371, 1353437250, 1353437222, 1353437192, 1353437163, 1353437155, 1353437073, 1353437068, 1353437064]} final : True mtd_id 4302 list_pids : [1353438459] Looping around the photos to save general results len do output : 1 /22394050Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2758650') ('4302', '22394050', '1353438459', None, None, None, None, None, '2758650') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '22394050', 'None', None, None, None, None, '2758650'), ('4302', '22394050', '1353438459', None, None, None, None, None, '2758650')] time used for this insertion : 0.012624740600585938 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1367974281311035 time spend to save output : 0.012920379638671875 total time spend for step 5 : 1.1497178077697754 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 (2758650) 2.09user 2.61system 0:13.54elapsed 34%CPU (0avgtext+0avgdata 154496maxresident)k 784inputs+17832outputs (22major+69945minor)pagefaults 0swaps