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 : 1238503 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 (2670682) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2670682) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448345 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2670682'] with mtr_portfolio_ids : ['21448345'] and first list_photo_ids : [] new path : /proc/1238503/ Name: python3 Umask: 0002 State: R (running) Tgid: 1238503 Ngid: 0 Pid: 1238503 PPid: 1238502 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1238503 NSpid: 1238503 NSpgid: 1235806 NSsid: 1235806 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99096 kB VmRSS: 99096 kB RssAnon: 59796 kB RssFile: 39300 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 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: 51 nonvoluntary_ctxt_switches: 113 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1238503', 'Ngid': '0', 'Pid': '1238503', 'PPid': '1238502', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1238503', 'NSpid': '1238503', 'NSpgid': '1235806', 'NSsid': '1235806', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99096 kB', 'VmRSS': '99096 kB', 'RssAnon': '59796 kB', 'RssFile': '39300 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 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': '51', 'nonvoluntary_ctxt_switches': '113'} ('datou_batch_current', '1238503', '1106840', '0', '1106840', '865592', '99096', b'', 'marlene', '2670682') 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 (21448345) 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 (2670682 ) ) 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 (21448345) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1344267754, 'portfolio_id': 21448345}, {'photo_id': 1344267732, 'portfolio_id': 21448345}, {'photo_id': 1344267725, 'portfolio_id': 21448345}, {'photo_id': 1344267701, 'portfolio_id': 21448345}, {'photo_id': 1344267499, 'portfolio_id': 21448345}, {'photo_id': 1344267457, 'portfolio_id': 21448345}, {'photo_id': 1344267445, 'portfolio_id': 21448345}, {'photo_id': 1344267429, 'portfolio_id': 21448345}, {'photo_id': 1344267406, 'portfolio_id': 21448345}, {'photo_id': 1344267380, 'portfolio_id': 21448345}, {'photo_id': 1344266963, 'portfolio_id': 21448345}, {'photo_id': 1344266946, 'portfolio_id': 21448345}, {'photo_id': 1344266897, 'portfolio_id': 21448345}, {'photo_id': 1344266892, 'portfolio_id': 21448345}, {'photo_id': 1344266885, 'portfolio_id': 21448345}, {'photo_id': 1344266832, 'portfolio_id': 21448345}, {'photo_id': 1344266820, 'portfolio_id': 21448345}, {'photo_id': 1344266779, 'portfolio_id': 21448345}, {'photo_id': 1344266775, 'portfolio_id': 21448345}, {'photo_id': 1344266692, 'portfolio_id': 21448345}, {'photo_id': 1344266618, 'portfolio_id': 21448345}, {'photo_id': 1344266582, 'portfolio_id': 21448345}, {'photo_id': 1344266506, 'portfolio_id': 21448345}, {'photo_id': 1344266467, 'portfolio_id': 21448345}, {'photo_id': 1344266275, 'portfolio_id': 21448345}, {'photo_id': 1344266270, 'portfolio_id': 21448345}, {'photo_id': 1344266266, 'portfolio_id': 21448345}, {'photo_id': 1344266251, 'portfolio_id': 21448345}, {'photo_id': 1344266245, 'portfolio_id': 21448345}, {'photo_id': 1344266178, 'portfolio_id': 21448345}, {'photo_id': 1344266174, 'portfolio_id': 21448345}, {'photo_id': 1344266171, 'portfolio_id': 21448345}, {'photo_id': 1344266169, 'portfolio_id': 21448345}, {'photo_id': 1344266123, 'portfolio_id': 21448345}, {'photo_id': 1344266120, 'portfolio_id': 21448345}, {'photo_id': 1344266113, 'portfolio_id': 21448345}, {'photo_id': 1344266108, 'portfolio_id': 21448345}, {'photo_id': 1344266075, 'portfolio_id': 21448345}, {'photo_id': 1344266044, 'portfolio_id': 21448345}, {'photo_id': 1344265915, 'portfolio_id': 21448345}, {'photo_id': 1344265913, 'portfolio_id': 21448345}, {'photo_id': 1344265904, 'portfolio_id': 21448345}, {'photo_id': 1344265880, 'portfolio_id': 21448345}, {'photo_id': 1344265770, 'portfolio_id': 21448345}, {'photo_id': 1344265749, 'portfolio_id': 21448345}, {'photo_id': 1344265741, 'portfolio_id': 21448345}, {'photo_id': 1344265716, 'portfolio_id': 21448345}, {'photo_id': 1344265707, 'portfolio_id': 21448345}, {'photo_id': 1344265684, 'portfolio_id': 21448345}, {'photo_id': 1344265382, 'portfolio_id': 21448345}, {'photo_id': 1344265333, 'portfolio_id': 21448345}, {'photo_id': 1344265258, 'portfolio_id': 21448345}, {'photo_id': 1344265197, 'portfolio_id': 21448345}, {'photo_id': 1344265156, 'portfolio_id': 21448345}, {'photo_id': 1344265108, 'portfolio_id': 21448345}, {'photo_id': 1344264955, 'portfolio_id': 21448345}, {'photo_id': 1344264950, 'portfolio_id': 21448345}, {'photo_id': 1344264931, 'portfolio_id': 21448345}, {'photo_id': 1344264910, 'portfolio_id': 21448345}, {'photo_id': 1344264889, 'portfolio_id': 21448345}, {'photo_id': 1344264657, 'portfolio_id': 21448345}, {'photo_id': 1344264633, 'portfolio_id': 21448345}, {'photo_id': 1344264589, 'portfolio_id': 21448345}, {'photo_id': 1344264533, 'portfolio_id': 21448345}, {'photo_id': 1344264526, 'portfolio_id': 21448345}, {'photo_id': 1344264474, 'portfolio_id': 21448345}, {'photo_id': 1344263865, 'portfolio_id': 21448345}, {'photo_id': 1344263862, 'portfolio_id': 21448345}, {'photo_id': 1344263858, 'portfolio_id': 21448345}, {'photo_id': 1344263583, 'portfolio_id': 21448345}, {'photo_id': 1344263555, 'portfolio_id': 21448345}, {'photo_id': 1344263502, 'portfolio_id': 21448345}, {'photo_id': 1344263471, 'portfolio_id': 21448345}] map_portfolio_id_photo_id: {21448345: [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885, 1344266832, 1344266820, 1344266779, 1344266775, 1344266692, 1344266618, 1344266582, 1344266506, 1344266467, 1344266275, 1344266270, 1344266266, 1344266251, 1344266245, 1344266178, 1344266174, 1344266171, 1344266169, 1344266123, 1344266120, 1344266113, 1344266108, 1344266075, 1344266044, 1344265915, 1344265913, 1344265904, 1344265880, 1344265770, 1344265749, 1344265741, 1344265716, 1344265707, 1344265684, 1344265382, 1344265333, 1344265258, 1344265197, 1344265156, 1344265108, 1344264955, 1344264950, 1344264931, 1344264910, 1344264889, 1344264657, 1344264633, 1344264589, 1344264533, 1344264526, 1344264474, 1344263865, 1344263862, 1344263858, 1344263583, 1344263555, 1344263502, 1344263471]} ##### 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.017000913619995117 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Mar 14 20:16:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21448345) 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 : 21448345 get user id for portfolio 21448345 get sub ptf for main ptf 21448345, type 3726 and hashtags ['metal', 'Carton_brun', 'autre_refus', 'kraft', 'flou', 'Carton_gris', 'environnement', 'papier', 'plastique', 'Teint_Dans_La_Masse', 'mal_croppe', 'cartonnette'] 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`=21448345 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','autre_refus','kraft','flou','Carton_gris','environnement','papier','plastique','Teint_Dans_La_Masse','mal_croppe','cartonnette')) 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`=21448345 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','autre_refus','kraft','flou','Carton_gris','environnement','papier','plastique','Teint_Dans_La_Masse','mal_croppe','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21448345, 'sub_port_id': 21448364, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017803, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'autre_refus': {'main_port_id': 21448345, 'sub_port_id': 21448365, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017804, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'plastique': {'main_port_id': 21448345, 'sub_port_id': 21448366, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017805, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 21448345, 'sub_port_id': 21448367, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017806, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'mal_croppe': {'main_port_id': 21448345, 'sub_port_id': 21448368, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017807, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'flou': {'main_port_id': 21448345, 'sub_port_id': 21448369, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017808, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'papier': {'main_port_id': 21448345, 'sub_port_id': 21448370, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017809, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'Carton_gris': {'main_port_id': 21448345, 'sub_port_id': 21448371, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017810, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'metal': {'main_port_id': 21448345, 'sub_port_id': 21448372, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017811, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'environnement': {'main_port_id': 21448345, 'sub_port_id': 21448373, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017812, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'cartonnette': {'main_port_id': 21448345, 'sub_port_id': 21448374, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017813, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}, 'Carton_brun': {'main_port_id': 21448345, 'sub_port_id': 21448375, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017814, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21448364 , 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=21448345 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 (21448364) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448365 , 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=21448345 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 (21448365) result : ((1344265066,), (1344265285,), (1344265286,), (1344266115,), (1344266116,), (1344266117,), (1344266145,), (1344266152,), (1344266153,), (1344266154,), (1344266190,), (1344266191,), (1344266192,), (1344266228,), (1344266253,), (1344266254,), (1344266255,), (1344266783,), (1344266790,), (1344266830,), (1344267522,), (1344267524,), (1344267526,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448366 , 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=21448345 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 (21448366) result : ((1344265373,), (1344266122,), (1344266131,), (1344266204,), (1344266205,), (1344266818,), (1344267427,), (1344267574,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448367 , 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=21448345 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 (21448367) result : ((1344265259,), (1344266112,), (1344266114,), (1344266125,), (1344266187,), (1344266776,), (1344266777,), (1344266778,), (1344266787,), (1344266829,), (1344267382,), (1344267383,), (1344267504,), (1344267507,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448368 , 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=21448345 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 (21448368) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448369 , 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=21448345 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 (21448369) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448370 , 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=21448345 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 (21448370) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448371 , 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=21448345 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 (21448371) result : ((1344265075,), (1344265309,), (1344266118,), (1344266119,), (1344266126,), (1344266127,), (1344266157,), (1344266193,), (1344266194,), (1344266234,), (1344266256,), (1344266784,), (1344266785,), (1344266786,), (1344266793,), (1344266831,), (1344267396,), (1344267397,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448372 , 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=21448345 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 (21448372) result : ((1344266132,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448373 , 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=21448345 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 (21448373) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448374 , 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=21448345 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 (21448374) result : ((1344265329,), (1344265331,), (1344266128,), (1344266129,), (1344266197,), (1344266198,), (1344266199,), (1344266788,), (1344266789,), (1344266817,), (1344267535,), (1344267538,), (1344267541,), (1344267543,), (1344267545,), (1344267548,), (1344267550,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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 21448375 , 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=21448345 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 (21448375) result : ((1344265346,), (1344265348,), (1344266159,), (1344266160,), (1344266161,), (1344266162,), (1344266201,), (1344266202,), (1344266239,), (1344266257,), (1344266258,), (1344266259,), (1344266260,), (1344266791,), (1344266792,), (1344267412,), (1344267415,), (1344267416,), (1344267417,), (1344267420,), (1344267559,), (1344267562,), (1344267564,), (1344267566,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21448345) result : ((1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) 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`=21448345 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','autre_refus','kraft','flou','Carton_gris','environnement','papier','plastique','Teint_Dans_La_Masse','mal_croppe','cartonnette')) 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`=21448345 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','autre_refus','kraft','flou','Carton_gris','environnement','papier','plastique','Teint_Dans_La_Masse','mal_croppe','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21448345, 'sub_port_id': 21448376, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017815, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'autre_refus': {'main_port_id': 21448345, 'sub_port_id': 21448377, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017816, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'plastique': {'main_port_id': 21448345, 'sub_port_id': 21448378, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017817, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21448345, 'sub_port_id': 21448379, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017818, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'mal_croppe': {'main_port_id': 21448345, 'sub_port_id': 21448380, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017819, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'flou': {'main_port_id': 21448345, 'sub_port_id': 21448381, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017820, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'papier': {'main_port_id': 21448345, 'sub_port_id': 21448382, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017821, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'Carton_gris': {'main_port_id': 21448345, 'sub_port_id': 21448383, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017822, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'metal': {'main_port_id': 21448345, 'sub_port_id': 21448384, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017823, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'environnement': {'main_port_id': 21448345, 'sub_port_id': 21448385, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017824, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'cartonnette': {'main_port_id': 21448345, 'sub_port_id': 21448386, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017825, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}, 'Carton_brun': {'main_port_id': 21448345, 'sub_port_id': 21448387, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14017826, 'last_updated_at': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 20, 13, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 20, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448376,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448364 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448377,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448365 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448378,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448366 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448379,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448367 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448380,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448368 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448381,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448369 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448382,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448370 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448383,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448371 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448384,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448372 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448385,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448373 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448386,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448374 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21448387,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21448375 lien utilise dans velours : https://www.fotonower.com/velours/21448376,21448377,21448378,21448379,21448380,21448381,21448382,21448383,21448384,21448385,21448386,21448387?tags=kraft,autre_refus,plastique,Teint_Dans_La_Masse,mal_croppe,flou,papier,Carton_gris,metal,environnement,cartonnette,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21448345]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] map_info['map_portfolio_photo'] : {21448345: [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885, 1344266832, 1344266820, 1344266779, 1344266775, 1344266692, 1344266618, 1344266582, 1344266506, 1344266467, 1344266275, 1344266270, 1344266266, 1344266251, 1344266245, 1344266178, 1344266174, 1344266171, 1344266169, 1344266123, 1344266120, 1344266113, 1344266108, 1344266075, 1344266044, 1344265915, 1344265913, 1344265904, 1344265880, 1344265770, 1344265749, 1344265741, 1344265716, 1344265707, 1344265684, 1344265382, 1344265333, 1344265258, 1344265197, 1344265156, 1344265108, 1344264955, 1344264950, 1344264931, 1344264910, 1344264889, 1344264657, 1344264633, 1344264589, 1344264533, 1344264526, 1344264474, 1344263865, 1344263862, 1344263858, 1344263583, 1344263555, 1344263502, 1344263471]} final : False mtd_id 4302 list_pids : [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] Looping around the photos to save general results len do output : 1 /21448345. 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, '2670682') ('4302', '21448345', '1344267754', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '21448345', "{'kraft': 21448364, 'autre_refus': 21448365, 'plastique': 21448366, 'Teint_Dans_La_Masse': 21448367, 'mal_croppe': 21448368, 'flou': 21448369, 'papier': 21448370, 'Carton_gris': 21448371, 'metal': 21448372, 'environnement': 21448373, 'cartonnette': 21448374, 'Carton_brun': 21448375}", None, None, None, None, '2670682'), ('4302', '21448345', '1344267754', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682')] time used for this insertion : 0.0167236328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4509387016296387 time spend to save output : 0.017023324966430664 total time spend for step 1 : 1.4679620265960693 step2:final Fri Mar 14 20:17:00 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 (21448345) 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 21448345 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1344263583,1344263555,1344263502,1344263471,1344263865,1344263862,1344263858,1344264657,1344264633,1344264589,1344264533,1344264526,1344264474,1344264955,1344264950,1344264931,1344264910,1344264889,1344265382,1344265333,1344265258,1344265197,1344265156,1344265108,1344265770,1344265749,1344265741,1344265716,1344265707,1344265684,1344265915,1344265913,1344265904,1344265880,1344266123,1344266120,1344266113,1344266108,1344266075,1344266044,1344266178,1344266174,1344266171,1344266169,1344266275,1344266270,1344266266,1344266251,1344266245,1344266692,1344266618,1344266582,1344266506,1344266467,1344266832,1344266820,1344266779,1344266775,1344266963,1344266946,1344266897,1344266892,1344266885,1344267499,1344267457,1344267445,1344267429,1344267406,1344267380,1344267754,1344267732,1344267725,1344267701); 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([21448345]) Inside saveOutput : final : False verbose : True original output for save of step final : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} new output for save of step final : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] map_info['map_portfolio_photo'] : {21448345: [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885, 1344266832, 1344266820, 1344266779, 1344266775, 1344266692, 1344266618, 1344266582, 1344266506, 1344266467, 1344266275, 1344266270, 1344266266, 1344266251, 1344266245, 1344266178, 1344266174, 1344266171, 1344266169, 1344266123, 1344266120, 1344266113, 1344266108, 1344266075, 1344266044, 1344265915, 1344265913, 1344265904, 1344265880, 1344265770, 1344265749, 1344265741, 1344265716, 1344265707, 1344265684, 1344265382, 1344265333, 1344265258, 1344265197, 1344265156, 1344265108, 1344264955, 1344264950, 1344264931, 1344264910, 1344264889, 1344264657, 1344264633, 1344264589, 1344264533, 1344264526, 1344264474, 1344263865, 1344263862, 1344263858, 1344263583, 1344263555, 1344263502, 1344263471]} final : False mtd_id 4302 list_pids : [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] Looping around the photos to save general results len do output : 15 /1344267754.Didn't retrieve data . /1344267732.Didn't retrieve data . /1344267725.Didn't retrieve data . /1344267701.Didn't retrieve data . /1344267499.Didn't retrieve data . /1344267457.Didn't retrieve data . /1344267445.Didn't retrieve data . /1344267429.Didn't retrieve data . /1344267406.Didn't retrieve data . /1344267380.Didn't retrieve data . /1344266963.Didn't retrieve data . /1344266946.Didn't retrieve data . /1344266897.Didn't retrieve data . /1344266892.Didn't retrieve data . /1344266885.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, '2670682') ('4302', '21448345', '1344267754', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '21448345', '1344267754', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267732', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267725', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267701', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267499', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267457', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267445', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267429', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267406', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344267380', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344266963', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344266946', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344266897', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344266892', '0.05621829993662089', None, None, None, None, '2670682'), ('4302', '21448345', '1344266885', '0.05621829993662089', None, None, None, None, '2670682')] time used for this insertion : 0.014072895050048828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0894465446472168 time spend to save output : 0.014777421951293945 total time spend for step 2 : 0.10422396659851074 step3:velours_tree Fri Mar 14 20:17:00 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 : {21448345: [{'kraft': 21448364, 'autre_refus': 21448365, 'plastique': 21448366, 'Teint_Dans_La_Masse': 21448367, 'mal_croppe': 21448368, 'flou': 21448369, 'papier': 21448370, 'Carton_gris': 21448371, 'metal': 21448372, 'environnement': 21448373, 'cartonnette': 21448374, 'Carton_brun': 21448375}]} input_args_next_step : {21448345: ()} output_args : {21448345: [{'kraft': 21448364, 'autre_refus': 21448365, 'plastique': 21448366, 'Teint_Dans_La_Masse': 21448367, 'mal_croppe': 21448368, 'flou': 21448369, 'papier': 21448370, 'Carton_gris': 21448371, 'metal': 21448372, 'environnement': 21448373, 'cartonnette': 21448374, 'Carton_brun': 21448375}]} args : 21448345 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 21448364, 'autre_refus': 21448365, 'plastique': 21448366, 'Teint_Dans_La_Masse': 21448367, 'mal_croppe': 21448368, 'flou': 21448369, 'papier': 21448370, 'Carton_gris': 21448371, 'metal': 21448372, 'environnement': 21448373, 'cartonnette': 21448374, 'Carton_brun': 21448375},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21448345) 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([21448345]) 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.3247385025024414 time spend to save output : 6.580352783203125e-05 total time spend for step 3 : 0.32480430603027344 step4:send_mail_cod Fri Mar 14 20:17:00 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 : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} input_args_next_step : {1344267754: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267754 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267732 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267725 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267701 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267499 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267457 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267445 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267429 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267406 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344267380 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344266963 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344266946 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344266897 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344266892 depend.output_id : 0 input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ()} output_args : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',)} args : 1344266885 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {21448345: [{'kraft': 21448364, 'autre_refus': 21448365, 'plastique': 21448366, 'Teint_Dans_La_Masse': 21448367, 'mal_croppe': 21448368, 'flou': 21448369, 'papier': 21448370, 'Carton_gris': 21448371, 'metal': 21448372, 'environnement': 21448373, 'cartonnette': 21448374, 'Carton_brun': 21448375}]} input_args_next_step : {1344267754: ('0.05621829993662089',), 1344267732: ('0.05621829993662089',), 1344267725: ('0.05621829993662089',), 1344267701: ('0.05621829993662089',), 1344267499: ('0.05621829993662089',), 1344267457: ('0.05621829993662089',), 1344267445: ('0.05621829993662089',), 1344267429: ('0.05621829993662089',), 1344267406: ('0.05621829993662089',), 1344267380: ('0.05621829993662089',), 1344266963: ('0.05621829993662089',), 1344266946: ('0.05621829993662089',), 1344266897: ('0.05621829993662089',), 1344266892: ('0.05621829993662089',), 1344266885: ('0.05621829993662089',), 21448345: ()} output_args : {21448345: [{'kraft': 21448364, 'autre_refus': 21448365, 'plastique': 21448366, 'Teint_Dans_La_Masse': 21448367, 'mal_croppe': 21448368, 'flou': 21448369, 'papier': 21448370, 'Carton_gris': 21448371, 'metal': 21448372, 'environnement': 21448373, 'cartonnette': 21448374, 'Carton_brun': 21448375}]} args : 21448345 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 :16, first value : ('0.05621829993662089',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21448345) 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 (1344267754,1344267732,1344267725,1344267701,1344267499,1344267457,1344267445,1344267429,1344267406,1344267380,1344266963,1344266946,1344266897,1344266892,1344266885) Found this number of photos: 15 ##### Call download_photos : nb_thread : 5 begin to download photo : 1344266885 begin to download photo : 1344266963 begin to download photo : 1344267445 begin to download photo : 1344267725 download finish for photo 1344267725 begin to download photo : 1344267732 download finish for photo 1344266885 begin to download photo : 1344266892 download finish for photo 1344266963 begin to download photo : 1344267380 download finish for photo 1344267445 begin to download photo : 1344267457 download finish for photo 1344267732 begin to download photo : 1344267754 download finish for photo 1344267457 begin to download photo : 1344267499 download finish for photo 1344266892 begin to download photo : 1344266897 download finish for photo 1344267380 begin to download photo : 1344267406 download finish for photo 1344267754 download finish for photo 1344267499 begin to download photo : 1344267701 download finish for photo 1344266897 begin to download photo : 1344266946 download finish for photo 1344267406 begin to download photo : 1344267429 download finish for photo 1344267701 download finish for photo 1344266946 download finish for photo 1344267429 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette214483641741979821/ length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 results_Auto_P21448345_14-03-2025_20_17_01.pdf 21448364 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=21448364 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214483641741979821 21448365 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=21448365 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344266191: '1741979355_1131524_1344264533_612016356bb7a01f833152cc7a4aba5b_rle_crop_3712779683_0.png', 1344267526: '1741979667_2060600_1344266506_4d2d683aff1492540444838979292ba1_rle_crop_3712786579_0.png', 1344267524: '1741979667_2060600_1344266582_448b4c3be1060f412e3a81fb509ad493_rle_crop_3712786565_0.png', 1344267522: '1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786539_0.png', 1344266830: '1741979553_1134794_1344266169_19047493f0f6ac8cfcdfe92a8baa116c_rle_crop_3712784856_0.png', 1344266790: '1741979533_1134267_1344266266_877b83c0fe98f1dd54ed4f20e0df3142_rle_crop_3712784730_0.png', 1344266783: '1741979546_2057511_1344266075_f06b91857c43f5fbf5a76a8662408aeb_rle_crop_3712784632_0.png', 1344266255: '1741979429_2054266_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779399_0.png', 1344266254: '1741979429_2054266_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779162_0.png', 1344266253: '1741979429_2054266_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779158_0.png', 1344266228: '1741979395_1132167_1344265904_eef9ba387d5ee8b4f6b4d23f61cdcb3f_rle_crop_3712781111_0.png', 1344266192: '1741979355_1131524_1344264526_ce0d33f9911be9d5be0041dee499c124_rle_crop_3712779695_0.png', 1344265066: '1741979091_1128234_1344263858_8509fdb0115185a1c6c36b2ac1436d86_rle_crop_3712763921_0.png', 1344266190: '1741979355_1131524_1344264955_8f5b773e224e0b537480799910972d29_rle_crop_3712779657_0.png', 1344266154: '1741979312_1130900_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779399_0.png', 1344266153: '1741979312_1130900_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779162_0.png', 1344266152: '1741979312_1130900_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779158_0.png', 1344266145: '1741979332_1131101_1344264657_31d24e485f4276504a63668dd6d44a9d_rle_crop_3712778654_0.png', 1344266117: '1741979306_2053281_1344265707_cc9f18e64fdfdd516ba39436983b4979_rle_crop_3712776652_0.png', 1344266116: '1741979306_2053281_1344265716_09d05439efcb2093d419f081a3784fca_rle_crop_3712776300_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e0720947b6c7feef3d8e0fec51863c85_51859444.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ee70c0f48a76b8e34712e6cd3aa22e28_62499633.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2b0a9cd770eb02a48bcd6fb3ffe4c513_13763042.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/7fcde472f8f922412ea8c68142ddc495_32517343.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/090a82c96873e9d9b6df84a808e264b1_58973609.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2801042eec2e153e2f2dd178f04d68f4_52833145.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d33328c7a079bece6096ad78282e2eda_88016540.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/98eaca3c1b5506f1bc58776b86c391f7_9664587.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/27418fe87c4308497ff73b3275acd56f_45518613.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f970e2d2d6ddec3a0a15bf448a175f15_35543417.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/be24d7aa166b3292a8128f22984f09f5_556933.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/653001eeebc12da4f930fca1bc561bf7_81857056.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/26a017bbd909fd46a735326bf229aeb5_23607921.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/90974142d3f6674abe4f6fc7cf185bdb_77688336.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/98eaca3c1b5506f1bc58776b86c391f7_21467612.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/27418fe87c4308497ff73b3275acd56f_26322707.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f970e2d2d6ddec3a0a15bf448a175f15_83617594.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a51acf0adcb9554b917ba99c8e7f9e8e_67538541.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/042e8e02172d068ca11a3f0134a779b5_19810061.png change filename to text .imagette214483651741979821/ imagette214483651741979821/1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786539_0.png.png imagette214483651741979821/1741979091_1128234_1344263858_8509fdb0115185a1c6c36b2ac1436d86_rle_crop_3712763921_0.png.png imagette214483651741979821/1741979306_2053281_1344265707_cc9f18e64fdfdd516ba39436983b4979_rle_crop_3712776652_0.png.png imagette214483651741979821/1741979355_1131524_1344264955_8f5b773e224e0b537480799910972d29_rle_crop_3712779657_0.png.png imagette214483651741979821/1741979533_1134267_1344266266_877b83c0fe98f1dd54ed4f20e0df3142_rle_crop_3712784730_0.png.png imagette214483651741979821/1741979312_1130900_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779399_0.png.png imagette214483651741979821/1741979332_1131101_1344264657_31d24e485f4276504a63668dd6d44a9d_rle_crop_3712778654_0.png.png imagette214483651741979821/1741979355_1131524_1344264526_ce0d33f9911be9d5be0041dee499c124_rle_crop_3712779695_0.png.png imagette214483651741979821/1741979306_2053281_1344265716_09d05439efcb2093d419f081a3784fca_rle_crop_3712776300_0.png.png imagette214483651741979821/1741979312_1130900_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779162_0.png.png imagette214483651741979821/1741979546_2057511_1344266075_f06b91857c43f5fbf5a76a8662408aeb_rle_crop_3712784632_0.png.png imagette214483651741979821/1741979667_2060600_1344266506_4d2d683aff1492540444838979292ba1_rle_crop_3712786579_0.png.png imagette214483651741979821/1741979667_2060600_1344266582_448b4c3be1060f412e3a81fb509ad493_rle_crop_3712786565_0.png.png imagette214483651741979821/1741979429_2054266_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779162_0.png.png imagette214483651741979821/1741979429_2054266_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779158_0.png.png imagette214483651741979821/1741979395_1132167_1344265904_eef9ba387d5ee8b4f6b4d23f61cdcb3f_rle_crop_3712781111_0.png.png imagette214483651741979821/1741979429_2054266_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779399_0.png.png imagette214483651741979821/1741979312_1130900_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779158_0.png.png imagette214483651741979821/1741979553_1134794_1344266169_19047493f0f6ac8cfcdfe92a8baa116c_rle_crop_3712784856_0.png.png imagette214483651741979821/1741979355_1131524_1344264533_612016356bb7a01f833152cc7a4aba5b_rle_crop_3712779683_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/706468d54916cb6e49d395cf5ccfce92_28573663.png imagette214483651741979821 21448366 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=21448366 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344265373: '1741979112_1128498_1344263555_af6b70c24c3b6e811261d8bc735dc245_rle_crop_3712765035_0.png', 1344266122: '1741979306_2053281_1344265707_cc9f18e64fdfdd516ba39436983b4979_rle_crop_3712776657_0.png', 1344266131: '1741979295_1130663_1344265333_78083a2f00a34b48c623d371a9f242b3_rle_crop_3712776915_0.png', 1344266204: '1741979355_1131524_1344264955_8f5b773e224e0b537480799910972d29_rle_crop_3712779654_0.png', 1344266205: '1741979355_1131524_1344264533_612016356bb7a01f833152cc7a4aba5b_rle_crop_3712779682_0.png', 1344266818: '1741979533_1134267_1344266270_fe6d77878821ca39cf00228c74078ea9_rle_crop_3712784641_0.png', 1344267427: '1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786444_0.png', 1344267574: '1741979667_2060600_1344266506_4d2d683aff1492540444838979292ba1_rle_crop_3712786581_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0acb5867ea4bdb37a77b5b536a8312f8_7573582.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/034d051c8cf4fbff0beb36469f24bd92_20678157.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/29fbabda662e798ccb244b4b1f7c8768_17710259.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/4c813bf86fe91e67b5daadea92ab2296_66029197.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c56c74c16ff2ff5d0af7de42e5d70075_61587640.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/29aca6c88268251421363dc04fa80c26_51110162.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3ce97569ca5d97c12f82f2523aa75969_55209688.png change filename to text .imagette214483661741979822/ imagette214483661741979822/1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786444_0.png.png imagette214483661741979822/1741979306_2053281_1344265707_cc9f18e64fdfdd516ba39436983b4979_rle_crop_3712776657_0.png.png imagette214483661741979822/1741979667_2060600_1344266506_4d2d683aff1492540444838979292ba1_rle_crop_3712786581_0.png.png imagette214483661741979822/1741979355_1131524_1344264955_8f5b773e224e0b537480799910972d29_rle_crop_3712779654_0.png.png imagette214483661741979822/1741979355_1131524_1344264533_612016356bb7a01f833152cc7a4aba5b_rle_crop_3712779682_0.png.png imagette214483661741979822/1741979112_1128498_1344263555_af6b70c24c3b6e811261d8bc735dc245_rle_crop_3712765035_0.png.png imagette214483661741979822/1741979533_1134267_1344266270_fe6d77878821ca39cf00228c74078ea9_rle_crop_3712784641_0.png.png imagette214483661741979822/1741979295_1130663_1344265333_78083a2f00a34b48c623d371a9f242b3_rle_crop_3712776915_0.png.png imagette214483681741979822/ imagette214483691741979822/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/12b94a6139054551551a3e0eb54b0bdc_44083848.png imagette214483661741979822 21448368 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=21448368 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214483681741979822 21448369 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=21448369 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214483691741979822 21448372 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=21448372 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344266132: '1741979295_1130663_1344265108_9bbe453719af37318ba2ee3b138361ac_rle_crop_3712777698_0.png'} change filename to text .imagette214483721741979822/ imagette214483721741979822/1741979295_1130663_1344265108_9bbe453719af37318ba2ee3b138361ac_rle_crop_3712777698_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d7bb7fe0303ddb715d8ae2475599a3bc_973924.png imagette214483721741979822 21448374 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=21448374 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344266789: '1741979546_2057511_1344266113_1112e33f69cf5460c26fd184b928dc16_rle_crop_3712784606_0.png', 1344267550: '1741979667_2060600_1344266582_448b4c3be1060f412e3a81fb509ad493_rle_crop_3712786568_0.png', 1344267548: '1741979667_2060600_1344266582_448b4c3be1060f412e3a81fb509ad493_rle_crop_3712786566_0.png', 1344267545: '1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786549_0.png', 1344267543: '1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786547_0.png', 1344267541: '1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786552_0.png', 1344267538: '1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786551_0.png', 1344267535: '1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786525_0.png', 1344266817: '1741979533_1134267_1344266251_dc2e2c2cb2ff00973ebb0fdf3f66cd52_rle_crop_3712784739_0.png', 1344265329: '1741979112_1128498_1344263583_1a3e77e7939f435fc8fa04c8b6948760_rle_crop_3712764913_0.png', 1344266788: '1741979546_2057511_1344266120_0db205c883bf8de2676b6223b0a1a25b_rle_crop_3712784588_0.png', 1344266199: '1741979355_1131524_1344264526_ce0d33f9911be9d5be0041dee499c124_rle_crop_3712779697_0.png', 1344266198: '1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779664_0.png', 1344266197: '1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779665_0.png', 1344266129: '1741979295_1130663_1344265197_4da3f3c7865a793c283312feb6d1a5d0_rle_crop_3712777204_0.png', 1344266128: '1741979295_1130663_1344265258_526e26dfbc77b5612dcd96c449e6c63c_rle_crop_3712777147_0.png', 1344265331: '1741979112_1128498_1344263583_1a3e77e7939f435fc8fa04c8b6948760_rle_crop_3712764910_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/94efe8418b0da871c6dc2c6261d3afb8_92131617.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/b6dd9a190746c5c520cfbbd450013bd9_7136951.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/7cdb68cff42a43252a6a01b16bb98e8b_90644399.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/de8b094a120dcc3296fb500e20f09a22_9306251.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/6de5c92a8481eea771174ff9d7716370_86637242.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/104eaa6c1554b9a62b8ebac6b3f97981_26250943.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3b420c955217626b3622b21f73da51b8_27694441.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/396a9753507ca0cb8b6e42e29940fa6f_76820585.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/805acba6c17bad9d662ffc1151b730c2_90245985.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a17c4b0e569723963db530cc9aa66f30_67240920.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5574b4d69b84ff3842bdc9b505f8ed7a_39656664.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/29c759e66bd5f9786ee523c673b6243c_34363922.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/369c9e7dcf771926cd7b7cc14110f75d_88402524.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/51764031b6e07af9a12351cf53bbc1a1_89628021.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/b11edbe7319520b68330d722d61163fa_12022432.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5a04592060d1a1ec54bf6de834a89111_4173350.png change filename to text .imagette214483741741979822/ imagette214483741741979822/1741979112_1128498_1344263583_1a3e77e7939f435fc8fa04c8b6948760_rle_crop_3712764913_0.png.png imagette214483741741979822/1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779665_0.png.png imagette214483741741979822/1741979546_2057511_1344266120_0db205c883bf8de2676b6223b0a1a25b_rle_crop_3712784588_0.png.png imagette214483741741979822/1741979295_1130663_1344265258_526e26dfbc77b5612dcd96c449e6c63c_rle_crop_3712777147_0.png.png imagette214483741741979822/1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786549_0.png.png imagette214483741741979822/1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786552_0.png.png imagette214483741741979822/1741979295_1130663_1344265197_4da3f3c7865a793c283312feb6d1a5d0_rle_crop_3712777204_0.png.png imagette214483741741979822/1741979546_2057511_1344266113_1112e33f69cf5460c26fd184b928dc16_rle_crop_3712784606_0.png.png imagette214483741741979822/1741979667_2060600_1344266582_448b4c3be1060f412e3a81fb509ad493_rle_crop_3712786566_0.png.png imagette214483741741979822/1741979667_2060600_1344266582_448b4c3be1060f412e3a81fb509ad493_rle_crop_3712786568_0.png.png imagette214483741741979822/1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786547_0.png.png imagette214483741741979822/1741979533_1134267_1344266251_dc2e2c2cb2ff00973ebb0fdf3f66cd52_rle_crop_3712784739_0.png.png imagette214483741741979822/1741979112_1128498_1344263583_1a3e77e7939f435fc8fa04c8b6948760_rle_crop_3712764910_0.png.png imagette214483741741979822/1741979355_1131524_1344264526_ce0d33f9911be9d5be0041dee499c124_rle_crop_3712779697_0.png.png imagette214483741741979822/1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779664_0.png.png imagette214483741741979822/1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786525_0.png.png imagette214483741741979822/1741979667_2060600_1344266618_bebe4b7b60976047294c2c12f9939f04_rle_crop_3712786551_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/57c2b0ce102160843c5a4fde61345f39_77752146.png imagette214483741741979822 21448367 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=21448367 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344265259: '1741979112_1128498_1344263555_af6b70c24c3b6e811261d8bc735dc245_rle_crop_3712765042_0.png', 1344266112: '1741979306_2053281_1344265684_9769c8b43bffe81fb5c430fd01233e66_rle_crop_3712776891_0.png', 1344266114: '1741979306_2053281_1344265684_9769c8b43bffe81fb5c430fd01233e66_rle_crop_3712776895_0.png', 1344266125: '1741979295_1130663_1344265108_9bbe453719af37318ba2ee3b138361ac_rle_crop_3712777707_0.png', 1344266187: '1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779671_0.png', 1344266776: '1741979546_2057511_1344266178_c418b278f6ea1157f87abe585efbd6e1_rle_crop_3712784531_0.png', 1344266777: '1741979546_2057511_1344266178_c418b278f6ea1157f87abe585efbd6e1_rle_crop_3712784535_0.png', 1344266778: '1741979546_2057511_1344266120_0db205c883bf8de2676b6223b0a1a25b_rle_crop_3712784594_0.png', 1344266787: '1741979533_1134267_1344266245_db97dcae6dd39857ecb4f108ee3c8bf8_rle_crop_3712784756_0.png', 1344266829: '1741979553_1134794_1344266171_265425d427369fe88b9471b2df5252c4_rle_crop_3712784849_0.png', 1344267382: '1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786429_0.png', 1344267383: '1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786425_0.png', 1344267504: '1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786531_0.png', 1344267507: '1741979667_2060600_1344266467_6b897fbe74bdb3d7f8bc8a86d8440707_rle_crop_3712786598_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/6101dc22c7b82fe0a0b5818c6af4ab0a_56872753.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/210ed2e7eccb234bc61acc6ca86375bf_60293492.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cc68090e405ec4c34ab181685aece2dc_1784006.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/8094b34eb9fd00d559dfc03910309d04_60801827.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/8a81530d7addfb389702b1e44439ea8d_96324907.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e14b8d7810552bb91b661a8e5878e29f_1137170.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d6c062ef87229c547d20c88ba1b314d2_85924536.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/fc250009ac0ec876c1dd7182406c30db_17096777.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3f506c1065ecf0bfcefd5fa46826d893_23750250.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/4c734aa6b5e20d01f880538ab6502450_473948.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2e28379c37f27ea7ffa2b934d5dd1f98_75144062.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5c6798cabdb2955d09a16d672ce7dc37_22517863.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/fc48fd4425987b1cece6bd7ad1386302_74092146.png change filename to text .imagette214483671741979823/ imagette214483671741979823/1741979306_2053281_1344265684_9769c8b43bffe81fb5c430fd01233e66_rle_crop_3712776891_0.png.png imagette214483671741979823/1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779671_0.png.png imagette214483671741979823/1741979546_2057511_1344266120_0db205c883bf8de2676b6223b0a1a25b_rle_crop_3712784594_0.png.png imagette214483671741979823/1741979295_1130663_1344265108_9bbe453719af37318ba2ee3b138361ac_rle_crop_3712777707_0.png.png imagette214483671741979823/1741979546_2057511_1344266178_c418b278f6ea1157f87abe585efbd6e1_rle_crop_3712784531_0.png.png imagette214483671741979823/1741979546_2057511_1344266178_c418b278f6ea1157f87abe585efbd6e1_rle_crop_3712784535_0.png.png imagette214483671741979823/1741979667_2060600_1344266467_6b897fbe74bdb3d7f8bc8a86d8440707_rle_crop_3712786598_0.png.png imagette214483671741979823/1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786531_0.png.png imagette214483671741979823/1741979533_1134267_1344266245_db97dcae6dd39857ecb4f108ee3c8bf8_rle_crop_3712784756_0.png.png imagette214483671741979823/1741979112_1128498_1344263555_af6b70c24c3b6e811261d8bc735dc245_rle_crop_3712765042_0.png.png imagette214483671741979823/1741979553_1134794_1344266171_265425d427369fe88b9471b2df5252c4_rle_crop_3712784849_0.png.png imagette214483671741979823/1741979306_2053281_1344265684_9769c8b43bffe81fb5c430fd01233e66_rle_crop_3712776895_0.png.png imagette214483671741979823/1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786425_0.png.png imagette214483671741979823/1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786429_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3ad6ce461be7d27b34a6e165e20f6b9c_64495492.png imagette214483671741979823 21448371 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=21448371 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344266234: '1741979395_1132167_1344265880_d21b81d75e8390a4ac8cefe3d06c8873_rle_crop_3712781397_0.png', 1344267397: '1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786430_0.png', 1344267396: '1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786419_0.png', 1344266831: '1741979553_1134794_1344266275_3601c3339531c36234d596c8fcb56cc3_rle_crop_3712784777_0.png', 1344266793: '1741979533_1134267_1344266245_db97dcae6dd39857ecb4f108ee3c8bf8_rle_crop_3712784754_0.png', 1344266786: '1741979546_2057511_1344266044_f0a00fd98cddd170628f01b024683853_rle_crop_3712784716_0.png', 1344266785: '1741979546_2057511_1344266120_0db205c883bf8de2676b6223b0a1a25b_rle_crop_3712784596_0.png', 1344266784: '1741979546_2057511_1344266178_c418b278f6ea1157f87abe585efbd6e1_rle_crop_3712784529_0.png', 1344266256: '1741979429_2054266_1344265382_3a61a5d5fbd303ff18b60ea086a98d94_rle_crop_3712778649_0.png', 1344265075: '1741979091_1128234_1344263858_8509fdb0115185a1c6c36b2ac1436d86_rle_crop_3712763920_0.png', 1344266194: '1741979355_1131524_1344264533_612016356bb7a01f833152cc7a4aba5b_rle_crop_3712779687_0.png', 1344266193: '1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779663_0.png', 1344266157: '1741979312_1130900_1344265382_3a61a5d5fbd303ff18b60ea086a98d94_rle_crop_3712778649_0.png', 1344266127: '1741979295_1130663_1344265108_9bbe453719af37318ba2ee3b138361ac_rle_crop_3712777706_0.png', 1344266126: '1741979295_1130663_1344265333_78083a2f00a34b48c623d371a9f242b3_rle_crop_3712776917_0.png', 1344266119: '1741979306_2053281_1344265684_9769c8b43bffe81fb5c430fd01233e66_rle_crop_3712776889_0.png', 1344266118: '1741979306_2053281_1344265716_09d05439efcb2093d419f081a3784fca_rle_crop_3712776297_0.png', 1344265309: '1741979112_1128498_1344263502_fcdb8fb84ca1df5391a2193084ce798b_rle_crop_3712765162_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d17728b05eb6334d1d33709ae087ca78_81154128.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/9b25585056904675e808520fa92de418_22975318.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/663f3b63bc99299c448463d348203d78_11746490.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a35fd3c23b05629878826f2711c2034d_47589485.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/633dddfa853cabf968486edde2eb6bdb_91074240.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/478ad1650039d67fb05ce8fde8dc1fec_52005724.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c5f792389456bfbd3c91a9538701c3ec_76203459.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/b4f181bdf753ce5675521bd436ec26fc_32051561.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ff6ac8a0a9b855f238dea7bd62fe9516_89345350.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d40d02e89a4b6c7f9668a01c665f8d45_1599758.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/20d964034a5ec00c6996747ec7933459_28438054.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c216a746b0f25dcd764fd7d448d314f1_67690218.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ff6ac8a0a9b855f238dea7bd62fe9516_79612593.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/8aa5ee9c3f2cde632a57732b993f776e_78628173.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5a33d8011bd964270ff34ad36947230c_41692063.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/54f396f479230b8de7ffb5f71fdab283_27084879.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/377aa994f9c26fbad1431037fe601f50_9409786.png change filename to text .imagette214483711741979824/ imagette214483711741979824/1741979112_1128498_1344263502_fcdb8fb84ca1df5391a2193084ce798b_rle_crop_3712765162_0.png.png imagette214483711741979824/1741979355_1131524_1344264533_612016356bb7a01f833152cc7a4aba5b_rle_crop_3712779687_0.png.png imagette214483711741979824/1741979355_1131524_1344264633_072ea88d7b1c2a9ea4973ba4e54356d5_rle_crop_3712779663_0.png.png imagette214483711741979824/1741979295_1130663_1344265108_9bbe453719af37318ba2ee3b138361ac_rle_crop_3712777706_0.png.png imagette214483711741979824/1741979306_2053281_1344265716_09d05439efcb2093d419f081a3784fca_rle_crop_3712776297_0.png.png imagette214483711741979824/1741979546_2057511_1344266044_f0a00fd98cddd170628f01b024683853_rle_crop_3712784716_0.png.png imagette214483711741979824/1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786419_0.png.png imagette214483711741979824/1741979295_1130663_1344265333_78083a2f00a34b48c623d371a9f242b3_rle_crop_3712776917_0.png.png imagette214483711741979824/1741979306_2053281_1344265684_9769c8b43bffe81fb5c430fd01233e66_rle_crop_3712776889_0.png.png imagette214483711741979824/1741979546_2057511_1344266178_c418b278f6ea1157f87abe585efbd6e1_rle_crop_3712784529_0.png.png imagette214483711741979824/1741979091_1128234_1344263858_8509fdb0115185a1c6c36b2ac1436d86_rle_crop_3712763920_0.png.png imagette214483711741979824/1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786430_0.png.png imagette214483711741979824/1741979429_2054266_1344265382_3a61a5d5fbd303ff18b60ea086a98d94_rle_crop_3712778649_0.png.png imagette214483711741979824/1741979395_1132167_1344265880_d21b81d75e8390a4ac8cefe3d06c8873_rle_crop_3712781397_0.png.png imagette214483711741979824/1741979553_1134794_1344266275_3601c3339531c36234d596c8fcb56cc3_rle_crop_3712784777_0.png.png imagette214483711741979824/1741979533_1134267_1344266245_db97dcae6dd39857ecb4f108ee3c8bf8_rle_crop_3712784754_0.png.png imagette214483711741979824/1741979312_1130900_1344265382_3a61a5d5fbd303ff18b60ea086a98d94_rle_crop_3712778649_0.png.png imagette214483711741979824/1741979546_2057511_1344266120_0db205c883bf8de2676b6223b0a1a25b_rle_crop_3712784596_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/456a43c81c1743b10780f2adc8c3d185_83637788.png imagette214483711741979824 21448375 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=21448375 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344266260: '1741979429_2054266_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779400_0.png', 1344267566: '1741979667_2060600_1344266467_6b897fbe74bdb3d7f8bc8a86d8440707_rle_crop_3712786599_0.png', 1344267564: '1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786542_0.png', 1344267562: '1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786533_0.png', 1344267559: '1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786535_0.png', 1344267420: '1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786457_0.png', 1344267417: '1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786459_0.png', 1344267416: '1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786447_0.png', 1344267415: '1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786435_0.png', 1344267412: '1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786427_0.png', 1344266792: '1741979546_2057511_1344266075_f06b91857c43f5fbf5a76a8662408aeb_rle_crop_3712784629_0.png', 1344266791: '1741979546_2057511_1344266108_4c71951a5a6cf676481fe94893a7c909_rle_crop_3712784618_0.png', 1344265346: '1741979112_1128498_1344263502_fcdb8fb84ca1df5391a2193084ce798b_rle_crop_3712765166_0.png', 1344266259: '1741979429_2054266_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779161_0.png', 1344266258: '1741979429_2054266_1344264950_79c51d065494f5cc6c03221eecd387e7_rle_crop_3712778888_0.png', 1344266257: '1741979429_2054266_1344264950_79c51d065494f5cc6c03221eecd387e7_rle_crop_3712778886_0.png', 1344266239: '1741979395_1132167_1344265904_eef9ba387d5ee8b4f6b4d23f61cdcb3f_rle_crop_3712781109_0.png', 1344266202: '1741979355_1131524_1344264474_a8478b2400416aa46391857dc98d6729_rle_crop_3712779765_0.png', 1344266201: '1741979355_1131524_1344264955_8f5b773e224e0b537480799910972d29_rle_crop_3712779656_0.png', 1344266162: '1741979312_1130900_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779400_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0b74d3ac874a63bbcdca312d07e0be82_58450648.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0dec99cdf593fba419d5724e6c571e17_71654884.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cb29ac77a1339a2a43bc6882855eba70_83063839.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e03715b2ff3f096d3ad53e0f38e2dfd6_94079801.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/24caaf5e63ba508064a9d903a3f0a672_9529638.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f7c4eb1683abff6ba038aa3a9829d2c2_98699811.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/8ddae9fbc513da27db6597a7c20ff729_83711603.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/71cbb4dbdb1cf6b9170edef82b99f699_2856106.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ba8381b8c70c2b6a2c0cbf6722068abc_2082416.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/1c9881d020b08a79188c6c23f357773b_86364754.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ecbf8cc3eae19d3cc2707b7246edb88b_6699767.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/21d504f0f621c9dc4a02f4dfd68aefbf_98873342.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/eb53876bbe32714df13546fe6c9f5f88_13797858.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f4b64fc4516053f27eccc1038dc39732_71790944.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e7c10c2e267725819ad8cea5f1ca206d_2221034.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2900071b1f0765ac8bfbbe9c57dd7bbb_85291242.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c1525e105cfe32486e2a742d88ecb492_74925932.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/9cc4ed1664725b85fd614ad8d143af35_46430462.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/23e0137c054f666e0681894de7854750_52643687.png change filename to text .imagette214483751741979825/ imagette214483751741979825/1741979312_1130900_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779400_0.png.png imagette214483751741979825/1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786435_0.png.png imagette214483751741979825/1741979429_2054266_1344264931_cfef90c737c15492da4b364a02cf6c44_rle_crop_3712779161_0.png.png imagette214483751741979825/1741979667_2060600_1344266467_6b897fbe74bdb3d7f8bc8a86d8440707_rle_crop_3712786599_0.png.png imagette214483751741979825/1741979429_2054266_1344264950_79c51d065494f5cc6c03221eecd387e7_rle_crop_3712778886_0.png.png imagette214483751741979825/1741979355_1131524_1344264955_8f5b773e224e0b537480799910972d29_rle_crop_3712779656_0.png.png imagette214483751741979825/1741979429_2054266_1344264950_79c51d065494f5cc6c03221eecd387e7_rle_crop_3712778888_0.png.png imagette214483751741979825/1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786457_0.png.png imagette214483751741979825/1741979546_2057511_1344266075_f06b91857c43f5fbf5a76a8662408aeb_rle_crop_3712784629_0.png.png imagette214483751741979825/1741979546_2057511_1344266108_4c71951a5a6cf676481fe94893a7c909_rle_crop_3712784618_0.png.png imagette214483751741979825/1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786533_0.png.png imagette214483751741979825/1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786447_0.png.png imagette214483751741979825/1741979395_1132167_1344265904_eef9ba387d5ee8b4f6b4d23f61cdcb3f_rle_crop_3712781109_0.png.png imagette214483751741979825/1741979652_1135966_1344266820_cd793cf32bde2355ec117fb00344ccc3_rle_crop_3712786427_0.png.png imagette214483751741979825/1741979429_2054266_1344264910_47a4138e4f836c17b6abe5e2f8b7be90_rle_crop_3712779400_0.png.png imagette214483751741979825/1741979652_1135966_1344266779_b9a2b100242dc74ef6cae20a92df422a_rle_crop_3712786459_0.png.png imagette214483751741979825/1741979112_1128498_1344263502_fcdb8fb84ca1df5391a2193084ce798b_rle_crop_3712765166_0.png.png imagette214483751741979825/1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786535_0.png.png imagette214483751741979825/1741979355_1131524_1344264474_a8478b2400416aa46391857dc98d6729_rle_crop_3712779765_0.png.png imagette214483751741979825/1741979667_2060600_1344266832_1867ab58708ff3a3ec82f5b0418ff6f9_rle_crop_3712786542_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0b74d3ac874a63bbcdca312d07e0be82_89870904.png imagette214483751741979825 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21448345 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21448376,21448377,21448378,21448379,21448380,21448381,21448382,21448383,21448384,21448385,21448386,21448387?tags=kraft,autre_refus,plastique,Teint_Dans_La_Masse,mal_croppe,flou,papier,Carton_gris,metal,environnement,cartonnette,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1344267754] : ('0.05621829993662089',) no score found for photo 1344267754 We are sending mail with results at report@fotonower.com args[1344267732] : ('0.05621829993662089',) no score found for photo 1344267732 We are sending mail with results at report@fotonower.com args[1344267725] : ('0.05621829993662089',) no score found for photo 1344267725 We are sending mail with results at report@fotonower.com args[1344267701] : ('0.05621829993662089',) no score found for photo 1344267701 We are sending mail with results at report@fotonower.com args[1344267499] : ('0.05621829993662089',) no score found for photo 1344267499 We are sending mail with results at report@fotonower.com args[1344267457] : ('0.05621829993662089',) no score found for photo 1344267457 We are sending mail with results at report@fotonower.com args[1344267445] : ('0.05621829993662089',) no score found for photo 1344267445 We are sending mail with results at report@fotonower.com args[1344267429] : ('0.05621829993662089',) no score found for photo 1344267429 We are sending mail with results at report@fotonower.com args[1344267406] : ('0.05621829993662089',) no score found for photo 1344267406 We are sending mail with results at report@fotonower.com args[1344267380] : ('0.05621829993662089',) no score found for photo 1344267380 We are sending mail with results at report@fotonower.com args[1344266963] : ('0.05621829993662089',) no score found for photo 1344266963 We are sending mail with results at report@fotonower.com args[1344266946] : ('0.05621829993662089',) no score found for photo 1344266946 We are sending mail with results at report@fotonower.com args[1344266897] : ('0.05621829993662089',) no score found for photo 1344266897 We are sending mail with results at report@fotonower.com args[1344266892] : ('0.05621829993662089',) no score found for photo 1344266892 We are sending mail with results at report@fotonower.com args[1344266885] : ('0.05621829993662089',) no score found for photo 1344266885 We are sending mail with results at report@fotonower.com refus_total : 0.05621829993662089 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=21448345 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_P21448345_14-03-2025_20_17_01.pdf results_Auto_P21448345_14-03-2025_20_17_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21448345_14-03-2025_20_17_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21448345','results_Auto_P21448345_14-03-2025_20_17_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21448345_14-03-2025_20_17_01.pdf','pdf','','0.38','0.05621829993662089') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21448345]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] map_info['map_portfolio_photo'] : {21448345: [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885, 1344266832, 1344266820, 1344266779, 1344266775, 1344266692, 1344266618, 1344266582, 1344266506, 1344266467, 1344266275, 1344266270, 1344266266, 1344266251, 1344266245, 1344266178, 1344266174, 1344266171, 1344266169, 1344266123, 1344266120, 1344266113, 1344266108, 1344266075, 1344266044, 1344265915, 1344265913, 1344265904, 1344265880, 1344265770, 1344265749, 1344265741, 1344265716, 1344265707, 1344265684, 1344265382, 1344265333, 1344265258, 1344265197, 1344265156, 1344265108, 1344264955, 1344264950, 1344264931, 1344264910, 1344264889, 1344264657, 1344264633, 1344264589, 1344264533, 1344264526, 1344264474, 1344263865, 1344263862, 1344263858, 1344263583, 1344263555, 1344263502, 1344263471]} final : False mtd_id 4302 list_pids : [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] 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, '2670682') ('4302', '21448345', '1344267754', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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', '21448345', '1344267754', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682')] time used for this insertion : 0.013755559921264648 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.146220922470093 time spend to save output : 0.014053106307983398 total time spend for step 4 : 7.160274028778076 step5:split_time_score Fri Mar 14 20:17:08 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 : ['21448345'] 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 : [('21448345',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21448345) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1344267725: {'path': 'temp/1741979820_1238503_1344267725_b82da0fe070245e3975a4f4f3e78b297.jpg', 'extension': 'jpg'}, 1344267732: {'path': 'temp/1741979820_1238503_1344267732_8b18d4ab7315be82f899f3e9f39c916e.jpg', 'extension': 'jpg'}, 1344267754: {'path': 'temp/1741979820_1238503_1344267754_2a0e2177e5b7bf2a9b61c4efc6f54e4b.jpg', 'extension': 'jpg'}, 1344267445: {'path': 'temp/1741979820_1238503_1344267445_46697447247ff0ebcc8c012be3ada654.jpg', 'extension': 'jpg'}, 1344267457: {'path': 'temp/1741979820_1238503_1344267457_74251047bb4395aab47de9acac1de9f6.jpg', 'extension': 'jpg'}, 1344267499: {'path': 'temp/1741979820_1238503_1344267499_51d8806f0223b3ad97adcb20b70ea4b3.jpg', 'extension': 'jpg'}, 1344267701: {'path': 'temp/1741979820_1238503_1344267701_468e411ca5021d7899f7385a591d140a.jpg', 'extension': 'jpg'}, 1344266885: {'path': 'temp/1741979820_1238503_1344266885_b7b4b64ae8e67e09acf9a6b56db9cef7.jpg', 'extension': 'jpg'}, 1344266892: {'path': 'temp/1741979820_1238503_1344266892_cf04bf82d46f99412fdb4e2364df0b74.jpg', 'extension': 'jpg'}, 1344266897: {'path': 'temp/1741979820_1238503_1344266897_ae991a23401abac82e43746c82c3d42c.jpg', 'extension': 'jpg'}, 1344266946: {'path': 'temp/1741979820_1238503_1344266946_5b3619e87691bf0e49d57acef9ebf16e.jpg', 'extension': 'jpg'}, 1344266963: {'path': 'temp/1741979820_1238503_1344266963_c1adbfd935345f4ed53967d3e2ca6420.jpg', 'extension': 'jpg'}, 1344267380: {'path': 'temp/1741979820_1238503_1344267380_22a150a07a3676d96c85956efe885048.jpg', 'extension': 'jpg'}, 1344267406: {'path': 'temp/1741979820_1238503_1344267406_1b30416dc3133bcf4ba739b232152eb8.jpg', 'extension': 'jpg'}, 1344267429: {'path': 'temp/1741979820_1238503_1344267429_7191adbece32836fc50b605898b86e3e.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 = 21448345; (('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 = 21448345 group by h (('20', 73),) 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=21448345 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 (21448345) 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 (21448345) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14032025 21448345 Nombre de photos uploadées : 73 / 23040 (0%) 14032025 21448345 Nombre de photos taguées (types de déchets): 0 / 73 (0%) 14032025 21448345 Nombre de photos taguées (volume) : 0 / 73 (0%) [{'photo_id': 1344263583, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/1a3e77e7939f435fc8fa04c8b6948760.jpg', 'username': None, 'uploaded_at': 1741978906, 'text': 'image_14032025_20_00_04_010147m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1344263555, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/af6b70c24c3b6e811261d8bc735dc245.jpg', 'username': None, 'uploaded_at': 1741978906, 'text': 'image_14032025_20_00_14_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1344263502, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/fcdb8fb84ca1df5391a2193084ce798b.jpg', 'username': None, 'uploaded_at': 1741978906, 'text': 'image_14032025_20_00_34_009126m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1344263471, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/985fe157e5bef283e3ae6ae5dbe92afb.jpg', 'username': None, 'uploaded_at': 1741978906, 'text': 'image_14032025_20_00_44_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.2159347534179688e-05 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003309965133666992 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21448345, '2025-03-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1667162,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.029425859451293945 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= 1667162 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1667162, 'dashboard_run_id': 1677567, 'mtr_portfolio_id': 21446965, 'dashboard_result_id': 9463730, '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_P21446965_14-03-2025_19_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21446968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21446969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21446970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21446971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21446972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21446973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21446974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21446975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21446976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21446977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21446978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21446979, 'pht': 3726}}"}, {'dashboat_entry_day': 1667162, 'dashboard_run_id': 1677567, 'mtr_portfolio_id': 21447649, 'dashboard_result_id': 9463731, '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_P21447649_14-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21447650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21447651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21447652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21447653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21447654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21447655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21447656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21447657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21447658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21447659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21447660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21447661, 'pht': 3726}}"}, {'dashboat_entry_day': 1667162, 'dashboard_run_id': 1677567, 'mtr_portfolio_id': 21448345, 'dashboard_result_id': 9463732, '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_P21448345_14-03-2025_20_13_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21448364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21448365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21448366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21448367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21448368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21448369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21448370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21448371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21448372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21448373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21448374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21448375, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21446965 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': 2670588, 'mtr_portfolio_id': 21446965, 'created_at': datetime.datetime(2025, 3, 14, 19, 48, 57), 'result': '0.06295654498260997', 'result_long': None, 'result_double': None}] Qualite : 0.06295654498260997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21446965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21446965_14-03-2025_19_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21446965 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_P21446965_14-03-2025_19_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21446968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21446969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21446970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21446971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21446972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21446973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21446974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21446975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21446976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21446977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21446978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21446979, 'pht': 3726}}" where mtr_portfolio_id = 21446965 and dashboard_run_id = 1677567 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`=21446965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9463730, 0.06295654498260997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21446965_14-03-2025_19_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21446968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21446969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21446970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21446971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21446972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21446973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21446974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21446975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21446976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21446977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21446978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21446979, '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 = 21447649 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': 2670622, 'mtr_portfolio_id': 21447649, 'created_at': datetime.datetime(2025, 3, 14, 20, 2, 59), 'result': '0.04733054463906023', 'result_long': None, 'result_double': None}] Qualite : 0.04733054463906023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21447649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21447649_14-03-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21447649 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_P21447649_14-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21447650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21447651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21447652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21447653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21447654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21447655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21447656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21447657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21447658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21447659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21447660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21447661, 'pht': 3726}}" where mtr_portfolio_id = 21447649 and dashboard_run_id = 1677567 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`=21447649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9463731, 0.04733054463906023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21447649_14-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21447650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21447651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21447652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21447653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21447654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21447655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21447656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21447657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21447658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21447659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21447660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21447661, '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 = 21448345 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': 2670682, 'mtr_portfolio_id': 21448345, 'created_at': datetime.datetime(2025, 3, 14, 20, 17), 'result': '0.05621829993662089', 'result_long': None, 'result_double': None}] Qualite : 0.05621829993662089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21448345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21448345_14-03-2025_20_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21448345 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_P21448345_14-03-2025_20_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21448364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21448365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21448366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21448367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21448368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21448369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21448370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21448371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21448372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21448373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21448374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21448375, 'pht': 3726}}" where mtr_portfolio_id = 21448345 and dashboard_run_id = 1677567 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`=21448345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9463732, 0.05621829993662089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21448345_14-03-2025_20_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21448364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21448365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21448366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21448367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21448368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21448369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21448370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21448371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21448372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21448373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21448374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21448375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21446965,21447649,21448345) result : ((1344253258,), (1344253285,), (1344253318,), (1344253655,), (1344253700,), (1344253739,), (1344253785,), (1344253822,), (1344253871,), (1344254132,), (1344254176,), (1344254221,), (1344254272,), (1344254497,), (1344254596,), (1344254635,), (1344254685,), (1344254736,), (1344254780,), (1344255002,), (1344255058,), (1344255118,), (1344255173,), (1344255219,), (1344255255,), (1344255574,), (1344255637,), (1344255677,), (1344255733,), (1344255929,), (1344255972,), (1344256021,), (1344256050,), (1344256115,), (1344256147,), (1344256436,), (1344256442,), (1344256451,), (1344256474,), (1344256482,), (1344256869,), (1344256912,), (1344256962,), (1344256998,), (1344257003,), (1344257078,), (1344257353,), (1344257367,), (1344257407,), (1344257433,), (1344257694,), (1344257722,), (1344257747,), (1344257812,), (1344257830,), (1344257857,), (1344257987,), (1344257996,), (1344258007,), (1344258012,), (1344258179,), (1344258264,), (1344258332,), (1344258396,), (1344258457,), (1344258506,), (1344258794,), (1344258852,), (1344258880,), (1344258911,), (1344258942,), (1344259039,), (1344259058,), (1344259083,), (1344259149,), (1344259152,), (1344259423,), (1344259324,), (1344259333,), (1344259345,), (1344259398,), (1344259671,), (1344259700,), (1344259711,), (1344259717,), (1344259719,), (1344259987,), (1344259994,), (1344259996,), (1344260006,), (1344260019,), (1344260051,), (1344260060,), (1344260067,), (1344260071,), (1344260075,), (1344260078,), (1344260133,), (1344260139,), (1344260154,), (1344260159,), (1344260338,), (1344260361,), (1344260382,), (1344260393,), (1344260414,), (1344260428,), (1344260596,), (1344260612,), (1344260647,), (1344260676,), (1344260859,), (1344260864,), (1344260905,), (1344260917,), (1344260938,), (1344260948,), (1344260992,), (1344260997,), (1344261005,), (1344261216,), (1344261242,), (1344261272,), (1344261300,), (1344261323,), (1344261343,), (1344261548,), (1344261557,), (1344261585,), (1344261600,), (1344261619,), (1344261621,), (1344261965,), (1344261983,), (1344261986,), (1344262226,), (1344262248,), (1344262299,), (1344262326,), (1344262354,), (1344262383,), (1344262837,), (1344262897,), (1344262962,), (1344263013,), (1344263135,), (1344263160,), (1344263185,), (1344263220,), (1344263243,), (1344263616,), (1344263471,), (1344263502,), (1344263555,), (1344263583,), (1344263858,), (1344263862,), (1344263865,), (1344264474,), (1344264526,), (1344264533,), (1344264589,), (1344264633,), (1344264657,), (1344264889,), (1344264910,), (1344264931,), (1344264950,), (1344264955,), (1344265108,), (1344265156,), (1344265197,), (1344265258,), (1344265333,), (1344265382,), (1344265684,), (1344265707,), (1344265716,), (1344265741,), (1344265749,), (1344265770,), (1344265880,), (1344265904,), (1344265913,), (1344265915,), (1344266044,), (1344266075,), (1344266108,), (1344266113,), (1344266120,), (1344266123,), (1344266169,), (1344266171,), (1344266174,), (1344266178,), (1344266245,), (1344266251,), (1344266266,), (1344266270,), (1344266275,), (1344266467,), (1344266506,), (1344266582,), (1344266618,), (1344266692,), (1344266775,), (1344266779,), (1344266820,), (1344266832,), (1344266885,), (1344266892,), (1344266897,), (1344266946,), (1344266963,), (1344267380,), (1344267406,), (1344267429,), (1344267445,), (1344267457,), (1344267499,), (1344267701,), (1344267725,), (1344267732,), (1344267754,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 73, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21448345]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] map_info['map_portfolio_photo'] : {21448345: [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885, 1344266832, 1344266820, 1344266779, 1344266775, 1344266692, 1344266618, 1344266582, 1344266506, 1344266467, 1344266275, 1344266270, 1344266266, 1344266251, 1344266245, 1344266178, 1344266174, 1344266171, 1344266169, 1344266123, 1344266120, 1344266113, 1344266108, 1344266075, 1344266044, 1344265915, 1344265913, 1344265904, 1344265880, 1344265770, 1344265749, 1344265741, 1344265716, 1344265707, 1344265684, 1344265382, 1344265333, 1344265258, 1344265197, 1344265156, 1344265108, 1344264955, 1344264950, 1344264931, 1344264910, 1344264889, 1344264657, 1344264633, 1344264589, 1344264533, 1344264526, 1344264474, 1344263865, 1344263862, 1344263858, 1344263583, 1344263555, 1344263502, 1344263471]} final : True mtd_id 4302 list_pids : [1344267754, 1344267732, 1344267725, 1344267701, 1344267499, 1344267457, 1344267445, 1344267429, 1344267406, 1344267380, 1344266963, 1344266946, 1344266897, 1344266892, 1344266885] Looping around the photos to save general results len do output : 1 /21448345Didn'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, '2670682') ('4302', '21448345', '1344267754', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682') ('4302', None, None, None, None, None, None, None, '2670682') ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '21448345', 'None', None, None, None, None, '2670682'), ('4302', '21448345', '1344267754', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267732', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267725', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267701', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267499', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267457', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267445', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267429', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267406', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344267380', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266963', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266946', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266897', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266892', None, None, None, None, None, '2670682'), ('4302', '21448345', '1344266885', None, None, None, None, None, '2670682')] time used for this insertion : 0.10679960250854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3781609535217285 time spend to save output : 0.10709810256958008 total time spend for step 5 : 0.4852590560913086 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 (2670682) 2.45user 2.56system 0:12.74elapsed 39%CPU (0avgtext+0avgdata 161928maxresident)k 1432inputs+23088outputs (33major+76427minor)pagefaults 0swaps