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 : 341627 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 (2612416) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2612416) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799103 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2612416'] with mtr_portfolio_ids : ['20799103'] and first list_photo_ids : [] new path : /proc/341627/ Name: python3 Umask: 0002 State: R (running) Tgid: 341627 Ngid: 0 Pid: 341627 PPid: 341626 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 341627 NSpid: 341627 NSpgid: 340498 NSsid: 340498 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99012 kB VmRSS: 99012 kB RssAnon: 59760 kB RssFile: 39252 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 52 nonvoluntary_ctxt_switches: 164 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '341627', 'Ngid': '0', 'Pid': '341627', 'PPid': '341626', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '341627', 'NSpid': '341627', 'NSpgid': '340498', 'NSsid': '340498', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99012 kB', 'VmRSS': '99012 kB', 'RssAnon': '59760 kB', 'RssFile': '39252 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '52', 'nonvoluntary_ctxt_switches': '164'} ('datou_batch_current', '341627', '1106844', '0', '1106844', '865592', '99012', b'', 'marlene', '2612416') 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 (20799103) 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 (2612416 ) ) 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 (20799103) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339525036, 'portfolio_id': 20799103}, {'photo_id': 1339524971, 'portfolio_id': 20799103}, {'photo_id': 1339524967, 'portfolio_id': 20799103}, {'photo_id': 1339524963, 'portfolio_id': 20799103}, {'photo_id': 1339524938, 'portfolio_id': 20799103}, {'photo_id': 1339524936, 'portfolio_id': 20799103}, {'photo_id': 1339524934, 'portfolio_id': 20799103}, {'photo_id': 1339524932, 'portfolio_id': 20799103}, {'photo_id': 1339524929, 'portfolio_id': 20799103}, {'photo_id': 1339524914, 'portfolio_id': 20799103}, {'photo_id': 1339524885, 'portfolio_id': 20799103}, {'photo_id': 1339524880, 'portfolio_id': 20799103}, {'photo_id': 1339524878, 'portfolio_id': 20799103}, {'photo_id': 1339524874, 'portfolio_id': 20799103}, {'photo_id': 1339524870, 'portfolio_id': 20799103}, {'photo_id': 1339524846, 'portfolio_id': 20799103}, {'photo_id': 1339524844, 'portfolio_id': 20799103}, {'photo_id': 1339524841, 'portfolio_id': 20799103}, {'photo_id': 1339524837, 'portfolio_id': 20799103}, {'photo_id': 1339524834, 'portfolio_id': 20799103}, {'photo_id': 1339524830, 'portfolio_id': 20799103}, {'photo_id': 1339524806, 'portfolio_id': 20799103}, {'photo_id': 1339524802, 'portfolio_id': 20799103}, {'photo_id': 1339524785, 'portfolio_id': 20799103}, {'photo_id': 1339524781, 'portfolio_id': 20799103}, {'photo_id': 1339524777, 'portfolio_id': 20799103}, {'photo_id': 1339524762, 'portfolio_id': 20799103}, {'photo_id': 1339524758, 'portfolio_id': 20799103}, {'photo_id': 1339524753, 'portfolio_id': 20799103}, {'photo_id': 1339524749, 'portfolio_id': 20799103}, {'photo_id': 1339524745, 'portfolio_id': 20799103}, {'photo_id': 1339524730, 'portfolio_id': 20799103}, {'photo_id': 1339524727, 'portfolio_id': 20799103}, {'photo_id': 1339524723, 'portfolio_id': 20799103}, {'photo_id': 1339524718, 'portfolio_id': 20799103}, {'photo_id': 1339524715, 'portfolio_id': 20799103}, {'photo_id': 1339524712, 'portfolio_id': 20799103}, {'photo_id': 1339524680, 'portfolio_id': 20799103}, {'photo_id': 1339524672, 'portfolio_id': 20799103}, {'photo_id': 1339524670, 'portfolio_id': 20799103}, {'photo_id': 1339524637, 'portfolio_id': 20799103}, {'photo_id': 1339524634, 'portfolio_id': 20799103}, {'photo_id': 1339524631, 'portfolio_id': 20799103}, {'photo_id': 1339524628, 'portfolio_id': 20799103}, {'photo_id': 1339524625, 'portfolio_id': 20799103}, {'photo_id': 1339524598, 'portfolio_id': 20799103}, {'photo_id': 1339524595, 'portfolio_id': 20799103}, {'photo_id': 1339524581, 'portfolio_id': 20799103}, {'photo_id': 1339524540, 'portfolio_id': 20799103}, {'photo_id': 1339524532, 'portfolio_id': 20799103}, {'photo_id': 1339524515, 'portfolio_id': 20799103}, {'photo_id': 1339524176, 'portfolio_id': 20799103}, {'photo_id': 1339524173, 'portfolio_id': 20799103}, {'photo_id': 1339524168, 'portfolio_id': 20799103}, {'photo_id': 1339524165, 'portfolio_id': 20799103}] map_portfolio_id_photo_id: {20799103: [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830, 1339524806, 1339524802, 1339524785, 1339524781, 1339524777, 1339524762, 1339524758, 1339524753, 1339524749, 1339524745, 1339524730, 1339524727, 1339524723, 1339524718, 1339524715, 1339524712, 1339524680, 1339524672, 1339524670, 1339524637, 1339524634, 1339524631, 1339524628, 1339524625, 1339524598, 1339524595, 1339524581, 1339524540, 1339524532, 1339524515, 1339524176, 1339524173, 1339524168, 1339524165]} ##### 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.01533055305480957 #### 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 Feb 25 10:42:29 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 (20799103) 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 : 20799103 get user id for portfolio 20799103 get sub ptf for main ptf 20799103, type 3726 and hashtags ['cartonnette', 'Carton_gris', 'autre_refus', 'papier', 'metal', 'Carton_brun', 'environnement', 'mal_croppe', 'plastique', 'Teint_Dans_La_Masse', 'kraft', 'flou'] 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`=20799103 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','papier','metal','Carton_brun','environnement','mal_croppe','plastique','Teint_Dans_La_Masse','kraft','flou')) 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`=20799103 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','papier','metal','Carton_brun','environnement','mal_croppe','plastique','Teint_Dans_La_Masse','kraft','flou')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20799103, 'sub_port_id': 20799152, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437095, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'autre_refus': {'main_port_id': 20799103, 'sub_port_id': 20799153, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437096, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'kraft': {'main_port_id': 20799103, 'sub_port_id': 20799154, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437097, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'mal_croppe': {'main_port_id': 20799103, 'sub_port_id': 20799155, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437098, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'Carton_brun': {'main_port_id': 20799103, 'sub_port_id': 20799156, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437099, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'environnement': {'main_port_id': 20799103, 'sub_port_id': 20799157, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437100, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'cartonnette': {'main_port_id': 20799103, 'sub_port_id': 20799158, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437101, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'Carton_gris': {'main_port_id': 20799103, 'sub_port_id': 20799159, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437102, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'papier': {'main_port_id': 20799103, 'sub_port_id': 20799160, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437103, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 20799103, 'sub_port_id': 20799161, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437104, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'flou': {'main_port_id': 20799103, 'sub_port_id': 20799162, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437105, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}, 'metal': {'main_port_id': 20799103, 'sub_port_id': 20799163, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437106, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20799152 , 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=20799103 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 (20799152) result : ((1339524919,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799153 , 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=20799103 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 (20799153) result : ((1339524797,), (1339524847,), (1339524906,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799154 , 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=20799103 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 (20799154) result : ((1339524853,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799155 , 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=20799103 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 (20799155) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799156 , 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=20799103 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 (20799156) result : ((1339524852,), (1339524917,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799157 , 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=20799103 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 (20799157) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799158 , 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=20799103 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 (20799158) result : ((1339524655,), (1339524818,), (1339524849,), (1339524850,), (1339524851,), (1339524895,), (1339524896,), (1339524910,), (1339524911,), (1339524912,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799159 , 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=20799103 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 (20799159) result : ((1339524800,), (1339524801,), (1339524815,), (1339524816,), (1339524817,), (1339524848,), (1339524894,), (1339524908,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799160 , 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=20799103 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 (20799160) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799161 , 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=20799103 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 (20799161) result : ((1339524650,), (1339524651,), (1339524652,), (1339524653,), (1339524654,), (1339524788,), (1339524789,), (1339524790,), (1339524791,), (1339524792,), (1339524793,), (1339524794,), (1339524795,), (1339524796,), (1339524811,), (1339524812,), (1339524813,), (1339524814,), (1339524893,), (1339524904,), (1339524905,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799162 , 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=20799103 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 (20799162) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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 20799163 , 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=20799103 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 (20799163) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20799103) result : ((1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) 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`=20799103 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','papier','metal','Carton_brun','environnement','mal_croppe','plastique','Teint_Dans_La_Masse','kraft','flou')) 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`=20799103 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','papier','metal','Carton_brun','environnement','mal_croppe','plastique','Teint_Dans_La_Masse','kraft','flou')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20799103, 'sub_port_id': 20799164, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437107, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'autre_refus': {'main_port_id': 20799103, 'sub_port_id': 20799165, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437108, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'kraft': {'main_port_id': 20799103, 'sub_port_id': 20799166, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437109, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'mal_croppe': {'main_port_id': 20799103, 'sub_port_id': 20799167, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437110, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'Carton_brun': {'main_port_id': 20799103, 'sub_port_id': 20799168, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437111, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'environnement': {'main_port_id': 20799103, 'sub_port_id': 20799169, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437112, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'cartonnette': {'main_port_id': 20799103, 'sub_port_id': 20799170, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437113, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'Carton_gris': {'main_port_id': 20799103, 'sub_port_id': 20799171, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437114, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'papier': {'main_port_id': 20799103, 'sub_port_id': 20799172, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437115, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20799103, 'sub_port_id': 20799173, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437116, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'flou': {'main_port_id': 20799103, 'sub_port_id': 20799174, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437117, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}, 'metal': {'main_port_id': 20799103, 'sub_port_id': 20799175, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13437118, 'last_updated_at': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 10, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 10, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799164,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799152 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799165,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799153 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799166,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799154 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799167,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799155 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799168,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799156 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799169,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799157 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799170,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799158 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799171,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799159 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799172,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799160 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799173,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799161 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799174,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799162 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20799175,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20799163 lien utilise dans velours : https://www.fotonower.com/velours/20799164,20799165,20799166,20799167,20799168,20799169,20799170,20799171,20799172,20799173,20799174,20799175?tags=plastique,autre_refus,kraft,mal_croppe,Carton_brun,environnement,cartonnette,Carton_gris,papier,Teint_Dans_La_Masse,flou,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20799103]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] map_info['map_portfolio_photo'] : {20799103: [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830, 1339524806, 1339524802, 1339524785, 1339524781, 1339524777, 1339524762, 1339524758, 1339524753, 1339524749, 1339524745, 1339524730, 1339524727, 1339524723, 1339524718, 1339524715, 1339524712, 1339524680, 1339524672, 1339524670, 1339524637, 1339524634, 1339524631, 1339524628, 1339524625, 1339524598, 1339524595, 1339524581, 1339524540, 1339524532, 1339524515, 1339524176, 1339524173, 1339524168, 1339524165]} final : False mtd_id 4302 list_pids : [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] Looping around the photos to save general results len do output : 1 /20799103. 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, '2612416') ('4302', '20799103', '1339525036', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '20799103', "{'plastique': 20799152, 'autre_refus': 20799153, 'kraft': 20799154, 'mal_croppe': 20799155, 'Carton_brun': 20799156, 'environnement': 20799157, 'cartonnette': 20799158, 'Carton_gris': 20799159, 'papier': 20799160, 'Teint_Dans_La_Masse': 20799161, 'flou': 20799162, 'metal': 20799163}", None, None, None, None, '2612416'), ('4302', '20799103', '1339525036', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416')] time used for this insertion : 0.016193628311157227 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5622260570526123 time spend to save output : 0.01657891273498535 total time spend for step 1 : 1.5788049697875977 step2:final Tue Feb 25 10:42:31 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 (20799103) 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 20799103 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339524176,1339524173,1339524168,1339524165,1339524598,1339524595,1339524581,1339524540,1339524532,1339524515,1339524637,1339524634,1339524631,1339524628,1339524625,1339524680,1339524672,1339524670,1339524730,1339524727,1339524723,1339524718,1339524715,1339524712,1339524762,1339524758,1339524753,1339524749,1339524745,1339524806,1339524802,1339524785,1339524781,1339524777,1339524846,1339524844,1339524841,1339524837,1339524834,1339524830,1339524885,1339524880,1339524878,1339524874,1339524870,1339524938,1339524936,1339524934,1339524914,1339524932,1339524929,1339525036,1339524971,1339524967,1339524963); 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([20799103]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} new output for save of step final : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] map_info['map_portfolio_photo'] : {20799103: [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830, 1339524806, 1339524802, 1339524785, 1339524781, 1339524777, 1339524762, 1339524758, 1339524753, 1339524749, 1339524745, 1339524730, 1339524727, 1339524723, 1339524718, 1339524715, 1339524712, 1339524680, 1339524672, 1339524670, 1339524637, 1339524634, 1339524631, 1339524628, 1339524625, 1339524598, 1339524595, 1339524581, 1339524540, 1339524532, 1339524515, 1339524176, 1339524173, 1339524168, 1339524165]} final : False mtd_id 4302 list_pids : [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] Looping around the photos to save general results len do output : 21 /1339525036.Didn't retrieve data . /1339524971.Didn't retrieve data . /1339524967.Didn't retrieve data . /1339524963.Didn't retrieve data . /1339524938.Didn't retrieve data . /1339524936.Didn't retrieve data . /1339524934.Didn't retrieve data . /1339524932.Didn't retrieve data . /1339524929.Didn't retrieve data . /1339524914.Didn't retrieve data . /1339524885.Didn't retrieve data . /1339524880.Didn't retrieve data . /1339524878.Didn't retrieve data . /1339524874.Didn't retrieve data . /1339524870.Didn't retrieve data . /1339524846.Didn't retrieve data . /1339524844.Didn't retrieve data . /1339524841.Didn't retrieve data . /1339524837.Didn't retrieve data . /1339524834.Didn't retrieve data . /1339524830.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, '2612416') ('4302', '20799103', '1339525036', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 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', '20799103', '1339525036', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524971', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524967', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524963', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524938', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524936', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524934', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524932', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524929', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524914', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524885', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524880', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524878', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524874', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524870', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524846', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524844', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524841', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524837', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524834', '0.04195296915944211', None, None, None, None, '2612416'), ('4302', '20799103', '1339524830', '0.04195296915944211', None, None, None, None, '2612416')] time used for this insertion : 0.014732122421264648 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0730140209197998 time spend to save output : 0.01598978042602539 total time spend for step 2 : 0.0890038013458252 step3:velours_tree Tue Feb 25 10:42:31 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 : {20799103: [{'plastique': 20799152, 'autre_refus': 20799153, 'kraft': 20799154, 'mal_croppe': 20799155, 'Carton_brun': 20799156, 'environnement': 20799157, 'cartonnette': 20799158, 'Carton_gris': 20799159, 'papier': 20799160, 'Teint_Dans_La_Masse': 20799161, 'flou': 20799162, 'metal': 20799163}]} input_args_next_step : {20799103: ()} output_args : {20799103: [{'plastique': 20799152, 'autre_refus': 20799153, 'kraft': 20799154, 'mal_croppe': 20799155, 'Carton_brun': 20799156, 'environnement': 20799157, 'cartonnette': 20799158, 'Carton_gris': 20799159, 'papier': 20799160, 'Teint_Dans_La_Masse': 20799161, 'flou': 20799162, 'metal': 20799163}]} args : 20799103 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'plastique': 20799152, 'autre_refus': 20799153, 'kraft': 20799154, 'mal_croppe': 20799155, 'Carton_brun': 20799156, 'environnement': 20799157, 'cartonnette': 20799158, 'Carton_gris': 20799159, 'papier': 20799160, 'Teint_Dans_La_Masse': 20799161, 'flou': 20799162, 'metal': 20799163},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20799103) 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([20799103]) 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.4383218288421631 time spend to save output : 6.341934204101562e-05 total time spend for step 3 : 0.4383852481842041 step4:send_mail_cod Tue Feb 25 10:42:32 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 : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} input_args_next_step : {1339525036: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339525036 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524971 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524967 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524963 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524938 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524936 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524934 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524932 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524929 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524914 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524885 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524880 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524878 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524874 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524870 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524846 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524844 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524841 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524837 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524834 depend.output_id : 0 input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ()} output_args : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',)} args : 1339524830 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 : {20799103: [{'plastique': 20799152, 'autre_refus': 20799153, 'kraft': 20799154, 'mal_croppe': 20799155, 'Carton_brun': 20799156, 'environnement': 20799157, 'cartonnette': 20799158, 'Carton_gris': 20799159, 'papier': 20799160, 'Teint_Dans_La_Masse': 20799161, 'flou': 20799162, 'metal': 20799163}]} input_args_next_step : {1339525036: ('0.04195296915944211',), 1339524971: ('0.04195296915944211',), 1339524967: ('0.04195296915944211',), 1339524963: ('0.04195296915944211',), 1339524938: ('0.04195296915944211',), 1339524936: ('0.04195296915944211',), 1339524934: ('0.04195296915944211',), 1339524932: ('0.04195296915944211',), 1339524929: ('0.04195296915944211',), 1339524914: ('0.04195296915944211',), 1339524885: ('0.04195296915944211',), 1339524880: ('0.04195296915944211',), 1339524878: ('0.04195296915944211',), 1339524874: ('0.04195296915944211',), 1339524870: ('0.04195296915944211',), 1339524846: ('0.04195296915944211',), 1339524844: ('0.04195296915944211',), 1339524841: ('0.04195296915944211',), 1339524837: ('0.04195296915944211',), 1339524834: ('0.04195296915944211',), 1339524830: ('0.04195296915944211',), 20799103: ()} output_args : {20799103: [{'plastique': 20799152, 'autre_refus': 20799153, 'kraft': 20799154, 'mal_croppe': 20799155, 'Carton_brun': 20799156, 'environnement': 20799157, 'cartonnette': 20799158, 'Carton_gris': 20799159, 'papier': 20799160, 'Teint_Dans_La_Masse': 20799161, 'flou': 20799162, 'metal': 20799163}]} args : 20799103 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 :22, first value : ('0.04195296915944211',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20799103) 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 (1339525036,1339524971,1339524967,1339524963,1339524938,1339524936,1339524934,1339524932,1339524929,1339524914,1339524885,1339524880,1339524878,1339524874,1339524870,1339524846,1339524844,1339524841,1339524837,1339524834,1339524830) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339524830 begin to download photo : 1339524846 begin to download photo : 1339524885 begin to download photo : 1339524936 begin to download photo : 1339525036 download finish for photo 1339524830 begin to download photo : 1339524834 download finish for photo 1339525036 download finish for photo 1339524936 begin to download photo : 1339524938 download finish for photo 1339524885 begin to download photo : 1339524914 download finish for photo 1339524846 begin to download photo : 1339524870 download finish for photo 1339524870 begin to download photo : 1339524874 download finish for photo 1339524914 begin to download photo : 1339524929 download finish for photo 1339524938 begin to download photo : 1339524963 download finish for photo 1339524834 begin to download photo : 1339524837 download finish for photo 1339524874 begin to download photo : 1339524878 download finish for photo 1339524963 begin to download photo : 1339524967 download finish for photo 1339524929 begin to download photo : 1339524932 download finish for photo 1339524837 begin to download photo : 1339524841 download finish for photo 1339524967 begin to download photo : 1339524971 download finish for photo 1339524932 begin to download photo : 1339524934 download finish for photo 1339524878 begin to download photo : 1339524880 download finish for photo 1339524841 begin to download photo : 1339524844 download finish for photo 1339524971 download finish for photo 1339524880 download finish for photo 1339524934 download finish for photo 1339524844 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 : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P20799103_25-02-2025_10_42_32.pdf 20799152 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=20799152 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524919: '1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311744_0.png'} change filename to text .imagette207991521740476552/ imagette207991521740476552/1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311744_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/63a3e47f81d1f0a5b44988b39c60c6d5_70820722.png imagette207991521740476552 20799153 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=20799153 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524797: '1740476194_1266774_1339524628_9fdd6654c42348e412daf514b8e631b1_rle_crop_3686310361_0.png', 1339524847: '1740476250_1267636_1339524637_a9b81b57988e639b0a03675f4a208518_rle_crop_3686311175_0.png', 1339524906: '1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311740_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5bb7ce64ab985e4ede912025f47f1a7f_87755230.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a3291a0fb92daf13e3be650d56aeba28_33960262.png change filename to text .imagette207991531740476552/ imagette207991531740476552/1740476194_1266774_1339524628_9fdd6654c42348e412daf514b8e631b1_rle_crop_3686310361_0.png.png imagette207991531740476552/1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311740_0.png.png imagette207991531740476552/1740476250_1267636_1339524637_a9b81b57988e639b0a03675f4a208518_rle_crop_3686311175_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/679eb86c52914ff47601d4dec322782b_93445310.png imagette207991531740476552 20799154 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=20799154 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524853: '1740476250_1267636_1339524532_85bb6eb623f66fc7d49de82fe4e9bef0_rle_crop_3686311236_0.png'} change filename to text .imagette207991541740476552/ imagette207991541740476552/1740476250_1267636_1339524532_85bb6eb623f66fc7d49de82fe4e9bef0_rle_crop_3686311236_0.png.png imagette207991551740476552/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5495492b978fc2e507e32c7c8cbf45a1_43960686.png imagette207991541740476552 20799155 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=20799155 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette207991551740476552 20799158 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=20799158 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524655: '1740475991_1263949_1339524176_3d9ba9edbb144b985c74c358323974ea_rle_crop_3686308537_0.png', 1339524818: '1740476232_1267329_1339524723_b1561d98fee6a9010347f9ae8a93bd44_rle_crop_3686310698_0.png', 1339524849: '1740476250_1267636_1339524540_67ef8f42cfde22fe4c11bf5ff61fac2a_rle_crop_3686311215_0.png', 1339524850: '1740476250_1267636_1339524540_67ef8f42cfde22fe4c11bf5ff61fac2a_rle_crop_3686311221_0.png', 1339524851: '1740476250_1267636_1339524532_85bb6eb623f66fc7d49de82fe4e9bef0_rle_crop_3686311235_0.png', 1339524895: '1740476355_1269064_1339524806_4c1c0bac8627f4ddd2e13162b0588dd3_rle_crop_3686311652_0.png', 1339524896: '1740476355_1269064_1339524745_09b3089410a279a8c612fae9f4cf9e35_rle_crop_3686311690_0.png', 1339524910: '1740476372_1269315_1339524802_e267258d31c13bffd94cdf76840ad64d_rle_crop_3686311705_0.png', 1339524911: '1740476372_1269315_1339524785_5f38b9418ee8b65b76d5c4de0b945d4e_rle_crop_3686311713_0.png', 1339524912: '1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311751_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/4fb7968cca2d82c67572e6c731b6f510_9663858.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a57af0a441998efdcddaee9d558e8bb2_68503718.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c2b7646da27b89b9d4453d627cdeb33c_88106397.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/547c124876a21ad510e115464519c983_72892087.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/8a119aa3263142a5778f24f6c36668e9_5603098.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0d0d99c60d16604e8df0ad22462a1a78_52650399.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/af1197e68547ddda397b5398e606d5e4_89532259.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/e9a2d4ffe27e48b46436996a9a4e2ac7_90233401.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b350e6eddb3d7296f87b8e54faa6d12c_75255299.png change filename to text .imagette207991581740476552/ imagette207991581740476552/1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311751_0.png.png imagette207991581740476552/1740476250_1267636_1339524540_67ef8f42cfde22fe4c11bf5ff61fac2a_rle_crop_3686311215_0.png.png imagette207991581740476552/1740476250_1267636_1339524532_85bb6eb623f66fc7d49de82fe4e9bef0_rle_crop_3686311235_0.png.png imagette207991581740476552/1740476355_1269064_1339524806_4c1c0bac8627f4ddd2e13162b0588dd3_rle_crop_3686311652_0.png.png imagette207991581740476552/1740476372_1269315_1339524785_5f38b9418ee8b65b76d5c4de0b945d4e_rle_crop_3686311713_0.png.png imagette207991581740476552/1740476232_1267329_1339524723_b1561d98fee6a9010347f9ae8a93bd44_rle_crop_3686310698_0.png.png imagette207991581740476552/1740476250_1267636_1339524540_67ef8f42cfde22fe4c11bf5ff61fac2a_rle_crop_3686311221_0.png.png imagette207991581740476552/1740475991_1263949_1339524176_3d9ba9edbb144b985c74c358323974ea_rle_crop_3686308537_0.png.png imagette207991581740476552/1740476372_1269315_1339524802_e267258d31c13bffd94cdf76840ad64d_rle_crop_3686311705_0.png.png imagette207991581740476552/1740476355_1269064_1339524745_09b3089410a279a8c612fae9f4cf9e35_rle_crop_3686311690_0.png.png imagette207991621740476553/ imagette207991631740476553/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/86989726040e239d24d7934133fb0b4e_31105686.png imagette207991581740476552 20799162 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=20799162 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette207991621740476553 20799163 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=20799163 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette207991631740476553 20799156 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=20799156 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524852: '1740476250_1267636_1339524515_6169e6d3d487bdc4031e9b1cef302dee_rle_crop_3686311289_0.png', 1339524917: '1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311747_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b4071ea6892348a7539ce5a8cf9606d8_16963876.png change filename to text .imagette207991561740476553/ imagette207991561740476553/1740476250_1267636_1339524515_6169e6d3d487bdc4031e9b1cef302dee_rle_crop_3686311289_0.png.png imagette207991561740476553/1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311747_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/2b0781dc7959601826d41f9f7bffe049_9395879.png imagette207991561740476553 20799159 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=20799159 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524800: '1740476194_1266774_1339524628_9fdd6654c42348e412daf514b8e631b1_rle_crop_3686310365_0.png', 1339524801: '1740476194_1266774_1339524625_bfc5e70050c8cdab99b3b62682b07840_rle_crop_3686310379_0.png', 1339524815: '1740476232_1267329_1339524727_368e6dfba628546b83a5506b1fd6e745_rle_crop_3686310687_0.png', 1339524816: '1740476232_1267329_1339524727_368e6dfba628546b83a5506b1fd6e745_rle_crop_3686310685_0.png', 1339524817: '1740476232_1267329_1339524718_e664608f2d2b46958cde0777d16ba4fd_rle_crop_3686310708_0.png', 1339524848: '1740476250_1267636_1339524581_e5b99f8a505eb8b9ec39688206cabca0_rle_crop_3686311196_0.png', 1339524894: '1740476355_1269064_1339524745_09b3089410a279a8c612fae9f4cf9e35_rle_crop_3686311692_0.png', 1339524908: '1740476372_1269315_1339524785_5f38b9418ee8b65b76d5c4de0b945d4e_rle_crop_3686311716_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/123dbf4baa993799dd543b20482e6c91_36506173.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ed41b05afe41fd80e086a9591b6a9d1c_14795295.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/e110a5e2e6232ce9c271fe58c7ef4ee0_22502086.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/d9a0e0e24f4d97a5667fb9170310a97f_25752659.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/86031e9f94f11c29282a76bedf6148a6_56472634.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/79d966582972f30fcf3d5e5a0526c3ff_31909338.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/f61350711431a4fb3435189e363b1b7a_38284798.png change filename to text .imagette207991591740476553/ imagette207991591740476553/1740476372_1269315_1339524785_5f38b9418ee8b65b76d5c4de0b945d4e_rle_crop_3686311716_0.png.png imagette207991591740476553/1740476355_1269064_1339524745_09b3089410a279a8c612fae9f4cf9e35_rle_crop_3686311692_0.png.png imagette207991591740476553/1740476232_1267329_1339524718_e664608f2d2b46958cde0777d16ba4fd_rle_crop_3686310708_0.png.png imagette207991591740476553/1740476232_1267329_1339524727_368e6dfba628546b83a5506b1fd6e745_rle_crop_3686310687_0.png.png imagette207991591740476553/1740476194_1266774_1339524628_9fdd6654c42348e412daf514b8e631b1_rle_crop_3686310365_0.png.png imagette207991591740476553/1740476232_1267329_1339524727_368e6dfba628546b83a5506b1fd6e745_rle_crop_3686310685_0.png.png imagette207991591740476553/1740476194_1266774_1339524625_bfc5e70050c8cdab99b3b62682b07840_rle_crop_3686310379_0.png.png imagette207991591740476553/1740476250_1267636_1339524581_e5b99f8a505eb8b9ec39688206cabca0_rle_crop_3686311196_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/7a99453c4fe0609a00e509b85efa273a_62920173.png imagette207991591740476553 20799161 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=20799161 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339524793: '1740476194_1266774_1339524631_e0053eaf8e00b256ebb0efd9e5db894e_rle_crop_3686310352_0.png', 1339524905: '1740476372_1269315_1339524777_97ee8ef8244635ff6429fb5a035b96d2_rle_crop_3686311760_0.png', 1339524904: '1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311742_0.png', 1339524893: '1740476355_1269064_1339524745_09b3089410a279a8c612fae9f4cf9e35_rle_crop_3686311695_0.png', 1339524814: '1740476232_1267329_1339524712_5ef858d6aa1ce272132aacd45d3ebf16_rle_crop_3686310831_0.png', 1339524813: '1740476232_1267329_1339524723_b1561d98fee6a9010347f9ae8a93bd44_rle_crop_3686310699_0.png', 1339524812: '1740476232_1267329_1339524723_b1561d98fee6a9010347f9ae8a93bd44_rle_crop_3686310703_0.png', 1339524811: '1740476232_1267329_1339524727_368e6dfba628546b83a5506b1fd6e745_rle_crop_3686310693_0.png', 1339524796: '1740476194_1266774_1339524625_bfc5e70050c8cdab99b3b62682b07840_rle_crop_3686310387_0.png', 1339524795: '1740476194_1266774_1339524625_bfc5e70050c8cdab99b3b62682b07840_rle_crop_3686310385_0.png', 1339524794: '1740476194_1266774_1339524628_9fdd6654c42348e412daf514b8e631b1_rle_crop_3686310368_0.png', 1339524650: '1740475991_1263949_1339524176_3d9ba9edbb144b985c74c358323974ea_rle_crop_3686308536_0.png', 1339524792: '1740476194_1266774_1339524631_e0053eaf8e00b256ebb0efd9e5db894e_rle_crop_3686310354_0.png', 1339524791: '1740476194_1266774_1339524631_e0053eaf8e00b256ebb0efd9e5db894e_rle_crop_3686310355_0.png', 1339524790: '1740476194_1266774_1339524634_e538b3e8f6905cd63b665a3fb415cd63_rle_crop_3686310343_0.png', 1339524789: '1740476194_1266774_1339524634_e538b3e8f6905cd63b665a3fb415cd63_rle_crop_3686310340_0.png', 1339524788: '1740476194_1266774_1339524634_e538b3e8f6905cd63b665a3fb415cd63_rle_crop_3686310337_0.png', 1339524654: '1740475991_1263949_1339524165_15449f016a8e16979888a9ce51bb22df_rle_crop_3686308765_0.png', 1339524653: '1740475991_1263949_1339524168_f0f524aacbcd575e87041070ad58fefa_rle_crop_3686308591_0.png', 1339524652: '1740475991_1263949_1339524173_c883abc2e533b5ee97ca0ca987202600_rle_crop_3686308572_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b251f9fb4a27c07eb42ec566f2ba6f45_93469844.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/40285ce365fcd3c9d8a527473f781b2a_61414741.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/df0095fda9ed02998f35f88e760ea0d7_84782825.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/6ff3b002d0d0853eb0164264dd683842_10069635.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/563c54647822deb5530f6429a39299b5_36285106.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/e7db9aa2f88e3add930db0f741fc7529_90210178.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/6188c890c5c3158614ce78182e42bcff_21689681.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/14ee6b58f313051db47038334c81009e_41728170.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/1898585dfa180f456906273e9d511491_98970404.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/2923a01b0cacabf3cb4489621e3eb2bb_83281408.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ae11c05dced5e310edf1f929e2c69ab8_89258350.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5ca49d045253dfd1b3bfb23797736c7a_99112739.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/98910efd71361abbb7d4200f794d0b6e_72171898.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c9644de4fde4b58b853972d9d5783a79_58091783.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0e119087736471947646bb009d9a645e_33799710.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c5d70377f7e1e7d806f69a3dcfbbf7aa_98148086.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/afb9f5abd1118b47fd8532ffcd690513_45442597.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c4f28541263f56854dda1fddd9f32d3a_70518711.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/8363f56fd830228197f9e5715f1d0294_83373793.png change filename to text .imagette207991611740476554/ imagette207991611740476554/1740476194_1266774_1339524631_e0053eaf8e00b256ebb0efd9e5db894e_rle_crop_3686310355_0.png.png imagette207991611740476554/1740476194_1266774_1339524625_bfc5e70050c8cdab99b3b62682b07840_rle_crop_3686310387_0.png.png imagette207991611740476554/1740476194_1266774_1339524631_e0053eaf8e00b256ebb0efd9e5db894e_rle_crop_3686310352_0.png.png imagette207991611740476554/1740475991_1263949_1339524165_15449f016a8e16979888a9ce51bb22df_rle_crop_3686308765_0.png.png imagette207991611740476554/1740475991_1263949_1339524168_f0f524aacbcd575e87041070ad58fefa_rle_crop_3686308591_0.png.png imagette207991611740476554/1740476194_1266774_1339524628_9fdd6654c42348e412daf514b8e631b1_rle_crop_3686310368_0.png.png imagette207991611740476554/1740476232_1267329_1339524723_b1561d98fee6a9010347f9ae8a93bd44_rle_crop_3686310699_0.png.png imagette207991611740476554/1740476372_1269315_1339524781_f1af16919e5118a3dd2e253dc4949059_rle_crop_3686311742_0.png.png imagette207991611740476554/1740476232_1267329_1339524727_368e6dfba628546b83a5506b1fd6e745_rle_crop_3686310693_0.png.png imagette207991611740476554/1740476355_1269064_1339524745_09b3089410a279a8c612fae9f4cf9e35_rle_crop_3686311695_0.png.png imagette207991611740476554/1740476194_1266774_1339524625_bfc5e70050c8cdab99b3b62682b07840_rle_crop_3686310385_0.png.png imagette207991611740476554/1740476194_1266774_1339524634_e538b3e8f6905cd63b665a3fb415cd63_rle_crop_3686310337_0.png.png imagette207991611740476554/1740476194_1266774_1339524634_e538b3e8f6905cd63b665a3fb415cd63_rle_crop_3686310343_0.png.png imagette207991611740476554/1740475991_1263949_1339524176_3d9ba9edbb144b985c74c358323974ea_rle_crop_3686308536_0.png.png imagette207991611740476554/1740476232_1267329_1339524712_5ef858d6aa1ce272132aacd45d3ebf16_rle_crop_3686310831_0.png.png imagette207991611740476554/1740476372_1269315_1339524777_97ee8ef8244635ff6429fb5a035b96d2_rle_crop_3686311760_0.png.png imagette207991611740476554/1740475991_1263949_1339524173_c883abc2e533b5ee97ca0ca987202600_rle_crop_3686308572_0.png.png imagette207991611740476554/1740476232_1267329_1339524723_b1561d98fee6a9010347f9ae8a93bd44_rle_crop_3686310703_0.png.png imagette207991611740476554/1740476194_1266774_1339524634_e538b3e8f6905cd63b665a3fb415cd63_rle_crop_3686310340_0.png.png imagette207991611740476554/1740476194_1266774_1339524631_e0053eaf8e00b256ebb0efd9e5db894e_rle_crop_3686310354_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/46fcab98100acb8adc42f3d88f2e4128_23372567.png imagette207991611740476554 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20799103 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20799164,20799165,20799166,20799167,20799168,20799169,20799170,20799171,20799172,20799173,20799174,20799175?tags=plastique,autre_refus,kraft,mal_croppe,Carton_brun,environnement,cartonnette,Carton_gris,papier,Teint_Dans_La_Masse,flou,metal your option no_mail is active, we will not send the real mail to your client args[1339525036] : ('0.04195296915944211',) no score found for photo 1339525036 We are sending mail with results at report@fotonower.com args[1339524971] : ('0.04195296915944211',) no score found for photo 1339524971 We are sending mail with results at report@fotonower.com args[1339524967] : ('0.04195296915944211',) no score found for photo 1339524967 We are sending mail with results at report@fotonower.com args[1339524963] : ('0.04195296915944211',) no score found for photo 1339524963 We are sending mail with results at report@fotonower.com args[1339524938] : ('0.04195296915944211',) no score found for photo 1339524938 We are sending mail with results at report@fotonower.com args[1339524936] : ('0.04195296915944211',) no score found for photo 1339524936 We are sending mail with results at report@fotonower.com args[1339524934] : ('0.04195296915944211',) no score found for photo 1339524934 We are sending mail with results at report@fotonower.com args[1339524932] : ('0.04195296915944211',) no score found for photo 1339524932 We are sending mail with results at report@fotonower.com args[1339524929] : ('0.04195296915944211',) no score found for photo 1339524929 We are sending mail with results at report@fotonower.com args[1339524914] : ('0.04195296915944211',) no score found for photo 1339524914 We are sending mail with results at report@fotonower.com args[1339524885] : ('0.04195296915944211',) no score found for photo 1339524885 We are sending mail with results at report@fotonower.com args[1339524880] : ('0.04195296915944211',) no score found for photo 1339524880 We are sending mail with results at report@fotonower.com args[1339524878] : ('0.04195296915944211',) no score found for photo 1339524878 We are sending mail with results at report@fotonower.com args[1339524874] : ('0.04195296915944211',) no score found for photo 1339524874 We are sending mail with results at report@fotonower.com args[1339524870] : ('0.04195296915944211',) no score found for photo 1339524870 We are sending mail with results at report@fotonower.com args[1339524846] : ('0.04195296915944211',) no score found for photo 1339524846 We are sending mail with results at report@fotonower.com args[1339524844] : ('0.04195296915944211',) no score found for photo 1339524844 We are sending mail with results at report@fotonower.com args[1339524841] : ('0.04195296915944211',) no score found for photo 1339524841 We are sending mail with results at report@fotonower.com args[1339524837] : ('0.04195296915944211',) no score found for photo 1339524837 We are sending mail with results at report@fotonower.com args[1339524834] : ('0.04195296915944211',) no score found for photo 1339524834 We are sending mail with results at report@fotonower.com args[1339524830] : ('0.04195296915944211',) no score found for photo 1339524830 We are sending mail with results at report@fotonower.com refus_total : 0.04195296915944211 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=20799103 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_P20799103_25-02-2025_10_42_32.pdf results_Auto_P20799103_25-02-2025_10_42_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799103_25-02-2025_10_42_32.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','20799103','results_Auto_P20799103_25-02-2025_10_42_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799103_25-02-2025_10_42_32.pdf','pdf','','0.29','0.04195296915944211') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20799103]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] map_info['map_portfolio_photo'] : {20799103: [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830, 1339524806, 1339524802, 1339524785, 1339524781, 1339524777, 1339524762, 1339524758, 1339524753, 1339524749, 1339524745, 1339524730, 1339524727, 1339524723, 1339524718, 1339524715, 1339524712, 1339524680, 1339524672, 1339524670, 1339524637, 1339524634, 1339524631, 1339524628, 1339524625, 1339524598, 1339524595, 1339524581, 1339524540, 1339524532, 1339524515, 1339524176, 1339524173, 1339524168, 1339524165]} final : False mtd_id 4302 list_pids : [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] 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, '2612416') ('4302', '20799103', '1339525036', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '20799103', '1339525036', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416')] time used for this insertion : 0.019359827041625977 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.775604248046875 time spend to save output : 0.01976633071899414 total time spend for step 4 : 4.795370578765869 step5:split_time_score Tue Feb 25 10:42:36 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 : ['20799103'] 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 : [('20799103',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20799103) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339525036: {'path': 'temp/1740476552_341627_1339525036_8cfdec3de85e4308a6e0a787fc22a702.jpg', 'extension': 'jpg'}, 1339524936: {'path': 'temp/1740476552_341627_1339524936_57fcda9b0068d7d6fe5b50307384f7ec.jpg', 'extension': 'jpg'}, 1339524938: {'path': 'temp/1740476552_341627_1339524938_7209ee24dab88b7bf716f2e57fa81100.jpg', 'extension': 'jpg'}, 1339524963: {'path': 'temp/1740476552_341627_1339524963_d2b573a3ff2b2d1450aa50c877905ec4.jpg', 'extension': 'jpg'}, 1339524967: {'path': 'temp/1740476552_341627_1339524967_7abede86f4e30a41fd62c08b734db9f3.jpg', 'extension': 'jpg'}, 1339524971: {'path': 'temp/1740476552_341627_1339524971_52c9148e7ecb6dcb600f159facd58f98.jpg', 'extension': 'jpg'}, 1339524846: {'path': 'temp/1740476552_341627_1339524846_d9db6ee83e960ee490acd3a578abdef8.jpg', 'extension': 'jpg'}, 1339524870: {'path': 'temp/1740476552_341627_1339524870_8e05922df75cccd854d75a5ef45f2bbb.jpg', 'extension': 'jpg'}, 1339524874: {'path': 'temp/1740476552_341627_1339524874_a39b76d0eabdd25ab4ec890a9f3b4eb2.jpg', 'extension': 'jpg'}, 1339524878: {'path': 'temp/1740476552_341627_1339524878_34171c98d00d0a89cc91861d2cc3b920.jpg', 'extension': 'jpg'}, 1339524880: {'path': 'temp/1740476552_341627_1339524880_d4c7c9133b1790d9a6b0eae335303f78.jpg', 'extension': 'jpg'}, 1339524885: {'path': 'temp/1740476552_341627_1339524885_e3400c32b597d098056b2f74cd37a867.jpg', 'extension': 'jpg'}, 1339524914: {'path': 'temp/1740476552_341627_1339524914_8fb4dea9c2ce527eb778bfad3399ef85.jpg', 'extension': 'jpg'}, 1339524929: {'path': 'temp/1740476552_341627_1339524929_76e5d370ae70f14bf57a6ab7c814ef46.jpg', 'extension': 'jpg'}, 1339524932: {'path': 'temp/1740476552_341627_1339524932_bb1f3fb345ff6d6abb294d52fea44136.jpg', 'extension': 'jpg'}, 1339524934: {'path': 'temp/1740476552_341627_1339524934_6cd367e75b6e5ab2740cdaf931546dd5.jpg', 'extension': 'jpg'}, 1339524830: {'path': 'temp/1740476552_341627_1339524830_5b095c803d4495c91731d5004ef9df2c.jpg', 'extension': 'jpg'}, 1339524834: {'path': 'temp/1740476552_341627_1339524834_96f6e14abe0ce5a6fcf7c62eee0f95ab.jpg', 'extension': 'jpg'}, 1339524837: {'path': 'temp/1740476552_341627_1339524837_17a758fda2dac907c75325e14c97b949.jpg', 'extension': 'jpg'}, 1339524841: {'path': 'temp/1740476552_341627_1339524841_40f21f115675ea26033d2f3b2673b25e.jpg', 'extension': 'jpg'}, 1339524844: {'path': 'temp/1740476552_341627_1339524844_9c1a870637424d1c6651937d20e3c12a.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 = 20799103; (('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 = 20799103 group by h (('10', 55),) 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=20799103 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 (20799103) 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 (20799103) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25022025 20799103 Nombre de photos uploadées : 55 / 23040 (0%) 25022025 20799103 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 25022025 20799103 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1339524176, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/3d9ba9edbb144b985c74c358323974ea.jpg', 'username': None, 'uploaded_at': 1740475893, 'text': 'image_25022025_10_30_03_9139.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339524173, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c883abc2e533b5ee97ca0ca987202600.jpg', 'username': None, 'uploaded_at': 1740475893, 'text': 'image_25022025_10_30_14_10137.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339524168, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/f0f524aacbcd575e87041070ad58fefa.jpg', 'username': None, 'uploaded_at': 1740475893, 'text': 'image_25022025_10_30_24_10134.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339524165, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/15449f016a8e16979888a9ce51bb22df.jpg', 'username': None, 'uploaded_at': 1740475893, 'text': 'image_25022025_10_30_34_10136.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002206087112426758 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20799103, '2025-02-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1621897,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028777599334716797 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= 1621897 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630536, 'mtr_portfolio_id': 20797353, 'dashboard_result_id': 9046301, '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_P20797353_25-02-2025_10_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20797379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20797380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20797381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20797382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20797383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20797384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20797385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20797386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20797387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20797388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20797389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20797390, 'pht': 3726}}"}, {'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630536, 'mtr_portfolio_id': 20797921, 'dashboard_result_id': 9046302, '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_P20797921_25-02-2025_10_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20797926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20797927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20797928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20797929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20797930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20797931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20797932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20797933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20797934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20797935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20797936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20797937, 'pht': 3726}}"}, {'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630536, 'mtr_portfolio_id': 20798362, 'dashboard_result_id': 9046303, '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_P20798362_25-02-2025_10_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20798436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20798437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20798438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20798439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20798440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20798441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20798442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20798443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20798444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20798445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20798446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20798447, 'pht': 3726}}"}, {'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630536, 'mtr_portfolio_id': 20799103, 'dashboard_result_id': 9046304, '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_P20799103_25-02-2025_10_38_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20799152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20799153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20799154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20799155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20799156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20799157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20799158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20799159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20799160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20799161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20799162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20799163, '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 = 20797353 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': 2612289, 'mtr_portfolio_id': 20797353, 'created_at': datetime.datetime(2025, 2, 25, 10, 2, 58), 'result': '0.03292834746427582', 'result_long': None, 'result_double': None}] Qualite : 0.03292834746427582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20797353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20797353_25-02-2025_10_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20797353 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_P20797353_25-02-2025_10_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20797379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20797380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20797381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20797382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20797383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20797384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20797385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20797386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20797387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20797388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20797389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20797390, 'pht': 3726}}" where mtr_portfolio_id = 20797353 and dashboard_run_id = 1630536 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`=20797353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9046301, 0.03292834746427582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20797353_25-02-2025_10_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20797379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20797380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20797381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20797382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20797383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20797384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20797385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20797386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20797387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20797388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20797389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20797390, '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 = 20797921 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': 2612344, 'mtr_portfolio_id': 20797921, 'created_at': datetime.datetime(2025, 2, 25, 10, 18, 57), 'result': '0.038828250295461816', 'result_long': None, 'result_double': None}] Qualite : 0.038828250295461816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20797921 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20797921_25-02-2025_10_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20797921 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_P20797921_25-02-2025_10_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20797926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20797927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20797928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20797929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20797930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20797931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20797932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20797933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20797934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20797935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20797936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20797937, 'pht': 3726}}" where mtr_portfolio_id = 20797921 and dashboard_run_id = 1630536 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`=20797921 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9046302, 0.038828250295461816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20797921_25-02-2025_10_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20797926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20797927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20797928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20797929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20797930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20797931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20797932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20797933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20797934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20797935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20797936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20797937, '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 = 20798362 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': 2612373, 'mtr_portfolio_id': 20798362, 'created_at': datetime.datetime(2025, 2, 25, 10, 32, 57), 'result': '0.047276094276559405', 'result_long': None, 'result_double': None}] Qualite : 0.047276094276559405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20798362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20798362_25-02-2025_10_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20798362 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_P20798362_25-02-2025_10_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20798436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20798437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20798438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20798439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20798440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20798441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20798442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20798443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20798444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20798445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20798446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20798447, 'pht': 3726}}" where mtr_portfolio_id = 20798362 and dashboard_run_id = 1630536 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`=20798362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9046303, 0.047276094276559405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20798362_25-02-2025_10_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20798436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20798437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20798438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20798439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20798440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20798441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20798442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20798443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20798444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20798445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20798446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20798447, '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 = 20799103 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': 2612416, 'mtr_portfolio_id': 20799103, 'created_at': datetime.datetime(2025, 2, 25, 10, 42, 31), 'result': '0.04195296915944211', 'result_long': None, 'result_double': None}] Qualite : 0.04195296915944211 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20799103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799103_25-02-2025_10_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20799103 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_P20799103_25-02-2025_10_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20799152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20799153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20799154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20799155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20799156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20799157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20799158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20799159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20799160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20799161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20799162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20799163, 'pht': 3726}}" where mtr_portfolio_id = 20799103 and dashboard_run_id = 1630536 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`=20799103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9046304, 0.04195296915944211, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799103_25-02-2025_10_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20799152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20799153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20799154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20799155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20799156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20799157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20799158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20799159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20799160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20799161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20799162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20799163, '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 (20797353,20797921,20798362,20799103) result : ((1339520902,), (1339520918,), (1339520928,), (1339520933,), (1339520937,), (1339520950,), (1339520965,), (1339521048,), (1339521053,), (1339521196,), (1339521211,), (1339521216,), (1339521220,), (1339521223,), (1339521228,), (1339521284,), (1339521287,), (1339521293,), (1339521299,), (1339521303,), (1339521321,), (1339521325,), (1339521327,), (1339521330,), (1339521333,), (1339521336,), (1339521351,), (1339521355,), (1339521360,), (1339521365,), (1339521383,), (1339521386,), (1339521393,), (1339521396,), (1339521400,), (1339521404,), (1339521443,), (1339521446,), (1339521449,), (1339521459,), (1339521470,), (1339521493,), (1339521497,), (1339521516,), (1339521531,), (1339521535,), (1339521539,), (1339521542,), (1339521547,), (1339521572,), (1339521575,), (1339521578,), (1339521596,), (1339521600,), (1339521603,), (1339521606,), (1339521624,), (1339521627,), (1339521687,), (1339521697,), (1339521735,), (1339521768,), (1339521772,), (1339521876,), (1339522038,), (1339522136,), (1339522140,), (1339522144,), (1339522170,), (1339522181,), (1339522189,), (1339522192,), (1339522198,), (1339522201,), (1339522233,), (1339522237,), (1339522240,), (1339522243,), (1339522249,), (1339522267,), (1339522271,), (1339522275,), (1339522280,), (1339522286,), (1339522289,), (1339522305,), (1339522310,), (1339522315,), (1339522325,), (1339522387,), (1339522416,), (1339522419,), (1339522423,), (1339522427,), (1339522430,), (1339522458,), (1339522462,), (1339522465,), (1339522469,), (1339522491,), (1339522495,), (1339522499,), (1339522503,), (1339522515,), (1339522529,), (1339522535,), (1339522544,), (1339522548,), (1339522553,), (1339522562,), (1339522581,), (1339522585,), (1339522589,), (1339522593,), (1339522605,), (1339522609,), (1339522613,), (1339522616,), (1339522620,), (1339522624,), (1339522634,), (1339522638,), (1339522642,), (1339522645,), (1339522651,), (1339522675,), (1339522678,), (1339522682,), (1339522687,), (1339522691,), (1339522727,), (1339522704,), (1339522708,), (1339522711,), (1339522714,), (1339523017,), (1339523020,), (1339523024,), (1339523085,), (1339523099,), (1339523159,), (1339523172,), (1339523179,), (1339523183,), (1339523187,), (1339523191,), (1339523218,), (1339523222,), (1339523233,), (1339523238,), (1339523274,), (1339523278,), (1339523281,), (1339523287,), (1339523292,), (1339523297,), (1339523337,), (1339523341,), (1339523346,), (1339523351,), (1339523354,), (1339523362,), (1339523373,), (1339523376,), (1339523380,), (1339523382,), (1339523788,), (1339523791,), (1339523828,), (1339523832,), (1339523866,), (1339523883,), (1339523886,), (1339523890,), (1339523895,), (1339523900,), (1339523903,), (1339523935,), (1339523939,), (1339523942,), (1339523972,), (1339523975,), (1339523977,), (1339523980,), (1339523984,), (1339523987,), (1339524001,), (1339524005,), (1339524008,), (1339524012,), (1339524059,), (1339524063,), (1339524067,), (1339524071,), (1339524075,), (1339524078,), (1339524090,), (1339524092,), (1339524096,), (1339524099,), (1339524105,), (1339524130,), (1339524133,), (1339524138,), (1339524143,), (1339524146,), (1339524181,), (1339524165,), (1339524168,), (1339524173,), (1339524176,), (1339524515,), (1339524532,), (1339524540,), (1339524581,), (1339524595,), (1339524598,), (1339524625,), (1339524628,), (1339524631,), (1339524634,), (1339524637,), (1339524670,), (1339524672,), (1339524680,), (1339524712,), (1339524715,), (1339524718,), (1339524723,), (1339524727,), (1339524730,), (1339524745,), (1339524749,), (1339524753,), (1339524758,), (1339524762,), (1339524777,), (1339524781,), (1339524785,), (1339524802,), (1339524806,), (1339524830,), (1339524834,), (1339524837,), (1339524841,), (1339524844,), (1339524846,), (1339524870,), (1339524874,), (1339524878,), (1339524880,), (1339524885,), (1339524914,), (1339524929,), (1339524932,), (1339524934,), (1339524936,), (1339524938,), (1339524963,), (1339524967,), (1339524971,), (1339525036,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20799103]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] map_info['map_portfolio_photo'] : {20799103: [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830, 1339524806, 1339524802, 1339524785, 1339524781, 1339524777, 1339524762, 1339524758, 1339524753, 1339524749, 1339524745, 1339524730, 1339524727, 1339524723, 1339524718, 1339524715, 1339524712, 1339524680, 1339524672, 1339524670, 1339524637, 1339524634, 1339524631, 1339524628, 1339524625, 1339524598, 1339524595, 1339524581, 1339524540, 1339524532, 1339524515, 1339524176, 1339524173, 1339524168, 1339524165]} final : True mtd_id 4302 list_pids : [1339525036, 1339524971, 1339524967, 1339524963, 1339524938, 1339524936, 1339524934, 1339524932, 1339524929, 1339524914, 1339524885, 1339524880, 1339524878, 1339524874, 1339524870, 1339524846, 1339524844, 1339524841, 1339524837, 1339524834, 1339524830] Looping around the photos to save general results len do output : 1 /20799103Didn'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, '2612416') ('4302', '20799103', '1339525036', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416') ('4302', None, None, None, None, None, None, None, '2612416') ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '20799103', 'None', None, None, None, None, '2612416'), ('4302', '20799103', '1339525036', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524971', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524967', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524963', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524938', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524936', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524934', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524932', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524929', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524914', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524885', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524880', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524878', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524874', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524870', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524846', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524844', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524841', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524837', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524834', None, None, None, None, None, '2612416'), ('4302', '20799103', '1339524830', None, None, None, None, None, '2612416')] time used for this insertion : 0.019457340240478516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3618791103363037 time spend to save output : 0.019754648208618164 total time spend for step 5 : 0.3816337585449219 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 (2612416) 3.01user 2.43system 0:11.63elapsed 46%CPU (0avgtext+0avgdata 167248maxresident)k 13440inputs+18264outputs (71major+80494minor)pagefaults 0swaps