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 : 4178324 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 (2760907) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2760907) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418417 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2760907'] with mtr_portfolio_ids : ['22418417'] and first list_photo_ids : [] new path : /proc/4178324/ Name: python3 Umask: 0002 State: R (running) Tgid: 4178324 Ngid: 0 Pid: 4178324 PPid: 4178323 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4178324 NSpid: 4178324 NSpgid: 4176385 NSsid: 4176385 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98332 kB VmRSS: 98332 kB RssAnon: 59804 kB RssFile: 38528 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 59 nonvoluntary_ctxt_switches: 83 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4178324', 'Ngid': '0', 'Pid': '4178324', 'PPid': '4178323', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4178324', 'NSpid': '4178324', 'NSpgid': '4176385', 'NSsid': '4176385', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98332 kB', 'VmRSS': '98332 kB', 'RssAnon': '59804 kB', 'RssFile': '38528 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '59', 'nonvoluntary_ctxt_switches': '83'} ('datou_batch_current', '4178324', '1106936', '0', '1106936', '865684', '98332', b'', 'marlene', '2760907') 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 (22418417) 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 (2760907 ) ) 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 (22418417) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353633456, 'portfolio_id': 22418417}, {'photo_id': 1353633453, 'portfolio_id': 22418417}, {'photo_id': 1353633451, 'portfolio_id': 22418417}, {'photo_id': 1353633449, 'portfolio_id': 22418417}, {'photo_id': 1353633445, 'portfolio_id': 22418417}, {'photo_id': 1353633424, 'portfolio_id': 22418417}, {'photo_id': 1353633421, 'portfolio_id': 22418417}, {'photo_id': 1353633418, 'portfolio_id': 22418417}, {'photo_id': 1353633413, 'portfolio_id': 22418417}, {'photo_id': 1353633411, 'portfolio_id': 22418417}, {'photo_id': 1353633409, 'portfolio_id': 22418417}, {'photo_id': 1353633382, 'portfolio_id': 22418417}, {'photo_id': 1353633379, 'portfolio_id': 22418417}, {'photo_id': 1353633378, 'portfolio_id': 22418417}, {'photo_id': 1353633375, 'portfolio_id': 22418417}, {'photo_id': 1353633344, 'portfolio_id': 22418417}, {'photo_id': 1353633342, 'portfolio_id': 22418417}, {'photo_id': 1353633339, 'portfolio_id': 22418417}, {'photo_id': 1353633338, 'portfolio_id': 22418417}, {'photo_id': 1353633334, 'portfolio_id': 22418417}, {'photo_id': 1353633329, 'portfolio_id': 22418417}, {'photo_id': 1353633303, 'portfolio_id': 22418417}, {'photo_id': 1353633300, 'portfolio_id': 22418417}, {'photo_id': 1353633298, 'portfolio_id': 22418417}, {'photo_id': 1353633296, 'portfolio_id': 22418417}, {'photo_id': 1353633276, 'portfolio_id': 22418417}, {'photo_id': 1353633274, 'portfolio_id': 22418417}, {'photo_id': 1353633271, 'portfolio_id': 22418417}, {'photo_id': 1353633258, 'portfolio_id': 22418417}, {'photo_id': 1353633248, 'portfolio_id': 22418417}, {'photo_id': 1353633224, 'portfolio_id': 22418417}, {'photo_id': 1353633122, 'portfolio_id': 22418417}, {'photo_id': 1353633110, 'portfolio_id': 22418417}, {'photo_id': 1353633100, 'portfolio_id': 22418417}, {'photo_id': 1353633080, 'portfolio_id': 22418417}, {'photo_id': 1353633029, 'portfolio_id': 22418417}, {'photo_id': 1353633000, 'portfolio_id': 22418417}, {'photo_id': 1353632743, 'portfolio_id': 22418417}, {'photo_id': 1353632742, 'portfolio_id': 22418417}, {'photo_id': 1353632741, 'portfolio_id': 22418417}, {'photo_id': 1353632739, 'portfolio_id': 22418417}, {'photo_id': 1353632735, 'portfolio_id': 22418417}, {'photo_id': 1353632722, 'portfolio_id': 22418417}, {'photo_id': 1353632719, 'portfolio_id': 22418417}, {'photo_id': 1353632718, 'portfolio_id': 22418417}, {'photo_id': 1353632713, 'portfolio_id': 22418417}, {'photo_id': 1353632545, 'portfolio_id': 22418417}, {'photo_id': 1353632503, 'portfolio_id': 22418417}, {'photo_id': 1353632455, 'portfolio_id': 22418417}, {'photo_id': 1353632427, 'portfolio_id': 22418417}, {'photo_id': 1353632367, 'portfolio_id': 22418417}, {'photo_id': 1353632315, 'portfolio_id': 22418417}, {'photo_id': 1353631826, 'portfolio_id': 22418417}, {'photo_id': 1353631799, 'portfolio_id': 22418417}, {'photo_id': 1353631769, 'portfolio_id': 22418417}, {'photo_id': 1353631741, 'portfolio_id': 22418417}, {'photo_id': 1353631510, 'portfolio_id': 22418417}, {'photo_id': 1353631482, 'portfolio_id': 22418417}, {'photo_id': 1353631390, 'portfolio_id': 22418417}, {'photo_id': 1353631360, 'portfolio_id': 22418417}, {'photo_id': 1353631262, 'portfolio_id': 22418417}, {'photo_id': 1353630946, 'portfolio_id': 22418417}, {'photo_id': 1353630917, 'portfolio_id': 22418417}, {'photo_id': 1353630891, 'portfolio_id': 22418417}] map_portfolio_id_photo_id: {22418417: [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329, 1353633303, 1353633300, 1353633298, 1353633296, 1353633276, 1353633274, 1353633271, 1353633258, 1353633248, 1353633224, 1353633122, 1353633110, 1353633100, 1353633080, 1353633029, 1353633000, 1353632743, 1353632742, 1353632741, 1353632739, 1353632735, 1353632722, 1353632719, 1353632718, 1353632713, 1353632545, 1353632503, 1353632455, 1353632427, 1353632367, 1353632315, 1353631826, 1353631799, 1353631769, 1353631741, 1353631510, 1353631482, 1353631390, 1353631360, 1353631262, 1353630946, 1353630917, 1353630891]} ##### 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.015664339065551758 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Apr 25 06:14:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22418417) 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 : 22418417 get user id for portfolio 22418417 get sub ptf for main ptf 22418417, type 3726 and hashtags ['cartonnette', 'autre_refus', 'environnement', 'plastique', 'mal_croppe', 'flou', 'Carton_brun', 'Teint_Dans_La_Masse', 'Carton_gris', 'papier', 'kraft', 'metal'] 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`=22418417 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','autre_refus','environnement','plastique','mal_croppe','flou','Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','kraft','metal')) 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`=22418417 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','autre_refus','environnement','plastique','mal_croppe','flou','Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','kraft','metal')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22418417, 'sub_port_id': 22418435, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866095, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'autre_refus': {'main_port_id': 22418417, 'sub_port_id': 22418436, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866096, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'Carton_brun': {'main_port_id': 22418417, 'sub_port_id': 22418437, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866097, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'flou': {'main_port_id': 22418417, 'sub_port_id': 22418438, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866098, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'environnement': {'main_port_id': 22418417, 'sub_port_id': 22418439, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866099, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'cartonnette': {'main_port_id': 22418417, 'sub_port_id': 22418440, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866100, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'plastique': {'main_port_id': 22418417, 'sub_port_id': 22418441, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866101, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'metal': {'main_port_id': 22418417, 'sub_port_id': 22418442, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866102, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'Teint_Dans_La_Masse': {'main_port_id': 22418417, 'sub_port_id': 22418443, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866103, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'Carton_gris': {'main_port_id': 22418417, 'sub_port_id': 22418444, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866104, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'kraft': {'main_port_id': 22418417, 'sub_port_id': 22418445, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866105, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}, 'mal_croppe': {'main_port_id': 22418417, 'sub_port_id': 22418446, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866106, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 43)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418435 , 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=22418417 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 (22418435) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418436 , 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=22418417 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 (22418436) result : ((1353632002,), (1353632003,), (1353633360,), (1353633396,), (1353633415,), (1353633476,), (1353633511,), (1353633512,), (1353633513,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418437 , 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=22418417 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 (22418437) result : ((1353632016,), (1353632018,), (1353632019,), (1353633337,), (1353633365,), (1353633404,), (1353633405,), (1353633406,), (1353633427,), (1353633432,), (1353633492,), (1353633516,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418438 , 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=22418417 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 (22418438) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418439 , 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=22418417 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 (22418439) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418440 , 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=22418417 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 (22418440) result : ((1353633335,), (1353633336,), (1353633403,), (1353633419,), (1353633484,), (1353633485,), (1353633514,), (1353633515,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418441 , 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=22418417 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 (22418441) result : ((1353632034,), (1353633366,), (1353633367,), (1353633428,), (1353633434,), (1353633494,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418442 , 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=22418417 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 (22418442) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418443 , 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=22418417 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 (22418443) result : ((1353631989,), (1353631991,), (1353633330,), (1353633358,), (1353633414,), (1353633473,), (1353633474,), (1353633475,), (1353633489,), (1353633490,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418444 , 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=22418417 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 (22418444) result : ((1353633332,), (1353633333,), (1353633361,), (1353633362,), (1353633402,), (1353633417,), (1353633431,), (1353633478,), (1353633479,), (1353633480,), (1353633481,), (1353633482,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418445 , 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=22418417 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 (22418445) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22418446 , 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=22418417 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 (22418446) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22418417) result : ((1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) 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 (1353633300,1353633100,1353633000) and cspi.crop_hashtag_id = chi.id; 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`=22418417 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','autre_refus','environnement','plastique','mal_croppe','flou','Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','kraft','metal')) 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`=22418417 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','autre_refus','environnement','plastique','mal_croppe','flou','Carton_brun','Teint_Dans_La_Masse','Carton_gris','papier','kraft','metal')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22418417, 'sub_port_id': 22418447, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866107, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'autre_refus': {'main_port_id': 22418417, 'sub_port_id': 22418448, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866108, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'Carton_brun': {'main_port_id': 22418417, 'sub_port_id': 22418449, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866109, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'flou': {'main_port_id': 22418417, 'sub_port_id': 22418450, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866110, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'environnement': {'main_port_id': 22418417, 'sub_port_id': 22418451, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866111, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'cartonnette': {'main_port_id': 22418417, 'sub_port_id': 22418452, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866112, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'plastique': {'main_port_id': 22418417, 'sub_port_id': 22418453, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866113, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'metal': {'main_port_id': 22418417, 'sub_port_id': 22418454, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866114, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'Teint_Dans_La_Masse': {'main_port_id': 22418417, 'sub_port_id': 22418455, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866115, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'Carton_gris': {'main_port_id': 22418417, 'sub_port_id': 22418456, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866116, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'kraft': {'main_port_id': 22418417, 'sub_port_id': 22418457, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866117, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}, 'mal_croppe': {'main_port_id': 22418417, 'sub_port_id': 22418458, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14866118, 'last_updated_at': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 25, 6, 10, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 25, 6, 5, 49)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418447,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418435 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418448,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418436 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418449,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418437 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418450,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418438 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418451,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418439 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418452,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418440 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418453,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418441 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418454,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418442 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418455,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418443 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418456,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418444 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418457,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418445 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22418458,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22418446 lien utilise dans velours : https://www.fotonower.com/velours/22418447,22418448,22418449,22418450,22418451,22418452,22418453,22418454,22418455,22418456,22418457,22418458?tags=papier,autre_refus,Carton_brun,flou,environnement,cartonnette,plastique,metal,Teint_Dans_La_Masse,Carton_gris,kraft,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22418417]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] map_info['map_portfolio_photo'] : {22418417: [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329, 1353633303, 1353633300, 1353633298, 1353633296, 1353633276, 1353633274, 1353633271, 1353633258, 1353633248, 1353633224, 1353633122, 1353633110, 1353633100, 1353633080, 1353633029, 1353633000, 1353632743, 1353632742, 1353632741, 1353632739, 1353632735, 1353632722, 1353632719, 1353632718, 1353632713, 1353632545, 1353632503, 1353632455, 1353632427, 1353632367, 1353632315, 1353631826, 1353631799, 1353631769, 1353631741, 1353631510, 1353631482, 1353631390, 1353631360, 1353631262, 1353630946, 1353630917, 1353630891]} final : False mtd_id 4302 list_pids : [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] Looping around the photos to save general results len do output : 1 /22418417. 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, '2760907') ('4302', '22418417', '1353633456', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22418417', "{'papier': 22418435, 'autre_refus': 22418436, 'Carton_brun': 22418437, 'flou': 22418438, 'environnement': 22418439, 'cartonnette': 22418440, 'plastique': 22418441, 'metal': 22418442, 'Teint_Dans_La_Masse': 22418443, 'Carton_gris': 22418444, 'kraft': 22418445, 'mal_croppe': 22418446}", None, None, None, None, '2760907'), ('4302', '22418417', '1353633456', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907')] time used for this insertion : 0.014605283737182617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4950902462005615 time spend to save output : 0.014972686767578125 total time spend for step 1 : 0.5100629329681396 step2:final Fri Apr 25 06:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22418417) 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 22418417 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353630946,1353630917,1353630891,1353631510,1353631482,1353631390,1353631360,1353631262,1353631826,1353631799,1353631769,1353631741,1353632545,1353632503,1353632455,1353632427,1353632367,1353632315,1353632722,1353632719,1353632718,1353632713,1353632743,1353632742,1353632741,1353632739,1353632735,1353633122,1353633110,1353633100,1353633080,1353633029,1353633000,1353633276,1353633274,1353633271,1353633258,1353633248,1353633224,1353633303,1353633300,1353633298,1353633296,1353633344,1353633342,1353633339,1353633338,1353633334,1353633329,1353633382,1353633379,1353633378,1353633375,1353633424,1353633421,1353633418,1353633413,1353633411,1353633409,1353633456,1353633453,1353633451,1353633449,1353633445); 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([22418417]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} new output for save of step final : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] map_info['map_portfolio_photo'] : {22418417: [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329, 1353633303, 1353633300, 1353633298, 1353633296, 1353633276, 1353633274, 1353633271, 1353633258, 1353633248, 1353633224, 1353633122, 1353633110, 1353633100, 1353633080, 1353633029, 1353633000, 1353632743, 1353632742, 1353632741, 1353632739, 1353632735, 1353632722, 1353632719, 1353632718, 1353632713, 1353632545, 1353632503, 1353632455, 1353632427, 1353632367, 1353632315, 1353631826, 1353631799, 1353631769, 1353631741, 1353631510, 1353631482, 1353631390, 1353631360, 1353631262, 1353630946, 1353630917, 1353630891]} final : False mtd_id 4302 list_pids : [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] Looping around the photos to save general results len do output : 21 /1353633456.Didn't retrieve data . /1353633453.Didn't retrieve data . /1353633451.Didn't retrieve data . /1353633449.Didn't retrieve data . /1353633445.Didn't retrieve data . /1353633424.Didn't retrieve data . /1353633421.Didn't retrieve data . /1353633418.Didn't retrieve data . /1353633413.Didn't retrieve data . /1353633411.Didn't retrieve data . /1353633409.Didn't retrieve data . /1353633382.Didn't retrieve data . /1353633379.Didn't retrieve data . /1353633378.Didn't retrieve data . /1353633375.Didn't retrieve data . /1353633344.Didn't retrieve data . /1353633342.Didn't retrieve data . /1353633339.Didn't retrieve data . /1353633338.Didn't retrieve data . /1353633334.Didn't retrieve data . /1353633329.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, '2760907') ('4302', '22418417', '1353633456', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22418417', '1353633456', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633453', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633451', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633449', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633445', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633424', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633421', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633418', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633413', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633411', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633409', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633382', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633379', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633378', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633375', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633344', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633342', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633339', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633338', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633334', '0.0367348336056355', None, None, None, None, '2760907'), ('4302', '22418417', '1353633329', '0.0367348336056355', None, None, None, None, '2760907')] time used for this insertion : 0.013896465301513672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06609272956848145 time spend to save output : 0.01486968994140625 total time spend for step 2 : 0.0809624195098877 step3:velours_tree Fri Apr 25 06:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22418417: [{'papier': 22418435, 'autre_refus': 22418436, 'Carton_brun': 22418437, 'flou': 22418438, 'environnement': 22418439, 'cartonnette': 22418440, 'plastique': 22418441, 'metal': 22418442, 'Teint_Dans_La_Masse': 22418443, 'Carton_gris': 22418444, 'kraft': 22418445, 'mal_croppe': 22418446}]} input_args_next_step : {22418417: ()} output_args : {22418417: [{'papier': 22418435, 'autre_refus': 22418436, 'Carton_brun': 22418437, 'flou': 22418438, 'environnement': 22418439, 'cartonnette': 22418440, 'plastique': 22418441, 'metal': 22418442, 'Teint_Dans_La_Masse': 22418443, 'Carton_gris': 22418444, 'kraft': 22418445, 'mal_croppe': 22418446}]} args : 22418417 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 : ({'papier': 22418435, 'autre_refus': 22418436, 'Carton_brun': 22418437, 'flou': 22418438, 'environnement': 22418439, 'cartonnette': 22418440, 'plastique': 22418441, 'metal': 22418442, 'Teint_Dans_La_Masse': 22418443, 'Carton_gris': 22418444, 'kraft': 22418445, 'mal_croppe': 22418446},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22418417) 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([22418417]) 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.28122997283935547 time spend to save output : 5.555152893066406e-05 total time spend for step 3 : 0.28128552436828613 step4:send_mail_cod Fri Apr 25 06:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} input_args_next_step : {1353633456: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633456 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633453 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633451 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633449 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633445 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633424 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633421 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633418 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633413 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633411 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633409 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633382 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633379 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633378 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633375 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633344 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633342 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633339 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633338 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633334 depend.output_id : 0 input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ()} output_args : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',)} args : 1353633329 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 : {22418417: [{'papier': 22418435, 'autre_refus': 22418436, 'Carton_brun': 22418437, 'flou': 22418438, 'environnement': 22418439, 'cartonnette': 22418440, 'plastique': 22418441, 'metal': 22418442, 'Teint_Dans_La_Masse': 22418443, 'Carton_gris': 22418444, 'kraft': 22418445, 'mal_croppe': 22418446}]} input_args_next_step : {1353633456: ('0.0367348336056355',), 1353633453: ('0.0367348336056355',), 1353633451: ('0.0367348336056355',), 1353633449: ('0.0367348336056355',), 1353633445: ('0.0367348336056355',), 1353633424: ('0.0367348336056355',), 1353633421: ('0.0367348336056355',), 1353633418: ('0.0367348336056355',), 1353633413: ('0.0367348336056355',), 1353633411: ('0.0367348336056355',), 1353633409: ('0.0367348336056355',), 1353633382: ('0.0367348336056355',), 1353633379: ('0.0367348336056355',), 1353633378: ('0.0367348336056355',), 1353633375: ('0.0367348336056355',), 1353633344: ('0.0367348336056355',), 1353633342: ('0.0367348336056355',), 1353633339: ('0.0367348336056355',), 1353633338: ('0.0367348336056355',), 1353633334: ('0.0367348336056355',), 1353633329: ('0.0367348336056355',), 22418417: ()} output_args : {22418417: [{'papier': 22418435, 'autre_refus': 22418436, 'Carton_brun': 22418437, 'flou': 22418438, 'environnement': 22418439, 'cartonnette': 22418440, 'plastique': 22418441, 'metal': 22418442, 'Teint_Dans_La_Masse': 22418443, 'Carton_gris': 22418444, 'kraft': 22418445, 'mal_croppe': 22418446}]} args : 22418417 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :22, first value : ('0.0367348336056355',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22418417) 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 (1353633456,1353633453,1353633451,1353633449,1353633445,1353633424,1353633421,1353633418,1353633413,1353633411,1353633409,1353633382,1353633379,1353633378,1353633375,1353633344,1353633342,1353633339,1353633338,1353633334,1353633329) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353633329 begin to download photo : 1353633344 begin to download photo : 1353633409 begin to download photo : 1353633424 begin to download photo : 1353633456 download finish for photo 1353633456 download finish for photo 1353633329 begin to download photo : 1353633334 download finish for photo 1353633424 begin to download photo : 1353633445 download finish for photo 1353633409 begin to download photo : 1353633411 download finish for photo 1353633344 begin to download photo : 1353633375 download finish for photo 1353633445 begin to download photo : 1353633449 download finish for photo 1353633334 begin to download photo : 1353633338 download finish for photo 1353633411 begin to download photo : 1353633413 download finish for photo 1353633375 begin to download photo : 1353633378 download finish for photo 1353633449 begin to download photo : 1353633451 download finish for photo 1353633378 begin to download photo : 1353633379 download finish for photo 1353633338 begin to download photo : 1353633339 download finish for photo 1353633413 begin to download photo : 1353633418 download finish for photo 1353633451 begin to download photo : 1353633453 download finish for photo 1353633379 begin to download photo : 1353633382 download finish for photo 1353633339 begin to download photo : 1353633342 download finish for photo 1353633418 begin to download photo : 1353633421 download finish for photo 1353633453 download finish for photo 1353633382 download finish for photo 1353633342 download finish for photo 1353633421 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P22418417_25-04-2025_06_14_59.pdf 22418436 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=22418436 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353632002: '1745553791_1642632_1353630946_36a8c3a1e24b9101519fc7578499c342_rle_crop_3769213388_0.png', 1353632003: '1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213398_0.png', 1353633360: '1745554213_1646190_1353632742_4425fe34c4be799c4d61f5c380464c5e_rle_crop_3769213671_0.png', 1353633396: '1745554270_1646817_1353632713_76ba1e68b97df9739f3a1115272ac246_rle_crop_3769213870_0.png', 1353633415: '1745554307_1314719_1353632315_ad3e69fde12deadd457db0815ef55fd5_rle_crop_3769214065_0.png', 1353633476: '1745554392_1648381_1353633382_5bd999c0c0d530813a0db8a2242164eb_rle_crop_3769214384_0.png', 1353633511: '1745554451_1649066_1353633344_1f9ac7eb6f02f51b9dd7acb45bf856dc_rle_crop_3769214593_0.png', 1353633512: '1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214614_0.png', 1353633513: '1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214611_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e09d1b2562b22b99073d6b0da633d88b_86710257.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d1a8b4315896e3be3361c659f10c383b_85293644.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/538a784e41d13a388c6164818dd10d18_12598139.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/53633350a5dc92ee7d7b249c6d07a23f_76984325.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/f2d90c1a90447f1a37e230d9731b0dea_66155016.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1397bd0cae746e8cbc9e1a0288ad931f_24958421.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/afbe53525b237e5f664e19fc633eaa05_11415374.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/7ec5bdd1a9ae462335fdb3197f9fce4f_12349270.png change filename to text .imagette224184361745554499/ imagette224184361745554499/1745554392_1648381_1353633382_5bd999c0c0d530813a0db8a2242164eb_rle_crop_3769214384_0.png.png imagette224184361745554499/1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214614_0.png.png imagette224184361745554499/1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213398_0.png.png imagette224184361745554499/1745554307_1314719_1353632315_ad3e69fde12deadd457db0815ef55fd5_rle_crop_3769214065_0.png.png imagette224184361745554499/1745554270_1646817_1353632713_76ba1e68b97df9739f3a1115272ac246_rle_crop_3769213870_0.png.png imagette224184361745554499/1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214611_0.png.png imagette224184361745554499/1745554451_1649066_1353633344_1f9ac7eb6f02f51b9dd7acb45bf856dc_rle_crop_3769214593_0.png.png imagette224184361745554499/1745553791_1642632_1353630946_36a8c3a1e24b9101519fc7578499c342_rle_crop_3769213388_0.png.png imagette224184361745554499/1745554213_1646190_1353632742_4425fe34c4be799c4d61f5c380464c5e_rle_crop_3769213671_0.png.png imagette224184381745554499/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/09798dbfdec7c679a263a67aa83ad2db_65964819.png imagette224184361745554499 22418438 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=22418438 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224184381745554499 22418440 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=22418440 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353633335: '1745554183_1311753_1353633100_0fa30de8b76049a7e0ffab1957f8683b_rle_crop_3769213530_0.png', 1353633336: '1745554183_1311753_1353633000_1d701149bc973ef5abf853c24cecb2c1_rle_crop_3769213561_0.png', 1353633403: '1745554270_1646817_1353632743_376bf688af10a578d806495c3c78ad77_rle_crop_3769213824_0.png', 1353633419: '1745554307_1314719_1353632427_251613dde738de44638d078181cdb704_rle_crop_3769214036_0.png', 1353633484: '1745554392_1648381_1353633342_508456a627c315fa65080c909cfb668d_rle_crop_3769214395_0.png', 1353633485: '1745554392_1648381_1353633338_922e90ea29e9985643be9e181f3aa013_rle_crop_3769214420_0.png', 1353633514: '1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214617_0.png', 1353633515: '1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214615_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/61fc4882c48315b35f25f60c199999cb_11309316.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/82a64c1a8781177de00965075f709967_72405552.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/51d1255759796b263bb51051ea629b15_96172255.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/889bb555d739a41b991821eb4668f2c6_75696541.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/92ee4ad307b4494ba0ccf29fe351d941_1862618.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/91e17d127af29208fcaee48f62b2defd_39551643.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/f69e8f2937e18e14a7bb9c257f82424f_43808900.png change filename to text .imagette224184401745554499/ imagette224184401745554499/1745554270_1646817_1353632743_376bf688af10a578d806495c3c78ad77_rle_crop_3769213824_0.png.png imagette224184401745554499/1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214615_0.png.png imagette224184401745554499/1745554451_1649066_1353633296_32ef020f3b43f7c97da454f35ab805dd_rle_crop_3769214617_0.png.png imagette224184401745554499/1745554183_1311753_1353633100_0fa30de8b76049a7e0ffab1957f8683b_rle_crop_3769213530_0.png.png imagette224184401745554499/1745554392_1648381_1353633338_922e90ea29e9985643be9e181f3aa013_rle_crop_3769214420_0.png.png imagette224184401745554499/1745554307_1314719_1353632427_251613dde738de44638d078181cdb704_rle_crop_3769214036_0.png.png imagette224184401745554499/1745554183_1311753_1353633000_1d701149bc973ef5abf853c24cecb2c1_rle_crop_3769213561_0.png.png imagette224184401745554499/1745554392_1648381_1353633342_508456a627c315fa65080c909cfb668d_rle_crop_3769214395_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/06540bbfbf2571b98ffbcebea036b524_87911393.png imagette224184401745554499 22418441 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=22418441 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353632034: '1745553791_1642632_1353630891_1e576392bc90ed3afa0eee83d46fb9d7_rle_crop_3769213428_0.png', 1353633366: '1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213695_0.png', 1353633367: '1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213705_0.png', 1353633428: '1745554307_1314719_1353632367_ecb2a9c2d7a3912f651aeb95e9fa75a9_rle_crop_3769214057_0.png', 1353633434: '1745554331_1647417_1353631741_d4e1c075e9b20632826e170c4099367d_rle_crop_3769214180_0.png', 1353633494: '1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214508_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ac1a3048d0a188052d7a29ddd7605f1e_7388103.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/fbda4221993c0593af71a23a937cb9ea_13317843.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/38929b09a46d91a971842cf53860f8ec_40240280.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/e48b75c3e34498e545af69ac001fa136_45516598.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/622f4988ca8e664c9a59915b4e3be797_20628488.png change filename to text .imagette224184411745554500/ imagette224184411745554500/1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214508_0.png.png imagette224184411745554500/1745553791_1642632_1353630891_1e576392bc90ed3afa0eee83d46fb9d7_rle_crop_3769213428_0.png.png imagette224184411745554500/1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213695_0.png.png imagette224184411745554500/1745554307_1314719_1353632367_ecb2a9c2d7a3912f651aeb95e9fa75a9_rle_crop_3769214057_0.png.png imagette224184411745554500/1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213705_0.png.png imagette224184411745554500/1745554331_1647417_1353631741_d4e1c075e9b20632826e170c4099367d_rle_crop_3769214180_0.png.png imagette224184421745554500/ imagette224184451745554500/ imagette224184461745554500/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ba772805092f49b05fa5090833a2dc4d_68470291.png imagette224184411745554500 22418442 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=22418442 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224184421745554500 22418445 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=22418445 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224184451745554500 22418446 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=22418446 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224184461745554500 22418437 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=22418437 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353632016: '1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213413_0.png', 1353632018: '1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213409_0.png', 1353632019: '1745553791_1642632_1353630891_1e576392bc90ed3afa0eee83d46fb9d7_rle_crop_3769213427_0.png', 1353633337: '1745554183_1311753_1353633000_1d701149bc973ef5abf853c24cecb2c1_rle_crop_3769213560_0.png', 1353633365: '1745554213_1646190_1353632741_7fcb097a27c7057ff2caab37f7ea8a1f_rle_crop_3769213686_0.png', 1353633404: '1745554270_1646817_1353632718_1c7398c8705b27938d3509311977f1cf_rle_crop_3769213846_0.png', 1353633405: '1745554270_1646817_1353632718_1c7398c8705b27938d3509311977f1cf_rle_crop_3769213848_0.png', 1353633406: '1745554270_1646817_1353632713_76ba1e68b97df9739f3a1115272ac246_rle_crop_3769213871_0.png', 1353633427: '1745554307_1314719_1353632455_9a676c7e50a81a8220c9f409419c1c76_rle_crop_3769214029_0.png', 1353633432: '1745554331_1647417_1353631769_be290496703d25d96ea1197e26dfa2d4_rle_crop_3769214163_0.png', 1353633492: '1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214502_0.png', 1353633516: '1745554451_1649066_1353633344_1f9ac7eb6f02f51b9dd7acb45bf856dc_rle_crop_3769214594_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/9f58a2b4e291da35c2b86a7c29d3274f_66060720.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d1809e85d23f0ceb1edf066bf4b6bef0_9711965.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/b14386a8169009285b678102f624e014_65038822.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/5f758419e0a984f57e38f7ca1696f858_24327150.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/9e4714add6c583c5553663abfd79c822_72615833.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/842d72faaecdf66378de4bbcab84a99c_53729146.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/098449bcd2229394401dcf2791c3b092_79196383.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1c3cbc35b62b38fae2fce4b3359b8063_95585299.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/9c87e6021ce9c00e85533dd769731bc6_33670939.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1271092aadb37c2ffc5e16e5f105dc45_60989483.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ebb271bc178f9ebe782a3bbb51ca40e2_75476207.png change filename to text .imagette224184371745554500/ imagette224184371745554500/1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213409_0.png.png imagette224184371745554500/1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214502_0.png.png imagette224184371745554500/1745554451_1649066_1353633344_1f9ac7eb6f02f51b9dd7acb45bf856dc_rle_crop_3769214594_0.png.png imagette224184371745554500/1745554270_1646817_1353632713_76ba1e68b97df9739f3a1115272ac246_rle_crop_3769213871_0.png.png imagette224184371745554500/1745554331_1647417_1353631769_be290496703d25d96ea1197e26dfa2d4_rle_crop_3769214163_0.png.png imagette224184371745554500/1745554270_1646817_1353632718_1c7398c8705b27938d3509311977f1cf_rle_crop_3769213848_0.png.png imagette224184371745554500/1745554270_1646817_1353632718_1c7398c8705b27938d3509311977f1cf_rle_crop_3769213846_0.png.png imagette224184371745554500/1745554183_1311753_1353633000_1d701149bc973ef5abf853c24cecb2c1_rle_crop_3769213560_0.png.png imagette224184371745554500/1745554307_1314719_1353632455_9a676c7e50a81a8220c9f409419c1c76_rle_crop_3769214029_0.png.png imagette224184371745554500/1745554213_1646190_1353632741_7fcb097a27c7057ff2caab37f7ea8a1f_rle_crop_3769213686_0.png.png imagette224184371745554500/1745553791_1642632_1353630891_1e576392bc90ed3afa0eee83d46fb9d7_rle_crop_3769213427_0.png.png imagette224184371745554500/1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213413_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/98000b546c9d36817c21b48583b9dee0_43649851.png imagette224184371745554500 22418443 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=22418443 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353631989: '1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213406_0.png', 1353631991: '1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213411_0.png', 1353633330: '1745554183_1311753_1353633080_c5bb1c8aaa27d5b2056f09d15b7d0870_rle_crop_3769213539_0.png', 1353633358: '1745554213_1646190_1353632741_7fcb097a27c7057ff2caab37f7ea8a1f_rle_crop_3769213685_0.png', 1353633414: '1745554307_1314719_1353632315_ad3e69fde12deadd457db0815ef55fd5_rle_crop_3769214067_0.png', 1353633473: '1745554392_1648381_1353633382_5bd999c0c0d530813a0db8a2242164eb_rle_crop_3769214380_0.png', 1353633474: '1745554392_1648381_1353633339_29505b71fc376be5290a76da9bde71a4_rle_crop_3769214411_0.png', 1353633475: '1745554392_1648381_1353633338_922e90ea29e9985643be9e181f3aa013_rle_crop_3769214431_0.png', 1353633489: '1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214509_0.png', 1353633490: '1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214507_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/3cad5722ff27c9170d6cdba462a45290_1108911.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/8d00e80ba23c6c95e3576b0eefb869fe_66073133.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/41b3ab30be18479e658691983554f866_71135484.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/baf07f079860f721c3383bc76ebd8239_35937232.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/4bb9ee7e02db4c9eb6159656b3e168f8_62433507.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/67a60a3196687d177882a2e86b1d8633_65042054.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/6b0e6b72854d06b77d5143056ee2764c_89542110.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/5bde31bf705db59e5817900d5427f9e5_20549116.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/4c82bc5364364368863e24eeade6f182_70346646.png change filename to text .imagette224184431745554501/ imagette224184431745554501/1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214507_0.png.png imagette224184431745554501/1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213406_0.png.png imagette224184431745554501/1745554307_1314719_1353632315_ad3e69fde12deadd457db0815ef55fd5_rle_crop_3769214067_0.png.png imagette224184431745554501/1745553791_1642632_1353630917_050aed8d77420ecaf1f7b9d79c8f9a29_rle_crop_3769213411_0.png.png imagette224184431745554501/1745554392_1648381_1353633339_29505b71fc376be5290a76da9bde71a4_rle_crop_3769214411_0.png.png imagette224184431745554501/1745554392_1648381_1353633338_922e90ea29e9985643be9e181f3aa013_rle_crop_3769214431_0.png.png imagette224184431745554501/1745554213_1646190_1353632741_7fcb097a27c7057ff2caab37f7ea8a1f_rle_crop_3769213685_0.png.png imagette224184431745554501/1745554423_1318249_1353633375_ceb48a7c1022964e36507403ac480a6c_rle_crop_3769214509_0.png.png imagette224184431745554501/1745554183_1311753_1353633080_c5bb1c8aaa27d5b2056f09d15b7d0870_rle_crop_3769213539_0.png.png imagette224184431745554501/1745554392_1648381_1353633382_5bd999c0c0d530813a0db8a2242164eb_rle_crop_3769214380_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/c90dba5875b4c54f44b4f15e15659267_9364084.png imagette224184431745554501 22418444 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=22418444 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353633332: '1745554183_1311753_1353633080_c5bb1c8aaa27d5b2056f09d15b7d0870_rle_crop_3769213540_0.png', 1353633333: '1745554183_1311753_1353633000_1d701149bc973ef5abf853c24cecb2c1_rle_crop_3769213559_0.png', 1353633361: '1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213703_0.png', 1353633362: '1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213700_0.png', 1353633402: '1745554270_1646817_1353632743_376bf688af10a578d806495c3c78ad77_rle_crop_3769213826_0.png', 1353633417: '1745554307_1314719_1353632503_475ccd08f02655a5df29878c6e517420_rle_crop_3769214016_0.png', 1353633431: '1745554331_1647417_1353632545_08e8721291d147b3282f806135e0f2c0_rle_crop_3769214154_0.png', 1353633478: '1745554392_1648381_1353633342_508456a627c315fa65080c909cfb668d_rle_crop_3769214394_0.png', 1353633479: '1745554392_1648381_1353633342_508456a627c315fa65080c909cfb668d_rle_crop_3769214396_0.png', 1353633480: '1745554392_1648381_1353633339_29505b71fc376be5290a76da9bde71a4_rle_crop_3769214407_0.png', 1353633481: '1745554392_1648381_1353633339_29505b71fc376be5290a76da9bde71a4_rle_crop_3769214417_0.png', 1353633482: '1745554392_1648381_1353633329_ff8fbcd0fc39d6674fad8987e35ccc14_rle_crop_3769214487_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/b6e9927f84d648dce3164f385ee695b0_12395153.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/3f89eead14b718be29235a93e572fe17_74652263.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/f6965e34b0a1030c48688e9d631e4afd_74361223.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/d21c3da1ed2e6a36caa3e2e37958dcf3_36874927.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/742adc13ae997fbf6b97c722325b75d5_28790140.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/02df8c63a3c45f407108496d71c8412e_10106234.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/2aebbe844e5afa6b822aa09f99a27193_53866598.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/bc176e4920b69b8f7bd50b8e921c8f44_42774526.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/b8ed1670a8994dca579bc19518ee3672_59573696.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/0c089f980b77d6d784b493b7d5dfd93d_79567815.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/ccde42b43cb7159cce739f4b0b0e3c09_13442757.png change filename to text .imagette224184441745554502/ imagette224184441745554502/1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213700_0.png.png imagette224184441745554502/1745554307_1314719_1353632503_475ccd08f02655a5df29878c6e517420_rle_crop_3769214016_0.png.png imagette224184441745554502/1745554183_1311753_1353633000_1d701149bc973ef5abf853c24cecb2c1_rle_crop_3769213559_0.png.png imagette224184441745554502/1745554392_1648381_1353633342_508456a627c315fa65080c909cfb668d_rle_crop_3769214396_0.png.png imagette224184441745554502/1745554213_1646190_1353632739_32ef0697faf08c84f9768ecff3438546_rle_crop_3769213703_0.png.png imagette224184441745554502/1745554392_1648381_1353633339_29505b71fc376be5290a76da9bde71a4_rle_crop_3769214417_0.png.png imagette224184441745554502/1745554183_1311753_1353633080_c5bb1c8aaa27d5b2056f09d15b7d0870_rle_crop_3769213540_0.png.png imagette224184441745554502/1745554270_1646817_1353632743_376bf688af10a578d806495c3c78ad77_rle_crop_3769213826_0.png.png imagette224184441745554502/1745554392_1648381_1353633339_29505b71fc376be5290a76da9bde71a4_rle_crop_3769214407_0.png.png imagette224184441745554502/1745554392_1648381_1353633329_ff8fbcd0fc39d6674fad8987e35ccc14_rle_crop_3769214487_0.png.png imagette224184441745554502/1745554331_1647417_1353632545_08e8721291d147b3282f806135e0f2c0_rle_crop_3769214154_0.png.png imagette224184441745554502/1745554392_1648381_1353633342_508456a627c315fa65080c909cfb668d_rle_crop_3769214394_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/7b0c0298bd3af1a991029e9a0f05905a_6242957.png imagette224184441745554502 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22418417 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22418447,22418448,22418449,22418450,22418451,22418452,22418453,22418454,22418455,22418456,22418457,22418458?tags=papier,autre_refus,Carton_brun,flou,environnement,cartonnette,plastique,metal,Teint_Dans_La_Masse,Carton_gris,kraft,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1353633456] : ('0.0367348336056355',) no score found for photo 1353633456 We are sending mail with results at report@fotonower.com args[1353633453] : ('0.0367348336056355',) no score found for photo 1353633453 We are sending mail with results at report@fotonower.com args[1353633451] : ('0.0367348336056355',) no score found for photo 1353633451 We are sending mail with results at report@fotonower.com args[1353633449] : ('0.0367348336056355',) no score found for photo 1353633449 We are sending mail with results at report@fotonower.com args[1353633445] : ('0.0367348336056355',) no score found for photo 1353633445 We are sending mail with results at report@fotonower.com args[1353633424] : ('0.0367348336056355',) no score found for photo 1353633424 We are sending mail with results at report@fotonower.com args[1353633421] : ('0.0367348336056355',) no score found for photo 1353633421 We are sending mail with results at report@fotonower.com args[1353633418] : ('0.0367348336056355',) no score found for photo 1353633418 We are sending mail with results at report@fotonower.com args[1353633413] : ('0.0367348336056355',) no score found for photo 1353633413 We are sending mail with results at report@fotonower.com args[1353633411] : ('0.0367348336056355',) no score found for photo 1353633411 We are sending mail with results at report@fotonower.com args[1353633409] : ('0.0367348336056355',) no score found for photo 1353633409 We are sending mail with results at report@fotonower.com args[1353633382] : ('0.0367348336056355',) no score found for photo 1353633382 We are sending mail with results at report@fotonower.com args[1353633379] : ('0.0367348336056355',) no score found for photo 1353633379 We are sending mail with results at report@fotonower.com args[1353633378] : ('0.0367348336056355',) no score found for photo 1353633378 We are sending mail with results at report@fotonower.com args[1353633375] : ('0.0367348336056355',) no score found for photo 1353633375 We are sending mail with results at report@fotonower.com args[1353633344] : ('0.0367348336056355',) no score found for photo 1353633344 We are sending mail with results at report@fotonower.com args[1353633342] : ('0.0367348336056355',) no score found for photo 1353633342 We are sending mail with results at report@fotonower.com args[1353633339] : ('0.0367348336056355',) no score found for photo 1353633339 We are sending mail with results at report@fotonower.com args[1353633338] : ('0.0367348336056355',) no score found for photo 1353633338 We are sending mail with results at report@fotonower.com args[1353633334] : ('0.0367348336056355',) no score found for photo 1353633334 We are sending mail with results at report@fotonower.com args[1353633329] : ('0.0367348336056355',) no score found for photo 1353633329 We are sending mail with results at report@fotonower.com refus_total : 0.0367348336056355 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=22418417 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_P22418417_25-04-2025_06_14_59.pdf results_Auto_P22418417_25-04-2025_06_14_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22418417_25-04-2025_06_14_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22418417','results_Auto_P22418417_25-04-2025_06_14_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22418417_25-04-2025_06_14_59.pdf','pdf','','0.3','0.0367348336056355') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22418417]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] map_info['map_portfolio_photo'] : {22418417: [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329, 1353633303, 1353633300, 1353633298, 1353633296, 1353633276, 1353633274, 1353633271, 1353633258, 1353633248, 1353633224, 1353633122, 1353633110, 1353633100, 1353633080, 1353633029, 1353633000, 1353632743, 1353632742, 1353632741, 1353632739, 1353632735, 1353632722, 1353632719, 1353632718, 1353632713, 1353632545, 1353632503, 1353632455, 1353632427, 1353632367, 1353632315, 1353631826, 1353631799, 1353631769, 1353631741, 1353631510, 1353631482, 1353631390, 1353631360, 1353631262, 1353630946, 1353630917, 1353630891]} final : False mtd_id 4302 list_pids : [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] 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, '2760907') ('4302', '22418417', '1353633456', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22418417', '1353633456', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907')] time used for this insertion : 0.015503406524658203 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.543785095214844 time spend to save output : 0.01594090461730957 total time spend for step 4 : 5.559725999832153 step5:split_time_score Fri Apr 25 06:15:04 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 : ['22418417'] 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 : [('22418417',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22418417) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353633456: {'path': 'temp/1745554498_4178324_1353633456_d7051fb9e1168bcf22f20003eb914cda.jpg', 'extension': 'jpg'}, 1353633424: {'path': 'temp/1745554498_4178324_1353633424_ab978af97725587afe0d5497222e780e.jpg', 'extension': 'jpg'}, 1353633445: {'path': 'temp/1745554498_4178324_1353633445_6cee32166965dea8992093fb6e621cfa.jpg', 'extension': 'jpg'}, 1353633449: {'path': 'temp/1745554498_4178324_1353633449_c239772d1b2b1f26337707b7a514aea8.jpg', 'extension': 'jpg'}, 1353633451: {'path': 'temp/1745554498_4178324_1353633451_a3f2e1a856e77245eeb1e08d4785885b.jpg', 'extension': 'jpg'}, 1353633453: {'path': 'temp/1745554498_4178324_1353633453_e4c3845314abea4b0c0db72efe1164f5.jpg', 'extension': 'jpg'}, 1353633344: {'path': 'temp/1745554498_4178324_1353633344_1f9ac7eb6f02f51b9dd7acb45bf856dc.jpg', 'extension': 'jpg'}, 1353633375: {'path': 'temp/1745554498_4178324_1353633375_ceb48a7c1022964e36507403ac480a6c.jpg', 'extension': 'jpg'}, 1353633378: {'path': 'temp/1745554498_4178324_1353633378_53489212b78029b26e1e58a647eeb75e.jpg', 'extension': 'jpg'}, 1353633379: {'path': 'temp/1745554498_4178324_1353633379_eb8dd28801403a3d4b47a5cd98cb3350.jpg', 'extension': 'jpg'}, 1353633382: {'path': 'temp/1745554498_4178324_1353633382_5bd999c0c0d530813a0db8a2242164eb.jpg', 'extension': 'jpg'}, 1353633329: {'path': 'temp/1745554498_4178324_1353633329_ff8fbcd0fc39d6674fad8987e35ccc14.jpg', 'extension': 'jpg'}, 1353633334: {'path': 'temp/1745554498_4178324_1353633334_9b4c20f21a6d78966f275794a6325f88.jpg', 'extension': 'jpg'}, 1353633338: {'path': 'temp/1745554498_4178324_1353633338_922e90ea29e9985643be9e181f3aa013.jpg', 'extension': 'jpg'}, 1353633339: {'path': 'temp/1745554498_4178324_1353633339_29505b71fc376be5290a76da9bde71a4.jpg', 'extension': 'jpg'}, 1353633342: {'path': 'temp/1745554498_4178324_1353633342_508456a627c315fa65080c909cfb668d.jpg', 'extension': 'jpg'}, 1353633409: {'path': 'temp/1745554498_4178324_1353633409_49281e83d45786f721016b26c4b5ce1e.jpg', 'extension': 'jpg'}, 1353633411: {'path': 'temp/1745554498_4178324_1353633411_4ef621320dc33147fcadf2d5559d3c23.jpg', 'extension': 'jpg'}, 1353633413: {'path': 'temp/1745554498_4178324_1353633413_0f3f2183ef4977dfadf212c9411901e0.jpg', 'extension': 'jpg'}, 1353633418: {'path': 'temp/1745554498_4178324_1353633418_e1f5bd66baa69480ee69a06023bf894d.jpg', 'extension': 'jpg'}, 1353633421: {'path': 'temp/1745554498_4178324_1353633421_53c198755e5c7b073f945f7fae227eb9.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 = 22418417; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22418417 group by h (('06', 64),) 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=22418417 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 (22418417) 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 (22418417) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25042025 22418417 Nombre de photos uploadées : 64 / 23040 (0%) 25042025 22418417 Nombre de photos taguées (types de déchets): 0 / 64 (0%) 25042025 22418417 Nombre de photos taguées (volume) : 0 / 64 (0%) [{'photo_id': 1353630946, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/36a8c3a1e24b9101519fc7578499c342.jpg', 'username': None, 'uploaded_at': 1745553667, 'text': 'image_25042025_06_00_13_010267m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353630917, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/050aed8d77420ecaf1f7b9d79c8f9a29.jpg', 'username': None, 'uploaded_at': 1745553667, 'text': 'image_25042025_06_00_34_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353630891, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/1e576392bc90ed3afa0eee83d46fb9d7.jpg', 'username': None, 'uploaded_at': 1745553667, 'text': 'image_25042025_06_00_44_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1353631510, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/25/dadae741571db502f7d92ea01f4357b0.jpg', 'username': None, 'uploaded_at': 1745553737, 'text': 'image_25042025_06_00_54_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0029904842376708984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22418417, '2025-04-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1747621,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025975465774536133 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= 1747621 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1747621, 'dashboard_run_id': 1755859, 'mtr_portfolio_id': 22417251, 'dashboard_result_id': 10093243, '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_P22417251_25-04-2025_06_04_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22417277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22417278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22417279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22417280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22417281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22417282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22417283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22417284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22417285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22417286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22417288, 'pht': 3726}}"}, {'dashboat_entry_day': 1747621, 'dashboard_run_id': 1755859, 'mtr_portfolio_id': 22417690, 'dashboard_result_id': 10093244, '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_P22417690_25-04-2025_05_49_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22417740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22417741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22417742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22417743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22417744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22417745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22417746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22417747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22417748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22417750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22417751, 'pht': 3726}}"}, {'dashboat_entry_day': 1747621, 'dashboard_run_id': 1755859, 'mtr_portfolio_id': 22417997, 'dashboard_result_id': 10093245, '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_P22417997_25-04-2025_06_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22417998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22418000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22418001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22418002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22418003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22418004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22418005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22418006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22418007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22418008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22418009, 'pht': 3726}}"}, {'dashboat_entry_day': 1747621, 'dashboard_run_id': 1755859, 'mtr_portfolio_id': 22418417, 'dashboard_result_id': 10093246, '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_P22418417_25-04-2025_06_10_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22418435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22418436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22418437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22418438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22418439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22418440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22418441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22418442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22418443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22418444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22418445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22418446, '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 = 22417251 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': 2760822, 'mtr_portfolio_id': 22417251, 'created_at': datetime.datetime(2025, 4, 25, 6, 4), 'result': '0.051443375449389095', 'result_long': None, 'result_double': None}] Qualite : 0.051443375449389095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22417251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22417251_25-04-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22417251 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_P22417251_25-04-2025_06_04_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22417277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22417278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22417279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22417280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22417281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22417282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22417283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22417284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22417285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22417286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22417288, 'pht': 3726}}" where mtr_portfolio_id = 22417251 and dashboard_run_id = 1755859 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`=22417251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10093243, 0.051443375449389095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22417251_25-04-2025_06_04_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22417277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22417278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22417279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22417280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22417281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22417282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22417283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22417284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22417285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22417286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22417288, '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 = 22417690 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': 2760834, 'mtr_portfolio_id': 22417690, 'created_at': datetime.datetime(2025, 4, 25, 5, 49, 1), 'result': '0.05007123953630153', 'result_long': None, 'result_double': None}] Qualite : 0.05007123953630153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22417690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22417690_25-04-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22417690 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_P22417690_25-04-2025_05_49_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22417740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22417741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22417742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22417743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22417744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22417745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22417746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22417747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22417748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22417750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22417751, 'pht': 3726}}" where mtr_portfolio_id = 22417690 and dashboard_run_id = 1755859 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`=22417690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10093244, 0.05007123953630153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22417690_25-04-2025_05_49_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22417740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22417741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22417742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22417743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22417744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22417745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22417746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22417747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22417748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22417750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22417751, '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 = 22417997 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': 2760858, 'mtr_portfolio_id': 22417997, 'created_at': datetime.datetime(2025, 4, 25, 6, 4, 57), 'result': '0.04018464498526972', 'result_long': None, 'result_double': None}] Qualite : 0.04018464498526972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22417997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22417997_25-04-2025_06_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22417997 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_P22417997_25-04-2025_06_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22417998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22418000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22418001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22418002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22418003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22418004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22418005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22418006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22418007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22418008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22418009, 'pht': 3726}}" where mtr_portfolio_id = 22417997 and dashboard_run_id = 1755859 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`=22417997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10093245, 0.04018464498526972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22417997_25-04-2025_06_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22417998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22417999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22418000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22418001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22418002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22418003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22418004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22418005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22418006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22418007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22418008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22418009, '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 = 22418417 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': 2760907, 'mtr_portfolio_id': 22418417, 'created_at': datetime.datetime(2025, 4, 25, 6, 14, 58), 'result': '0.0367348336056355', 'result_long': None, 'result_double': None}] Qualite : 0.0367348336056355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22418417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22418417_25-04-2025_06_14_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22418417 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_P22418417_25-04-2025_06_14_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22418435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22418436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22418437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22418438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22418439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22418440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22418441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22418442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22418443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22418444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22418445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22418446, 'pht': 3726}}" where mtr_portfolio_id = 22418417 and dashboard_run_id = 1755859 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`=22418417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10093246, 0.0367348336056355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22418417_25-04-2025_06_14_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22418435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22418436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22418437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22418438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22418439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22418440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22418441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22418442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22418443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22418444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22418445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22418446, '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 (22417251,22417690,22417997,22418417) result : ((1353628014,), (1353628016,), (1353628019,), (1353628044,), (1353628046,), (1353628081,), (1353628083,), (1353628105,), (1353628109,), (1353628114,), (1353628116,), (1353628118,), (1353628153,), (1353628156,), (1353628158,), (1353628160,), (1353628161,), (1353628212,), (1353628215,), (1353628217,), (1353628219,), (1353628221,), (1353628223,), (1353628342,), (1353628344,), (1353628348,), (1353628350,), (1353628372,), (1353628374,), (1353628376,), (1353628378,), (1353628381,), (1353628383,), (1353628422,), (1353628423,), (1353628424,), (1353628425,), (1353628455,), (1353628456,), (1353628458,), (1353628460,), (1353628468,), (1353628496,), (1353628497,), (1353628498,), (1353628499,), (1353628501,), (1353628503,), (1353628541,), (1353628543,), (1353628545,), (1353628547,), (1353628570,), (1353628571,), (1353628572,), (1353628574,), (1353628576,), (1353628581,), (1353628609,), (1353628610,), (1353628612,), (1353628616,), (1353628618,), (1353628667,), (1353628671,), (1353628675,), (1353628679,), (1353628689,), (1353628733,), (1353628726,), (1353628729,), (1353628731,), (1353628761,), (1353628764,), (1353628767,), (1353628769,), (1353628829,), (1353628831,), (1353628953,), (1353629073,), (1353629101,), (1353629129,), (1353629143,), (1353629150,), (1353629164,), (1353629167,), (1353629169,), (1353629171,), (1353629204,), (1353629205,), (1353629207,), (1353629209,), (1353629243,), (1353629244,), (1353629245,), (1353629246,), (1353629279,), (1353629281,), (1353629283,), (1353629285,), (1353629288,), (1353629330,), (1353629333,), (1353629334,), (1353629336,), (1353629372,), (1353629374,), (1353629376,), (1353629384,), (1353629387,), (1353629404,), (1353629407,), (1353629409,), (1353629433,), (1353629440,), (1353629458,), (1353629460,), (1353629462,), (1353629464,), (1353629487,), (1353629492,), (1353629493,), (1353629498,), (1353629502,), (1353629505,), (1353629530,), (1353629539,), (1353629541,), (1353629559,), (1353629596,), (1353629599,), (1353629601,), (1353629603,), (1353629606,), (1353629921,), (1353629770,), (1353629797,), (1353629827,), (1353629877,), (1353629908,), (1353629953,), (1353629955,), (1353629957,), (1353629960,), (1353629962,), (1353629989,), (1353629990,), (1353629991,), (1353629992,), (1353629994,), (1353629995,), (1353630027,), (1353630028,), (1353630029,), (1353630030,), (1353630057,), (1353630059,), (1353630060,), (1353630063,), (1353630092,), (1353630095,), (1353630097,), (1353630111,), (1353630115,), (1353630210,), (1353630211,), (1353630214,), (1353630219,), (1353630240,), (1353630242,), (1353630243,), (1353630245,), (1353630248,), (1353630255,), (1353630275,), (1353630278,), (1353630286,), (1353630288,), (1353630290,), (1353630293,), (1353630321,), (1353630323,), (1353630325,), (1353630326,), (1353630328,), (1353630330,), (1353630362,), (1353630363,), (1353630364,), (1353630365,), (1353630366,), (1353630393,), (1353630395,), (1353630396,), (1353630397,), (1353630399,), (1353630419,), (1353630426,), (1353630428,), (1353630431,), (1353630470,), (1353630489,), (1353630511,), (1353630540,), (1353630571,), (1353630976,), (1353630891,), (1353630917,), (1353630946,), (1353631262,), (1353631360,), (1353631390,), (1353631482,), (1353631510,), (1353631741,), (1353631769,), (1353631799,), (1353631826,), (1353632315,), (1353632367,), (1353632427,), (1353632455,), (1353632503,), (1353632545,), (1353632713,), (1353632718,), (1353632719,), (1353632722,), (1353632735,), (1353632739,), (1353632741,), (1353632742,), (1353632743,), (1353633000,), (1353633029,), (1353633080,), (1353633100,), (1353633110,), (1353633122,), (1353633224,), (1353633248,), (1353633258,), (1353633271,), (1353633274,), (1353633276,), (1353633296,), (1353633298,), (1353633300,), (1353633303,), (1353633329,), (1353633334,), (1353633338,), (1353633339,), (1353633342,), (1353633344,), (1353633375,), (1353633378,), (1353633379,), (1353633382,), (1353633409,), (1353633411,), (1353633413,), (1353633418,), (1353633421,), (1353633424,), (1353633445,), (1353633449,), (1353633451,), (1353633453,), (1353633456,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25042025': {'nb_upload': 64, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22418417]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] map_info['map_portfolio_photo'] : {22418417: [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329, 1353633303, 1353633300, 1353633298, 1353633296, 1353633276, 1353633274, 1353633271, 1353633258, 1353633248, 1353633224, 1353633122, 1353633110, 1353633100, 1353633080, 1353633029, 1353633000, 1353632743, 1353632742, 1353632741, 1353632739, 1353632735, 1353632722, 1353632719, 1353632718, 1353632713, 1353632545, 1353632503, 1353632455, 1353632427, 1353632367, 1353632315, 1353631826, 1353631799, 1353631769, 1353631741, 1353631510, 1353631482, 1353631390, 1353631360, 1353631262, 1353630946, 1353630917, 1353630891]} final : True mtd_id 4302 list_pids : [1353633456, 1353633453, 1353633451, 1353633449, 1353633445, 1353633424, 1353633421, 1353633418, 1353633413, 1353633411, 1353633409, 1353633382, 1353633379, 1353633378, 1353633375, 1353633344, 1353633342, 1353633339, 1353633338, 1353633334, 1353633329] Looping around the photos to save general results len do output : 1 /22418417Didn'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, '2760907') ('4302', '22418417', '1353633456', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907') ('4302', None, None, None, None, None, None, None, '2760907') ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22418417', 'None', None, None, None, None, '2760907'), ('4302', '22418417', '1353633456', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633453', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633451', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633449', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633445', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633424', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633421', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633418', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633413', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633411', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633409', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633382', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633379', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633378', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633375', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633344', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633342', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633339', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633338', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633334', None, None, None, None, None, '2760907'), ('4302', '22418417', '1353633329', None, None, None, None, None, '2760907')] time used for this insertion : 0.015223979949951172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34458303451538086 time spend to save output : 0.015401601791381836 total time spend for step 5 : 0.3599846363067627 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 (2760907) 2.41user 2.48system 0:10.21elapsed 47%CPU (0avgtext+0avgdata 167160maxresident)k 112inputs+17320outputs (8major+77573minor)pagefaults 0swaps