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 : 1845481 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 (2658917) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2658917) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298566 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2658917'] with mtr_portfolio_ids : ['21298566'] and first list_photo_ids : [] new path : /proc/1845481/ Name: python3 Umask: 0002 State: R (running) Tgid: 1845481 Ngid: 0 Pid: 1845481 PPid: 1845480 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1845481 NSpid: 1845481 NSpgid: 1841460 NSsid: 1841460 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97964 kB VmRSS: 97964 kB RssAnon: 59756 kB RssFile: 38208 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 56 nonvoluntary_ctxt_switches: 109 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1845481', 'Ngid': '0', 'Pid': '1845481', 'PPid': '1845480', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1845481', 'NSpid': '1845481', 'NSpgid': '1841460', 'NSsid': '1841460', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97964 kB', 'VmRSS': '97964 kB', 'RssAnon': '59756 kB', 'RssFile': '38208 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '56', 'nonvoluntary_ctxt_switches': '109'} ('datou_batch_current', '1845481', '1106844', '0', '1106844', '865592', '97964', b'', 'marlene', '2658917') 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 (21298566) 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 (2658917 ) ) 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 (21298566) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343124569, 'portfolio_id': 21298566}, {'photo_id': 1343124554, 'portfolio_id': 21298566}, {'photo_id': 1343124548, 'portfolio_id': 21298566}, {'photo_id': 1343124523, 'portfolio_id': 21298566}, {'photo_id': 1343124508, 'portfolio_id': 21298566}, {'photo_id': 1343124502, 'portfolio_id': 21298566}, {'photo_id': 1343124487, 'portfolio_id': 21298566}, {'photo_id': 1343124484, 'portfolio_id': 21298566}, {'photo_id': 1343124480, 'portfolio_id': 21298566}, {'photo_id': 1343124437, 'portfolio_id': 21298566}, {'photo_id': 1343124434, 'portfolio_id': 21298566}, {'photo_id': 1343124429, 'portfolio_id': 21298566}, {'photo_id': 1343124418, 'portfolio_id': 21298566}, {'photo_id': 1343124381, 'portfolio_id': 21298566}, {'photo_id': 1343124364, 'portfolio_id': 21298566}, {'photo_id': 1343124359, 'portfolio_id': 21298566}, {'photo_id': 1343124353, 'portfolio_id': 21298566}, {'photo_id': 1343124345, 'portfolio_id': 21298566}, {'photo_id': 1343124333, 'portfolio_id': 21298566}, {'photo_id': 1343124307, 'portfolio_id': 21298566}, {'photo_id': 1343124304, 'portfolio_id': 21298566}, {'photo_id': 1343124299, 'portfolio_id': 21298566}, {'photo_id': 1343124293, 'portfolio_id': 21298566}, {'photo_id': 1343124286, 'portfolio_id': 21298566}, {'photo_id': 1343124142, 'portfolio_id': 21298566}, {'photo_id': 1343124118, 'portfolio_id': 21298566}, {'photo_id': 1343124096, 'portfolio_id': 21298566}, {'photo_id': 1343124083, 'portfolio_id': 21298566}, {'photo_id': 1343124079, 'portfolio_id': 21298566}, {'photo_id': 1343124021, 'portfolio_id': 21298566}, {'photo_id': 1343124019, 'portfolio_id': 21298566}, {'photo_id': 1343124014, 'portfolio_id': 21298566}, {'photo_id': 1343124008, 'portfolio_id': 21298566}, {'photo_id': 1343123978, 'portfolio_id': 21298566}, {'photo_id': 1343123940, 'portfolio_id': 21298566}, {'photo_id': 1343123938, 'portfolio_id': 21298566}, {'photo_id': 1343123932, 'portfolio_id': 21298566}, {'photo_id': 1343123929, 'portfolio_id': 21298566}, {'photo_id': 1343123923, 'portfolio_id': 21298566}, {'photo_id': 1343123871, 'portfolio_id': 21298566}, {'photo_id': 1343123848, 'portfolio_id': 21298566}, {'photo_id': 1343123821, 'portfolio_id': 21298566}, {'photo_id': 1343123797, 'portfolio_id': 21298566}, {'photo_id': 1343123766, 'portfolio_id': 21298566}, {'photo_id': 1343123738, 'portfolio_id': 21298566}, {'photo_id': 1343123543, 'portfolio_id': 21298566}, {'photo_id': 1343123537, 'portfolio_id': 21298566}, {'photo_id': 1343123531, 'portfolio_id': 21298566}, {'photo_id': 1343123527, 'portfolio_id': 21298566}, {'photo_id': 1343123487, 'portfolio_id': 21298566}, {'photo_id': 1343123482, 'portfolio_id': 21298566}, {'photo_id': 1343123473, 'portfolio_id': 21298566}, {'photo_id': 1343123466, 'portfolio_id': 21298566}, {'photo_id': 1343123416, 'portfolio_id': 21298566}, {'photo_id': 1343123340, 'portfolio_id': 21298566}, {'photo_id': 1343123143, 'portfolio_id': 21298566}, {'photo_id': 1343123138, 'portfolio_id': 21298566}, {'photo_id': 1343123121, 'portfolio_id': 21298566}] map_portfolio_id_photo_id: {21298566: [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333, 1343124307, 1343124304, 1343124299, 1343124293, 1343124286, 1343124142, 1343124118, 1343124096, 1343124083, 1343124079, 1343124021, 1343124019, 1343124014, 1343124008, 1343123978, 1343123940, 1343123938, 1343123932, 1343123929, 1343123923, 1343123871, 1343123848, 1343123821, 1343123797, 1343123766, 1343123738, 1343123543, 1343123537, 1343123531, 1343123527, 1343123487, 1343123482, 1343123473, 1343123466, 1343123416, 1343123340, 1343123143, 1343123138, 1343123121]} ##### 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.017119407653808594 #### 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 Tue Mar 11 17:28: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 (21298566) 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 : 21298566 get user id for portfolio 21298566 get sub ptf for main ptf 21298566, type 3726 and hashtags ['Carton_brun', 'cartonnette', 'Carton_gris', 'mal_croppe', 'environnement', 'metal', 'kraft', 'plastique', 'flou', 'Teint_Dans_La_Masse', 'papier', 'autre_refus'] 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`=21298566 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','mal_croppe','environnement','metal','kraft','plastique','flou','Teint_Dans_La_Masse','papier','autre_refus')) 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`=21298566 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','mal_croppe','environnement','metal','kraft','plastique','flou','Teint_Dans_La_Masse','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21298566, 'sub_port_id': 21298615, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883298, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'plastique': {'main_port_id': 21298566, 'sub_port_id': 21298616, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883299, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 21298566, 'sub_port_id': 21298617, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883300, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'metal': {'main_port_id': 21298566, 'sub_port_id': 21298618, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883301, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'kraft': {'main_port_id': 21298566, 'sub_port_id': 21298619, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883302, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'cartonnette': {'main_port_id': 21298566, 'sub_port_id': 21298620, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883303, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'flou': {'main_port_id': 21298566, 'sub_port_id': 21298621, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883304, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'Carton_gris': {'main_port_id': 21298566, 'sub_port_id': 21298622, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883305, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'environnement': {'main_port_id': 21298566, 'sub_port_id': 21298623, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883306, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'mal_croppe': {'main_port_id': 21298566, 'sub_port_id': 21298624, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883307, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'Carton_brun': {'main_port_id': 21298566, 'sub_port_id': 21298625, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883308, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}, 'papier': {'main_port_id': 21298566, 'sub_port_id': 21298626, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883309, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 47), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21298615 , 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=21298566 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 (21298615) result : ((1343123880,), (1343123882,), (1343124258,), (1343124260,), (1343124263,), (1343124264,), (1343124273,), (1343124335,), (1343124336,), (1343124337,), (1343124338,), (1343124366,), (1343124367,), (1343124368,), (1343124372,), (1343124373,), (1343124374,), (1343124375,), (1343124376,), (1343124377,), (1343124378,), (1343124379,), (1343124380,), (1343124449,), (1343124450,), (1343124451,), (1343124452,), (1343124454,), (1343124455,), (1343124456,), (1343124457,), (1343124529,), (1343124530,), (1343124531,), (1343124618,), (1343124619,), (1343124620,), (1343124622,), (1343124625,), (1343124626,), (1343124627,), (1343124628,), (1343124629,), (1343124630,), (1343124663,), (1343124670,), (1343124677,), (1343124683,), (1343124687,), (1343124778,), (1343124780,), (1343124784,), (1343124785,), (1343124786,), (1343124787,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298616 , 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=21298566 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 (21298616) result : ((1343123892,), (1343124346,), (1343124347,), (1343124464,), (1343124701,), (1343124705,), (1343124790,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298617 , 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=21298566 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 (21298617) result : ((1343124249,), (1343124251,), (1343124271,), (1343124328,), (1343124329,), (1343124330,), (1343124331,), (1343124332,), (1343124363,), (1343124441,), (1343124442,), (1343124444,), (1343124445,), (1343124446,), (1343124447,), (1343124593,), (1343124639,), (1343124764,), (1343124765,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298618 , 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=21298566 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 (21298618) result : ((1343124392,), (1343124640,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298619 , 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=21298566 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 (21298619) result : ((1343124351,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298620 , 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=21298566 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 (21298620) result : ((1343124344,), (1343124460,), (1343124461,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298621 , 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=21298566 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 (21298621) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298622 , 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=21298566 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 (21298622) result : ((1343124341,), (1343124342,), (1343124369,), (1343124382,), (1343124383,), (1343124384,), (1343124459,), (1343124533,), (1343124631,), (1343124633,), (1343124634,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298623 , 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=21298566 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 (21298623) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298624 , 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=21298566 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 (21298624) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298625 , 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=21298566 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 (21298625) result : ((1343123886,), (1343123887,), (1343124270,), (1343124274,), (1343124371,), (1343124389,), (1343124390,), (1343124391,), (1343124536,), (1343124636,), (1343124637,), (1343124638,), (1343124789,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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 21298626 , 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=21298566 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 (21298626) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21298566) result : ((1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) 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`=21298566 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','mal_croppe','environnement','metal','kraft','plastique','flou','Teint_Dans_La_Masse','papier','autre_refus')) 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`=21298566 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','mal_croppe','environnement','metal','kraft','plastique','flou','Teint_Dans_La_Masse','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21298566, 'sub_port_id': 21298627, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883310, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'plastique': {'main_port_id': 21298566, 'sub_port_id': 21298628, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883311, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 21298566, 'sub_port_id': 21298629, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883312, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'metal': {'main_port_id': 21298566, 'sub_port_id': 21298630, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883313, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'kraft': {'main_port_id': 21298566, 'sub_port_id': 21298631, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883314, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'cartonnette': {'main_port_id': 21298566, 'sub_port_id': 21298632, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883315, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'flou': {'main_port_id': 21298566, 'sub_port_id': 21298633, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883316, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'Carton_gris': {'main_port_id': 21298566, 'sub_port_id': 21298634, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883317, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'environnement': {'main_port_id': 21298566, 'sub_port_id': 21298635, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883318, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'mal_croppe': {'main_port_id': 21298566, 'sub_port_id': 21298636, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883319, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'Carton_brun': {'main_port_id': 21298566, 'sub_port_id': 21298637, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883320, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 21, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}, 'papier': {'main_port_id': 21298566, 'sub_port_id': 21298639, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13883321, 'last_updated_at': datetime.datetime(2025, 3, 11, 17, 25, 50), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 17, 25, 50), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 17, 21, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298627,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298615 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298628,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298616 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298629,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298617 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298630,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298618 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298631,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298619 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298632,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298620 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298633,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298621 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298634,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298622 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298635,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298623 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298636,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298624 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298637,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298625 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21298639,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21298626 lien utilise dans velours : https://www.fotonower.com/velours/21298627,21298628,21298629,21298630,21298631,21298632,21298633,21298634,21298635,21298636,21298637,21298639?tags=autre_refus,plastique,Teint_Dans_La_Masse,metal,kraft,cartonnette,flou,Carton_gris,environnement,mal_croppe,Carton_brun,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21298566]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] map_info['map_portfolio_photo'] : {21298566: [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333, 1343124307, 1343124304, 1343124299, 1343124293, 1343124286, 1343124142, 1343124118, 1343124096, 1343124083, 1343124079, 1343124021, 1343124019, 1343124014, 1343124008, 1343123978, 1343123940, 1343123938, 1343123932, 1343123929, 1343123923, 1343123871, 1343123848, 1343123821, 1343123797, 1343123766, 1343123738, 1343123543, 1343123537, 1343123531, 1343123527, 1343123487, 1343123482, 1343123473, 1343123466, 1343123416, 1343123340, 1343123143, 1343123138, 1343123121]} final : False mtd_id 4302 list_pids : [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] Looping around the photos to save general results len do output : 1 /21298566. 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, '2658917') ('4302', '21298566', '1343124569', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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, '21298566', "{'autre_refus': 21298615, 'plastique': 21298616, 'Teint_Dans_La_Masse': 21298617, 'metal': 21298618, 'kraft': 21298619, 'cartonnette': 21298620, 'flou': 21298621, 'Carton_gris': 21298622, 'environnement': 21298623, 'mal_croppe': 21298624, 'Carton_brun': 21298625, 'papier': 21298626}", None, None, None, None, '2658917'), ('4302', '21298566', '1343124569', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917')] time used for this insertion : 0.01675128936767578 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.532853364944458 time spend to save output : 0.017089366912841797 total time spend for step 1 : 1.5499427318572998 step2:final Tue Mar 11 17:28: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 (21298566) 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 21298566 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343123143,1343123138,1343123121,1343123487,1343123482,1343123473,1343123466,1343123416,1343123340,1343123543,1343123537,1343123531,1343123527,1343123871,1343123848,1343123821,1343123797,1343123766,1343123738,1343123940,1343123938,1343123932,1343123929,1343123923,1343124021,1343124019,1343124014,1343124008,1343123978,1343124142,1343124118,1343124096,1343124083,1343124079,1343124307,1343124304,1343124299,1343124293,1343124286,1343124381,1343124364,1343124359,1343124353,1343124345,1343124333,1343124437,1343124434,1343124429,1343124418,1343124523,1343124508,1343124502,1343124487,1343124484,1343124480,1343124569,1343124554,1343124548); 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([21298566]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} new output for save of step final : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] map_info['map_portfolio_photo'] : {21298566: [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333, 1343124307, 1343124304, 1343124299, 1343124293, 1343124286, 1343124142, 1343124118, 1343124096, 1343124083, 1343124079, 1343124021, 1343124019, 1343124014, 1343124008, 1343123978, 1343123940, 1343123938, 1343123932, 1343123929, 1343123923, 1343123871, 1343123848, 1343123821, 1343123797, 1343123766, 1343123738, 1343123543, 1343123537, 1343123531, 1343123527, 1343123487, 1343123482, 1343123473, 1343123466, 1343123416, 1343123340, 1343123143, 1343123138, 1343123121]} final : False mtd_id 4302 list_pids : [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] Looping around the photos to save general results len do output : 19 /1343124569.Didn't retrieve data . /1343124554.Didn't retrieve data . /1343124548.Didn't retrieve data . /1343124523.Didn't retrieve data . /1343124508.Didn't retrieve data . /1343124502.Didn't retrieve data . /1343124487.Didn't retrieve data . /1343124484.Didn't retrieve data . /1343124480.Didn't retrieve data . /1343124437.Didn't retrieve data . /1343124434.Didn't retrieve data . /1343124429.Didn't retrieve data . /1343124418.Didn't retrieve data . /1343124381.Didn't retrieve data . /1343124364.Didn't retrieve data . /1343124359.Didn't retrieve data . /1343124353.Didn't retrieve data . /1343124345.Didn't retrieve data . /1343124333.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, '2658917') ('4302', '21298566', '1343124569', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 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', '21298566', '1343124569', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124554', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124548', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124523', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124508', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124502', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124487', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124484', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124480', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124437', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124434', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124429', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124418', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124381', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124364', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124359', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124353', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124345', '0.07457411974717507', None, None, None, None, '2658917'), ('4302', '21298566', '1343124333', '0.07457411974717507', None, None, None, None, '2658917')] time used for this insertion : 0.01678752899169922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07352375984191895 time spend to save output : 0.01760077476501465 total time spend for step 2 : 0.0911245346069336 step3:velours_tree Tue Mar 11 17:28: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 : {21298566: [{'autre_refus': 21298615, 'plastique': 21298616, 'Teint_Dans_La_Masse': 21298617, 'metal': 21298618, 'kraft': 21298619, 'cartonnette': 21298620, 'flou': 21298621, 'Carton_gris': 21298622, 'environnement': 21298623, 'mal_croppe': 21298624, 'Carton_brun': 21298625, 'papier': 21298626}]} input_args_next_step : {21298566: ()} output_args : {21298566: [{'autre_refus': 21298615, 'plastique': 21298616, 'Teint_Dans_La_Masse': 21298617, 'metal': 21298618, 'kraft': 21298619, 'cartonnette': 21298620, 'flou': 21298621, 'Carton_gris': 21298622, 'environnement': 21298623, 'mal_croppe': 21298624, 'Carton_brun': 21298625, 'papier': 21298626}]} args : 21298566 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 : ({'autre_refus': 21298615, 'plastique': 21298616, 'Teint_Dans_La_Masse': 21298617, 'metal': 21298618, 'kraft': 21298619, 'cartonnette': 21298620, 'flou': 21298621, 'Carton_gris': 21298622, 'environnement': 21298623, 'mal_croppe': 21298624, 'Carton_brun': 21298625, 'papier': 21298626},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21298566) 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([21298566]) 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.3338751792907715 time spend to save output : 7.343292236328125e-05 total time spend for step 3 : 0.33394861221313477 step4:send_mail_cod Tue Mar 11 17:28: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 : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} input_args_next_step : {1343124569: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124569 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124554 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124548 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124523 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124508 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124502 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124487 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124484 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124480 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124437 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124434 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124429 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124418 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124381 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124364 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124359 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124353 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124345 depend.output_id : 0 input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ()} output_args : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',)} args : 1343124333 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 : {21298566: [{'autre_refus': 21298615, 'plastique': 21298616, 'Teint_Dans_La_Masse': 21298617, 'metal': 21298618, 'kraft': 21298619, 'cartonnette': 21298620, 'flou': 21298621, 'Carton_gris': 21298622, 'environnement': 21298623, 'mal_croppe': 21298624, 'Carton_brun': 21298625, 'papier': 21298626}]} input_args_next_step : {1343124569: ('0.07457411974717507',), 1343124554: ('0.07457411974717507',), 1343124548: ('0.07457411974717507',), 1343124523: ('0.07457411974717507',), 1343124508: ('0.07457411974717507',), 1343124502: ('0.07457411974717507',), 1343124487: ('0.07457411974717507',), 1343124484: ('0.07457411974717507',), 1343124480: ('0.07457411974717507',), 1343124437: ('0.07457411974717507',), 1343124434: ('0.07457411974717507',), 1343124429: ('0.07457411974717507',), 1343124418: ('0.07457411974717507',), 1343124381: ('0.07457411974717507',), 1343124364: ('0.07457411974717507',), 1343124359: ('0.07457411974717507',), 1343124353: ('0.07457411974717507',), 1343124345: ('0.07457411974717507',), 1343124333: ('0.07457411974717507',), 21298566: ()} output_args : {21298566: [{'autre_refus': 21298615, 'plastique': 21298616, 'Teint_Dans_La_Masse': 21298617, 'metal': 21298618, 'kraft': 21298619, 'cartonnette': 21298620, 'flou': 21298621, 'Carton_gris': 21298622, 'environnement': 21298623, 'mal_croppe': 21298624, 'Carton_brun': 21298625, 'papier': 21298626}]} args : 21298566 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 :20, first value : ('0.07457411974717507',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21298566) 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 (1343124569,1343124554,1343124548,1343124523,1343124508,1343124502,1343124487,1343124484,1343124480,1343124437,1343124434,1343124429,1343124418,1343124381,1343124364,1343124359,1343124353,1343124345,1343124333) Found this number of photos: 19 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343124333 begin to download photo : 1343124364 begin to download photo : 1343124434 begin to download photo : 1343124487 begin to download photo : 1343124548 download finish for photo 1343124364 begin to download photo : 1343124381 download finish for photo 1343124434 begin to download photo : 1343124437 download finish for photo 1343124487 begin to download photo : 1343124502 download finish for photo 1343124548 begin to download photo : 1343124554 download finish for photo 1343124333 begin to download photo : 1343124345 download finish for photo 1343124437 begin to download photo : 1343124480 download finish for photo 1343124502 begin to download photo : 1343124508 download finish for photo 1343124381 begin to download photo : 1343124418 download finish for photo 1343124554 begin to download photo : 1343124569 download finish for photo 1343124345 begin to download photo : 1343124353 download finish for photo 1343124480 begin to download photo : 1343124484 download finish for photo 1343124508 begin to download photo : 1343124523 download finish for photo 1343124418 begin to download photo : 1343124429 download finish for photo 1343124569 download finish for photo 1343124353 begin to download photo : 1343124359 download finish for photo 1343124484 download finish for photo 1343124523 download finish for photo 1343124429 download finish for photo 1343124359 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 : 19 ; length of list_pids : 19 ; length of list_args : 19 results_Auto_P21298566_11-03-2025_17_28_59.pdf 21298615 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=21298615 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343124628: '1741710372_1496051_1343123466_e373b49155c41459e3bc99756e8e517f_rle_crop_3705935882_0.png', 1343124455: '1741710266_2126197_1343124008_0a4e2ea008616f5fc861434020aa0d08_rle_crop_3705937041_0.png', 1343124456: '1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937131_0.png', 1343124457: '1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937136_0.png', 1343124529: '1741710354_1495781_1343123537_d6f04e27b0fdb5cc5dac0048addd4ba6_rle_crop_3705935873_0.png', 1343124530: '1741710354_1495781_1343123531_68e1285472b3e33fe538123e4ae73c12_rle_crop_3705936064_0.png', 1343124531: '1741710354_1495781_1343123527_04ba755de54aeb39c3d42752df9c8129_rle_crop_3705936167_0.png', 1343124618: '1741710372_1496051_1343123543_bb7bee7f3d8c77c5bd6649fa4ec41112_rle_crop_3705935730_0.png', 1343124619: '1741710372_1496051_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935749_0.png', 1343124620: '1741710372_1496051_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935754_0.png', 1343124622: '1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_bib_crop_3705935827_0.jpg', 1343124625: '1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705938331_0.png', 1343124626: '1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935830_0.png', 1343124627: '1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935829_0.png', 1343124454: '1741710266_2126197_1343124008_0a4e2ea008616f5fc861434020aa0d08_rle_crop_3705937052_0.png', 1343124629: '1741710372_1496051_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936084_0.png', 1343124630: '1741710372_1496051_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936092_0.png', 1343124663: '1741710445_2130196_1343124118_c6b79a8c8db74dbeb1ee5425f2a7af1f_rle_crop_3705937455_0.png', 1343124670: '1741710445_2130196_1343124096_ae2cf944c854717a77cb6029e47ea8d0_rle_crop_3705937484_0.png', 1343124677: '1741710445_2130196_1343124083_e417042a0ad0b65201b315438bfe1ad2_rle_crop_3705937497_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d0950829ee083f7d0fd03b7f60c5555e_96341692.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2de7c2c8962fb6ea8ee3a87f7b18c306_13688535.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f348f64f3ef4860dec44ce79fb85e387_80001243.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e9792599a0b1e4765b48e8696b3c46fc_8671484.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/580ed98c411b4f9659df27187e332e9d_54887829.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bc7daa1b9fcbe8d2f3f24a62019b7bf3_79581686.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ba637aa83e069057d5fcd855025d0a64_83415204.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a9794729ddfbea9cefaa86d3f82e6cc6_55345964.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3ddec69d6ffd3c41e26e4ef9342d5c78_92058182.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/753ebc7c9f7f1cdcb09ad9990593f84d_2360126.png change filename to text .wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/96543cc818d57b89a5a29f7983781c76_76129188.jpg change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4acd3d7f8c89df2dec9c683c8b511326_66638376.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7b88bde6321a2ee7e500028f596eb522_23787981.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f2f3628de18b1773a09a27161d75063e_93707222.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/77981444eb05b901359e67e665d22935_38307002.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4efe1e4cc525e5f25b23142711718c8a_45585995.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a8bbb266de7982a39adfde8d8c55adc1_88371750.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/1817855c0913b29e972b8d98fbd77d85_33738378.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f407f72dfe9f28584d82fe787556f448_95388068.png change filename to text .imagette212986151741710539/ imagette212986151741710539/1741710372_1496051_1343123466_e373b49155c41459e3bc99756e8e517f_rle_crop_3705935882_0.png.png imagette212986151741710539/1741710354_1495781_1343123537_d6f04e27b0fdb5cc5dac0048addd4ba6_rle_crop_3705935873_0.png.png imagette212986151741710539/1741710266_2126197_1343124008_0a4e2ea008616f5fc861434020aa0d08_rle_crop_3705937052_0.png.png imagette212986151741710539/1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937131_0.png.png imagette212986151741710539/1741710266_2126197_1343124008_0a4e2ea008616f5fc861434020aa0d08_rle_crop_3705937041_0.png.png imagette212986151741710539/1741710372_1496051_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935749_0.png.png imagette212986151741710539/1741710372_1496051_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936092_0.png.png imagette212986151741710539/1741710372_1496051_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935754_0.png.png imagette212986151741710539/1741710372_1496051_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936084_0.png.png imagette212986151741710539/1741710445_2130196_1343124083_e417042a0ad0b65201b315438bfe1ad2_rle_crop_3705937497_0.png.png imagette212986151741710539/1741710354_1495781_1343123527_04ba755de54aeb39c3d42752df9c8129_rle_crop_3705936167_0.png.png imagette212986151741710539/1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_bib_crop_3705935827_0.jpg.jpg imagette212986151741710539/1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937136_0.png.png imagette212986151741710539/1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705938331_0.png.png imagette212986151741710539/1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935830_0.png.png imagette212986151741710539/1741710372_1496051_1343123543_bb7bee7f3d8c77c5bd6649fa4ec41112_rle_crop_3705935730_0.png.png imagette212986151741710539/1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935829_0.png.png imagette212986151741710539/1741710354_1495781_1343123531_68e1285472b3e33fe538123e4ae73c12_rle_crop_3705936064_0.png.png imagette212986151741710539/1741710445_2130196_1343124118_c6b79a8c8db74dbeb1ee5425f2a7af1f_rle_crop_3705937455_0.png.png imagette212986151741710539/1741710445_2130196_1343124096_ae2cf944c854717a77cb6029e47ea8d0_rle_crop_3705937484_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5c283c39f5dfc502a34f4da6268ae788_31837078.png imagette212986151741710539 21298616 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=21298616 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343123892: '1741709965_2120234_1343123138_268f853068d26752590fbd9df9850ca8_rle_crop_3705931751_0.png', 1343124346: '1741710131_1487289_1343123848_54fe3734f737c3b4723205ea344e02b3_rle_crop_3705935505_0.png', 1343124347: '1741710131_1487289_1343123821_e1bf574f658b979faf5f614475d3fff3_rle_crop_3705935698_0.png', 1343124464: '1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936359_0.png', 1343124701: '1741710445_2130196_1343124118_c6b79a8c8db74dbeb1ee5425f2a7af1f_rle_crop_3705937450_0.png', 1343124705: '1741710445_2130196_1343124079_c3364f20d4a63430654ca4ba935da6d9_rle_crop_3705937533_0.png', 1343124790: '1741710411_1496395_1343124364_5595c31f6a7a8d71b491f9275866c424_rle_crop_3705938592_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/495b261c3c89ddaec99f0babd038c026_14025740.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3b331dccc2f2c376643bd0e8701d7172_66717735.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8ea10ff93bcfe4a952fee92183a62c51_65000948.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5dfa0ea3490ad0bca9212e4fbd277e78_85369945.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f34e86b9fe4c5875cb1b2f6e5d25f49e_16614007.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/fe1a6ddd1e3571396ad6c47c8eee3886_6100149.png change filename to text .imagette212986161741710541/ imagette212986161741710541/1741710445_2130196_1343124118_c6b79a8c8db74dbeb1ee5425f2a7af1f_rle_crop_3705937450_0.png.png imagette212986161741710541/1741709965_2120234_1343123138_268f853068d26752590fbd9df9850ca8_rle_crop_3705931751_0.png.png imagette212986161741710541/1741710131_1487289_1343123821_e1bf574f658b979faf5f614475d3fff3_rle_crop_3705935698_0.png.png imagette212986161741710541/1741710445_2130196_1343124079_c3364f20d4a63430654ca4ba935da6d9_rle_crop_3705937533_0.png.png imagette212986161741710541/1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936359_0.png.png imagette212986161741710541/1741710131_1487289_1343123848_54fe3734f737c3b4723205ea344e02b3_rle_crop_3705935505_0.png.png imagette212986161741710541/1741710411_1496395_1343124364_5595c31f6a7a8d71b491f9275866c424_rle_crop_3705938592_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2767d40bc6d3219a53274b514a7f23eb_13535616.png imagette212986161741710541 21298618 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=21298618 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343124392: '1741710172_1487725_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936093_0.png', 1343124640: '1741710372_1496051_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936093_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/19e10bb5c5612364c44a41e474367816_57413919.png change filename to text .imagette212986181741710541/ imagette212986181741710541/1741710172_1487725_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936093_0.png.png imagette212986181741710541/1741710372_1496051_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936093_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/19e10bb5c5612364c44a41e474367816_16851328.png imagette212986181741710541 21298619 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=21298619 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343124351: '1741710131_1487289_1343123766_dc70c711dad12842c52997e0518cf7ec_rle_crop_3705935737_0.png'} change filename to text .imagette212986191741710541/ imagette212986191741710541/1741710131_1487289_1343123766_dc70c711dad12842c52997e0518cf7ec_rle_crop_3705935737_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/dfb93d426b3a262f463fdda69e7a41b8_23999481.png imagette212986191741710541 21298620 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=21298620 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343124344: '1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935847_0.png', 1343124460: '1741710266_2126197_1343124014_7996ec0eec13c6ddd70077b284bc8483_rle_crop_3705936395_0.png', 1343124461: '1741710266_2126197_1343124014_7996ec0eec13c6ddd70077b284bc8483_rle_crop_3705936403_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/846605f4b9b0ef7f5ec131d8ac65bf85_71813512.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3ef283fbab475a4e9f077621bd8ed3c3_19670418.png change filename to text .imagette212986201741710541/ imagette212986201741710541/1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935847_0.png.png imagette212986201741710541/1741710266_2126197_1343124014_7996ec0eec13c6ddd70077b284bc8483_rle_crop_3705936403_0.png.png imagette212986201741710541/1741710266_2126197_1343124014_7996ec0eec13c6ddd70077b284bc8483_rle_crop_3705936395_0.png.png imagette212986211741710542/ imagette212986241741710542/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/62e12d60b0093c8db2c7c6bfcb4ac1ea_2246335.png imagette212986201741710541 21298621 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=21298621 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212986211741710542 21298624 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=21298624 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212986241741710542 21298617 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=21298617 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343124441: '1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936352_0.png', 1343124765: '1741710411_1496395_1343124345_2fbfee59a07f1ace2e829f36a36c547a_rle_crop_3705938673_0.png', 1343124764: '1741710411_1496395_1343124345_2fbfee59a07f1ace2e829f36a36c547a_rle_crop_3705938674_0.png', 1343124639: '1741710445_2130196_1343124079_c3364f20d4a63430654ca4ba935da6d9_rle_crop_3705937529_0.png', 1343124593: '1741710372_1496051_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935758_0.png', 1343124447: '1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937133_0.png', 1343124446: '1741710266_2126197_1343124008_0a4e2ea008616f5fc861434020aa0d08_rle_crop_3705937055_0.png', 1343124445: '1741710266_2126197_1343124014_7996ec0eec13c6ddd70077b284bc8483_rle_crop_3705936396_0.png', 1343124444: '1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936354_0.png', 1343124442: '1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936355_0.png', 1343124249: '1741710145_2123575_1343123932_f52964be825e4f82c82ce24812a372e4_rle_crop_3705934962_0.png', 1343124363: '1741710172_1487725_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935758_0.png', 1343124332: '1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935855_0.png', 1343124331: '1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935854_0.png', 1343124330: '1741710131_1487289_1343123766_dc70c711dad12842c52997e0518cf7ec_rle_crop_3705935741_0.png', 1343124329: '1741710131_1487289_1343123797_9f13f5ac8f437524c51e73e25a4db65a_rle_crop_3705935711_0.png', 1343124328: '1741710131_1487289_1343123940_2cb0f8183032663d7c9ed1328ae9ec00_rle_crop_3705935494_0.png', 1343124271: '1741710152_1487444_1343123487_59caf36fed158921e842077a7b4ee868_rle_crop_3705935266_0.png', 1343124251: '1741710145_2123575_1343123929_e6db19ce4ffbcbce072b89ca73e849fe_rle_crop_3705935191_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/33cfcbfb2686581ad342077443a6d879_5304532.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bc54b93fecbcdd086a2c76567ee5f8f9_80027157.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8d94104a8d34e927d152729e18f43ec1_52560839.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2b25e5dd442e879e999321eee59d8178_89300738.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e09c83f26cfb09db337e464c9cc112a7_10760418.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/39540fe7131dba6d76159d40467b4679_78106813.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3f40a4ee8dd790829e5250cc54b60c4f_89066964.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c0ae85dc29178ccaa9694fe22686d032_48483932.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/709273374a114a79fbae629cd2bc950d_85859205.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/24d6082191e6c1498a0df4b53fe214a2_38026898.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a620aa5a1d9902525dfd947e95f3d572_29664509.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e09c83f26cfb09db337e464c9cc112a7_93836978.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3ee1ceccf5e6ce2358cf756b1bb18be6_88050673.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/27ed0bf7686a8dc90bf3bb4ff0153f65_4267563.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/539a6b857ef7903611455d10582de1ab_47035838.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7d975ff0b7c43ce510f0b1917045d20f_74417584.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c930c96696ef00e97c9b22c03ef27ef9_83703778.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/519a0ffc4ff16fc49278e3895c06279a_84078062.png change filename to text .imagette212986171741710542/ imagette212986171741710542/1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935854_0.png.png imagette212986171741710542/1741710131_1487289_1343123797_9f13f5ac8f437524c51e73e25a4db65a_rle_crop_3705935711_0.png.png imagette212986171741710542/1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935855_0.png.png imagette212986171741710542/1741710145_2123575_1343123929_e6db19ce4ffbcbce072b89ca73e849fe_rle_crop_3705935191_0.png.png imagette212986171741710542/1741710411_1496395_1343124345_2fbfee59a07f1ace2e829f36a36c547a_rle_crop_3705938674_0.png.png imagette212986171741710542/1741710145_2123575_1343123932_f52964be825e4f82c82ce24812a372e4_rle_crop_3705934962_0.png.png imagette212986171741710542/1741710372_1496051_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935758_0.png.png imagette212986171741710542/1741710266_2126197_1343124008_0a4e2ea008616f5fc861434020aa0d08_rle_crop_3705937055_0.png.png imagette212986171741710542/1741710172_1487725_1343123482_24a976780554a4922a0a6f46db9c4294_rle_crop_3705935758_0.png.png imagette212986171741710542/1741710411_1496395_1343124345_2fbfee59a07f1ace2e829f36a36c547a_rle_crop_3705938673_0.png.png imagette212986171741710542/1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936355_0.png.png imagette212986171741710542/1741710131_1487289_1343123766_dc70c711dad12842c52997e0518cf7ec_rle_crop_3705935741_0.png.png imagette212986171741710542/1741710445_2130196_1343124079_c3364f20d4a63430654ca4ba935da6d9_rle_crop_3705937529_0.png.png imagette212986171741710542/1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936352_0.png.png imagette212986171741710542/1741710266_2126197_1343124014_7996ec0eec13c6ddd70077b284bc8483_rle_crop_3705936396_0.png.png imagette212986171741710542/1741710152_1487444_1343123487_59caf36fed158921e842077a7b4ee868_rle_crop_3705935266_0.png.png imagette212986171741710542/1741710266_2126197_1343124142_b1dbb6172e4a070803dea21eb9428cea_rle_crop_3705936354_0.png.png imagette212986171741710542/1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937133_0.png.png imagette212986171741710542/1741710131_1487289_1343123940_2cb0f8183032663d7c9ed1328ae9ec00_rle_crop_3705935494_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/67972728cad97bca0c47d608f509d316_9328117.png imagette212986171741710542 21298622 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=21298622 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343124341: '1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935844_0.png', 1343124342: '1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935851_0.png', 1343124369: '1741710193_1487945_1343123531_68e1285472b3e33fe538123e4ae73c12_rle_crop_3705936055_0.png', 1343124382: '1741710172_1487725_1343123543_bb7bee7f3d8c77c5bd6649fa4ec41112_rle_crop_3705935731_0.png', 1343124383: '1741710172_1487725_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935826_0.png', 1343124384: '1741710172_1487725_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935825_0.png', 1343124459: '1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937128_0.png', 1343124533: '1741710354_1495781_1343123531_68e1285472b3e33fe538123e4ae73c12_rle_crop_3705936055_0.png', 1343124631: '1741710372_1496051_1343123543_bb7bee7f3d8c77c5bd6649fa4ec41112_rle_crop_3705935731_0.png', 1343124633: '1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935826_0.png', 1343124634: '1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935825_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/97011feedf2bf579f5700100f16e9066_79959508.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/0008cc2cc1305416b04b6523a346f861_83407101.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ef93dd863e443bf999c2fe27b5595b87_89951115.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/68d050270bd8f274d59d7fad660c71ce_61464489.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8b0a2d29b5776dd04511a58564b21d59_55213087.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4d1aef4e5747fda43a8a469634bc2087_36369160.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c0f2c57824d3129d189d499dc0142d71_90723418.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ef93dd863e443bf999c2fe27b5595b87_51364451.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/68d050270bd8f274d59d7fad660c71ce_23735724.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8b0a2d29b5776dd04511a58564b21d59_50692229.png change filename to text .imagette212986221741710543/ imagette212986221741710543/1741710193_1487945_1343123531_68e1285472b3e33fe538123e4ae73c12_rle_crop_3705936055_0.png.png imagette212986221741710543/1741710354_1495781_1343123531_68e1285472b3e33fe538123e4ae73c12_rle_crop_3705936055_0.png.png imagette212986221741710543/1741710172_1487725_1343123543_bb7bee7f3d8c77c5bd6649fa4ec41112_rle_crop_3705935731_0.png.png imagette212986221741710543/1741710372_1496051_1343123543_bb7bee7f3d8c77c5bd6649fa4ec41112_rle_crop_3705935731_0.png.png imagette212986221741710543/1741710172_1487725_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935826_0.png.png imagette212986221741710543/1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935826_0.png.png imagette212986221741710543/1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935851_0.png.png imagette212986221741710543/1741710172_1487725_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935825_0.png.png imagette212986221741710543/1741710372_1496051_1343123473_d076187c8251bbe3d295cd11550b3cc4_rle_crop_3705935825_0.png.png imagette212986221741710543/1741710266_2126197_1343123978_2d511be9a288872cfe2ef294e13f32e2_rle_crop_3705937128_0.png.png imagette212986221741710543/1741710131_1487289_1343123738_16765859e111d3810149219f8b0c05d8_rle_crop_3705935844_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4d1aef4e5747fda43a8a469634bc2087_19096722.png imagette212986221741710543 21298625 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=21298625 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343123886: '1741709965_2120234_1343123143_e63cab0aabc589c28f8e06c93d025d1d_rle_crop_3705931734_0.png', 1343123887: '1741709965_2120234_1343123138_268f853068d26752590fbd9df9850ca8_rle_crop_3705931748_0.png', 1343124270: '1741710145_2123575_1343123929_e6db19ce4ffbcbce072b89ca73e849fe_rle_crop_3705935192_0.png', 1343124274: '1741710152_1487444_1343123487_59caf36fed158921e842077a7b4ee868_rle_crop_3705935273_0.png', 1343124371: '1741710193_1487945_1343123537_d6f04e27b0fdb5cc5dac0048addd4ba6_rle_crop_3705935862_0.png', 1343124389: '1741710172_1487725_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936081_0.png', 1343124390: '1741710172_1487725_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936079_0.png', 1343124391: '1741710172_1487725_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936091_0.png', 1343124536: '1741710354_1495781_1343123537_d6f04e27b0fdb5cc5dac0048addd4ba6_rle_crop_3705935862_0.png', 1343124636: '1741710372_1496051_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936081_0.png', 1343124637: '1741710372_1496051_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936079_0.png', 1343124638: '1741710372_1496051_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936091_0.png', 1343124789: '1741710411_1496395_1343124345_2fbfee59a07f1ace2e829f36a36c547a_rle_crop_3705938675_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e92067180fd32b1c5c8ee324a7874b12_83093589.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b44b75ee9958bcd5a366b56a0d27dda2_1816030.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5fcd16e614d9cce46e5d7cd413b735be_20725581.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/eca1409ec5362ab01dff63f1c76bf5c7_87475231.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/75f03efecb41e04f915eaedf0c04a452_92518249.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b731c7349b7c9ddeb05e1b4b1a1a765e_42636787.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ac6be68b88d3df8f0f039a7c6efd0b38_95491911.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a2898c9b2b94ddf92ab67dfa4088f81f_47171031.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/75f03efecb41e04f915eaedf0c04a452_93335091.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b731c7349b7c9ddeb05e1b4b1a1a765e_20145169.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ac6be68b88d3df8f0f039a7c6efd0b38_98903438.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a2898c9b2b94ddf92ab67dfa4088f81f_17838291.png change filename to text .imagette212986251741710544/ imagette212986251741710544/1741710193_1487945_1343123537_d6f04e27b0fdb5cc5dac0048addd4ba6_rle_crop_3705935862_0.png.png imagette212986251741710544/1741710372_1496051_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936081_0.png.png imagette212986251741710544/1741710145_2123575_1343123929_e6db19ce4ffbcbce072b89ca73e849fe_rle_crop_3705935192_0.png.png imagette212986251741710544/1741710411_1496395_1343124345_2fbfee59a07f1ace2e829f36a36c547a_rle_crop_3705938675_0.png.png imagette212986251741710544/1741710354_1495781_1343123537_d6f04e27b0fdb5cc5dac0048addd4ba6_rle_crop_3705935862_0.png.png imagette212986251741710544/1741709965_2120234_1343123138_268f853068d26752590fbd9df9850ca8_rle_crop_3705931748_0.png.png imagette212986251741710544/1741709965_2120234_1343123143_e63cab0aabc589c28f8e06c93d025d1d_rle_crop_3705931734_0.png.png imagette212986251741710544/1741710172_1487725_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936079_0.png.png imagette212986251741710544/1741710372_1496051_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936079_0.png.png imagette212986251741710544/1741710152_1487444_1343123487_59caf36fed158921e842077a7b4ee868_rle_crop_3705935273_0.png.png imagette212986251741710544/1741710172_1487725_1343123416_dad3a26478b84b84fed3db16bff7c500_rle_crop_3705936081_0.png.png imagette212986251741710544/1741710172_1487725_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936091_0.png.png imagette212986251741710544/1741710372_1496051_1343123340_82ef81f544b7421dbe1c4c2701a49d7a_rle_crop_3705936091_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/52b91bcc14c623ffc09ce5b2a603914b_4600373.png imagette212986251741710544 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21298566 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21298627,21298628,21298629,21298630,21298631,21298632,21298633,21298634,21298635,21298636,21298637,21298639?tags=autre_refus,plastique,Teint_Dans_La_Masse,metal,kraft,cartonnette,flou,Carton_gris,environnement,mal_croppe,Carton_brun,papier your option no_mail is active, we will not send the real mail to your client args[1343124569] : ('0.07457411974717507',) no score found for photo 1343124569 We are sending mail with results at report@fotonower.com args[1343124554] : ('0.07457411974717507',) no score found for photo 1343124554 We are sending mail with results at report@fotonower.com args[1343124548] : ('0.07457411974717507',) no score found for photo 1343124548 We are sending mail with results at report@fotonower.com args[1343124523] : ('0.07457411974717507',) no score found for photo 1343124523 We are sending mail with results at report@fotonower.com args[1343124508] : ('0.07457411974717507',) no score found for photo 1343124508 We are sending mail with results at report@fotonower.com args[1343124502] : ('0.07457411974717507',) no score found for photo 1343124502 We are sending mail with results at report@fotonower.com args[1343124487] : ('0.07457411974717507',) no score found for photo 1343124487 We are sending mail with results at report@fotonower.com args[1343124484] : ('0.07457411974717507',) no score found for photo 1343124484 We are sending mail with results at report@fotonower.com args[1343124480] : ('0.07457411974717507',) no score found for photo 1343124480 We are sending mail with results at report@fotonower.com args[1343124437] : ('0.07457411974717507',) no score found for photo 1343124437 We are sending mail with results at report@fotonower.com args[1343124434] : ('0.07457411974717507',) no score found for photo 1343124434 We are sending mail with results at report@fotonower.com args[1343124429] : ('0.07457411974717507',) no score found for photo 1343124429 We are sending mail with results at report@fotonower.com args[1343124418] : ('0.07457411974717507',) no score found for photo 1343124418 We are sending mail with results at report@fotonower.com args[1343124381] : ('0.07457411974717507',) no score found for photo 1343124381 We are sending mail with results at report@fotonower.com args[1343124364] : ('0.07457411974717507',) no score found for photo 1343124364 We are sending mail with results at report@fotonower.com args[1343124359] : ('0.07457411974717507',) no score found for photo 1343124359 We are sending mail with results at report@fotonower.com args[1343124353] : ('0.07457411974717507',) no score found for photo 1343124353 We are sending mail with results at report@fotonower.com args[1343124345] : ('0.07457411974717507',) no score found for photo 1343124345 We are sending mail with results at report@fotonower.com args[1343124333] : ('0.07457411974717507',) no score found for photo 1343124333 We are sending mail with results at report@fotonower.com refus_total : 0.07457411974717507 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=21298566 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_P21298566_11-03-2025_17_28_59.pdf results_Auto_P21298566_11-03-2025_17_28_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_28_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','21298566','results_Auto_P21298566_11-03-2025_17_28_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_28_59.pdf','pdf','','0.33','0.07457411974717507') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21298566]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] map_info['map_portfolio_photo'] : {21298566: [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333, 1343124307, 1343124304, 1343124299, 1343124293, 1343124286, 1343124142, 1343124118, 1343124096, 1343124083, 1343124079, 1343124021, 1343124019, 1343124014, 1343124008, 1343123978, 1343123940, 1343123938, 1343123932, 1343123929, 1343123923, 1343123871, 1343123848, 1343123821, 1343123797, 1343123766, 1343123738, 1343123543, 1343123537, 1343123531, 1343123527, 1343123487, 1343123482, 1343123473, 1343123466, 1343123416, 1343123340, 1343123143, 1343123138, 1343123121]} final : False mtd_id 4302 list_pids : [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] 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, '2658917') ('4302', '21298566', '1343124569', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 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', '21298566', '1343124569', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917')] time used for this insertion : 0.015607357025146484 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.524127960205078 time spend to save output : 0.0159146785736084 total time spend for step 4 : 7.5400426387786865 step5:split_time_score Tue Mar 11 17:29:06 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 : ['21298566'] 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 : [('21298566',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21298566) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343124548: {'path': 'temp/1741710539_1845481_1343124548_97f1c1e0bd0b1aa598828d6df90e5340.jpg', 'extension': 'jpg'}, 1343124554: {'path': 'temp/1741710539_1845481_1343124554_6a6201ff447d416048fe7e0d0d9689d7.jpg', 'extension': 'jpg'}, 1343124569: {'path': 'temp/1741710539_1845481_1343124569_6516a961bb0efdf9d128bcf3b3ae9bd5.jpg', 'extension': 'jpg'}, 1343124434: {'path': 'temp/1741710539_1845481_1343124434_5732c326f2282a04b673d0bb38cdc235.jpg', 'extension': 'jpg'}, 1343124437: {'path': 'temp/1741710539_1845481_1343124437_9a3ac994bb5fccef1645401a55d2102c.jpg', 'extension': 'jpg'}, 1343124480: {'path': 'temp/1741710539_1845481_1343124480_11f9b8c5504fb633694e3789a7231e8c.jpg', 'extension': 'jpg'}, 1343124484: {'path': 'temp/1741710539_1845481_1343124484_a68c5dfa26936bb3064765b444c13942.jpg', 'extension': 'jpg'}, 1343124487: {'path': 'temp/1741710539_1845481_1343124487_931fff3b394934155703ed30ea7499f5.jpg', 'extension': 'jpg'}, 1343124502: {'path': 'temp/1741710539_1845481_1343124502_c58eb9ba36180fabb40e3fbda15b15c3.jpg', 'extension': 'jpg'}, 1343124508: {'path': 'temp/1741710539_1845481_1343124508_37ab1ce6669ff3d028a40cb99406bdff.jpg', 'extension': 'jpg'}, 1343124523: {'path': 'temp/1741710539_1845481_1343124523_2548e20e440aac6f62687f83d56e4bb1.jpg', 'extension': 'jpg'}, 1343124364: {'path': 'temp/1741710539_1845481_1343124364_5595c31f6a7a8d71b491f9275866c424.jpg', 'extension': 'jpg'}, 1343124381: {'path': 'temp/1741710539_1845481_1343124381_151a35e23799c03968c4024092113131.jpg', 'extension': 'jpg'}, 1343124418: {'path': 'temp/1741710539_1845481_1343124418_58bc5bf0a948e63443754f1830ba4e60.jpg', 'extension': 'jpg'}, 1343124429: {'path': 'temp/1741710539_1845481_1343124429_c907d03239b502f2fe4f5ebe664d8de6.jpg', 'extension': 'jpg'}, 1343124333: {'path': 'temp/1741710539_1845481_1343124333_98040ed87e32718d3e23df38a1a321d7.jpg', 'extension': 'jpg'}, 1343124345: {'path': 'temp/1741710539_1845481_1343124345_2fbfee59a07f1ace2e829f36a36c547a.jpg', 'extension': 'jpg'}, 1343124353: {'path': 'temp/1741710539_1845481_1343124353_eb71d3e9d4b656ec15b963255799386a.jpg', 'extension': 'jpg'}, 1343124359: {'path': 'temp/1741710539_1845481_1343124359_6dfac1738b5b4410eb29ae2c9977c4a7.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 = 21298566; (('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 = 21298566 group by h (('17', 58),) 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=21298566 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 (21298566) 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 (21298566) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21298566 Nombre de photos uploadées : 58 / 23040 (0%) 11032025 21298566 Nombre de photos taguées (types de déchets): 0 / 58 (0%) 11032025 21298566 Nombre de photos taguées (volume) : 0 / 58 (0%) [{'photo_id': 1343123143, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e63cab0aabc589c28f8e06c93d025d1d.jpg', 'username': None, 'uploaded_at': 1741709799, 'text': 'image_11032025_17_15_03_010160m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343123138, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/268f853068d26752590fbd9df9850ca8.jpg', 'username': None, 'uploaded_at': 1741709799, 'text': 'image_11032025_17_15_13_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343123121, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f6c7b36d6775c5eaffef6eed562d4b61.jpg', 'username': None, 'uploaded_at': 1741709799, 'text': 'image_11032025_17_15_23_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343123487, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/59caf36fed158921e842077a7b4ee868.jpg', 'username': None, 'uploaded_at': 1741709859, 'text': 'image_11032025_17_15_54_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002643585205078125 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21298566, '2025-03-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1656727,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03241848945617676 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= 1656727 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667191, 'mtr_portfolio_id': 21296139, 'dashboard_result_id': 9354300, '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_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667191, 'mtr_portfolio_id': 21296935, 'dashboard_result_id': 9354301, '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_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667191, 'mtr_portfolio_id': 21297690, 'dashboard_result_id': 9354302, '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_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667191, 'mtr_portfolio_id': 21298566, 'dashboard_result_id': 9354303, '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_P21298566_11-03-2025_17_25_51.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, '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 = 21296139 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': 2658800, 'mtr_portfolio_id': 21296139, 'created_at': datetime.datetime(2025, 3, 11, 16, 48, 2), 'result': '0.07193525091200008', 'result_long': None, 'result_double': None}] Qualite : 0.07193525091200008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21296139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21296139 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_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}" where mtr_portfolio_id = 21296139 and dashboard_run_id = 1667191 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`=21296139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9354300, 0.07193525091200008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, '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 = 21296935 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': 2658827, 'mtr_portfolio_id': 21296935, 'created_at': datetime.datetime(2025, 3, 11, 17, 5, 1), 'result': '0.08099840915747374', 'result_long': None, 'result_double': None}] Qualite : 0.08099840915747374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21296935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21296935 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_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}" where mtr_portfolio_id = 21296935 and dashboard_run_id = 1667191 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`=21296935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9354301, 0.08099840915747374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, '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 = 21297690 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': 2658882, 'mtr_portfolio_id': 21297690, 'created_at': datetime.datetime(2025, 3, 11, 17, 21), 'result': '0.06864296636137529', 'result_long': None, 'result_double': None}] Qualite : 0.06864296636137529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21297690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21297690 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_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}" where mtr_portfolio_id = 21297690 and dashboard_run_id = 1667191 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`=21297690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9354302, 0.06864296636137529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, '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 = 21298566 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': 2658917, 'mtr_portfolio_id': 21298566, 'created_at': datetime.datetime(2025, 3, 11, 17, 28, 58), 'result': '0.07457411974717507', 'result_long': None, 'result_double': None}] Qualite : 0.07457411974717507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21298566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_28_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21298566 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_P21298566_11-03-2025_17_28_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, 'pht': 3726}}" where mtr_portfolio_id = 21298566 and dashboard_run_id = 1667191 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`=21298566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9354303, 0.07457411974717507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_28_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, '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 (21296139,21296935,21297690,21298566) result : ((1343101940,), (1343101981,), (1343102016,), (1343102045,), (1343102082,), (1343102207,), (1343102229,), (1343102266,), (1343102286,), (1343102410,), (1343102809,), (1343102883,), (1343102936,), (1343102977,), (1343103038,), (1343103063,), (1343103580,), (1343103638,), (1343104336,), (1343107305,), (1343107340,), (1343107368,), (1343107786,), (1343108120,), (1343108151,), (1343108173,), (1343108192,), (1343108204,), (1343108711,), (1343108446,), (1343108511,), (1343108622,), (1343109125,), (1343109214,), (1343109291,), (1343109331,), (1343109346,), (1343109372,), (1343109537,), (1343109566,), (1343109581,), (1343109622,), (1343109647,), (1343109868,), (1343109899,), (1343109928,), (1343109953,), (1343110015,), (1343110018,), (1343110047,), (1343110055,), (1343110059,), (1343110072,), (1343110206,), (1343110231,), (1343110257,), (1343110318,), (1343110362,), (1343110447,), (1343110459,), (1343110477,), (1343110495,), (1343110561,), (1343110565,), (1343110569,), (1343110575,), (1343110581,), (1343110588,), (1343110607,), (1343110615,), (1343110617,), (1343110619,), (1343110623,), (1343110658,), (1343110661,), (1343110664,), (1343110679,), (1343110714,), (1343110736,), (1343110896,), (1343110941,), (1343110972,), (1343111013,), (1343111054,), (1343111441,), (1343111476,), (1343111517,), (1343111548,), (1343111588,), (1343111797,), (1343111829,), (1343111852,), (1343111903,), (1343112025,), (1343112044,), (1343112705,), (1343112743,), (1343112789,), (1343112833,), (1343112872,), (1343112961,), (1343113028,), (1343113065,), (1343113095,), (1343113134,), (1343113416,), (1343113257,), (1343113285,), (1343113337,), (1343113374,), (1343113794,), (1343113854,), (1343113936,), (1343114018,), (1343114060,), (1343114801,), (1343114883,), (1343114940,), (1343114979,), (1343115044,), (1343115106,), (1343115813,), (1343115866,), (1343115916,), (1343115978,), (1343116097,), (1343116130,), (1343116195,), (1343116283,), (1343116353,), (1343116395,), (1343116928,), (1343116955,), (1343117374,), (1343117746,), (1343117777,), (1343117834,), (1343117888,), (1343117913,), (1343117988,), (1343118501,), (1343118576,), (1343118649,), (1343118701,), (1343118766,), (1343119209,), (1343119279,), (1343119352,), (1343119426,), (1343119504,), (1343119561,), (1343119956,), (1343120045,), (1343120098,), (1343120700,), (1343120721,), (1343120826,), (1343120904,), (1343120984,), (1343121099,), (1343121868,), (1343121969,), (1343121990,), (1343122025,), (1343122167,), (1343122197,), (1343122223,), (1343122245,), (1343122250,), (1343122259,), (1343122341,), (1343122369,), (1343122423,), (1343122828,), (1343122909,), (1343122949,), (1343122979,), (1343122993,), (1343123013,), (1343123149,), (1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 58, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21298566]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] map_info['map_portfolio_photo'] : {21298566: [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333, 1343124307, 1343124304, 1343124299, 1343124293, 1343124286, 1343124142, 1343124118, 1343124096, 1343124083, 1343124079, 1343124021, 1343124019, 1343124014, 1343124008, 1343123978, 1343123940, 1343123938, 1343123932, 1343123929, 1343123923, 1343123871, 1343123848, 1343123821, 1343123797, 1343123766, 1343123738, 1343123543, 1343123537, 1343123531, 1343123527, 1343123487, 1343123482, 1343123473, 1343123466, 1343123416, 1343123340, 1343123143, 1343123138, 1343123121]} final : True mtd_id 4302 list_pids : [1343124569, 1343124554, 1343124548, 1343124523, 1343124508, 1343124502, 1343124487, 1343124484, 1343124480, 1343124437, 1343124434, 1343124429, 1343124418, 1343124381, 1343124364, 1343124359, 1343124353, 1343124345, 1343124333] Looping around the photos to save general results len do output : 1 /21298566Didn'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, '2658917') ('4302', '21298566', '1343124569', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917') ('4302', None, None, None, None, None, None, None, '2658917') ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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, '21298566', 'None', None, None, None, None, '2658917'), ('4302', '21298566', '1343124569', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124554', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124548', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124523', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124508', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124502', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124487', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124484', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124480', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124437', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124434', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124429', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124418', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124381', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124364', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124359', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124353', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124345', None, None, None, None, None, '2658917'), ('4302', '21298566', '1343124333', None, None, None, None, None, '2658917')] time used for this insertion : 0.021027326583862305 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.35217833518981934 time spend to save output : 0.021340131759643555 total time spend for step 5 : 0.3735184669494629 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 (2658917) 2.45user 2.31system 0:14.44elapsed 33%CPU (0avgtext+0avgdata 162416maxresident)k 816inputs+19896outputs (15major+76278minor)pagefaults 0swaps