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 : 873257 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 (3273801) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3273801) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864264 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3273801'] with mtr_portfolio_ids : ['24864264'] and first list_photo_ids : [] new path : /proc/873257/ Name: python3 Umask: 0002 State: R (running) Tgid: 873257 Ngid: 0 Pid: 873257 PPid: 873256 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 873257 NSpid: 873257 NSpgid: 871191 NSsid: 871191 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99296 kB VmRSS: 99296 kB RssAnon: 59800 kB RssFile: 39496 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 6/63019 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: 48 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '873257', 'Ngid': '0', 'Pid': '873257', 'PPid': '873256', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '873257', 'NSpid': '873257', 'NSpgid': '871191', 'NSsid': '871191', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99296 kB', 'VmRSS': '99296 kB', 'RssAnon': '59800 kB', 'RssFile': '39496 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '6/63019', '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': '48', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '873257', '1106868', '0', '1106868', '865620', '99296', b'', 'marlene', '3273801') 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 (24864264) 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 (3273801 ) ) 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 (24864264) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1371751509, 'portfolio_id': 24864264}, {'photo_id': 1371751508, 'portfolio_id': 24864264}, {'photo_id': 1371751505, 'portfolio_id': 24864264}, {'photo_id': 1371751504, 'portfolio_id': 24864264}, {'photo_id': 1371751502, 'portfolio_id': 24864264}, {'photo_id': 1371751501, 'portfolio_id': 24864264}, {'photo_id': 1371751499, 'portfolio_id': 24864264}, {'photo_id': 1371751498, 'portfolio_id': 24864264}, {'photo_id': 1371751496, 'portfolio_id': 24864264}, {'photo_id': 1371751495, 'portfolio_id': 24864264}, {'photo_id': 1371751493, 'portfolio_id': 24864264}, {'photo_id': 1371751492, 'portfolio_id': 24864264}, {'photo_id': 1371751484, 'portfolio_id': 24864264}, {'photo_id': 1371751480, 'portfolio_id': 24864264}, {'photo_id': 1371751476, 'portfolio_id': 24864264}, {'photo_id': 1371751472, 'portfolio_id': 24864264}, {'photo_id': 1371751467, 'portfolio_id': 24864264}, {'photo_id': 1371751438, 'portfolio_id': 24864264}, {'photo_id': 1371751428, 'portfolio_id': 24864264}, {'photo_id': 1371751421, 'portfolio_id': 24864264}, {'photo_id': 1371751413, 'portfolio_id': 24864264}, {'photo_id': 1371751399, 'portfolio_id': 24864264}, {'photo_id': 1371751397, 'portfolio_id': 24864264}, {'photo_id': 1371751394, 'portfolio_id': 24864264}, {'photo_id': 1371751376, 'portfolio_id': 24864264}, {'photo_id': 1371751374, 'portfolio_id': 24864264}, {'photo_id': 1371751366, 'portfolio_id': 24864264}, {'photo_id': 1371751362, 'portfolio_id': 24864264}, {'photo_id': 1371751358, 'portfolio_id': 24864264}, {'photo_id': 1371751356, 'portfolio_id': 24864264}, {'photo_id': 1371751353, 'portfolio_id': 24864264}, {'photo_id': 1371751351, 'portfolio_id': 24864264}, {'photo_id': 1371751344, 'portfolio_id': 24864264}, {'photo_id': 1371751343, 'portfolio_id': 24864264}, {'photo_id': 1371751336, 'portfolio_id': 24864264}, {'photo_id': 1371751335, 'portfolio_id': 24864264}, {'photo_id': 1371751326, 'portfolio_id': 24864264}, {'photo_id': 1371751321, 'portfolio_id': 24864264}, {'photo_id': 1371751317, 'portfolio_id': 24864264}, {'photo_id': 1371751313, 'portfolio_id': 24864264}, {'photo_id': 1371751302, 'portfolio_id': 24864264}, {'photo_id': 1371751298, 'portfolio_id': 24864264}, {'photo_id': 1371751226, 'portfolio_id': 24864264}, {'photo_id': 1371751224, 'portfolio_id': 24864264}, {'photo_id': 1371751221, 'portfolio_id': 24864264}, {'photo_id': 1371751218, 'portfolio_id': 24864264}, {'photo_id': 1371751204, 'portfolio_id': 24864264}, {'photo_id': 1371751193, 'portfolio_id': 24864264}] map_portfolio_id_photo_id: {24864264: [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394, 1371751376, 1371751374, 1371751366, 1371751362, 1371751358, 1371751356, 1371751353, 1371751351, 1371751344, 1371751343, 1371751336, 1371751335, 1371751326, 1371751321, 1371751317, 1371751313, 1371751302, 1371751298, 1371751226, 1371751224, 1371751221, 1371751218, 1371751204, 1371751193]} ##### 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.015028715133666992 #### 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 Sat Jul 12 00:36:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24864264) 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 : 24864264 get user id for portfolio 24864264 get sub ptf for main ptf 24864264, type 3726 and hashtags ['autre_refus', 'plastique', 'metal', 'cartonnette', 'papier', 'kraft', 'mal_croppe', 'Carton_gris', 'flou', 'environnement', 'Teint_Dans_La_Masse', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24864264 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','metal','cartonnette','papier','kraft','mal_croppe','Carton_gris','flou','environnement','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24864264 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','metal','cartonnette','papier','kraft','mal_croppe','Carton_gris','flou','environnement','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 24864264, 'sub_port_id': 24864292, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737755, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'mal_croppe': {'main_port_id': 24864264, 'sub_port_id': 24864293, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737756, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'cartonnette': {'main_port_id': 24864264, 'sub_port_id': 24864294, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737757, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'environnement': {'main_port_id': 24864264, 'sub_port_id': 24864295, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737758, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'metal': {'main_port_id': 24864264, 'sub_port_id': 24864296, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737759, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 24864264, 'sub_port_id': 24864297, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737760, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'Carton_gris': {'main_port_id': 24864264, 'sub_port_id': 24864298, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737761, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'plastique': {'main_port_id': 24864264, 'sub_port_id': 24864299, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737762, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'flou': {'main_port_id': 24864264, 'sub_port_id': 24864300, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737763, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'papier': {'main_port_id': 24864264, 'sub_port_id': 24864301, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737764, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'Carton_brun': {'main_port_id': 24864264, 'sub_port_id': 24864302, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737765, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}, 'autre_refus': {'main_port_id': 24864264, 'sub_port_id': 24864303, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737766, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 28), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24864292 , 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=24864264 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 (24864292) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864293 , 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=24864264 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 (24864293) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864294 , 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=24864264 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 (24864294) result : ((1371751431,), (1371751432,), (1371751526,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864295 , 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=24864264 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 (24864295) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864296 , 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=24864264 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 (24864296) result : ((1371751536,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864297 , 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=24864264 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 (24864297) result : ((1371751424,), (1371751425,), (1371751519,), (1371751520,), (1371751522,), (1371751523,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864298 , 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=24864264 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 (24864298) result : ((1371751426,), (1371751427,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864299 , 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=24864264 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 (24864299) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864300 , 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=24864264 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 (24864300) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864301 , 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=24864264 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 (24864301) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864302 , 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=24864264 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 (24864302) result : ((1371751529,), (1371751530,), (1371751531,), (1371751532,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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 24864303 , 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=24864264 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 (24864303) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24864264) result : ((1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) 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`=24864264 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','metal','cartonnette','papier','kraft','mal_croppe','Carton_gris','flou','environnement','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24864264 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','metal','cartonnette','papier','kraft','mal_croppe','Carton_gris','flou','environnement','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 24864264, 'sub_port_id': 24864304, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737767, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'mal_croppe': {'main_port_id': 24864264, 'sub_port_id': 24864305, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737768, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'cartonnette': {'main_port_id': 24864264, 'sub_port_id': 24864306, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737769, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'environnement': {'main_port_id': 24864264, 'sub_port_id': 24864307, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737770, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'metal': {'main_port_id': 24864264, 'sub_port_id': 24864308, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737771, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 24864264, 'sub_port_id': 24864309, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737772, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'Carton_gris': {'main_port_id': 24864264, 'sub_port_id': 24864310, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737773, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'plastique': {'main_port_id': 24864264, 'sub_port_id': 24864311, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737774, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'flou': {'main_port_id': 24864264, 'sub_port_id': 24864312, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737775, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'papier': {'main_port_id': 24864264, 'sub_port_id': 24864313, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737776, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'Carton_brun': {'main_port_id': 24864264, 'sub_port_id': 24864314, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737777, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}, 'autre_refus': {'main_port_id': 24864264, 'sub_port_id': 24864315, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16737778, 'last_updated_at': datetime.datetime(2025, 7, 12, 0, 34, 29), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 0, 34, 29), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 0, 33, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864304,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864292 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864305,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864293 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864306,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864294 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864307,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864295 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864308,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864296 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864309,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864297 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864310,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864298 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864311,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864299 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864312,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864300 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864313,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864301 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864314,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864302 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24864315,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24864303 lien utilise dans velours : https://www.fotonower.com/velours/24864304,24864305,24864306,24864307,24864308,24864309,24864310,24864311,24864312,24864313,24864314,24864315?tags=kraft,mal_croppe,cartonnette,environnement,metal,Teint_Dans_La_Masse,Carton_gris,plastique,flou,papier,Carton_brun,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24864264]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] map_info['map_portfolio_photo'] : {24864264: [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394, 1371751376, 1371751374, 1371751366, 1371751362, 1371751358, 1371751356, 1371751353, 1371751351, 1371751344, 1371751343, 1371751336, 1371751335, 1371751326, 1371751321, 1371751317, 1371751313, 1371751302, 1371751298, 1371751226, 1371751224, 1371751221, 1371751218, 1371751204, 1371751193]} final : False mtd_id 4302 list_pids : [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] Looping around the photos to save general results len do output : 1 /24864264. 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, '3273801') ('4302', '24864264', '1371751509', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '24864264', "{'kraft': 24864292, 'mal_croppe': 24864293, 'cartonnette': 24864294, 'environnement': 24864295, 'metal': 24864296, 'Teint_Dans_La_Masse': 24864297, 'Carton_gris': 24864298, 'plastique': 24864299, 'flou': 24864300, 'papier': 24864301, 'Carton_brun': 24864302, 'autre_refus': 24864303}", None, None, None, None, '3273801'), ('4302', '24864264', '1371751509', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801')] time used for this insertion : 0.028362751007080078 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.696181058883667 time spend to save output : 0.028753042221069336 total time spend for step 1 : 1.7249341011047363 step2:final Sat Jul 12 00:37:01 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 (24864264) 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 24864264 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1371751226,1371751224,1371751221,1371751218,1371751204,1371751193,1371751484,1371751326,1371751321,1371751480,1371751317,1371751476,1371751472,1371751313,1371751302,1371751467,1371751438,1371751298,1371751374,1371751376,1371751362,1371751366,1371751358,1371751356,1371751353,1371751351,1371751344,1371751343,1371751336,1371751335,1371751428,1371751421,1371751413,1371751399,1371751397,1371751394,1371751508,1371751509,1371751504,1371751505,1371751501,1371751502,1371751498,1371751499,1371751495,1371751496,1371751492,1371751493); 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([24864264]) Inside saveOutput : final : False verbose : True original output for save of step final : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} new output for save of step final : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] map_info['map_portfolio_photo'] : {24864264: [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394, 1371751376, 1371751374, 1371751366, 1371751362, 1371751358, 1371751356, 1371751353, 1371751351, 1371751344, 1371751343, 1371751336, 1371751335, 1371751326, 1371751321, 1371751317, 1371751313, 1371751302, 1371751298, 1371751226, 1371751224, 1371751221, 1371751218, 1371751204, 1371751193]} final : False mtd_id 4302 list_pids : [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] Looping around the photos to save general results len do output : 24 /1371751509.Didn't retrieve data . /1371751508.Didn't retrieve data . /1371751505.Didn't retrieve data . /1371751504.Didn't retrieve data . /1371751502.Didn't retrieve data . /1371751501.Didn't retrieve data . /1371751499.Didn't retrieve data . /1371751498.Didn't retrieve data . /1371751496.Didn't retrieve data . /1371751495.Didn't retrieve data . /1371751493.Didn't retrieve data . /1371751492.Didn't retrieve data . /1371751484.Didn't retrieve data . /1371751480.Didn't retrieve data . /1371751476.Didn't retrieve data . /1371751472.Didn't retrieve data . /1371751467.Didn't retrieve data . /1371751438.Didn't retrieve data . /1371751428.Didn't retrieve data . /1371751421.Didn't retrieve data . /1371751413.Didn't retrieve data . /1371751399.Didn't retrieve data . /1371751397.Didn't retrieve data . /1371751394.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, '3273801') ('4302', '24864264', '1371751509', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 72 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', '24864264', '1371751509', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751508', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751505', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751504', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751502', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751501', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751499', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751498', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751496', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751495', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751493', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751492', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751484', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751480', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751476', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751472', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751467', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751438', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751428', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751421', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751413', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751399', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751397', '0.038624426755401765', None, None, None, None, '3273801'), ('4302', '24864264', '1371751394', '0.038624426755401765', None, None, None, None, '3273801')] time used for this insertion : 0.6956276893615723 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06650114059448242 time spend to save output : 0.6966595649719238 total time spend for step 2 : 0.7631607055664062 step3:velours_tree Sat Jul 12 00:37:02 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 : {24864264: [{'kraft': 24864292, 'mal_croppe': 24864293, 'cartonnette': 24864294, 'environnement': 24864295, 'metal': 24864296, 'Teint_Dans_La_Masse': 24864297, 'Carton_gris': 24864298, 'plastique': 24864299, 'flou': 24864300, 'papier': 24864301, 'Carton_brun': 24864302, 'autre_refus': 24864303}]} input_args_next_step : {24864264: ()} output_args : {24864264: [{'kraft': 24864292, 'mal_croppe': 24864293, 'cartonnette': 24864294, 'environnement': 24864295, 'metal': 24864296, 'Teint_Dans_La_Masse': 24864297, 'Carton_gris': 24864298, 'plastique': 24864299, 'flou': 24864300, 'papier': 24864301, 'Carton_brun': 24864302, 'autre_refus': 24864303}]} args : 24864264 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 24864292, 'mal_croppe': 24864293, 'cartonnette': 24864294, 'environnement': 24864295, 'metal': 24864296, 'Teint_Dans_La_Masse': 24864297, 'Carton_gris': 24864298, 'plastique': 24864299, 'flou': 24864300, 'papier': 24864301, 'Carton_brun': 24864302, 'autre_refus': 24864303},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24864264) 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([24864264]) 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.30267858505249023 time spend to save output : 4.9591064453125e-05 total time spend for step 3 : 0.30272817611694336 step4:send_mail_cod Sat Jul 12 00:37:02 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 : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} input_args_next_step : {1371751509: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751509 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751508 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751505 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751504 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751502 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751501 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751499 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751498 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751496 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751495 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751493 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751492 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751484 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751480 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751476 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751472 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751467 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751438 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751428 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751421 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751413 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751399 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751397 depend.output_id : 0 input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ()} output_args : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',)} args : 1371751394 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 : {24864264: [{'kraft': 24864292, 'mal_croppe': 24864293, 'cartonnette': 24864294, 'environnement': 24864295, 'metal': 24864296, 'Teint_Dans_La_Masse': 24864297, 'Carton_gris': 24864298, 'plastique': 24864299, 'flou': 24864300, 'papier': 24864301, 'Carton_brun': 24864302, 'autre_refus': 24864303}]} input_args_next_step : {1371751509: ('0.038624426755401765',), 1371751508: ('0.038624426755401765',), 1371751505: ('0.038624426755401765',), 1371751504: ('0.038624426755401765',), 1371751502: ('0.038624426755401765',), 1371751501: ('0.038624426755401765',), 1371751499: ('0.038624426755401765',), 1371751498: ('0.038624426755401765',), 1371751496: ('0.038624426755401765',), 1371751495: ('0.038624426755401765',), 1371751493: ('0.038624426755401765',), 1371751492: ('0.038624426755401765',), 1371751484: ('0.038624426755401765',), 1371751480: ('0.038624426755401765',), 1371751476: ('0.038624426755401765',), 1371751472: ('0.038624426755401765',), 1371751467: ('0.038624426755401765',), 1371751438: ('0.038624426755401765',), 1371751428: ('0.038624426755401765',), 1371751421: ('0.038624426755401765',), 1371751413: ('0.038624426755401765',), 1371751399: ('0.038624426755401765',), 1371751397: ('0.038624426755401765',), 1371751394: ('0.038624426755401765',), 24864264: ()} output_args : {24864264: [{'kraft': 24864292, 'mal_croppe': 24864293, 'cartonnette': 24864294, 'environnement': 24864295, 'metal': 24864296, 'Teint_Dans_La_Masse': 24864297, 'Carton_gris': 24864298, 'plastique': 24864299, 'flou': 24864300, 'papier': 24864301, 'Carton_brun': 24864302, 'autre_refus': 24864303}]} args : 24864264 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 :25, first value : ('0.038624426755401765',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24864264) 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 (1371751509,1371751508,1371751505,1371751504,1371751502,1371751501,1371751499,1371751498,1371751496,1371751495,1371751493,1371751492,1371751484,1371751480,1371751476,1371751472,1371751467,1371751438,1371751428,1371751421,1371751413,1371751399,1371751397,1371751394) Found this number of photos: 24 ##### Call download_photos : nb_thread : 5 begin to download photo : 1371751394 begin to download photo : 1371751428 begin to download photo : 1371751480 begin to download photo : 1371751496 begin to download photo : 1371751504 download finish for photo 1371751394 begin to download photo : 1371751397 download finish for photo 1371751496 begin to download photo : 1371751498 download finish for photo 1371751480 begin to download photo : 1371751484 download finish for photo 1371751428 begin to download photo : 1371751438 download finish for photo 1371751504 begin to download photo : 1371751505 download finish for photo 1371751498 begin to download photo : 1371751499 download finish for photo 1371751397 begin to download photo : 1371751399 download finish for photo 1371751484 begin to download photo : 1371751492 download finish for photo 1371751505 begin to download photo : 1371751508 download finish for photo 1371751438 begin to download photo : 1371751467 download finish for photo 1371751499 begin to download photo : 1371751501 download finish for photo 1371751467 begin to download photo : 1371751472 download finish for photo 1371751508 begin to download photo : 1371751509 download finish for photo 1371751492 begin to download photo : 1371751493 download finish for photo 1371751399 begin to download photo : 1371751413 download finish for photo 1371751501 begin to download photo : 1371751502 download finish for photo 1371751472 begin to download photo : 1371751476 download finish for photo 1371751493 begin to download photo : 1371751495 download finish for photo 1371751509 download finish for photo 1371751413 begin to download photo : 1371751421 download finish for photo 1371751502 download finish for photo 1371751495 download finish for photo 1371751476 download finish for photo 1371751421 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette248642921752273423/ imagette248642931752273423/ length of list_filenames : 24 ; length of list_pids : 24 ; length of list_args : 24 results_Auto_P24864264_12-07-2025_00_37_03.pdf 24864292 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=24864292 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248642921752273423 24864293 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=24864293 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248642931752273423 24864294 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=24864294 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371751431: '1752273244_3693804_1371751226_14ed3aa27474ee001de5e90609fe6513_rle_crop_3880709399_0.png', 1371751432: '1752273244_3693804_1371751218_22870c5515c08e523aeb609d537c2d43_rle_crop_3880709437_0.png', 1371751526: '1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715740_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3658763c6a4db549ed6e787af8370da6_20164180.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b78b7345ae03cea66f4a455b0ea82993_22495706.png change filename to text .imagette248642941752273423/ imagette248642941752273423/1752273244_3693804_1371751218_22870c5515c08e523aeb609d537c2d43_rle_crop_3880709437_0.png.png imagette248642941752273423/1752273244_3693804_1371751226_14ed3aa27474ee001de5e90609fe6513_rle_crop_3880709399_0.png.png imagette248642941752273423/1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715740_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fce2036c126051bcbc662e8a367432b5_58065635.png imagette248642941752273423 24864296 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=24864296 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371751536: '1752273327_1997979_1371751313_01993815ba5f47f83d103e1d7f9e3e0f_rle_crop_3880715761_0.png'} change filename to text .imagette248642961752273423/ imagette248642961752273423/1752273327_1997979_1371751313_01993815ba5f47f83d103e1d7f9e3e0f_rle_crop_3880715761_0.png.png imagette248642991752273423/ imagette248643001752273423/ imagette248643031752273423/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2af3f3c3886ea27246ea75e4cbbaadd2_2248623.png imagette248642961752273423 24864299 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=24864299 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248642991752273423 24864300 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=24864300 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248643001752273423 24864303 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=24864303 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248643031752273423 24864297 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=24864297 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371751424: '1752273244_3693804_1371751226_14ed3aa27474ee001de5e90609fe6513_rle_crop_3880709402_0.png', 1371751425: '1752273244_3693804_1371751193_b059eaae33eea1ac20ef005ed993b7df_rle_crop_3880709462_0.png', 1371751519: '1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715730_0.png', 1371751520: '1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715733_0.png', 1371751522: '1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715744_0.png', 1371751523: '1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715746_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e90b2a117f7f7399093b2dc832824d3_79073508.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a122bb095e85c1fe7fae67705a44dec_22062531.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d12417127a335edfcc45c6d286f1f40_57547373.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1681ca18b96f8a59ddd7676031e2155e_42241889.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cee56c303c4fe11c91f963d7e1ea650a_7930988.png change filename to text .imagette248642971752273423/ imagette248642971752273423/1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715746_0.png.png imagette248642971752273423/1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715744_0.png.png imagette248642971752273423/1752273244_3693804_1371751193_b059eaae33eea1ac20ef005ed993b7df_rle_crop_3880709462_0.png.png imagette248642971752273423/1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715730_0.png.png imagette248642971752273423/1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715733_0.png.png imagette248642971752273423/1752273244_3693804_1371751226_14ed3aa27474ee001de5e90609fe6513_rle_crop_3880709402_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fc8b4d485df9e610c9f086f89d2655b_83302478.png imagette248642971752273423 24864298 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=24864298 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371751426: '1752273244_3693804_1371751218_22870c5515c08e523aeb609d537c2d43_rle_crop_3880709439_0.png', 1371751427: '1752273244_3693804_1371751204_7cdc07f8731f04a99cc2ff79aec61962_rle_crop_3880709451_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7b4de761285e6babce4efddbfe77e22_53346630.png change filename to text .imagette248642981752273423/ imagette248642981752273423/1752273244_3693804_1371751218_22870c5515c08e523aeb609d537c2d43_rle_crop_3880709439_0.png.png imagette248642981752273423/1752273244_3693804_1371751204_7cdc07f8731f04a99cc2ff79aec61962_rle_crop_3880709451_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57e4ce1d230c6fefb6c3409d23199ff0_31460402.png imagette248642981752273423 24864302 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=24864302 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371751529: '1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715731_0.png', 1371751530: '1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715734_0.png', 1371751531: '1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715750_0.png', 1371751532: '1752273327_1997979_1371751313_01993815ba5f47f83d103e1d7f9e3e0f_rle_crop_3880715763_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d73076d10d7ef4701084f35236500c0_97114633.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/292583aac271e25d1c7e4700ba258b43_21231453.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6df3e6a3e0c89cfb7a57d122fcaa11f_59212071.png change filename to text .imagette248643021752273424/ imagette248643021752273424/1752273327_1997979_1371751317_fc382033e073969c5b1ea2474af0dfbf_rle_crop_3880715750_0.png.png imagette248643021752273424/1752273327_1997979_1371751313_01993815ba5f47f83d103e1d7f9e3e0f_rle_crop_3880715763_0.png.png imagette248643021752273424/1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715734_0.png.png imagette248643021752273424/1752273327_1997979_1371751321_88a77abe4f622c7b7f64808fbdb70725_rle_crop_3880715731_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c223e9e4a9e151191ab40cb5a20e7908_78751704.png imagette248643021752273424 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24864264 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24864304,24864305,24864306,24864307,24864308,24864309,24864310,24864311,24864312,24864313,24864314,24864315?tags=kraft,mal_croppe,cartonnette,environnement,metal,Teint_Dans_La_Masse,Carton_gris,plastique,flou,papier,Carton_brun,autre_refus your option no_mail is active, we will not send the real mail to your client args[1371751509] : ('0.038624426755401765',) no score found for photo 1371751509 We are sending mail with results at report@fotonower.com args[1371751508] : ('0.038624426755401765',) no score found for photo 1371751508 We are sending mail with results at report@fotonower.com args[1371751505] : ('0.038624426755401765',) no score found for photo 1371751505 We are sending mail with results at report@fotonower.com args[1371751504] : ('0.038624426755401765',) no score found for photo 1371751504 We are sending mail with results at report@fotonower.com args[1371751502] : ('0.038624426755401765',) no score found for photo 1371751502 We are sending mail with results at report@fotonower.com args[1371751501] : ('0.038624426755401765',) no score found for photo 1371751501 We are sending mail with results at report@fotonower.com args[1371751499] : ('0.038624426755401765',) no score found for photo 1371751499 We are sending mail with results at report@fotonower.com args[1371751498] : ('0.038624426755401765',) no score found for photo 1371751498 We are sending mail with results at report@fotonower.com args[1371751496] : ('0.038624426755401765',) no score found for photo 1371751496 We are sending mail with results at report@fotonower.com args[1371751495] : ('0.038624426755401765',) no score found for photo 1371751495 We are sending mail with results at report@fotonower.com args[1371751493] : ('0.038624426755401765',) no score found for photo 1371751493 We are sending mail with results at report@fotonower.com args[1371751492] : ('0.038624426755401765',) no score found for photo 1371751492 We are sending mail with results at report@fotonower.com args[1371751484] : ('0.038624426755401765',) no score found for photo 1371751484 We are sending mail with results at report@fotonower.com args[1371751480] : ('0.038624426755401765',) no score found for photo 1371751480 We are sending mail with results at report@fotonower.com args[1371751476] : ('0.038624426755401765',) no score found for photo 1371751476 We are sending mail with results at report@fotonower.com args[1371751472] : ('0.038624426755401765',) no score found for photo 1371751472 We are sending mail with results at report@fotonower.com args[1371751467] : ('0.038624426755401765',) no score found for photo 1371751467 We are sending mail with results at report@fotonower.com args[1371751438] : ('0.038624426755401765',) no score found for photo 1371751438 We are sending mail with results at report@fotonower.com args[1371751428] : ('0.038624426755401765',) no score found for photo 1371751428 We are sending mail with results at report@fotonower.com args[1371751421] : ('0.038624426755401765',) no score found for photo 1371751421 We are sending mail with results at report@fotonower.com args[1371751413] : ('0.038624426755401765',) no score found for photo 1371751413 We are sending mail with results at report@fotonower.com args[1371751399] : ('0.038624426755401765',) no score found for photo 1371751399 We are sending mail with results at report@fotonower.com args[1371751397] : ('0.038624426755401765',) no score found for photo 1371751397 We are sending mail with results at report@fotonower.com args[1371751394] : ('0.038624426755401765',) no score found for photo 1371751394 We are sending mail with results at report@fotonower.com refus_total : 0.038624426755401765 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=24864264 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_P24864264_12-07-2025_00_37_03.pdf results_Auto_P24864264_12-07-2025_00_37_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864264_12-07-2025_00_37_03.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','24864264','results_Auto_P24864264_12-07-2025_00_37_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864264_12-07-2025_00_37_03.pdf','pdf','','0.23','0.038624426755401765') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24864264]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] map_info['map_portfolio_photo'] : {24864264: [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394, 1371751376, 1371751374, 1371751366, 1371751362, 1371751358, 1371751356, 1371751353, 1371751351, 1371751344, 1371751343, 1371751336, 1371751335, 1371751326, 1371751321, 1371751317, 1371751313, 1371751302, 1371751298, 1371751226, 1371751224, 1371751221, 1371751218, 1371751204, 1371751193]} final : False mtd_id 4302 list_pids : [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] 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, '3273801') ('4302', '24864264', '1371751509', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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', '24864264', '1371751509', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801')] time used for this insertion : 0.018304824829101562 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.259514570236206 time spend to save output : 0.0187227725982666 total time spend for step 4 : 3.2782373428344727 step5:split_time_score Sat Jul 12 00:37:05 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 : ['24864264'] 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 : [('24864264',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24864264) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1371751504: {'path': 'temp/1752273422_873257_1371751504_d75acccf1e473a00dabf432301d3f934.jpg', 'extension': 'jpg'}, 1371751505: {'path': 'temp/1752273422_873257_1371751505_d7654d2f6693b02e2d947defc7ff7f68.jpg', 'extension': 'jpg'}, 1371751508: {'path': 'temp/1752273422_873257_1371751508_b126cede1e2c3d2a90e4e07bf658215b.jpg', 'extension': 'jpg'}, 1371751509: {'path': 'temp/1752273422_873257_1371751509_8f0508b9bc4ea10c139b9495f1802e61.jpg', 'extension': 'jpg'}, 1371751496: {'path': 'temp/1752273422_873257_1371751496_ae8faa0aa9f1873bacecfcc9cf5b8ad1.jpg', 'extension': 'jpg'}, 1371751498: {'path': 'temp/1752273422_873257_1371751498_4711b07acc1f936b42756bce1cfe6db8.jpg', 'extension': 'jpg'}, 1371751499: {'path': 'temp/1752273422_873257_1371751499_92b007d1771e11f021e7f9952c99af8a.jpg', 'extension': 'jpg'}, 1371751501: {'path': 'temp/1752273422_873257_1371751501_a22eb6d59f06777611c6e303fa98d0d6.jpg', 'extension': 'jpg'}, 1371751502: {'path': 'temp/1752273422_873257_1371751502_289671e701c2abddd786c8788682f9f9.jpg', 'extension': 'jpg'}, 1371751480: {'path': 'temp/1752273422_873257_1371751480_52cd24253220a268a6451b155dd1e566.jpg', 'extension': 'jpg'}, 1371751484: {'path': 'temp/1752273422_873257_1371751484_c04d6d4af100da9ecd2249680d5bbb07.jpg', 'extension': 'jpg'}, 1371751492: {'path': 'temp/1752273422_873257_1371751492_a6615c236e28f025987655628ae66a1d.jpg', 'extension': 'jpg'}, 1371751493: {'path': 'temp/1752273422_873257_1371751493_6dbb079b56be5b7089b92a99d8ed913a.jpg', 'extension': 'jpg'}, 1371751495: {'path': 'temp/1752273422_873257_1371751495_2a0857779c087f1b41553fe5db892bd6.jpg', 'extension': 'jpg'}, 1371751428: {'path': 'temp/1752273422_873257_1371751428_fdba6871603f82e8faaea0448c9e52ff.jpg', 'extension': 'jpg'}, 1371751438: {'path': 'temp/1752273422_873257_1371751438_74d13070873d79ad3288d7d82fb6f996.jpg', 'extension': 'jpg'}, 1371751467: {'path': 'temp/1752273422_873257_1371751467_7eade1cbc17962dcfdfc2186543116d4.jpg', 'extension': 'jpg'}, 1371751472: {'path': 'temp/1752273422_873257_1371751472_39c6dcf34876e47aa626fc551cf4c739.jpg', 'extension': 'jpg'}, 1371751476: {'path': 'temp/1752273422_873257_1371751476_d270cf38e2966a877f8facb00a76d9be.jpg', 'extension': 'jpg'}, 1371751394: {'path': 'temp/1752273422_873257_1371751394_e0220af9ac9eef61524912e7b8811234.jpg', 'extension': 'jpg'}, 1371751397: {'path': 'temp/1752273422_873257_1371751397_18962be4364364cd482e8ba45fe96ae2.jpg', 'extension': 'jpg'}, 1371751399: {'path': 'temp/1752273422_873257_1371751399_0de3d1433a9d579e1641aed83d4dfd96.jpg', 'extension': 'jpg'}, 1371751413: {'path': 'temp/1752273422_873257_1371751413_2d354cc20658748dfcbcff79ce25d587.jpg', 'extension': 'jpg'}, 1371751421: {'path': 'temp/1752273422_873257_1371751421_21ea0ff3034ec924e3bfdff59917e545.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 = 24864264; (('arc_en_ciel_jrm_live',),) 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 = 24864264 group by h (('00', 48),) 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=24864264 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 (24864264) 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 (24864264) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12072025 24864264 Nombre de photos uploadées : 48 / 23040 (0%) 12072025 24864264 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 12072025 24864264 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1371751226, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14ed3aa27474ee001de5e90609fe6513.jpg', 'username': None, 'uploaded_at': 1752273078, 'text': 'image_12072025_00_30_04_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1371751224, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0aef07156a5989a528e95c3e7cc9b446.jpg', 'username': None, 'uploaded_at': 1752273078, 'text': 'image_12072025_00_30_14_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1371751221, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36d6504f46b0f9a5dcfd5faafcad65c7.jpg', 'username': None, 'uploaded_at': 1752273078, 'text': 'image_12072025_00_30_24_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1371751218, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22870c5515c08e523aeb609d537c2d43.jpg', 'username': None, 'uploaded_at': 1752273078, 'text': 'image_12072025_00_30_34_010134m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018193721771240234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 24864264, '2025-07-12' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1971997,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028250932693481445 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= 1971997 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1971997, 'dashboard_run_id': 1979521, 'mtr_portfolio_id': 24862874, 'dashboard_result_id': 12447806, '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_P24862874_12-07-2025_00_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24862879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24862880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24862881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24862882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24862883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24862884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24862885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24862886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24862887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24862888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24862889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24862890, 'pht': 3726}}"}, {'dashboat_entry_day': 1971997, 'dashboard_run_id': 1979521, 'mtr_portfolio_id': 24863716, 'dashboard_result_id': 12447807, '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_P24863716_12-07-2025_00_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24863736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24863737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24863738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24863739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24863740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24863741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24863742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24863743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24863744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24863745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24863746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24863747, 'pht': 3726}}"}, {'dashboat_entry_day': 1971997, 'dashboard_run_id': 1979521, 'mtr_portfolio_id': 24864264, 'dashboard_result_id': 12447808, '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_P24864264_12-07-2025_00_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24864300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864303, '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 = 24862874 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': 3273672, 'mtr_portfolio_id': 24862874, 'created_at': datetime.datetime(2025, 7, 12, 0, 16, 59), 'result': '0.037367531886799636', 'result_long': None, 'result_double': None}] Qualite : 0.037367531886799636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24862874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24862874_12-07-2025_00_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24862874 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_P24862874_12-07-2025_00_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24862879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24862880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24862881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24862882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24862883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24862884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24862885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24862886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24862887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24862888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24862889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24862890, 'pht': 3726}}" where mtr_portfolio_id = 24862874 and dashboard_run_id = 1979521 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`=24862874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12447806, 0.037367531886799636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24862874_12-07-2025_00_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24862879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24862880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24862881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24862882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24862883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24862884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24862885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24862886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24862887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24862888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24862889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24862890, '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 = 24863716 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': 3273753, 'mtr_portfolio_id': 24863716, 'created_at': datetime.datetime(2025, 7, 12, 0, 32, 58), 'result': '0.03280463110763884', 'result_long': None, 'result_double': None}] Qualite : 0.03280463110763884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24863716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24863716_12-07-2025_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24863716 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_P24863716_12-07-2025_00_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24863736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24863737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24863738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24863739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24863740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24863741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24863742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24863743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24863744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24863745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24863746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24863747, 'pht': 3726}}" where mtr_portfolio_id = 24863716 and dashboard_run_id = 1979521 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`=24863716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12447807, 0.03280463110763884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24863716_12-07-2025_00_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24863736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24863737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24863738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24863739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24863740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24863741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24863742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24863743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24863744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24863745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24863746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24863747, '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 = 24864264 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': 3273801, 'mtr_portfolio_id': 24864264, 'created_at': datetime.datetime(2025, 7, 12, 0, 37, 1), 'result': '0.038624426755401765', 'result_long': None, 'result_double': None}] Qualite : 0.038624426755401765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24864264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864264_12-07-2025_00_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24864264 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_P24864264_12-07-2025_00_37_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24864300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864303, 'pht': 3726}}" where mtr_portfolio_id = 24864264 and dashboard_run_id = 1979521 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`=24864264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12447808, 0.038624426755401765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864264_12-07-2025_00_37_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24864300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864303, '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 (24862874,24863716,24864264) result : ((1371742379,), (1371742409,), (1371742439,), (1371742467,), (1371742493,), (1371742810,), (1371742839,), (1371742869,), (1371742894,), (1371742918,), (1371742943,), (1371743083,), (1371743084,), (1371743103,), (1371743104,), (1371743131,), (1371743137,), (1371743164,), (1371743167,), (1371743191,), (1371743196,), (1371743220,), (1371743223,), (1371743306,), (1371743309,), (1371743312,), (1371743340,), (1371743358,), (1371743368,), (1371743470,), (1371743474,), (1371743479,), (1371743505,), (1371743531,), (1371743558,), (1371743769,), (1371743777,), (1371743781,), (1371743786,), (1371743808,), (1371743836,), (1371743987,), (1371744038,), (1371744092,), (1371744216,), (1371744321,), (1371744440,), (1371744789,), (1371744950,), (1371745105,), (1371745166,), (1371745248,), (1371745345,), (1371745593,), (1371745621,), (1371745663,), (1371745726,), (1371745808,), (1371745824,), (1371746189,), (1371746240,), (1371746298,), (1371746311,), (1371746325,), (1371746331,), (1371746501,), (1371746504,), (1371746508,), (1371746512,), (1371746515,), (1371746520,), (1371746569,), (1371746583,), (1371746607,), (1371746632,), (1371746659,), (1371746685,), (1371746815,), (1371746817,), (1371746818,), (1371746838,), (1371746843,), (1371746854,), (1371747126,), (1371747160,), (1371747186,), (1371747211,), (1371747235,), (1371747269,), (1371747638,), (1371747660,), (1371747687,), (1371747705,), (1371747710,), (1371747716,), (1371747773,), (1371747803,), (1371747842,), (1371747869,), (1371747882,), (1371747883,), (1371748191,), (1371748226,), (1371748292,), (1371748342,), (1371748367,), (1371748380,), (1371748740,), (1371748777,), (1371748817,), (1371748841,), (1371748871,), (1371748900,), (1371749035,), (1371749067,), (1371749121,), (1371749168,), (1371749218,), (1371749277,), (1371749616,), (1371749631,), (1371749649,), (1371749652,), (1371749653,), (1371749657,), (1371749730,), (1371749732,), (1371749735,), (1371749737,), (1371749739,), (1371749741,), (1371749784,), (1371749788,), (1371749791,), (1371749794,), (1371749799,), (1371749804,), (1371749818,), (1371749821,), (1371749823,), (1371749826,), (1371749829,), (1371749833,), (1371749877,), (1371749879,), (1371749883,), (1371749887,), (1371749891,), (1371749895,), (1371749945,), (1371749947,), (1371749949,), (1371749950,), (1371749970,), (1371749981,), (1371750000,), (1371750004,), (1371750007,), (1371750022,), (1371750048,), (1371750075,), (1371750384,), (1371750395,), (1371750398,), (1371750403,), (1371750406,), (1371750407,), (1371750451,), (1371750455,), (1371750459,), (1371750462,), (1371750467,), (1371750470,), (1371750523,), (1371750526,), (1371750528,), (1371750533,), (1371750538,), (1371750545,), (1371750621,), (1371750663,), (1371750711,), (1371750754,), (1371750800,), (1371750854,), (1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12072025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24864264]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] map_info['map_portfolio_photo'] : {24864264: [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394, 1371751376, 1371751374, 1371751366, 1371751362, 1371751358, 1371751356, 1371751353, 1371751351, 1371751344, 1371751343, 1371751336, 1371751335, 1371751326, 1371751321, 1371751317, 1371751313, 1371751302, 1371751298, 1371751226, 1371751224, 1371751221, 1371751218, 1371751204, 1371751193]} final : True mtd_id 4302 list_pids : [1371751509, 1371751508, 1371751505, 1371751504, 1371751502, 1371751501, 1371751499, 1371751498, 1371751496, 1371751495, 1371751493, 1371751492, 1371751484, 1371751480, 1371751476, 1371751472, 1371751467, 1371751438, 1371751428, 1371751421, 1371751413, 1371751399, 1371751397, 1371751394] Looping around the photos to save general results len do output : 1 /24864264Didn'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, '3273801') ('4302', '24864264', '1371751509', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801') ('4302', None, None, None, None, None, None, None, '3273801') ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '24864264', 'None', None, None, None, None, '3273801'), ('4302', '24864264', '1371751509', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751508', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751505', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751504', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751502', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751501', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751499', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751498', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751496', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751495', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751493', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751492', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751484', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751480', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751476', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751472', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751467', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751438', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751428', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751421', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751413', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751399', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751397', None, None, None, None, None, '3273801'), ('4302', '24864264', '1371751394', None, None, None, None, None, '3273801')] time used for this insertion : 0.018895387649536133 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2926473617553711 time spend to save output : 0.01933741569519043 total time spend for step 5 : 0.3119847774505615 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 (3273801) 2.41user 2.75system 0:10.27elapsed 50%CPU (0avgtext+0avgdata 166996maxresident)k 96inputs+13632outputs (1major+76731minor)pagefaults 0swaps