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 : 2213506 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 (2667813) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2667813) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408005 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2667813'] with mtr_portfolio_ids : ['21408005'] and first list_photo_ids : [] new path : /proc/2213506/ Name: python3 Umask: 0002 State: R (running) Tgid: 2213506 Ngid: 0 Pid: 2213506 PPid: 2213504 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2213506 NSpid: 2213506 NSpgid: 2212192 NSsid: 2212192 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97544 kB VmRSS: 97544 kB RssAnon: 59792 kB RssFile: 37752 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 556 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: 41 nonvoluntary_ctxt_switches: 123 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2213506', 'Ngid': '0', 'Pid': '2213506', 'PPid': '2213504', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2213506', 'NSpid': '2213506', 'NSpgid': '2212192', 'NSsid': '2212192', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97544 kB', 'VmRSS': '97544 kB', 'RssAnon': '59792 kB', 'RssFile': '37752 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '556 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': '41', 'nonvoluntary_ctxt_switches': '123'} ('datou_batch_current', '2213506', '1106844', '0', '1106844', '865596', '97544', b'', 'marlene', '2667813') 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 (21408005) 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 (2667813 ) ) 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 (21408005) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1344071516, 'portfolio_id': 21408005}, {'photo_id': 1344071512, 'portfolio_id': 21408005}, {'photo_id': 1344071510, 'portfolio_id': 21408005}, {'photo_id': 1344071508, 'portfolio_id': 21408005}, {'photo_id': 1344071505, 'portfolio_id': 21408005}, {'photo_id': 1344071502, 'portfolio_id': 21408005}, {'photo_id': 1344071499, 'portfolio_id': 21408005}, {'photo_id': 1344071492, 'portfolio_id': 21408005}, {'photo_id': 1344071490, 'portfolio_id': 21408005}, {'photo_id': 1344071486, 'portfolio_id': 21408005}, {'photo_id': 1344071412, 'portfolio_id': 21408005}, {'photo_id': 1344071409, 'portfolio_id': 21408005}, {'photo_id': 1344071404, 'portfolio_id': 21408005}, {'photo_id': 1344071401, 'portfolio_id': 21408005}, {'photo_id': 1344071390, 'portfolio_id': 21408005}, {'photo_id': 1344071389, 'portfolio_id': 21408005}, {'photo_id': 1344071387, 'portfolio_id': 21408005}, {'photo_id': 1344071386, 'portfolio_id': 21408005}, {'photo_id': 1344071383, 'portfolio_id': 21408005}, {'photo_id': 1344071381, 'portfolio_id': 21408005}, {'photo_id': 1344071380, 'portfolio_id': 21408005}, {'photo_id': 1344071378, 'portfolio_id': 21408005}, {'photo_id': 1344071377, 'portfolio_id': 21408005}, {'photo_id': 1344071375, 'portfolio_id': 21408005}, {'photo_id': 1344071373, 'portfolio_id': 21408005}, {'photo_id': 1344071372, 'portfolio_id': 21408005}, {'photo_id': 1344071349, 'portfolio_id': 21408005}, {'photo_id': 1344071346, 'portfolio_id': 21408005}, {'photo_id': 1344071343, 'portfolio_id': 21408005}, {'photo_id': 1344071299, 'portfolio_id': 21408005}, {'photo_id': 1344071252, 'portfolio_id': 21408005}, {'photo_id': 1344071240, 'portfolio_id': 21408005}, {'photo_id': 1344071233, 'portfolio_id': 21408005}, {'photo_id': 1344071231, 'portfolio_id': 21408005}, {'photo_id': 1344071230, 'portfolio_id': 21408005}] map_portfolio_id_photo_id: {21408005: [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372, 1344071349, 1344071346, 1344071343, 1344071299, 1344071252, 1344071240, 1344071233, 1344071231, 1344071230]} ##### 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.015009403228759766 #### 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 Mar 14 05:52:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21408005) 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 : 21408005 get user id for portfolio 21408005 get sub ptf for main ptf 21408005, type 3726 and hashtags ['kraft', 'Teint_Dans_La_Masse', 'papier', 'flou', 'environnement', 'cartonnette', 'mal_croppe', 'Carton_gris', 'Carton_brun', 'plastique', 'metal', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21408005 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','papier','flou','environnement','cartonnette','mal_croppe','Carton_gris','Carton_brun','plastique','metal','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21408005 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','papier','flou','environnement','cartonnette','mal_croppe','Carton_gris','Carton_brun','plastique','metal','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21408005, 'sub_port_id': 21408030, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981040, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'autre_refus': {'main_port_id': 21408005, 'sub_port_id': 21408031, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981041, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'cartonnette': {'main_port_id': 21408005, 'sub_port_id': 21408032, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981042, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'Carton_brun': {'main_port_id': 21408005, 'sub_port_id': 21408033, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981043, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'papier': {'main_port_id': 21408005, 'sub_port_id': 21408034, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981044, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'plastique': {'main_port_id': 21408005, 'sub_port_id': 21408035, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981045, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'Carton_gris': {'main_port_id': 21408005, 'sub_port_id': 21408036, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981046, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'flou': {'main_port_id': 21408005, 'sub_port_id': 21408037, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981047, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'mal_croppe': {'main_port_id': 21408005, 'sub_port_id': 21408038, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981048, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'environnement': {'main_port_id': 21408005, 'sub_port_id': 21408039, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981049, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'metal': {'main_port_id': 21408005, 'sub_port_id': 21408040, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981050, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 21408005, 'sub_port_id': 21408041, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981051, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408030 , 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=21408005 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 (21408030) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408031 , 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=21408005 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 (21408031) result : ((1344071436,), (1344071437,), (1344071464,), (1344071465,), (1344071466,), (1344071467,), (1344071468,), (1344071469,), (1344071470,), (1344071471,), (1344071472,), (1344071473,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408032 , 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=21408005 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 (21408032) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408033 , 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=21408005 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 (21408033) result : ((1344071477,), (1344071478,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408034 , 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=21408005 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 (21408034) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408035 , 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=21408005 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 (21408035) result : ((1344071479,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408036 , 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=21408005 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 (21408036) result : ((1344071439,), (1344071440,), (1344071474,), (1344071475,), (1344071476,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408037 , 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=21408005 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 (21408037) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408038 , 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=21408005 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 (21408038) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408039 , 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=21408005 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 (21408039) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408040 , 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=21408005 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 (21408040) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21408041 , 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=21408005 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 (21408041) result : ((1344071461,), (1344071462,), (1344071463,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21408005) result : ((1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21408005 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','papier','flou','environnement','cartonnette','mal_croppe','Carton_gris','Carton_brun','plastique','metal','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21408005 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','papier','flou','environnement','cartonnette','mal_croppe','Carton_gris','Carton_brun','plastique','metal','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21408005, 'sub_port_id': 21408043, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981052, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'autre_refus': {'main_port_id': 21408005, 'sub_port_id': 21408044, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981053, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'cartonnette': {'main_port_id': 21408005, 'sub_port_id': 21408045, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981054, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'Carton_brun': {'main_port_id': 21408005, 'sub_port_id': 21408046, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981055, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'papier': {'main_port_id': 21408005, 'sub_port_id': 21408047, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981056, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'plastique': {'main_port_id': 21408005, 'sub_port_id': 21408048, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981057, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'Carton_gris': {'main_port_id': 21408005, 'sub_port_id': 21408049, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981058, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'flou': {'main_port_id': 21408005, 'sub_port_id': 21408050, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981059, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'mal_croppe': {'main_port_id': 21408005, 'sub_port_id': 21408051, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981060, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'environnement': {'main_port_id': 21408005, 'sub_port_id': 21408052, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981061, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'metal': {'main_port_id': 21408005, 'sub_port_id': 21408053, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981062, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 21408005, 'sub_port_id': 21408054, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13981063, 'last_updated_at': datetime.datetime(2025, 3, 14, 5, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 5, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 5, 49, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408043,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408030 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408044,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408031 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408045,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408032 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408046,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408033 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408047,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408034 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408048,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408035 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408049,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408036 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408050,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408037 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408051,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408038 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408052,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408039 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408053,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408040 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21408054,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21408041 lien utilise dans velours : https://www.fotonower.com/velours/21408043,21408044,21408045,21408046,21408047,21408048,21408049,21408050,21408051,21408052,21408053,21408054?tags=kraft,autre_refus,cartonnette,Carton_brun,papier,plastique,Carton_gris,flou,mal_croppe,environnement,metal,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21408005]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] map_info['map_portfolio_photo'] : {21408005: [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372, 1344071349, 1344071346, 1344071343, 1344071299, 1344071252, 1344071240, 1344071233, 1344071231, 1344071230]} final : False mtd_id 4302 list_pids : [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] Looping around the photos to save general results len do output : 1 /21408005. 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, '2667813') ('4302', '21408005', '1344071516', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21408005', "{'kraft': 21408030, 'autre_refus': 21408031, 'cartonnette': 21408032, 'Carton_brun': 21408033, 'papier': 21408034, 'plastique': 21408035, 'Carton_gris': 21408036, 'flou': 21408037, 'mal_croppe': 21408038, 'environnement': 21408039, 'metal': 21408040, 'Teint_Dans_La_Masse': 21408041}", None, None, None, None, '2667813'), ('4302', '21408005', '1344071516', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813')] time used for this insertion : 0.03842592239379883 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5555808544158936 time spend to save output : 0.03887748718261719 total time spend for step 1 : 1.5944583415985107 step2:final Fri Mar 14 05:52:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21408005) 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 21408005 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1344071252,1344071240,1344071233,1344071231,1344071230,1344071349,1344071346,1344071343,1344071299,1344071390,1344071389,1344071386,1344071387,1344071381,1344071383,1344071380,1344071378,1344071377,1344071375,1344071373,1344071372,1344071412,1344071409,1344071404,1344071401,1344071505,1344071502,1344071499,1344071492,1344071490,1344071486,1344071516,1344071512,1344071510,1344071508); 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([21408005]) Inside saveOutput : final : False verbose : True original output for save of step final : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} new output for save of step final : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] map_info['map_portfolio_photo'] : {21408005: [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372, 1344071349, 1344071346, 1344071343, 1344071299, 1344071252, 1344071240, 1344071233, 1344071231, 1344071230]} final : False mtd_id 4302 list_pids : [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] Looping around the photos to save general results len do output : 26 /1344071516.Didn't retrieve data . /1344071512.Didn't retrieve data . /1344071510.Didn't retrieve data . /1344071508.Didn't retrieve data . /1344071505.Didn't retrieve data . /1344071502.Didn't retrieve data . /1344071499.Didn't retrieve data . /1344071492.Didn't retrieve data . /1344071490.Didn't retrieve data . /1344071486.Didn't retrieve data . /1344071412.Didn't retrieve data . /1344071409.Didn't retrieve data . /1344071404.Didn't retrieve data . /1344071401.Didn't retrieve data . /1344071390.Didn't retrieve data . /1344071389.Didn't retrieve data . /1344071387.Didn't retrieve data . /1344071386.Didn't retrieve data . /1344071383.Didn't retrieve data . /1344071381.Didn't retrieve data . /1344071380.Didn't retrieve data . /1344071378.Didn't retrieve data . /1344071377.Didn't retrieve data . /1344071375.Didn't retrieve data . /1344071373.Didn't retrieve data . /1344071372.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, '2667813') ('4302', '21408005', '1344071516', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 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', '21408005', '1344071516', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071512', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071510', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071508', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071505', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071502', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071499', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071492', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071490', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071486', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071412', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071409', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071404', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071401', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071390', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071389', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071387', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071386', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071383', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071381', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071380', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071378', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071377', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071375', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071373', '0.08205674897491973', None, None, None, None, '2667813'), ('4302', '21408005', '1344071372', '0.08205674897491973', None, None, None, None, '2667813')] time used for this insertion : 0.0437467098236084 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07515454292297363 time spend to save output : 0.044823646545410156 total time spend for step 2 : 0.11997818946838379 step3:velours_tree Fri Mar 14 05:52:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21408005: [{'kraft': 21408030, 'autre_refus': 21408031, 'cartonnette': 21408032, 'Carton_brun': 21408033, 'papier': 21408034, 'plastique': 21408035, 'Carton_gris': 21408036, 'flou': 21408037, 'mal_croppe': 21408038, 'environnement': 21408039, 'metal': 21408040, 'Teint_Dans_La_Masse': 21408041}]} input_args_next_step : {21408005: ()} output_args : {21408005: [{'kraft': 21408030, 'autre_refus': 21408031, 'cartonnette': 21408032, 'Carton_brun': 21408033, 'papier': 21408034, 'plastique': 21408035, 'Carton_gris': 21408036, 'flou': 21408037, 'mal_croppe': 21408038, 'environnement': 21408039, 'metal': 21408040, 'Teint_Dans_La_Masse': 21408041}]} args : 21408005 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 21408030, 'autre_refus': 21408031, 'cartonnette': 21408032, 'Carton_brun': 21408033, 'papier': 21408034, 'plastique': 21408035, 'Carton_gris': 21408036, 'flou': 21408037, 'mal_croppe': 21408038, 'environnement': 21408039, 'metal': 21408040, 'Teint_Dans_La_Masse': 21408041},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21408005) 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([21408005]) 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.29858946800231934 time spend to save output : 7.152557373046875e-05 total time spend for step 3 : 0.2986609935760498 step4:send_mail_cod Fri Mar 14 05:52:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} input_args_next_step : {1344071516: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071516 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071512 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071510 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071508 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071505 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071502 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071499 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071492 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071490 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071486 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071412 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071409 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071404 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071401 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071390 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071389 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071387 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071386 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071383 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071381 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071380 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071378 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071377 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071375 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071373 depend.output_id : 0 input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ()} output_args : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',)} args : 1344071372 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 : {21408005: [{'kraft': 21408030, 'autre_refus': 21408031, 'cartonnette': 21408032, 'Carton_brun': 21408033, 'papier': 21408034, 'plastique': 21408035, 'Carton_gris': 21408036, 'flou': 21408037, 'mal_croppe': 21408038, 'environnement': 21408039, 'metal': 21408040, 'Teint_Dans_La_Masse': 21408041}]} input_args_next_step : {1344071516: ('0.08205674897491973',), 1344071512: ('0.08205674897491973',), 1344071510: ('0.08205674897491973',), 1344071508: ('0.08205674897491973',), 1344071505: ('0.08205674897491973',), 1344071502: ('0.08205674897491973',), 1344071499: ('0.08205674897491973',), 1344071492: ('0.08205674897491973',), 1344071490: ('0.08205674897491973',), 1344071486: ('0.08205674897491973',), 1344071412: ('0.08205674897491973',), 1344071409: ('0.08205674897491973',), 1344071404: ('0.08205674897491973',), 1344071401: ('0.08205674897491973',), 1344071390: ('0.08205674897491973',), 1344071389: ('0.08205674897491973',), 1344071387: ('0.08205674897491973',), 1344071386: ('0.08205674897491973',), 1344071383: ('0.08205674897491973',), 1344071381: ('0.08205674897491973',), 1344071380: ('0.08205674897491973',), 1344071378: ('0.08205674897491973',), 1344071377: ('0.08205674897491973',), 1344071375: ('0.08205674897491973',), 1344071373: ('0.08205674897491973',), 1344071372: ('0.08205674897491973',), 21408005: ()} output_args : {21408005: [{'kraft': 21408030, 'autre_refus': 21408031, 'cartonnette': 21408032, 'Carton_brun': 21408033, 'papier': 21408034, 'plastique': 21408035, 'Carton_gris': 21408036, 'flou': 21408037, 'mal_croppe': 21408038, 'environnement': 21408039, 'metal': 21408040, 'Teint_Dans_La_Masse': 21408041}]} args : 21408005 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 :27, first value : ('0.08205674897491973',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21408005) 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 (1344071516,1344071512,1344071510,1344071508,1344071505,1344071502,1344071499,1344071492,1344071490,1344071486,1344071412,1344071409,1344071404,1344071401,1344071390,1344071389,1344071387,1344071386,1344071383,1344071381,1344071380,1344071378,1344071377,1344071375,1344071373,1344071372) Found this number of photos: 26 ##### Call download_photos : nb_thread : 5 begin to download photo : 1344071372 begin to download photo : 1344071381 begin to download photo : 1344071401 begin to download photo : 1344071492 begin to download photo : 1344071512 download finish for photo 1344071512 begin to download photo : 1344071516 download finish for photo 1344071372 begin to download photo : 1344071373 download finish for photo 1344071492 begin to download photo : 1344071499 download finish for photo 1344071401 begin to download photo : 1344071404 download finish for photo 1344071381 begin to download photo : 1344071383 download finish for photo 1344071516 download finish for photo 1344071499 begin to download photo : 1344071502 download finish for photo 1344071373 begin to download photo : 1344071375 download finish for photo 1344071404 begin to download photo : 1344071409 download finish for photo 1344071383 begin to download photo : 1344071386 download finish for photo 1344071502 begin to download photo : 1344071505 download finish for photo 1344071375 begin to download photo : 1344071377 download finish for photo 1344071409 begin to download photo : 1344071412 download finish for photo 1344071386 begin to download photo : 1344071387 download finish for photo 1344071505 begin to download photo : 1344071508 download finish for photo 1344071377 begin to download photo : 1344071378 download finish for photo 1344071412 begin to download photo : 1344071486 download finish for photo 1344071387 begin to download photo : 1344071389 download finish for photo 1344071508 begin to download photo : 1344071510 download finish for photo 1344071378 begin to download photo : 1344071380 download finish for photo 1344071486 begin to download photo : 1344071490 download finish for photo 1344071389 begin to download photo : 1344071390 download finish for photo 1344071510 download finish for photo 1344071380 download finish for photo 1344071390 download finish for photo 1344071490 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette214080301741927952/ length of list_filenames : 26 ; length of list_pids : 26 ; length of list_args : 26 results_Auto_P21408005_14-03-2025_05_52_32.pdf 21408030 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=21408030 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214080301741927952 21408031 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=21408031 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344071436: '1741927792_126048_1344071343_25993627da6838d7eaee26be42fa2f4d_rle_crop_3711472029_0.png', 1344071437: '1741927792_126048_1344071299_eab9908cc5d8875f6374ec2856d27473_rle_crop_3711472041_0.png', 1344071464: '1741927811_126347_1344071349_d0285071791a07a4d05f0fc89343cfd0_rle_crop_3711472242_0.png', 1344071465: '1741927811_126347_1344071252_a7b627e168a6d73f9e34538a71e9fe40_rle_crop_3711471924_0.png', 1344071466: '1741927811_126347_1344071252_a7b627e168a6d73f9e34538a71e9fe40_rle_crop_3711471917_0.png', 1344071467: '1741927811_126347_1344071240_3eb76cf245226114f42a07542622fb0e_rle_crop_3711471933_0.png', 1344071468: '1741927811_126347_1344071240_3eb76cf245226114f42a07542622fb0e_rle_crop_3711471937_0.png', 1344071469: '1741927811_126347_1344071233_a46f93bd07c8e6ddd22b826765a10a0a_rle_crop_3711471951_0.png', 1344071470: '1741927811_126347_1344071231_5b175772aa4a71688e5223f0f3378854_rle_crop_3711472296_0.png', 1344071471: '1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711471969_0.png', 1344071472: '1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_bib_crop_3711471967_0.jpg', 1344071473: '1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711472309_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/414b29dabecbd28425eea01f7b2f48b2_9472597.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3671f87d2ad4278a686c4a2e12a76353_14499516.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/6afeef7548b09699cc87a1dd20897308_7059360.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/561ae6d05691f1827031c2a247c60dbf_57677297.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/12f3d6af53c4650220d9548cdc4a513b_60760704.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cf346c2193d322d06e4c678d612a5347_51645349.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5f10ff79c41f8f458205643afca99eb8_88835002.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/4c42b50dea9349b38b1866e3fe7efde3_71832627.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/fbb24583dcfcee2bd44cfde18013b347_83340546.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2f37b97b215eaf2d2e44c9e020c8a67b_64331215.png change filename to text .wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c5736b3a3e39099c8aedbe7ab8b318fb_72979388.jpg change filename to text .imagette214080311741927952/ imagette214080311741927952/1741927811_126347_1344071252_a7b627e168a6d73f9e34538a71e9fe40_rle_crop_3711471917_0.png.png imagette214080311741927952/1741927811_126347_1344071240_3eb76cf245226114f42a07542622fb0e_rle_crop_3711471937_0.png.png imagette214080311741927952/1741927811_126347_1344071252_a7b627e168a6d73f9e34538a71e9fe40_rle_crop_3711471924_0.png.png imagette214080311741927952/1741927811_126347_1344071231_5b175772aa4a71688e5223f0f3378854_rle_crop_3711472296_0.png.png imagette214080311741927952/1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711471969_0.png.png imagette214080311741927952/1741927792_126048_1344071343_25993627da6838d7eaee26be42fa2f4d_rle_crop_3711472029_0.png.png imagette214080311741927952/1741927811_126347_1344071233_a46f93bd07c8e6ddd22b826765a10a0a_rle_crop_3711471951_0.png.png imagette214080311741927952/1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711472309_0.png.png imagette214080311741927952/1741927811_126347_1344071349_d0285071791a07a4d05f0fc89343cfd0_rle_crop_3711472242_0.png.png imagette214080311741927952/1741927792_126048_1344071299_eab9908cc5d8875f6374ec2856d27473_rle_crop_3711472041_0.png.png imagette214080311741927952/1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_bib_crop_3711471967_0.jpg.jpg imagette214080311741927952/1741927811_126347_1344071240_3eb76cf245226114f42a07542622fb0e_rle_crop_3711471933_0.png.png imagette214080321741927952/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d3d9ee8879fb62e1e5e47ff0db523d52_57513694.png imagette214080311741927952 21408032 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=21408032 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214080321741927952 21408035 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=21408035 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344071479: '1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711471972_0.png'} change filename to text .imagette214080351741927952/ imagette214080351741927952/1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711471972_0.png.png imagette214080371741927952/ imagette214080381741927952/ imagette214080401741927953/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cd1c9cfd62633c06a70efc8e9c8ec71e_9381161.png imagette214080351741927952 21408037 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=21408037 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214080371741927952 21408038 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=21408038 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214080381741927952 21408040 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=21408040 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214080401741927953 21408033 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=21408033 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344071477: '1741927811_126347_1344071233_a46f93bd07c8e6ddd22b826765a10a0a_rle_crop_3711471952_0.png', 1344071478: '1741927811_126347_1344071233_a46f93bd07c8e6ddd22b826765a10a0a_rle_crop_3711471949_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/49d959b9861be9b62b30189bc2359f60_32824835.png change filename to text .imagette214080331741927953/ imagette214080331741927953/1741927811_126347_1344071233_a46f93bd07c8e6ddd22b826765a10a0a_rle_crop_3711471952_0.png.png imagette214080331741927953/1741927811_126347_1344071233_a46f93bd07c8e6ddd22b826765a10a0a_rle_crop_3711471949_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/49f1726ef1808bfff0df763b0285252f_77661740.png imagette214080331741927953 21408036 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=21408036 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344071439: '1741927792_126048_1344071299_eab9908cc5d8875f6374ec2856d27473_rle_crop_3711472043_0.png', 1344071440: '1741927792_126048_1344071299_eab9908cc5d8875f6374ec2856d27473_rle_crop_3711472040_0.png', 1344071474: '1741927811_126347_1344071252_a7b627e168a6d73f9e34538a71e9fe40_rle_crop_3711471918_0.png', 1344071475: '1741927811_126347_1344071240_3eb76cf245226114f42a07542622fb0e_rle_crop_3711471932_0.png', 1344071476: '1741927811_126347_1344071231_5b175772aa4a71688e5223f0f3378854_rle_crop_3711472293_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/85f8c7037cc05a9701b125b6cb60a698_21596490.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/fceab307aa0f6738d81eab562384bc96_44324836.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/43c80912aebdfc8a62cfc14d88769606_34215014.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/35bfb98dd7dd7c0cf7e1bcaea71e07f6_48686092.png change filename to text .imagette214080361741927953/ imagette214080361741927953/1741927792_126048_1344071299_eab9908cc5d8875f6374ec2856d27473_rle_crop_3711472043_0.png.png imagette214080361741927953/1741927792_126048_1344071299_eab9908cc5d8875f6374ec2856d27473_rle_crop_3711472040_0.png.png imagette214080361741927953/1741927811_126347_1344071240_3eb76cf245226114f42a07542622fb0e_rle_crop_3711471932_0.png.png imagette214080361741927953/1741927811_126347_1344071252_a7b627e168a6d73f9e34538a71e9fe40_rle_crop_3711471918_0.png.png imagette214080361741927953/1741927811_126347_1344071231_5b175772aa4a71688e5223f0f3378854_rle_crop_3711472293_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/aee644ea1b0bb848022a0704f3e0b59b_95485544.png imagette214080361741927953 21408041 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=21408041 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344071461: '1741927811_126347_1344071349_d0285071791a07a4d05f0fc89343cfd0_rle_crop_3711472241_0.png', 1344071462: '1741927811_126347_1344071231_5b175772aa4a71688e5223f0f3378854_rle_crop_3711472305_0.png', 1344071463: '1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711471974_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/1713656a70aa5e11c123fb55f8262bb8_55207834.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d8b2fa11792f83fa58a70fa68d500439_95834039.png change filename to text .imagette214080411741927953/ imagette214080411741927953/1741927811_126347_1344071349_d0285071791a07a4d05f0fc89343cfd0_rle_crop_3711472241_0.png.png imagette214080411741927953/1741927811_126347_1344071230_c6075f342ad90ffe447d65538d9b9d38_rle_crop_3711471974_0.png.png imagette214080411741927953/1741927811_126347_1344071231_5b175772aa4a71688e5223f0f3378854_rle_crop_3711472305_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/7c74971a252380033ab34a93b2c7313e_82623551.png imagette214080411741927953 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21408005 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21408043,21408044,21408045,21408046,21408047,21408048,21408049,21408050,21408051,21408052,21408053,21408054?tags=kraft,autre_refus,cartonnette,Carton_brun,papier,plastique,Carton_gris,flou,mal_croppe,environnement,metal,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1344071516] : ('0.08205674897491973',) no score found for photo 1344071516 We are sending mail with results at report@fotonower.com args[1344071512] : ('0.08205674897491973',) no score found for photo 1344071512 We are sending mail with results at report@fotonower.com args[1344071510] : ('0.08205674897491973',) no score found for photo 1344071510 We are sending mail with results at report@fotonower.com args[1344071508] : ('0.08205674897491973',) no score found for photo 1344071508 We are sending mail with results at report@fotonower.com args[1344071505] : ('0.08205674897491973',) no score found for photo 1344071505 We are sending mail with results at report@fotonower.com args[1344071502] : ('0.08205674897491973',) no score found for photo 1344071502 We are sending mail with results at report@fotonower.com args[1344071499] : ('0.08205674897491973',) no score found for photo 1344071499 We are sending mail with results at report@fotonower.com args[1344071492] : ('0.08205674897491973',) no score found for photo 1344071492 We are sending mail with results at report@fotonower.com args[1344071490] : ('0.08205674897491973',) no score found for photo 1344071490 We are sending mail with results at report@fotonower.com args[1344071486] : ('0.08205674897491973',) no score found for photo 1344071486 We are sending mail with results at report@fotonower.com args[1344071412] : ('0.08205674897491973',) no score found for photo 1344071412 We are sending mail with results at report@fotonower.com args[1344071409] : ('0.08205674897491973',) no score found for photo 1344071409 We are sending mail with results at report@fotonower.com args[1344071404] : ('0.08205674897491973',) no score found for photo 1344071404 We are sending mail with results at report@fotonower.com args[1344071401] : ('0.08205674897491973',) no score found for photo 1344071401 We are sending mail with results at report@fotonower.com args[1344071390] : ('0.08205674897491973',) no score found for photo 1344071390 We are sending mail with results at report@fotonower.com args[1344071389] : ('0.08205674897491973',) no score found for photo 1344071389 We are sending mail with results at report@fotonower.com args[1344071387] : ('0.08205674897491973',) no score found for photo 1344071387 We are sending mail with results at report@fotonower.com args[1344071386] : ('0.08205674897491973',) no score found for photo 1344071386 We are sending mail with results at report@fotonower.com args[1344071383] : ('0.08205674897491973',) no score found for photo 1344071383 We are sending mail with results at report@fotonower.com args[1344071381] : ('0.08205674897491973',) no score found for photo 1344071381 We are sending mail with results at report@fotonower.com args[1344071380] : ('0.08205674897491973',) no score found for photo 1344071380 We are sending mail with results at report@fotonower.com args[1344071378] : ('0.08205674897491973',) no score found for photo 1344071378 We are sending mail with results at report@fotonower.com args[1344071377] : ('0.08205674897491973',) no score found for photo 1344071377 We are sending mail with results at report@fotonower.com args[1344071375] : ('0.08205674897491973',) no score found for photo 1344071375 We are sending mail with results at report@fotonower.com args[1344071373] : ('0.08205674897491973',) no score found for photo 1344071373 We are sending mail with results at report@fotonower.com args[1344071372] : ('0.08205674897491973',) no score found for photo 1344071372 We are sending mail with results at report@fotonower.com refus_total : 0.08205674897491973 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=21408005 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_P21408005_14-03-2025_05_52_32.pdf results_Auto_P21408005_14-03-2025_05_52_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21408005_14-03-2025_05_52_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21408005','results_Auto_P21408005_14-03-2025_05_52_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21408005_14-03-2025_05_52_32.pdf','pdf','','0.28','0.08205674897491973') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21408005]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] map_info['map_portfolio_photo'] : {21408005: [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372, 1344071349, 1344071346, 1344071343, 1344071299, 1344071252, 1344071240, 1344071233, 1344071231, 1344071230]} final : False mtd_id 4302 list_pids : [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] 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, '2667813') ('4302', '21408005', '1344071516', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 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', '21408005', '1344071516', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813')] time used for this insertion : 0.8606886863708496 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.767404794692993 time spend to save output : 0.8611266613006592 total time spend for step 4 : 4.628531455993652 step5:split_time_score Fri Mar 14 05:52:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21408005'] 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 : [('21408005',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21408005) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1344071512: {'path': 'temp/1741927951_2213506_1344071512_b415a42501b7105142caf8ebb5189059.jpg', 'extension': 'jpg'}, 1344071516: {'path': 'temp/1741927951_2213506_1344071516_bf5b56f9070a2bce456f9136c57d9f3a.jpg', 'extension': 'jpg'}, 1344071492: {'path': 'temp/1741927951_2213506_1344071492_ba47b94bb43446a5e34ed66e7778036b.jpg', 'extension': 'jpg'}, 1344071499: {'path': 'temp/1741927951_2213506_1344071499_2fe896d5a7f9992fe78c4e7dbc112117.jpg', 'extension': 'jpg'}, 1344071502: {'path': 'temp/1741927951_2213506_1344071502_f70beb5cdfdb91f8c5b8f089e577154a.jpg', 'extension': 'jpg'}, 1344071505: {'path': 'temp/1741927951_2213506_1344071505_f275c175265f26bb2cc196ce5dfb8631.jpg', 'extension': 'jpg'}, 1344071508: {'path': 'temp/1741927951_2213506_1344071508_d410f37f075995d16e8416b59d99d2b8.jpg', 'extension': 'jpg'}, 1344071510: {'path': 'temp/1741927951_2213506_1344071510_619ae2c9b15d74ca72d359a35f26fd77.jpg', 'extension': 'jpg'}, 1344071372: {'path': 'temp/1741927951_2213506_1344071372_d3e768b58e83a79144629d63d66b091b.jpg', 'extension': 'jpg'}, 1344071373: {'path': 'temp/1741927951_2213506_1344071373_06e831ed6b1ac3cca504dc66f18ebfc9.jpg', 'extension': 'jpg'}, 1344071375: {'path': 'temp/1741927951_2213506_1344071375_83d714997292e6fea9cba39bf80ebed8.jpg', 'extension': 'jpg'}, 1344071377: {'path': 'temp/1741927951_2213506_1344071377_b5e0c60242a0f85e5f4462a4bf595f99.jpg', 'extension': 'jpg'}, 1344071378: {'path': 'temp/1741927951_2213506_1344071378_902f1d237906f1fa188531432da93e80.jpg', 'extension': 'jpg'}, 1344071380: {'path': 'temp/1741927951_2213506_1344071380_f1de9f5d8a36d7ac51ad68d53dab7415.jpg', 'extension': 'jpg'}, 1344071381: {'path': 'temp/1741927951_2213506_1344071381_ea0b120607c6014a14bafcf48d9d2f40.jpg', 'extension': 'jpg'}, 1344071383: {'path': 'temp/1741927951_2213506_1344071383_dbf208623c464a3eda5f187f80149ffb.jpg', 'extension': 'jpg'}, 1344071386: {'path': 'temp/1741927951_2213506_1344071386_ab8109dca1463d7d130b73df60905afa.jpg', 'extension': 'jpg'}, 1344071387: {'path': 'temp/1741927951_2213506_1344071387_16c9301d80d1478704f7c13812234152.jpg', 'extension': 'jpg'}, 1344071389: {'path': 'temp/1741927951_2213506_1344071389_cf42aa4c04a0aa69d491afcb71f17e37.jpg', 'extension': 'jpg'}, 1344071390: {'path': 'temp/1741927951_2213506_1344071390_e5c654ee962c950c6272f8586be25ec9.jpg', 'extension': 'jpg'}, 1344071401: {'path': 'temp/1741927951_2213506_1344071401_4053c4a6c7e931586dcd1f6af35ecc9f.jpg', 'extension': 'jpg'}, 1344071404: {'path': 'temp/1741927951_2213506_1344071404_02c00a9ce441b7026df1fa0ebfc7a7ce.jpg', 'extension': 'jpg'}, 1344071409: {'path': 'temp/1741927951_2213506_1344071409_4d580b1b9682a945da4f0a495844fdf7.jpg', 'extension': 'jpg'}, 1344071412: {'path': 'temp/1741927951_2213506_1344071412_6c6430aa064bfb5ead31db993ad8ac87.jpg', 'extension': 'jpg'}, 1344071486: {'path': 'temp/1741927951_2213506_1344071486_3093002aa32e2ed0f69c2bc3bb199351.jpg', 'extension': 'jpg'}, 1344071490: {'path': 'temp/1741927951_2213506_1344071490_19e10614f0c983e808123ad57152ff12.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 = 21408005; (('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 = 21408005 group by h (('05', 35),) 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=21408005 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 (21408005) 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 (21408005) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14032025 21408005 Nombre de photos uploadées : 35 / 23040 (0%) 14032025 21408005 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 14032025 21408005 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1344071252, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a7b627e168a6d73f9e34538a71e9fe40.jpg', 'username': None, 'uploaded_at': 1741927610, 'text': 'image_14032025_05_45_04_010156m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1344071240, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3eb76cf245226114f42a07542622fb0e.jpg', 'username': None, 'uploaded_at': 1741927610, 'text': 'image_14032025_05_45_14_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1344071233, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a46f93bd07c8e6ddd22b826765a10a0a.jpg', 'username': None, 'uploaded_at': 1741927610, 'text': 'image_14032025_05_45_24_010141m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1344071231, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5b175772aa4a71688e5223f0f3378854.jpg', 'username': None, 'uploaded_at': 1741927610, 'text': 'image_14032025_05_45_34_010140m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016341209411621094 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21408005, '2025-03-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1667162,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.07826066017150879 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= 1667162 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1667162, 'dashboard_run_id': 1675356, 'mtr_portfolio_id': 21407147, 'dashboard_result_id': 9434402, '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_P21407147_14-03-2025_05_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21407149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21407150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21407151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21407152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21407153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21407154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21407155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21407156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21407157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21407158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21407159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21407160, 'pht': 3726}}"}, {'dashboat_entry_day': 1667162, 'dashboard_run_id': 1675356, 'mtr_portfolio_id': 21407623, 'dashboard_result_id': 9434403, '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_P21407623_14-03-2025_05_48_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21407624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21407625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21407626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21407627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21407628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21407629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21407630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21407631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21407632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21407633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21407634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21407635, 'pht': 3726}}"}, {'dashboat_entry_day': 1667162, 'dashboard_run_id': 1675356, 'mtr_portfolio_id': 21408005, 'dashboard_result_id': 9434404, '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_P21408005_14-03-2025_05_49_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21408030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21408031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21408032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21408033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21408034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21408035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21408036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21408037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21408038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21408039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21408040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21408041, '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 = 21407147 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': 2667683, 'mtr_portfolio_id': 21407147, 'created_at': datetime.datetime(2025, 3, 14, 5, 32, 59), 'result': '0.0821869950137501', 'result_long': None, 'result_double': None}] Qualite : 0.0821869950137501 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21407147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21407147_14-03-2025_05_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21407147 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_P21407147_14-03-2025_05_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21407149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21407150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21407151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21407152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21407153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21407154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21407155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21407156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21407157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21407158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21407159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21407160, 'pht': 3726}}" where mtr_portfolio_id = 21407147 and dashboard_run_id = 1675356 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`=21407147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9434402, 0.0821869950137501, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21407147_14-03-2025_05_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21407149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21407150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21407151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21407152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21407153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21407154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21407155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21407156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21407157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21407158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21407159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21407160, '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 = 21407623 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': 2667781, 'mtr_portfolio_id': 21407623, 'created_at': datetime.datetime(2025, 3, 14, 5, 49, 28), 'result': '0.08840920375899149', 'result_long': None, 'result_double': None}] Qualite : 0.08840920375899149 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21407623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21407623_14-03-2025_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21407623 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_P21407623_14-03-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21407624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21407625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21407626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21407627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21407628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21407629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21407630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21407631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21407632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21407633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21407634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21407635, 'pht': 3726}}" where mtr_portfolio_id = 21407623 and dashboard_run_id = 1675356 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`=21407623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9434403, 0.08840920375899149, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21407623_14-03-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21407624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21407625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21407626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21407627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21407628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21407629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21407630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21407631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21407632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21407633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21407634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21407635, '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 = 21408005 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': 2667813, 'mtr_portfolio_id': 21408005, 'created_at': datetime.datetime(2025, 3, 14, 5, 52, 31), 'result': '0.08205674897491973', 'result_long': None, 'result_double': None}] Qualite : 0.08205674897491973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21408005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21408005_14-03-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21408005 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_P21408005_14-03-2025_05_52_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21408030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21408031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21408032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21408033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21408034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21408035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21408036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21408037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21408038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21408039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21408040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21408041, 'pht': 3726}}" where mtr_portfolio_id = 21408005 and dashboard_run_id = 1675356 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`=21408005 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9434404, 0.08205674897491973, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21408005_14-03-2025_05_52_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21408030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21408031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21408032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21408033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21408034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21408035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21408036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21408037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21408038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21408039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21408040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21408041, '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 (21407147,21407623,21408005) result : ((1344069604,), (1344069608,), (1344069610,), (1344069634,), (1344069638,), (1344069651,), (1344069655,), (1344069656,), (1344069659,), (1344069724,), (1344069726,), (1344069728,), (1344069731,), (1344069766,), (1344069781,), (1344069797,), (1344069798,), (1344069799,), (1344069821,), (1344069827,), (1344069830,), (1344069831,), (1344069832,), (1344069836,), (1344069840,), (1344069854,), (1344069857,), (1344069859,), (1344069862,), (1344069868,), (1344069885,), (1344069886,), (1344069890,), (1344069898,), (1344069971,), (1344069974,), (1344069978,), (1344069983,), (1344069989,), (1344069995,), (1344070055,), (1344070061,), (1344070066,), (1344070069,), (1344070133,), (1344070136,), (1344070138,), (1344070141,), (1344070145,), (1344070175,), (1344070177,), (1344070179,), (1344070181,), (1344070198,), (1344070204,), (1344070219,), (1344070223,), (1344070227,), (1344070229,), (1344070259,), (1344070273,), (1344070277,), (1344070288,), (1344070300,), (1344070304,), (1344070327,), (1344070332,), (1344070335,), (1344070337,), (1344070339,), (1344070380,), (1344070388,), (1344070399,), (1344070401,), (1344070402,), (1344070406,), (1344070439,), (1344070430,), (1344070433,), (1344070436,), (1344070499,), (1344070503,), (1344070507,), (1344070510,), (1344070513,), (1344070516,), (1344070539,), (1344070581,), (1344070585,), (1344070587,), (1344070589,), (1344070592,), (1344070594,), (1344070601,), (1344070604,), (1344070609,), (1344070622,), (1344070679,), (1344070680,), (1344070681,), (1344070682,), (1344070684,), (1344070685,), (1344070687,), (1344070689,), (1344070700,), (1344070709,), (1344070710,), (1344070712,), (1344070716,), (1344070723,), (1344070726,), (1344070728,), (1344070731,), (1344070734,), (1344070736,), (1344070738,), (1344070740,), (1344070773,), (1344070776,), (1344070789,), (1344070799,), (1344070812,), (1344070817,), (1344070838,), (1344070840,), (1344070843,), (1344070848,), (1344070850,), (1344070853,), (1344070855,), (1344070872,), (1344070879,), (1344070888,), (1344070891,), (1344070893,), (1344070965,), (1344070969,), (1344070974,), (1344070978,), (1344070980,), (1344070982,), (1344071033,), (1344071069,), (1344071072,), (1344071073,), (1344071100,), (1344071104,), (1344071107,), (1344071112,), (1344071113,), (1344071116,), (1344071140,), (1344071146,), (1344071150,), (1344071155,), (1344071156,), (1344071202,), (1344071205,), (1344071246,), (1344071255,), (1344071257,), (1344071258,), (1344071353,), (1344071356,), (1344071413,), (1344071428,), (1344071444,), (1344071447,), (1344071450,), (1344071453,), (1344071456,), (1344071519,), (1344071230,), (1344071231,), (1344071233,), (1344071240,), (1344071252,), (1344071299,), (1344071343,), (1344071346,), (1344071349,), (1344071372,), (1344071373,), (1344071375,), (1344071377,), (1344071378,), (1344071380,), (1344071381,), (1344071383,), (1344071386,), (1344071387,), (1344071389,), (1344071390,), (1344071401,), (1344071404,), (1344071409,), (1344071412,), (1344071486,), (1344071490,), (1344071492,), (1344071499,), (1344071502,), (1344071505,), (1344071508,), (1344071510,), (1344071512,), (1344071516,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 35, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21408005]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] map_info['map_portfolio_photo'] : {21408005: [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372, 1344071349, 1344071346, 1344071343, 1344071299, 1344071252, 1344071240, 1344071233, 1344071231, 1344071230]} final : True mtd_id 4302 list_pids : [1344071516, 1344071512, 1344071510, 1344071508, 1344071505, 1344071502, 1344071499, 1344071492, 1344071490, 1344071486, 1344071412, 1344071409, 1344071404, 1344071401, 1344071390, 1344071389, 1344071387, 1344071386, 1344071383, 1344071381, 1344071380, 1344071378, 1344071377, 1344071375, 1344071373, 1344071372] Looping around the photos to save general results len do output : 1 /21408005Didn'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, '2667813') ('4302', '21408005', '1344071516', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813') ('4302', None, None, None, None, None, None, None, '2667813') ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21408005', 'None', None, None, None, None, '2667813'), ('4302', '21408005', '1344071516', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071512', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071510', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071508', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071505', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071502', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071499', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071492', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071490', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071486', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071412', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071409', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071404', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071401', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071390', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071389', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071387', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071386', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071383', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071381', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071380', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071378', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071377', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071375', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071373', None, None, None, None, None, '2667813'), ('4302', '21408005', '1344071372', None, None, None, None, None, '2667813')] time used for this insertion : 0.32658958435058594 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.41136693954467773 time spend to save output : 0.32703208923339844 total time spend for step 5 : 0.7383990287780762 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 (2667813) 2.65user 2.14system 0:11.95elapsed 40%CPU (0avgtext+0avgdata 165220maxresident)k 128inputs+18336outputs (1major+80672minor)pagefaults 0swaps