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 : 251750 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 (2641154) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2641154) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097374 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2641154'] with mtr_portfolio_ids : ['21097374'] and first list_photo_ids : [] new path : /proc/251750/ Name: python3 Umask: 0002 State: R (running) Tgid: 251750 Ngid: 0 Pid: 251750 PPid: 251749 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 251750 NSpid: 251750 NSpgid: 249022 NSsid: 249022 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98216 kB VmRSS: 98216 kB RssAnon: 59764 kB RssFile: 38452 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 49 nonvoluntary_ctxt_switches: 88 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '251750', 'Ngid': '0', 'Pid': '251750', 'PPid': '251749', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '251750', 'NSpid': '251750', 'NSpgid': '249022', 'NSsid': '249022', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98216 kB', 'VmRSS': '98216 kB', 'RssAnon': '59764 kB', 'RssFile': '38452 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '49', 'nonvoluntary_ctxt_switches': '88'} ('datou_batch_current', '251750', '1106848', '0', '1106848', '865596', '98216', b'', 'marlene', '2641154') 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 (21097374) 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 (2641154 ) ) 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 (21097374) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1341158335, 'portfolio_id': 21097374}, {'photo_id': 1341158331, 'portfolio_id': 21097374}, {'photo_id': 1341158329, 'portfolio_id': 21097374}, {'photo_id': 1341158326, 'portfolio_id': 21097374}, {'photo_id': 1341158271, 'portfolio_id': 21097374}, {'photo_id': 1341158268, 'portfolio_id': 21097374}, {'photo_id': 1341158265, 'portfolio_id': 21097374}, {'photo_id': 1341158261, 'portfolio_id': 21097374}, {'photo_id': 1341158258, 'portfolio_id': 21097374}, {'photo_id': 1341158188, 'portfolio_id': 21097374}, {'photo_id': 1341158185, 'portfolio_id': 21097374}, {'photo_id': 1341158181, 'portfolio_id': 21097374}, {'photo_id': 1341158178, 'portfolio_id': 21097374}, {'photo_id': 1341158172, 'portfolio_id': 21097374}, {'photo_id': 1341158129, 'portfolio_id': 21097374}, {'photo_id': 1341158126, 'portfolio_id': 21097374}, {'photo_id': 1341158083, 'portfolio_id': 21097374}, {'photo_id': 1341158073, 'portfolio_id': 21097374}, {'photo_id': 1341158071, 'portfolio_id': 21097374}, {'photo_id': 1341158016, 'portfolio_id': 21097374}, {'photo_id': 1341157979, 'portfolio_id': 21097374}, {'photo_id': 1341157941, 'portfolio_id': 21097374}, {'photo_id': 1341157939, 'portfolio_id': 21097374}, {'photo_id': 1341157925, 'portfolio_id': 21097374}, {'photo_id': 1341157923, 'portfolio_id': 21097374}, {'photo_id': 1341157913, 'portfolio_id': 21097374}, {'photo_id': 1341157887, 'portfolio_id': 21097374}, {'photo_id': 1341157878, 'portfolio_id': 21097374}, {'photo_id': 1341157869, 'portfolio_id': 21097374}, {'photo_id': 1341157815, 'portfolio_id': 21097374}, {'photo_id': 1341157811, 'portfolio_id': 21097374}, {'photo_id': 1341157758, 'portfolio_id': 21097374}, {'photo_id': 1341157723, 'portfolio_id': 21097374}, {'photo_id': 1341157720, 'portfolio_id': 21097374}, {'photo_id': 1341157718, 'portfolio_id': 21097374}, {'photo_id': 1341157716, 'portfolio_id': 21097374}, {'photo_id': 1341157711, 'portfolio_id': 21097374}, {'photo_id': 1341157668, 'portfolio_id': 21097374}, {'photo_id': 1341157579, 'portfolio_id': 21097374}, {'photo_id': 1341157557, 'portfolio_id': 21097374}, {'photo_id': 1341157554, 'portfolio_id': 21097374}, {'photo_id': 1341157551, 'portfolio_id': 21097374}, {'photo_id': 1341157536, 'portfolio_id': 21097374}, {'photo_id': 1341157456, 'portfolio_id': 21097374}, {'photo_id': 1341157452, 'portfolio_id': 21097374}, {'photo_id': 1341157449, 'portfolio_id': 21097374}, {'photo_id': 1341157446, 'portfolio_id': 21097374}, {'photo_id': 1341157425, 'portfolio_id': 21097374}, {'photo_id': 1341157421, 'portfolio_id': 21097374}, {'photo_id': 1341157419, 'portfolio_id': 21097374}, {'photo_id': 1341157417, 'portfolio_id': 21097374}, {'photo_id': 1341157385, 'portfolio_id': 21097374}, {'photo_id': 1341157381, 'portfolio_id': 21097374}, {'photo_id': 1341157366, 'portfolio_id': 21097374}, {'photo_id': 1341157359, 'portfolio_id': 21097374}, {'photo_id': 1341157356, 'portfolio_id': 21097374}, {'photo_id': 1341157215, 'portfolio_id': 21097374}, {'photo_id': 1341157210, 'portfolio_id': 21097374}, {'photo_id': 1341157204, 'portfolio_id': 21097374}, {'photo_id': 1341157198, 'portfolio_id': 21097374}, {'photo_id': 1341156750, 'portfolio_id': 21097374}, {'photo_id': 1341156748, 'portfolio_id': 21097374}, {'photo_id': 1341156743, 'portfolio_id': 21097374}, {'photo_id': 1341156740, 'portfolio_id': 21097374}, {'photo_id': 1341156730, 'portfolio_id': 21097374}, {'photo_id': 1341156722, 'portfolio_id': 21097374}, {'photo_id': 1341156688, 'portfolio_id': 21097374}, {'photo_id': 1341156684, 'portfolio_id': 21097374}, {'photo_id': 1341156681, 'portfolio_id': 21097374}, {'photo_id': 1341156678, 'portfolio_id': 21097374}] map_portfolio_id_photo_id: {21097374: [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258, 1341158188, 1341158185, 1341158181, 1341158178, 1341158172, 1341158129, 1341158126, 1341158083, 1341158073, 1341158071, 1341158016, 1341157979, 1341157941, 1341157939, 1341157925, 1341157923, 1341157913, 1341157887, 1341157878, 1341157869, 1341157815, 1341157811, 1341157758, 1341157723, 1341157720, 1341157718, 1341157716, 1341157711, 1341157668, 1341157579, 1341157557, 1341157554, 1341157551, 1341157536, 1341157456, 1341157452, 1341157449, 1341157446, 1341157425, 1341157421, 1341157419, 1341157417, 1341157385, 1341157381, 1341157366, 1341157359, 1341157356, 1341157215, 1341157210, 1341157204, 1341157198, 1341156750, 1341156748, 1341156743, 1341156740, 1341156730, 1341156722, 1341156688, 1341156684, 1341156681, 1341156678]} ##### 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.01653313636779785 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Mar 6 04:16:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21097374) 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 : 21097374 get user id for portfolio 21097374 get sub ptf for main ptf 21097374, type 3726 and hashtags ['Carton_gris', 'Carton_brun', 'papier', 'Teint_Dans_La_Masse', 'kraft', 'mal_croppe', 'plastique', 'environnement', 'metal', 'autre_refus', 'flou', '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`=21097374 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','Teint_Dans_La_Masse','kraft','mal_croppe','plastique','environnement','metal','autre_refus','flou','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`=21097374 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','Teint_Dans_La_Masse','kraft','mal_croppe','plastique','environnement','metal','autre_refus','flou','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 21097374, 'sub_port_id': 21097405, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704796, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'flou': {'main_port_id': 21097374, 'sub_port_id': 21097406, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704797, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'autre_refus': {'main_port_id': 21097374, 'sub_port_id': 21097407, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704798, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 21097374, 'sub_port_id': 21097408, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704799, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'mal_croppe': {'main_port_id': 21097374, 'sub_port_id': 21097409, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704800, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'environnement': {'main_port_id': 21097374, 'sub_port_id': 21097410, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704801, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'cartonnette': {'main_port_id': 21097374, 'sub_port_id': 21097411, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704802, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'papier': {'main_port_id': 21097374, 'sub_port_id': 21097412, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704803, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'Carton_brun': {'main_port_id': 21097374, 'sub_port_id': 21097413, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704804, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'metal': {'main_port_id': 21097374, 'sub_port_id': 21097414, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704805, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'kraft': {'main_port_id': 21097374, 'sub_port_id': 21097415, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704806, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}, 'Carton_gris': {'main_port_id': 21097374, 'sub_port_id': 21097416, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704807, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21097405 , 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=21097374 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 (21097405) result : ((1341157708,), (1341157854,), (1341157855,), (1341157914,), (1341157915,), (1341157916,), (1341158084,), (1341158318,), (1341158319,), (1341158373,), (1341158374,), (1341158392,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097406 , 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=21097374 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 (21097406) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097407 , 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=21097374 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 (21097407) result : ((1341157539,), (1341157540,), (1341157541,), (1341157636,), (1341157637,), (1341157638,), (1341157639,), (1341157640,), (1341157641,), (1341157661,), (1341157662,), (1341157663,), (1341157664,), (1341157665,), (1341157666,), (1341157742,), (1341157743,), (1341157744,), (1341157834,), (1341157835,), (1341157836,), (1341157837,), (1341157838,), (1341157839,), (1341157840,), (1341157841,), (1341157842,), (1341157884,), (1341157885,), (1341157886,), (1341158065,), (1341158074,), (1341158075,), (1341158076,), (1341158132,), (1341158133,), (1341158134,), (1341158163,), (1341158164,), (1341158165,), (1341158166,), (1341158167,), (1341158168,), (1341158248,), (1341158283,), (1341158284,), (1341158285,), (1341158286,), (1341158287,), (1341158288,), (1341158289,), (1341158290,), (1341158299,), (1341158300,), (1341158301,), (1341158302,), (1341158303,), (1341158304,), (1341158305,), (1341158363,), (1341158364,), (1341158365,), (1341158385,), (1341158386,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097408 , 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=21097374 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 (21097408) result : ((1341157537,), (1341157632,), (1341157650,), (1341157651,), (1341157740,), (1341157826,), (1341157827,), (1341157828,), (1341157829,), (1341157830,), (1341158157,), (1341158158,), (1341158159,), (1341158160,), (1341158247,), (1341158277,), (1341158278,), (1341158279,), (1341158291,), (1341158292,), (1341158293,), (1341158294,), (1341158381,), (1341158382,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097409 , 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=21097374 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 (21097409) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097410 , 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=21097374 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 (21097410) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097411 , 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=21097374 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 (21097411) result : ((1341157546,), (1341157547,), (1341157645,), (1341157646,), (1341157678,), (1341157680,), (1341157683,), (1341157685,), (1341157687,), (1341157751,), (1341157752,), (1341157845,), (1341158078,), (1341158135,), (1341158308,), (1341158309,), (1341158310,), (1341158369,), (1341158387,), (1341158388,), (1341158389,), (1341158390,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097412 , 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=21097374 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 (21097412) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097413 , 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=21097374 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 (21097413) result : ((1341157549,), (1341157550,), (1341157647,), (1341157753,), (1341157754,), (1341157849,), (1341157850,), (1341157851,), (1341157889,), (1341157890,), (1341157891,), (1341158048,), (1341158081,), (1341158082,), (1341158136,), (1341158249,), (1341158311,), (1341158312,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097414 , 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=21097374 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 (21097414) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097415 , 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=21097374 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 (21097415) result : ((1341157917,), (1341158085,), (1341158174,), (1341158175,), (1341158176,), (1341158177,), (1341158313,), (1341158314,), (1341158315,), (1341158316,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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 21097416 , 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=21097374 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 (21097416) result : ((1341157543,), (1341157545,), (1341157644,), (1341157748,), (1341157749,), (1341157843,), (1341158170,), (1341158171,), (1341158296,), (1341158297,), (1341158298,), (1341158306,), (1341158307,), (1341158366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21097374) result : ((1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) 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`=21097374 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','Teint_Dans_La_Masse','kraft','mal_croppe','plastique','environnement','metal','autre_refus','flou','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`=21097374 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','papier','Teint_Dans_La_Masse','kraft','mal_croppe','plastique','environnement','metal','autre_refus','flou','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 21097374, 'sub_port_id': 21097417, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704808, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'flou': {'main_port_id': 21097374, 'sub_port_id': 21097418, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704809, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'autre_refus': {'main_port_id': 21097374, 'sub_port_id': 21097419, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704810, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 21097374, 'sub_port_id': 21097420, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704811, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'mal_croppe': {'main_port_id': 21097374, 'sub_port_id': 21097421, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704812, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'environnement': {'main_port_id': 21097374, 'sub_port_id': 21097422, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704813, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'cartonnette': {'main_port_id': 21097374, 'sub_port_id': 21097423, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704814, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'papier': {'main_port_id': 21097374, 'sub_port_id': 21097424, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704815, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'Carton_brun': {'main_port_id': 21097374, 'sub_port_id': 21097425, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704816, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'metal': {'main_port_id': 21097374, 'sub_port_id': 21097426, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704817, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'kraft': {'main_port_id': 21097374, 'sub_port_id': 21097427, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704818, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}, 'Carton_gris': {'main_port_id': 21097374, 'sub_port_id': 21097428, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13704819, 'last_updated_at': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 4, 14, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 4, 5, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097409 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097415 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21097428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21097416 lien utilise dans velours : https://www.fotonower.com/velours/21097417,21097418,21097419,21097420,21097421,21097422,21097423,21097424,21097425,21097426,21097427,21097428?tags=plastique,flou,autre_refus,Teint_Dans_La_Masse,mal_croppe,environnement,cartonnette,papier,Carton_brun,metal,kraft,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21097374]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] map_info['map_portfolio_photo'] : {21097374: [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258, 1341158188, 1341158185, 1341158181, 1341158178, 1341158172, 1341158129, 1341158126, 1341158083, 1341158073, 1341158071, 1341158016, 1341157979, 1341157941, 1341157939, 1341157925, 1341157923, 1341157913, 1341157887, 1341157878, 1341157869, 1341157815, 1341157811, 1341157758, 1341157723, 1341157720, 1341157718, 1341157716, 1341157711, 1341157668, 1341157579, 1341157557, 1341157554, 1341157551, 1341157536, 1341157456, 1341157452, 1341157449, 1341157446, 1341157425, 1341157421, 1341157419, 1341157417, 1341157385, 1341157381, 1341157366, 1341157359, 1341157356, 1341157215, 1341157210, 1341157204, 1341157198, 1341156750, 1341156748, 1341156743, 1341156740, 1341156730, 1341156722, 1341156688, 1341156684, 1341156681, 1341156678]} final : False mtd_id 4302 list_pids : [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] Looping around the photos to save general results len do output : 1 /21097374. 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, '2641154') ('4302', '21097374', '1341158335', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21097374', "{'plastique': 21097405, 'flou': 21097406, 'autre_refus': 21097407, 'Teint_Dans_La_Masse': 21097408, 'mal_croppe': 21097409, 'environnement': 21097410, 'cartonnette': 21097411, 'papier': 21097412, 'Carton_brun': 21097413, 'metal': 21097414, 'kraft': 21097415, 'Carton_gris': 21097416}", None, None, None, None, '2641154'), ('4302', '21097374', '1341158335', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154')] time used for this insertion : 0.015722990036010742 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.652472972869873 time spend to save output : 0.016034603118896484 total time spend for step 1 : 1.6685075759887695 step2:final Thu Mar 6 04:16:58 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 (21097374) 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 21097374 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1341156688,1341156684,1341156681,1341156678,1341156750,1341156748,1341156743,1341156740,1341156730,1341156722,1341157215,1341157210,1341157204,1341157198,1341157385,1341157381,1341157366,1341157359,1341157356,1341157425,1341157421,1341157419,1341157417,1341157456,1341157452,1341157449,1341157446,1341157579,1341157557,1341157554,1341157551,1341157536,1341157723,1341157720,1341157718,1341157716,1341157711,1341157668,1341157815,1341157811,1341157758,1341157925,1341157923,1341157913,1341157887,1341157878,1341157869,1341158016,1341157979,1341157941,1341157939,1341158129,1341158126,1341158083,1341158073,1341158071,1341158188,1341158185,1341158181,1341158178,1341158172,1341158271,1341158268,1341158265,1341158261,1341158258,1341158335,1341158331,1341158329,1341158326); 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([21097374]) Inside saveOutput : final : False verbose : True original output for save of step final : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} new output for save of step final : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] map_info['map_portfolio_photo'] : {21097374: [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258, 1341158188, 1341158185, 1341158181, 1341158178, 1341158172, 1341158129, 1341158126, 1341158083, 1341158073, 1341158071, 1341158016, 1341157979, 1341157941, 1341157939, 1341157925, 1341157923, 1341157913, 1341157887, 1341157878, 1341157869, 1341157815, 1341157811, 1341157758, 1341157723, 1341157720, 1341157718, 1341157716, 1341157711, 1341157668, 1341157579, 1341157557, 1341157554, 1341157551, 1341157536, 1341157456, 1341157452, 1341157449, 1341157446, 1341157425, 1341157421, 1341157419, 1341157417, 1341157385, 1341157381, 1341157366, 1341157359, 1341157356, 1341157215, 1341157210, 1341157204, 1341157198, 1341156750, 1341156748, 1341156743, 1341156740, 1341156730, 1341156722, 1341156688, 1341156684, 1341156681, 1341156678]} final : False mtd_id 4302 list_pids : [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] Looping around the photos to save general results len do output : 9 /1341158335.Didn't retrieve data . /1341158331.Didn't retrieve data . /1341158329.Didn't retrieve data . /1341158326.Didn't retrieve data . /1341158271.Didn't retrieve data . /1341158268.Didn't retrieve data . /1341158265.Didn't retrieve data . /1341158261.Didn't retrieve data . /1341158258.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, '2641154') ('4302', '21097374', '1341158335', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21097374', '1341158335', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158331', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158329', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158326', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158271', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158268', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158265', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158261', '0.07234495670866603', None, None, None, None, '2641154'), ('4302', '21097374', '1341158258', '0.07234495670866603', None, None, None, None, '2641154')] time used for this insertion : 0.014512300491333008 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07442688941955566 time spend to save output : 0.015038251876831055 total time spend for step 2 : 0.08946514129638672 step3:velours_tree Thu Mar 6 04:16:58 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 : {21097374: [{'plastique': 21097405, 'flou': 21097406, 'autre_refus': 21097407, 'Teint_Dans_La_Masse': 21097408, 'mal_croppe': 21097409, 'environnement': 21097410, 'cartonnette': 21097411, 'papier': 21097412, 'Carton_brun': 21097413, 'metal': 21097414, 'kraft': 21097415, 'Carton_gris': 21097416}]} input_args_next_step : {21097374: ()} output_args : {21097374: [{'plastique': 21097405, 'flou': 21097406, 'autre_refus': 21097407, 'Teint_Dans_La_Masse': 21097408, 'mal_croppe': 21097409, 'environnement': 21097410, 'cartonnette': 21097411, 'papier': 21097412, 'Carton_brun': 21097413, 'metal': 21097414, 'kraft': 21097415, 'Carton_gris': 21097416}]} args : 21097374 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'plastique': 21097405, 'flou': 21097406, 'autre_refus': 21097407, 'Teint_Dans_La_Masse': 21097408, 'mal_croppe': 21097409, 'environnement': 21097410, 'cartonnette': 21097411, 'papier': 21097412, 'Carton_brun': 21097413, 'metal': 21097414, 'kraft': 21097415, 'Carton_gris': 21097416},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21097374) 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([21097374]) 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.31306028366088867 time spend to save output : 4.267692565917969e-05 total time spend for step 3 : 0.31310296058654785 step4:send_mail_cod Thu Mar 6 04: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 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 : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} input_args_next_step : {1341158335: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158335 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158331 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158329 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158326 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158271 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158268 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158265 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158261 depend.output_id : 0 input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ()} output_args : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',)} args : 1341158258 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 : {21097374: [{'plastique': 21097405, 'flou': 21097406, 'autre_refus': 21097407, 'Teint_Dans_La_Masse': 21097408, 'mal_croppe': 21097409, 'environnement': 21097410, 'cartonnette': 21097411, 'papier': 21097412, 'Carton_brun': 21097413, 'metal': 21097414, 'kraft': 21097415, 'Carton_gris': 21097416}]} input_args_next_step : {1341158335: ('0.07234495670866603',), 1341158331: ('0.07234495670866603',), 1341158329: ('0.07234495670866603',), 1341158326: ('0.07234495670866603',), 1341158271: ('0.07234495670866603',), 1341158268: ('0.07234495670866603',), 1341158265: ('0.07234495670866603',), 1341158261: ('0.07234495670866603',), 1341158258: ('0.07234495670866603',), 21097374: ()} output_args : {21097374: [{'plastique': 21097405, 'flou': 21097406, 'autre_refus': 21097407, 'Teint_Dans_La_Masse': 21097408, 'mal_croppe': 21097409, 'environnement': 21097410, 'cartonnette': 21097411, 'papier': 21097412, 'Carton_brun': 21097413, 'metal': 21097414, 'kraft': 21097415, 'Carton_gris': 21097416}]} args : 21097374 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :10, first value : ('0.07234495670866603',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21097374) 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 (1341158335,1341158331,1341158329,1341158326,1341158271,1341158268,1341158265,1341158261,1341158258) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1341158258 begin to download photo : 1341158265 begin to download photo : 1341158271 begin to download photo : 1341158329 begin to download photo : 1341158335 download finish for photo 1341158335 download finish for photo 1341158271 begin to download photo : 1341158326 download finish for photo 1341158329 begin to download photo : 1341158331 download finish for photo 1341158258 begin to download photo : 1341158261 download finish for photo 1341158265 begin to download photo : 1341158268 download finish for photo 1341158326 download finish for photo 1341158261 download finish for photo 1341158268 download finish for photo 1341158331 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P21097374_06-03-2025_04_16_59.pdf 21097405 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=21097405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341157708: '1741230412_4065057_1341156688_42be28c7082d3cc5b4351ddeea203a3b_rle_crop_3695301664_0.png', 1341157854: '1741230471_4066244_1341157381_58a0d171ebcc3d9581d4c51ba0b381b6_rle_crop_3695303424_0.png', 1341157855: '1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303601_0.png', 1341157914: '1741230553_4070344_1341157557_9e5a4d6b998d26f726bd010d97306cc5_rle_crop_3695303791_0.png', 1341157915: '1741230553_4070344_1341157554_2ab4d5ba7d0c1e0495023d9ab27c4d0c_rle_crop_3695303814_0.png', 1341157916: '1741230553_4070344_1341157551_497554fcf605686bb2bd1904cb1be110_rle_crop_3695303832_0.png', 1341158084: '1741230673_4076257_1341157815_6a8d089b45e126950a14fb96637b17ed_rle_crop_3695304483_0.png', 1341158318: '1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305591_0.png', 1341158319: '1741230813_4081097_1341157887_707084e5b6505daf50b461c5ee4b1746_rle_crop_3695305622_0.png', 1341158373: '1741230912_4082798_1341158188_61d526b4bb9bbab96a459b4ec7934e33_rle_crop_3695307462_0.png', 1341158374: '1741230912_4082798_1341158073_66e07080b68f24b57aaeb1836210ff4d_rle_crop_3695307754_0.png', 1341158392: '1741230932_4083288_1341158185_463e4b85bd6b3f1578b6fa8783d4fede_rle_crop_3695307963_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5b34a9e052c0d4489baad90d01d20655_74448323.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/99982bf458fbb95cedaad56b90bfa038_93258153.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/66042c6fb78590f86f82c3d1623c7eec_77954741.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/34675c6329c4fccf1ffc1e55fe39c278_3962955.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/35492215a16c576624f0766d895207cd_33148020.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2fae3fd10a1c3c81009bc4bbfd9e62ef_57481664.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4e027b1f1deacfae48326174333a4537_55047506.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/960d51e19c31e990de695a097e9f268b_779134.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f44f7ca12754b5e9d1272d663f8cb8c2_7494938.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/24f1c9e4d9fb6d42a04802e799e7791f_3063506.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c51a7eae20bcf5a85b4d0d9411b61d29_14656368.png change filename to text .imagette210974051741231019/ imagette210974051741231019/1741230932_4083288_1341158185_463e4b85bd6b3f1578b6fa8783d4fede_rle_crop_3695307963_0.png.png imagette210974051741231019/1741230553_4070344_1341157551_497554fcf605686bb2bd1904cb1be110_rle_crop_3695303832_0.png.png imagette210974051741231019/1741230553_4070344_1341157554_2ab4d5ba7d0c1e0495023d9ab27c4d0c_rle_crop_3695303814_0.png.png imagette210974051741231019/1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305591_0.png.png imagette210974051741231019/1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303601_0.png.png imagette210974051741231019/1741230912_4082798_1341158188_61d526b4bb9bbab96a459b4ec7934e33_rle_crop_3695307462_0.png.png imagette210974051741231019/1741230471_4066244_1341157381_58a0d171ebcc3d9581d4c51ba0b381b6_rle_crop_3695303424_0.png.png imagette210974051741231019/1741230813_4081097_1341157887_707084e5b6505daf50b461c5ee4b1746_rle_crop_3695305622_0.png.png imagette210974051741231019/1741230912_4082798_1341158073_66e07080b68f24b57aaeb1836210ff4d_rle_crop_3695307754_0.png.png imagette210974051741231019/1741230673_4076257_1341157815_6a8d089b45e126950a14fb96637b17ed_rle_crop_3695304483_0.png.png imagette210974051741231019/1741230412_4065057_1341156688_42be28c7082d3cc5b4351ddeea203a3b_rle_crop_3695301664_0.png.png imagette210974051741231019/1741230553_4070344_1341157557_9e5a4d6b998d26f726bd010d97306cc5_rle_crop_3695303791_0.png.png imagette210974061741231020/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f0661a05c0e25ab9df27f201ce87b94b_81651653.png imagette210974051741231019 21097406 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=21097406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210974061741231020 21097407 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=21097407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341158287: '1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305656_0.png', 1341158076: '1741230673_4076257_1341157716_43cc761addd25cd957bd7b7bf2093cb0_rle_crop_3695304522_0.png', 1341158132: '1741230712_4077027_1341157579_4fe84200f6332a19ca2e4c7945a585cc_rle_crop_3695304148_0.png', 1341158133: '1741230712_4077027_1341157452_688bbbf0f9b1e5292d360fa8dd9b36f0_rle_crop_3695304166_0.png', 1341158134: '1741230712_4077027_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304176_0.png', 1341158163: '1741230735_4077659_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304793_0.png', 1341158164: '1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304800_0.png', 1341158165: '1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304809_0.png', 1341158166: '1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304822_0.png', 1341158167: '1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304832_0.png', 1341158168: '1741230735_4077659_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304852_0.png', 1341158248: '1741230794_4080649_1341157941_f510baf3f9a5ab40ec12b31c8478ab6b_rle_crop_3695305206_0.png', 1341158283: '1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305577_0.png', 1341158284: '1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305599_0.png', 1341158285: '1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305615_0.png', 1341158286: '1741230813_4081097_1341157887_707084e5b6505daf50b461c5ee4b1746_rle_crop_3695305630_0.png', 1341158075: '1741230673_4076257_1341157716_43cc761addd25cd957bd7b7bf2093cb0_rle_crop_3695304517_0.png', 1341158288: '1741230813_4081097_1341157869_2d3e7361168ed51dea1fd4a3a1f4759c_rle_crop_3695305683_0.png', 1341158289: '1741230813_4081097_1341157869_2d3e7361168ed51dea1fd4a3a1f4759c_rle_crop_3695305689_0.png', 1341158290: '1741230813_4081097_1341157869_2d3e7361168ed51dea1fd4a3a1f4759c_rle_crop_3695305687_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dc77890f059f8b87c286dd5d0feb12b0_53139748.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/35688399d962ec50d27f9b3c8f643d59_84815627.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/8d74c53086b2cae23b20699d5a310bf1_72853693.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/451140265e664553cacec88a0a765fb4_44296365.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d6022f0a1395d2083fd6ec51fb698de0_80715520.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3963be71f1a0bdeb116e9d74ec5551cd_87614172.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/197db91bb648bfab788a7371b8bf39d8_90249642.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/777da5a61447735ef8621cd1356cede4_45883446.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6545e9bf76c6664e06272fc2bbe1464b_75095172.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/74bba7f9fb80fdd48e9ab1345de8d151_91590428.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d05d2534f45b3439e9701f555010436a_75852491.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/caddb513ded79da21c9b4bc59ad4bd2c_39927379.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9ca0e9943a0f6d40132c431806b08059_38925730.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f4b82c389d2660942e4f0f5df579b636_77817375.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/86eb5302a98ebd6203e3afb83f5f6fb7_37695296.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/07e5228a6a3feeae99fe81649f0aa443_12270128.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e996b06d0294f7728248c9ace8dc3aeb_30510323.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/29ae5f72b18d9a253d84845c921a99b8_60410665.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9b7ead7b95b51f31a86a9bf7c3c86f31_84973526.png change filename to text .imagette210974071741231020/ imagette210974071741231020/1741230813_4081097_1341157869_2d3e7361168ed51dea1fd4a3a1f4759c_rle_crop_3695305687_0.png.png imagette210974071741231020/1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305577_0.png.png imagette210974071741231020/1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304809_0.png.png imagette210974071741231020/1741230794_4080649_1341157941_f510baf3f9a5ab40ec12b31c8478ab6b_rle_crop_3695305206_0.png.png imagette210974071741231020/1741230712_4077027_1341157452_688bbbf0f9b1e5292d360fa8dd9b36f0_rle_crop_3695304166_0.png.png imagette210974071741231020/1741230813_4081097_1341157887_707084e5b6505daf50b461c5ee4b1746_rle_crop_3695305630_0.png.png imagette210974071741231020/1741230813_4081097_1341157869_2d3e7361168ed51dea1fd4a3a1f4759c_rle_crop_3695305683_0.png.png imagette210974071741231020/1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305599_0.png.png imagette210974071741231020/1741230712_4077027_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304176_0.png.png imagette210974071741231020/1741230673_4076257_1341157716_43cc761addd25cd957bd7b7bf2093cb0_rle_crop_3695304517_0.png.png imagette210974071741231020/1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304832_0.png.png imagette210974071741231020/1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304800_0.png.png imagette210974071741231020/1741230735_4077659_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304793_0.png.png imagette210974071741231020/1741230813_4081097_1341157869_2d3e7361168ed51dea1fd4a3a1f4759c_rle_crop_3695305689_0.png.png imagette210974071741231020/1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305656_0.png.png imagette210974071741231020/1741230735_4077659_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304852_0.png.png imagette210974071741231020/1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305615_0.png.png imagette210974071741231020/1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304822_0.png.png imagette210974071741231020/1741230673_4076257_1341157716_43cc761addd25cd957bd7b7bf2093cb0_rle_crop_3695304522_0.png.png imagette210974071741231020/1741230712_4077027_1341157579_4fe84200f6332a19ca2e4c7945a585cc_rle_crop_3695304148_0.png.png imagette210974091741231021/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6c1bd391d886b87c11083d553347c06a_67584194.png imagette210974071741231020 21097409 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=21097409 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210974091741231021 21097411 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=21097411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341157845: '1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303596_0.png', 1341158390: '1741230932_4083288_1341158172_f23202b2d4408add46fc3cc5a6fd3cfe_rle_crop_3695308281_0.png', 1341158389: '1741230932_4083288_1341158172_f23202b2d4408add46fc3cc5a6fd3cfe_rle_crop_3695308276_0.png', 1341158388: '1741230932_4083288_1341158178_828cc6ff9fcfa87aa758b81bf0b4dee6_rle_crop_3695308267_0.png', 1341158387: '1741230932_4083288_1341158181_1c9c121123a165d58dc1b1ec27eed660_rle_crop_3695308245_0.png', 1341158369: '1741230912_4082798_1341158126_c9403ff5a288bba52632c7006b38076c_rle_crop_3695307467_0.png', 1341158310: '1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305647_0.png', 1341158309: '1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305652_0.png', 1341158308: '1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305613_0.png', 1341158135: '1741230712_4077027_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304172_0.png', 1341158078: '1741230673_4076257_1341157720_c2193a68eaf5e0d4671022c6dfdad7ba_rle_crop_3695304486_0.png', 1341157546: '1741230372_4064210_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301075_0.png', 1341157752: '1741230453_4065829_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301108_0.png', 1341157751: '1741230453_4065829_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301075_0.png', 1341157687: '1741230412_4065057_1341156678_30cb342712a08635ab5a7d9566d863f0_rle_crop_3695301840_0.png', 1341157685: '1741230412_4065057_1341156678_30cb342712a08635ab5a7d9566d863f0_rle_crop_3695301838_0.png', 1341157683: '1741230412_4065057_1341156684_092475007c4be9cf6337652f0d1aa1a1_rle_crop_3695301683_0.png', 1341157680: '1741230412_4065057_1341156684_092475007c4be9cf6337652f0d1aa1a1_rle_crop_3695301687_0.png', 1341157678: '1741230412_4065057_1341156750_094701ba6bc0e7582651d18d291c147f_rle_crop_3695301623_0.png', 1341157646: '1741230392_4064733_1341156730_19ebf26a8b60691c46f9d361999ff0a8_rle_crop_3695301640_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e91067695cce6a828ee2bdc5562e9daf_99841623.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/54e09eb34a01fa6a607a45c257818a36_92424635.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/8cc7130563bd7d1093c3063524195653_65240018.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a44464fdcbf979ec1b3d0f97b2123c0f_51047129.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/fabfd93c061c51038577b7c2407b6ace_37415265.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/711e6a699e8095fe4652e1be9aacf85a_98332937.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d45cad5d23ecc6eaf123e9e10cbbb6e2_19192974.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/93ab98fdb6ddee60b8b87d8242534bd6_21455229.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c4de635bcf77d61cc3faa89b0ac7110a_2142669.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/83aaf1daf3db66028cbf1411c52f97db_70262031.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/39685919e4420140d66b112ed20b0e09_88391891.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0b147d198fcd8327c6d6364255c25e70_43726238.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5e0add84eeed585b58d6fbe3fdec32b0_64949924.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0b147d198fcd8327c6d6364255c25e70_28869674.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9c8d60880b20f6308266a7934b6de47a_32798599.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/44f71b946e5c60393444e344ec987189_15411903.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/27ec2757185e699713f538d630fe8040_89477930.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/608a1a058f3de25f64e967900c17b56b_5770914.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a13fdb9591871a5fecf1b231776660d4_2445989.png change filename to text .imagette210974111741231021/ imagette210974111741231021/1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305652_0.png.png imagette210974111741231021/1741230412_4065057_1341156684_092475007c4be9cf6337652f0d1aa1a1_rle_crop_3695301683_0.png.png imagette210974111741231021/1741230932_4083288_1341158178_828cc6ff9fcfa87aa758b81bf0b4dee6_rle_crop_3695308267_0.png.png imagette210974111741231021/1741230453_4065829_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301108_0.png.png imagette210974111741231021/1741230912_4082798_1341158126_c9403ff5a288bba52632c7006b38076c_rle_crop_3695307467_0.png.png imagette210974111741231021/1741230932_4083288_1341158172_f23202b2d4408add46fc3cc5a6fd3cfe_rle_crop_3695308276_0.png.png imagette210974111741231021/1741230392_4064733_1341156730_19ebf26a8b60691c46f9d361999ff0a8_rle_crop_3695301640_0.png.png imagette210974111741231021/1741230673_4076257_1341157720_c2193a68eaf5e0d4671022c6dfdad7ba_rle_crop_3695304486_0.png.png imagette210974111741231021/1741230372_4064210_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301075_0.png.png imagette210974111741231021/1741230712_4077027_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304172_0.png.png imagette210974111741231021/1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305613_0.png.png imagette210974111741231021/1741230932_4083288_1341158181_1c9c121123a165d58dc1b1ec27eed660_rle_crop_3695308245_0.png.png imagette210974111741231021/1741230412_4065057_1341156684_092475007c4be9cf6337652f0d1aa1a1_rle_crop_3695301687_0.png.png imagette210974111741231021/1741230412_4065057_1341156750_094701ba6bc0e7582651d18d291c147f_rle_crop_3695301623_0.png.png imagette210974111741231021/1741230412_4065057_1341156678_30cb342712a08635ab5a7d9566d863f0_rle_crop_3695301840_0.png.png imagette210974111741231021/1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305647_0.png.png imagette210974111741231021/1741230932_4083288_1341158172_f23202b2d4408add46fc3cc5a6fd3cfe_rle_crop_3695308281_0.png.png imagette210974111741231021/1741230453_4065829_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301075_0.png.png imagette210974111741231021/1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303596_0.png.png imagette210974111741231021/1741230412_4065057_1341156678_30cb342712a08635ab5a7d9566d863f0_rle_crop_3695301838_0.png.png imagette210974141741231022/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7d1cedcb986c5777c52bdb73dfe9bf7b_75916212.png imagette210974111741231021 21097414 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=21097414 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210974141741231022 21097415 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=21097415 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341157917: '1741230553_4070344_1341157551_497554fcf605686bb2bd1904cb1be110_rle_crop_3695303821_0.png', 1341158085: '1741230673_4076257_1341157815_6a8d089b45e126950a14fb96637b17ed_rle_crop_3695304475_0.png', 1341158174: '1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304805_0.png', 1341158175: '1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304799_0.png', 1341158176: '1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304823_0.png', 1341158177: '1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304819_0.png', 1341158313: '1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304805_0.png', 1341158314: '1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304799_0.png', 1341158315: '1741230832_4081437_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304823_0.png', 1341158316: '1741230832_4081437_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304819_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/52ddc69e66f400e37b7dca0d58e5db69_18905555.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/606086892692a0617166df0c8dc5b2a5_94799035.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3c2af0f0ab602d62b5eec378f0e7e49b_10688627.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/368b00324e8818254078f4300dd3a621_58499340.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/743d119f569fcc27283563b82a6385e7_58459346.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3230a94a75edd753db6fe6c832eeaedb_68679917.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3c2af0f0ab602d62b5eec378f0e7e49b_89949030.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/368b00324e8818254078f4300dd3a621_85546285.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/743d119f569fcc27283563b82a6385e7_73986768.png change filename to text .imagette210974151741231022/ imagette210974151741231022/1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304799_0.png.png imagette210974151741231022/1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304819_0.png.png imagette210974151741231022/1741230673_4076257_1341157815_6a8d089b45e126950a14fb96637b17ed_rle_crop_3695304475_0.png.png imagette210974151741231022/1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304805_0.png.png imagette210974151741231022/1741230553_4070344_1341157551_497554fcf605686bb2bd1904cb1be110_rle_crop_3695303821_0.png.png imagette210974151741231022/1741230832_4081437_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304823_0.png.png imagette210974151741231022/1741230832_4081437_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304819_0.png.png imagette210974151741231022/1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304805_0.png.png imagette210974151741231022/1741230735_4077659_1341157419_05ffc1559e613ba097befa6c55f36d3e_rle_crop_3695304823_0.png.png imagette210974151741231022/1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304799_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3230a94a75edd753db6fe6c832eeaedb_27059852.png imagette210974151741231022 21097408 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=21097408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341158159: '1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304807_0.png', 1341158382: '1741230932_4083288_1341158178_828cc6ff9fcfa87aa758b81bf0b4dee6_rle_crop_3695308265_0.png', 1341158381: '1741230932_4083288_1341158181_1c9c121123a165d58dc1b1ec27eed660_rle_crop_3695308252_0.png', 1341158294: '1741230832_4081437_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304842_0.png', 1341158293: '1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304807_0.png', 1341158292: '1741230832_4081437_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304790_0.png', 1341158291: '1741230832_4081437_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304791_0.png', 1341158279: '1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305612_0.png', 1341158278: '1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305600_0.png', 1341158277: '1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305579_0.png', 1341158247: '1741230794_4080649_1341157979_ba8838e8f1362fe4d287a8542be42c3f_rle_crop_3695305192_0.png', 1341158160: '1741230735_4077659_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304842_0.png', 1341157537: '1741230372_4064210_1341157210_5bd88bf76f5f4de7ba2d4d8f30304160_rle_crop_3695301066_0.png', 1341158158: '1741230735_4077659_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304790_0.png', 1341158157: '1741230735_4077659_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304791_0.png', 1341157830: '1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303604_0.png', 1341157829: '1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303602_0.png', 1341157828: '1741230471_4066244_1341157366_a66791c48880a8cf9898f2b66143e87b_rle_crop_3695303440_0.png', 1341157827: '1741230471_4066244_1341157366_a66791c48880a8cf9898f2b66143e87b_rle_crop_3695303447_0.png', 1341157826: '1741230471_4066244_1341157381_58a0d171ebcc3d9581d4c51ba0b381b6_rle_crop_3695303431_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/136368299c765589389f7e0d4ad59243_86290135.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e58e3a7525ddc263e7254e7cf9632a7c_85857538.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/cbb4a63f512237081a25ad266696aad3_9880762.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/202b564e50846fbd6fa5d2b18cfc9cf0_82152002.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/136368299c765589389f7e0d4ad59243_44310169.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7e27750124af502beca49f33656e85cd_55590634.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/10aed766ca7239192bd583bcf2805a04_11844275.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e6a72c629c13381202c26b486e73ed38_22263153.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d06239c32e2a16528dc3718f4b4ddc2f_66456028.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4f3a3aa8da0547f6b5428a64754f47dd_72859204.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e742d603cea0400dac1a4bc2dedf99b0_47477986.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/202b564e50846fbd6fa5d2b18cfc9cf0_68109857.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d01d439d95e9f0f4c9ca0b81eb1b557f_25511547.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7e27750124af502beca49f33656e85cd_12765909.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/10aed766ca7239192bd583bcf2805a04_84948237.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/8adf397e8a0f086f053bf6c7223e7ddc_58274316.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f199595aa3be0788b7328e924dd7878c_2996068.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3da4ebf7421bd2be73cf6164f5838f65_94245974.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2fa18109a8b8cad1cc269ea284ee65c3_90853928.png change filename to text .imagette210974081741231022/ imagette210974081741231022/1741230471_4066244_1341157381_58a0d171ebcc3d9581d4c51ba0b381b6_rle_crop_3695303431_0.png.png imagette210974081741231022/1741230735_4077659_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304790_0.png.png imagette210974081741231022/1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303602_0.png.png imagette210974081741231022/1741230735_4077659_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304842_0.png.png imagette210974081741231022/1741230832_4081437_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304791_0.png.png imagette210974081741231022/1741230932_4083288_1341158178_828cc6ff9fcfa87aa758b81bf0b4dee6_rle_crop_3695308265_0.png.png imagette210974081741231022/1741230372_4064210_1341157210_5bd88bf76f5f4de7ba2d4d8f30304160_rle_crop_3695301066_0.png.png imagette210974081741231022/1741230735_4077659_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304791_0.png.png imagette210974081741231022/1741230794_4080649_1341157979_ba8838e8f1362fe4d287a8542be42c3f_rle_crop_3695305192_0.png.png imagette210974081741231022/1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305579_0.png.png imagette210974081741231022/1741230832_4081437_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304842_0.png.png imagette210974081741231022/1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304807_0.png.png imagette210974081741231022/1741230471_4066244_1341157366_a66791c48880a8cf9898f2b66143e87b_rle_crop_3695303440_0.png.png imagette210974081741231022/1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304807_0.png.png imagette210974081741231022/1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305612_0.png.png imagette210974081741231022/1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305600_0.png.png imagette210974081741231022/1741230471_4066244_1341157366_a66791c48880a8cf9898f2b66143e87b_rle_crop_3695303447_0.png.png imagette210974081741231022/1741230932_4083288_1341158181_1c9c121123a165d58dc1b1ec27eed660_rle_crop_3695308252_0.png.png imagette210974081741231022/1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303604_0.png.png imagette210974081741231022/1741230832_4081437_1341157456_9df02d764afe80fd59d7ef2aa9b405db_rle_crop_3695304790_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/30b01432cc9f113b2dcedc38bcfc016e_4665402.png imagette210974081741231022 21097413 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=21097413 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341157890: '1741230553_4070344_1341157536_23a1d7119585d60416f78c7680b92c2b_rle_crop_3695303846_0.png', 1341158312: '1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305608_0.png', 1341158311: '1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305595_0.png', 1341158249: '1741230794_4080649_1341157941_f510baf3f9a5ab40ec12b31c8478ab6b_rle_crop_3695305201_0.png', 1341158136: '1741230712_4077027_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304178_0.png', 1341158082: '1741230673_4076257_1341157720_c2193a68eaf5e0d4671022c6dfdad7ba_rle_crop_3695304489_0.png', 1341158081: '1741230673_4076257_1341157720_c2193a68eaf5e0d4671022c6dfdad7ba_rle_crop_3695304490_0.png', 1341158048: '1741230651_4075719_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304178_0.png', 1341157891: '1741230553_4070344_1341157536_23a1d7119585d60416f78c7680b92c2b_rle_crop_3695303848_0.png', 1341157549: '1741230372_4064210_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301109_0.png', 1341157889: '1741230553_4070344_1341157551_497554fcf605686bb2bd1904cb1be110_rle_crop_3695303824_0.png', 1341157851: '1741230471_4066244_1341157356_f871e4d86f04329c683d95b43c6a8440_rle_crop_3695303622_0.png', 1341157850: '1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303593_0.png', 1341157849: '1741230471_4066244_1341157425_72576c9e22d20848bd06af13f9508971_rle_crop_3695303404_0.png', 1341157754: '1741230453_4065829_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301104_0.png', 1341157753: '1741230453_4065829_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301109_0.png', 1341157647: '1741230392_4064733_1341156743_4fd74c5f9f67fce564a275821275fd8a_rle_crop_3695301378_0.png', 1341157550: '1741230372_4064210_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301104_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/520badf5be99d3b2431bfe92c16a1623_92366137.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/868e8e19bb0b744bfe43d5a3fee01502_19163472.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/81212d27ee8ce444f02874b33ff2c3aa_66087094.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b544c5f3b6c0db98ac0f06eee219e1d3_77093044.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5c52c7126cd663c85aa9fed239b04c90_12155024.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/24249e8c205f8e03f6f3dda32b7b61ea_4243362.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5836a16e3cbede52b5b5a26062cbab7d_5069097.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5c52c7126cd663c85aa9fed239b04c90_82033308.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/613c52d3d60c5a962ad94bc4987436e0_59845261.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/065e8bfbdcbd82366384ee28b7dd59f5_63445317.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3734f500e2cc909049af62fbef17ccf5_32014723.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4d9fa88b6e689e3b34b586fce4abeb98_95155143.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ef7180fa6ac9ccdecdb2ca24c97a9aae_40000202.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c95ed0674a40b9cb6ccdc3baf6b4834a_99895676.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/58e888908775e4ac156a7364aa788bc9_82098057.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/065e8bfbdcbd82366384ee28b7dd59f5_37861323.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2ed73d13aa4d5d969e2736a566cf8eb1_8892680.png change filename to text .imagette210974131741231023/ imagette210974131741231023/1741230813_4081097_1341157923_75029c997de3e890da0c01d693496902_rle_crop_3695305595_0.png.png imagette210974131741231023/1741230712_4077027_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304178_0.png.png imagette210974131741231023/1741230651_4075719_1341157449_4d7f00b7e5588e718e47f05a926c7841_rle_crop_3695304178_0.png.png imagette210974131741231023/1741230673_4076257_1341157720_c2193a68eaf5e0d4671022c6dfdad7ba_rle_crop_3695304490_0.png.png imagette210974131741231023/1741230471_4066244_1341157425_72576c9e22d20848bd06af13f9508971_rle_crop_3695303404_0.png.png imagette210974131741231023/1741230372_4064210_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301104_0.png.png imagette210974131741231023/1741230794_4080649_1341157941_f510baf3f9a5ab40ec12b31c8478ab6b_rle_crop_3695305201_0.png.png imagette210974131741231023/1741230553_4070344_1341157536_23a1d7119585d60416f78c7680b92c2b_rle_crop_3695303846_0.png.png imagette210974131741231023/1741230392_4064733_1341156743_4fd74c5f9f67fce564a275821275fd8a_rle_crop_3695301378_0.png.png imagette210974131741231023/1741230553_4070344_1341157551_497554fcf605686bb2bd1904cb1be110_rle_crop_3695303824_0.png.png imagette210974131741231023/1741230372_4064210_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301109_0.png.png imagette210974131741231023/1741230471_4066244_1341157356_f871e4d86f04329c683d95b43c6a8440_rle_crop_3695303622_0.png.png imagette210974131741231023/1741230453_4065829_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301109_0.png.png imagette210974131741231023/1741230553_4070344_1341157536_23a1d7119585d60416f78c7680b92c2b_rle_crop_3695303848_0.png.png imagette210974131741231023/1741230453_4065829_1341157198_aae84ec29721024d83b97458f052c272_rle_crop_3695301104_0.png.png imagette210974131741231023/1741230813_4081097_1341157913_4ebe9eda4fb62fa8a34c0b862c0071da_rle_crop_3695305608_0.png.png imagette210974131741231023/1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303593_0.png.png imagette210974131741231023/1741230673_4076257_1341157720_c2193a68eaf5e0d4671022c6dfdad7ba_rle_crop_3695304489_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/58e888908775e4ac156a7364aa788bc9_67901578.png imagette210974131741231023 21097416 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=21097416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341157543: '1741230372_4064210_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301079_0.png', 1341157545: '1741230372_4064210_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301083_0.png', 1341157644: '1741230392_4064733_1341156730_19ebf26a8b60691c46f9d361999ff0a8_rle_crop_3695301639_0.png', 1341157748: '1741230453_4065829_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301079_0.png', 1341157749: '1741230453_4065829_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301083_0.png', 1341157843: '1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303599_0.png', 1341158170: '1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304801_0.png', 1341158171: '1741230735_4077659_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304846_0.png', 1341158296: '1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305581_0.png', 1341158297: '1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305576_0.png', 1341158298: '1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305646_0.png', 1341158306: '1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304801_0.png', 1341158307: '1741230832_4081437_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304846_0.png', 1341158366: '1741230912_4082798_1341158071_cebfeb72edbb80583efaa24fa439e80a_rle_crop_3695307760_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b16735a233192455b4ecfc9f81ba9674_93637247.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7b3cc109c2a3b139be3f2296d1c16b12_82099104.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4e31b63ef9cfb15212bd27a16da08763_4340052.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b16735a233192455b4ecfc9f81ba9674_11149213.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7b3cc109c2a3b139be3f2296d1c16b12_62367656.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/22d17e5209d58c9db8cf90d0540ec9fc_79446051.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/48a40d99417feba2d9f070b7cb6232a8_79212220.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6d299bf447faa14384329daa7392ee1d_99375947.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0805a2569d5acd96c9b4acedff1bd8f4_30862950.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b0457e7a949e6ba82cb1d019168fd00b_23704623.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7635a70a9f86c8dfbad7ecff431a9390_69841954.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/48a40d99417feba2d9f070b7cb6232a8_70103625.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6d299bf447faa14384329daa7392ee1d_28710606.png change filename to text .imagette210974161741231024/ imagette210974161741231024/1741230372_4064210_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301079_0.png.png imagette210974161741231024/1741230912_4082798_1341158071_cebfeb72edbb80583efaa24fa439e80a_rle_crop_3695307760_0.png.png imagette210974161741231024/1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305576_0.png.png imagette210974161741231024/1741230832_4081437_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304846_0.png.png imagette210974161741231024/1741230471_4066244_1341157359_1342bc5d2d0e74b4d161ba393ccb9ae0_rle_crop_3695303599_0.png.png imagette210974161741231024/1741230392_4064733_1341156730_19ebf26a8b60691c46f9d361999ff0a8_rle_crop_3695301639_0.png.png imagette210974161741231024/1741230735_4077659_1341157417_aca063f6132f709a0aaae332884161ac_rle_crop_3695304846_0.png.png imagette210974161741231024/1741230453_4065829_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301083_0.png.png imagette210974161741231024/1741230372_4064210_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301083_0.png.png imagette210974161741231024/1741230735_4077659_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304801_0.png.png imagette210974161741231024/1741230832_4081437_1341157421_df2b4ad198269bcf90c5f5687801b22e_rle_crop_3695304801_0.png.png imagette210974161741231024/1741230813_4081097_1341158016_5071469900ca0fb843dc7bcdadf1896e_rle_crop_3695305581_0.png.png imagette210974161741231024/1741230813_4081097_1341157878_8e55288cdf9638e3f95077d904a18838_rle_crop_3695305646_0.png.png imagette210974161741231024/1741230453_4065829_1341157204_a5b99cb6e38d2ebd8d68fd3aa81ef399_rle_crop_3695301079_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/90d108ebeaefafe37c6abc188aba114f_71564436.png imagette210974161741231024 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21097374 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21097417,21097418,21097419,21097420,21097421,21097422,21097423,21097424,21097425,21097426,21097427,21097428?tags=plastique,flou,autre_refus,Teint_Dans_La_Masse,mal_croppe,environnement,cartonnette,papier,Carton_brun,metal,kraft,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1341158335] : ('0.07234495670866603',) no score found for photo 1341158335 We are sending mail with results at report@fotonower.com args[1341158331] : ('0.07234495670866603',) no score found for photo 1341158331 We are sending mail with results at report@fotonower.com args[1341158329] : ('0.07234495670866603',) no score found for photo 1341158329 We are sending mail with results at report@fotonower.com args[1341158326] : ('0.07234495670866603',) no score found for photo 1341158326 We are sending mail with results at report@fotonower.com args[1341158271] : ('0.07234495670866603',) no score found for photo 1341158271 We are sending mail with results at report@fotonower.com args[1341158268] : ('0.07234495670866603',) no score found for photo 1341158268 We are sending mail with results at report@fotonower.com args[1341158265] : ('0.07234495670866603',) no score found for photo 1341158265 We are sending mail with results at report@fotonower.com args[1341158261] : ('0.07234495670866603',) no score found for photo 1341158261 We are sending mail with results at report@fotonower.com args[1341158258] : ('0.07234495670866603',) no score found for photo 1341158258 We are sending mail with results at report@fotonower.com refus_total : 0.07234495670866603 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=21097374 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_P21097374_06-03-2025_04_16_59.pdf results_Auto_P21097374_06-03-2025_04_16_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_16_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21097374','results_Auto_P21097374_06-03-2025_04_16_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_16_59.pdf','pdf','','0.38','0.07234495670866603') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21097374]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] map_info['map_portfolio_photo'] : {21097374: [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258, 1341158188, 1341158185, 1341158181, 1341158178, 1341158172, 1341158129, 1341158126, 1341158083, 1341158073, 1341158071, 1341158016, 1341157979, 1341157941, 1341157939, 1341157925, 1341157923, 1341157913, 1341157887, 1341157878, 1341157869, 1341157815, 1341157811, 1341157758, 1341157723, 1341157720, 1341157718, 1341157716, 1341157711, 1341157668, 1341157579, 1341157557, 1341157554, 1341157551, 1341157536, 1341157456, 1341157452, 1341157449, 1341157446, 1341157425, 1341157421, 1341157419, 1341157417, 1341157385, 1341157381, 1341157366, 1341157359, 1341157356, 1341157215, 1341157210, 1341157204, 1341157198, 1341156750, 1341156748, 1341156743, 1341156740, 1341156730, 1341156722, 1341156688, 1341156684, 1341156681, 1341156678]} final : False mtd_id 4302 list_pids : [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] 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, '2641154') ('4302', '21097374', '1341158335', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21097374', '1341158335', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154')] time used for this insertion : 0.677515983581543 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.67343282699585 time spend to save output : 0.6777815818786621 total time spend for step 4 : 8.351214408874512 step5:split_time_score Thu Mar 6 04:17:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21097374'] 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 : [('21097374',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21097374) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1341158335: {'path': 'temp/1741231019_251750_1341158335_9eeb9437bc4bdbfb7f31004484b4be20.jpg', 'extension': 'jpg'}, 1341158271: {'path': 'temp/1741231019_251750_1341158271_141250819554b025792f75c83da28d26.jpg', 'extension': 'jpg'}, 1341158326: {'path': 'temp/1741231019_251750_1341158326_8a2f735cafae540899efec9ca805d537.jpg', 'extension': 'jpg'}, 1341158258: {'path': 'temp/1741231019_251750_1341158258_703b6b1dbd1a65bd6058d67af8bc67d7.jpg', 'extension': 'jpg'}, 1341158261: {'path': 'temp/1741231019_251750_1341158261_6d75fad26c512e91cd7c134391ef4f4d.jpg', 'extension': 'jpg'}, 1341158265: {'path': 'temp/1741231019_251750_1341158265_e1adf7744005b1cfc4e095216be52d24.jpg', 'extension': 'jpg'}, 1341158268: {'path': 'temp/1741231019_251750_1341158268_2e427c00281d913e62e0388719c9484b.jpg', 'extension': 'jpg'}, 1341158329: {'path': 'temp/1741231019_251750_1341158329_54f4cf599059ecdb704ccb1218b014f8.jpg', 'extension': 'jpg'}, 1341158331: {'path': 'temp/1741231019_251750_1341158331_5b9b5c8b64f60f42ab2a839c04bcf390.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 = 21097374; (('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 = 21097374 group by h (('04', 70),) 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=21097374 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 (21097374) 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 (21097374) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21097374 Nombre de photos uploadées : 70 / 23040 (0%) 06032025 21097374 Nombre de photos taguées (types de déchets): 0 / 70 (0%) 06032025 21097374 Nombre de photos taguées (volume) : 0 / 70 (0%) [{'photo_id': 1341156688, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/42be28c7082d3cc5b4351ddeea203a3b.jpg', 'username': None, 'uploaded_at': 1741230085, 'text': 'image_06032025_04_00_14_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341156684, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/092475007c4be9cf6337652f0d1aa1a1.jpg', 'username': None, 'uploaded_at': 1741230085, 'text': 'image_06032025_04_00_23_009130m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341156681, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e5eb4ead3e0123ef01a64ac569777d10.jpg', 'username': None, 'uploaded_at': 1741230085, 'text': 'image_06032025_04_00_33_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341156678, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/30cb342712a08635ab5a7d9566d863f0.jpg', 'username': None, 'uploaded_at': 1741230085, 'text': 'image_06032025_04_00_43_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 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ?????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0035600662231445312 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21097374, '2025-03-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1643118,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025455474853515625 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= 1643118 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1643118, 'dashboard_run_id': 1651127, 'mtr_portfolio_id': 21096248, 'dashboard_result_id': 9257271, '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_P21096248_06-03-2025_03_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1651127, 'mtr_portfolio_id': 21096666, 'dashboard_result_id': 9257272, '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_P21096666_06-03-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1651127, 'mtr_portfolio_id': 21097374, 'dashboard_result_id': 9257273, '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_P21097374_06-03-2025_04_15_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, '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 = 21096248 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': 2641065, 'mtr_portfolio_id': 21096248, 'created_at': datetime.datetime(2025, 3, 6, 3, 48, 58), 'result': '0.08483617167472522', 'result_long': None, 'result_double': None}] Qualite : 0.08483617167472522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_06-03-2025_03_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096248 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_P21096248_06-03-2025_03_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}" where mtr_portfolio_id = 21096248 and dashboard_run_id = 1651127 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`=21096248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9257271, 0.08483617167472522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_06-03-2025_03_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, '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 = 21096666 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': 2641098, 'mtr_portfolio_id': 21096666, 'created_at': datetime.datetime(2025, 3, 6, 4, 2, 57), 'result': '0.07087514429443435', 'result_long': None, 'result_double': None}] Qualite : 0.07087514429443435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_06-03-2025_04_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096666 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_P21096666_06-03-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}" where mtr_portfolio_id = 21096666 and dashboard_run_id = 1651127 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`=21096666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9257272, 0.07087514429443435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_06-03-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, '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 = 21097374 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': 2641154, 'mtr_portfolio_id': 21097374, 'created_at': datetime.datetime(2025, 3, 6, 4, 16, 58), 'result': '0.07234495670866603', 'result_long': None, 'result_double': None}] Qualite : 0.07234495670866603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21097374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21097374 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_P21097374_06-03-2025_04_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}" where mtr_portfolio_id = 21097374 and dashboard_run_id = 1651127 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`=21097374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9257273, 0.07234495670866603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, '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 (21096248,21096666,21097374) result : ((1341153458,), (1341153463,), (1341153468,), (1341153472,), (1341153488,), (1341153490,), (1341153494,), (1341153497,), (1341153517,), (1341153520,), (1341153523,), (1341153528,), (1341153556,), (1341153558,), (1341154192,), (1341154205,), (1341154213,), (1341154222,), (1341154228,), (1341154361,), (1341154500,), (1341154502,), (1341154506,), (1341154510,), (1341154530,), (1341154538,), (1341154555,), (1341154559,), (1341154624,), (1341154626,), (1341154629,), (1341154632,), (1341154635,), (1341154659,), (1341154686,), (1341154691,), (1341154694,), (1341154698,), (1341154730,), (1341154732,), (1341154735,), (1341154738,), (1341154780,), (1341154783,), (1341154787,), (1341154791,), (1341154801,), (1341154812,), (1341154861,), (1341154863,), (1341154866,), (1341154869,), (1341154872,), (1341154952,), (1341154955,), (1341154959,), (1341154988,), (1341154992,), (1341155030,), (1341155032,), (1341155045,), (1341155046,), (1341155049,), (1341155051,), (1341155054,), (1341155060,), (1341155206,), (1341155082,), (1341155164,), (1341155200,), (1341155273,), (1341155275,), (1341155279,), (1341155283,), (1341155285,), (1341155290,), (1341155358,), (1341155372,), (1341155375,), (1341155377,), (1341155409,), (1341155417,), (1341155423,), (1341155427,), (1341155433,), (1341155490,), (1341155493,), (1341155496,), (1341155498,), (1341155574,), (1341155575,), (1341155610,), (1341155612,), (1341155615,), (1341155632,), (1341156024,), (1341156029,), (1341156036,), (1341156056,), (1341156061,), (1341156062,), (1341156108,), (1341156113,), (1341156118,), (1341156145,), (1341156149,), (1341156150,), (1341156171,), (1341156174,), (1341156177,), (1341156224,), (1341156227,), (1341156249,), (1341156284,), (1341156300,), (1341156307,), (1341156397,), (1341156407,), (1341156419,), (1341156421,), (1341156423,), (1341156434,), (1341156529,), (1341156532,), (1341156537,), (1341156543,), (1341156544,), (1341156568,), (1341156570,), (1341156572,), (1341156574,), (1341156575,), (1341156577,), (1341156629,), (1341156640,), (1341156646,), (1341156648,), (1341156650,), (1341156653,), (1341156660,), (1341156663,), (1341156666,), (1341156669,), (1341156713,), (1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 70, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21097374]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] map_info['map_portfolio_photo'] : {21097374: [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258, 1341158188, 1341158185, 1341158181, 1341158178, 1341158172, 1341158129, 1341158126, 1341158083, 1341158073, 1341158071, 1341158016, 1341157979, 1341157941, 1341157939, 1341157925, 1341157923, 1341157913, 1341157887, 1341157878, 1341157869, 1341157815, 1341157811, 1341157758, 1341157723, 1341157720, 1341157718, 1341157716, 1341157711, 1341157668, 1341157579, 1341157557, 1341157554, 1341157551, 1341157536, 1341157456, 1341157452, 1341157449, 1341157446, 1341157425, 1341157421, 1341157419, 1341157417, 1341157385, 1341157381, 1341157366, 1341157359, 1341157356, 1341157215, 1341157210, 1341157204, 1341157198, 1341156750, 1341156748, 1341156743, 1341156740, 1341156730, 1341156722, 1341156688, 1341156684, 1341156681, 1341156678]} final : True mtd_id 4302 list_pids : [1341158335, 1341158331, 1341158329, 1341158326, 1341158271, 1341158268, 1341158265, 1341158261, 1341158258] Looping around the photos to save general results len do output : 1 /21097374Didn'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, '2641154') ('4302', '21097374', '1341158335', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154') ('4302', None, None, None, None, None, None, None, '2641154') ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21097374', 'None', None, None, None, None, '2641154'), ('4302', '21097374', '1341158335', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158331', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158329', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158326', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158271', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158268', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158265', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158261', None, None, None, None, None, '2641154'), ('4302', '21097374', '1341158258', None, None, None, None, None, '2641154')] time used for this insertion : 0.015681982040405273 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.30626726150512695 time spend to save output : 0.015913724899291992 total time spend for step 5 : 0.32218098640441895 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 (2641154) 2.21user 2.60system 0:13.61elapsed 35%CPU (0avgtext+0avgdata 166040maxresident)k 592inputs+23800outputs (11major+76737minor)pagefaults 0swaps