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 : 3132726 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 (2616504) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2616504) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844521 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2616504'] with mtr_portfolio_ids : ['20844521'] and first list_photo_ids : [] new path : /proc/3132726/ Name: python3 Umask: 0002 State: R (running) Tgid: 3132726 Ngid: 0 Pid: 3132726 PPid: 3132725 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3132726 NSpid: 3132726 NSpgid: 3129092 NSsid: 3129092 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97724 kB VmRSS: 97724 kB RssAnon: 59760 kB RssFile: 37964 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 97 nonvoluntary_ctxt_switches: 171 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3132726', 'Ngid': '0', 'Pid': '3132726', 'PPid': '3132725', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3132726', 'NSpid': '3132726', 'NSpgid': '3129092', 'NSsid': '3129092', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97724 kB', 'VmRSS': '97724 kB', 'RssAnon': '59760 kB', 'RssFile': '37964 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '97', 'nonvoluntary_ctxt_switches': '171'} ('datou_batch_current', '3132726', '1106844', '0', '1106844', '865592', '97724', b'', 'marlene', '2616504') 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 (20844521) 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 (2616504 ) ) 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 (20844521) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339743092, 'portfolio_id': 20844521}, {'photo_id': 1339743089, 'portfolio_id': 20844521}, {'photo_id': 1339743085, 'portfolio_id': 20844521}, {'photo_id': 1339743081, 'portfolio_id': 20844521}, {'photo_id': 1339743076, 'portfolio_id': 20844521}, {'photo_id': 1339743070, 'portfolio_id': 20844521}, {'photo_id': 1339743044, 'portfolio_id': 20844521}, {'photo_id': 1339743040, 'portfolio_id': 20844521}, {'photo_id': 1339743036, 'portfolio_id': 20844521}, {'photo_id': 1339743031, 'portfolio_id': 20844521}, {'photo_id': 1339743026, 'portfolio_id': 20844521}, {'photo_id': 1339742916, 'portfolio_id': 20844521}, {'photo_id': 1339742912, 'portfolio_id': 20844521}, {'photo_id': 1339742902, 'portfolio_id': 20844521}, {'photo_id': 1339742880, 'portfolio_id': 20844521}, {'photo_id': 1339742874, 'portfolio_id': 20844521}, {'photo_id': 1339742859, 'portfolio_id': 20844521}, {'photo_id': 1339742817, 'portfolio_id': 20844521}, {'photo_id': 1339742813, 'portfolio_id': 20844521}, {'photo_id': 1339742810, 'portfolio_id': 20844521}, {'photo_id': 1339742806, 'portfolio_id': 20844521}, {'photo_id': 1339742801, 'portfolio_id': 20844521}, {'photo_id': 1339742778, 'portfolio_id': 20844521}, {'photo_id': 1339742774, 'portfolio_id': 20844521}, {'photo_id': 1339742770, 'portfolio_id': 20844521}, {'photo_id': 1339742765, 'portfolio_id': 20844521}, {'photo_id': 1339742759, 'portfolio_id': 20844521}, {'photo_id': 1339742734, 'portfolio_id': 20844521}, {'photo_id': 1339742726, 'portfolio_id': 20844521}, {'photo_id': 1339742722, 'portfolio_id': 20844521}, {'photo_id': 1339742718, 'portfolio_id': 20844521}, {'photo_id': 1339742714, 'portfolio_id': 20844521}, {'photo_id': 1339742710, 'portfolio_id': 20844521}, {'photo_id': 1339742606, 'portfolio_id': 20844521}, {'photo_id': 1339742603, 'portfolio_id': 20844521}, {'photo_id': 1339742525, 'portfolio_id': 20844521}] map_portfolio_id_photo_id: {20844521: [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801, 1339742778, 1339742774, 1339742770, 1339742765, 1339742759, 1339742734, 1339742726, 1339742722, 1339742718, 1339742714, 1339742710, 1339742606, 1339742603, 1339742525]} ##### 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.015091419219970703 #### 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 Wed Feb 26 15:38:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20844521) 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 : 20844521 get user id for portfolio 20844521 get sub ptf for main ptf 20844521, type 3726 and hashtags ['papier', 'Carton_gris', 'mal_croppe', 'Carton_brun', 'metal', 'Teint_Dans_La_Masse', 'autre_refus', 'kraft', 'cartonnette', 'flou', 'environnement', 'plastique'] 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`=20844521 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','mal_croppe','Carton_brun','metal','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','flou','environnement','plastique')) 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`=20844521 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','mal_croppe','Carton_brun','metal','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','flou','environnement','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20844521, 'sub_port_id': 20844522, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478382, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'Carton_brun': {'main_port_id': 20844521, 'sub_port_id': 20844523, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478383, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'metal': {'main_port_id': 20844521, 'sub_port_id': 20844524, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478384, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'cartonnette': {'main_port_id': 20844521, 'sub_port_id': 20844525, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478385, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'environnement': {'main_port_id': 20844521, 'sub_port_id': 20844526, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478386, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'mal_croppe': {'main_port_id': 20844521, 'sub_port_id': 20844527, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478387, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'flou': {'main_port_id': 20844521, 'sub_port_id': 20844528, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478388, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'kraft': {'main_port_id': 20844521, 'sub_port_id': 20844529, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478389, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'Carton_gris': {'main_port_id': 20844521, 'sub_port_id': 20844530, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478390, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'plastique': {'main_port_id': 20844521, 'sub_port_id': 20844531, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478391, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'autre_refus': {'main_port_id': 20844521, 'sub_port_id': 20844532, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478392, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}, 'papier': {'main_port_id': 20844521, 'sub_port_id': 20844533, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478393, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 1)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20844522 , 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=20844521 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 (20844522) result : ((1339742836,), (1339742838,), (1339743056,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844523 , 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=20844521 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 (20844523) result : ((1339742839,), (1339742840,), (1339742841,), (1339742843,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844524 , 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=20844521 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 (20844524) result : ((1339742849,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844525 , 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=20844521 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 (20844525) result : ((1339742835,), (1339742837,), (1339743125,), (1339743126,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844526 , 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=20844521 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 (20844526) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844527 , 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=20844521 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 (20844527) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844528 , 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=20844521 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 (20844528) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844529 , 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=20844521 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 (20844529) result : ((1339742848,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844530 , 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=20844521 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 (20844530) result : ((1339742829,), (1339742830,), (1339742831,), (1339742832,), (1339742833,), (1339742834,), (1339743123,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844531 , 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=20844521 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 (20844531) result : ((1339742847,), (1339743127,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844532 , 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=20844521 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 (20844532) result : ((1339743059,), (1339743060,), (1339743061,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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 20844533 , 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=20844521 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 (20844533) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20844521) result : ((1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) 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`=20844521 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','mal_croppe','Carton_brun','metal','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','flou','environnement','plastique')) 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`=20844521 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','mal_croppe','Carton_brun','metal','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','flou','environnement','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20844521, 'sub_port_id': 20844534, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478394, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'Carton_brun': {'main_port_id': 20844521, 'sub_port_id': 20844535, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478395, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'metal': {'main_port_id': 20844521, 'sub_port_id': 20844536, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478396, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'cartonnette': {'main_port_id': 20844521, 'sub_port_id': 20844537, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478397, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'environnement': {'main_port_id': 20844521, 'sub_port_id': 20844538, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478398, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'mal_croppe': {'main_port_id': 20844521, 'sub_port_id': 20844539, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478399, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'flou': {'main_port_id': 20844521, 'sub_port_id': 20844540, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478400, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'kraft': {'main_port_id': 20844521, 'sub_port_id': 20844541, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478401, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'Carton_gris': {'main_port_id': 20844521, 'sub_port_id': 20844542, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478402, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'plastique': {'main_port_id': 20844521, 'sub_port_id': 20844543, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478403, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'autre_refus': {'main_port_id': 20844521, 'sub_port_id': 20844544, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478404, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}, 'papier': {'main_port_id': 20844521, 'sub_port_id': 20844545, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13478405, 'last_updated_at': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 15, 35, 3), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 15, 35, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844534,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844522 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844535,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844523 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844536,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844524 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844537,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844525 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844538,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844526 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844539,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844527 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844540,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844528 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844541,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844529 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844542,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844530 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844543,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844531 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844544,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844532 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20844545,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20844533 lien utilise dans velours : https://www.fotonower.com/velours/20844534,20844535,20844536,20844537,20844538,20844539,20844540,20844541,20844542,20844543,20844544,20844545?tags=Teint_Dans_La_Masse,Carton_brun,metal,cartonnette,environnement,mal_croppe,flou,kraft,Carton_gris,plastique,autre_refus,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20844521]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] map_info['map_portfolio_photo'] : {20844521: [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801, 1339742778, 1339742774, 1339742770, 1339742765, 1339742759, 1339742734, 1339742726, 1339742722, 1339742718, 1339742714, 1339742710, 1339742606, 1339742603, 1339742525]} final : False mtd_id 4302 list_pids : [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] Looping around the photos to save general results len do output : 1 /20844521. 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, '2616504') ('4302', '20844521', '1339743092', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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, '20844521', "{'Teint_Dans_La_Masse': 20844522, 'Carton_brun': 20844523, 'metal': 20844524, 'cartonnette': 20844525, 'environnement': 20844526, 'mal_croppe': 20844527, 'flou': 20844528, 'kraft': 20844529, 'Carton_gris': 20844530, 'plastique': 20844531, 'autre_refus': 20844532, 'papier': 20844533}", None, None, None, None, '2616504'), ('4302', '20844521', '1339743092', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504')] time used for this insertion : 0.015918254852294922 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4956114292144775 time spend to save output : 0.016782283782958984 total time spend for step 1 : 1.5123937129974365 step2:final Wed Feb 26 15:38:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (20844521) 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 20844521 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339742606,1339742603,1339742525,1339742734,1339742726,1339742722,1339742718,1339742714,1339742710,1339742778,1339742774,1339742770,1339742765,1339742759,1339742817,1339742813,1339742810,1339742806,1339742801,1339742916,1339742912,1339742902,1339742880,1339742874,1339742859,1339743044,1339743040,1339743036,1339743031,1339743026,1339743092,1339743089,1339743085,1339743081,1339743076,1339743070); 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([20844521]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} new output for save of step final : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] map_info['map_portfolio_photo'] : {20844521: [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801, 1339742778, 1339742774, 1339742770, 1339742765, 1339742759, 1339742734, 1339742726, 1339742722, 1339742718, 1339742714, 1339742710, 1339742606, 1339742603, 1339742525]} final : False mtd_id 4302 list_pids : [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] Looping around the photos to save general results len do output : 22 /1339743092.Didn't retrieve data . /1339743089.Didn't retrieve data . /1339743085.Didn't retrieve data . /1339743081.Didn't retrieve data . /1339743076.Didn't retrieve data . /1339743070.Didn't retrieve data . /1339743044.Didn't retrieve data . /1339743040.Didn't retrieve data . /1339743036.Didn't retrieve data . /1339743031.Didn't retrieve data . /1339743026.Didn't retrieve data . /1339742916.Didn't retrieve data . /1339742912.Didn't retrieve data . /1339742902.Didn't retrieve data . /1339742880.Didn't retrieve data . /1339742874.Didn't retrieve data . /1339742859.Didn't retrieve data . /1339742817.Didn't retrieve data . /1339742813.Didn't retrieve data . /1339742810.Didn't retrieve data . /1339742806.Didn't retrieve data . /1339742801.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, '2616504') ('4302', '20844521', '1339743092', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 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', '20844521', '1339743092', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743089', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743085', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743081', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743076', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743070', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743044', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743040', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743036', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743031', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339743026', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742916', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742912', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742902', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742880', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742874', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742859', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742817', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742813', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742810', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742806', '0.09364012507663044', None, None, None, None, '2616504'), ('4302', '20844521', '1339742801', '0.09364012507663044', None, None, None, None, '2616504')] time used for this insertion : 0.015630722045898438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06717658042907715 time spend to save output : 0.016683340072631836 total time spend for step 2 : 0.08385992050170898 step3:velours_tree Wed Feb 26 15:38:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20844521: [{'Teint_Dans_La_Masse': 20844522, 'Carton_brun': 20844523, 'metal': 20844524, 'cartonnette': 20844525, 'environnement': 20844526, 'mal_croppe': 20844527, 'flou': 20844528, 'kraft': 20844529, 'Carton_gris': 20844530, 'plastique': 20844531, 'autre_refus': 20844532, 'papier': 20844533}]} input_args_next_step : {20844521: ()} output_args : {20844521: [{'Teint_Dans_La_Masse': 20844522, 'Carton_brun': 20844523, 'metal': 20844524, 'cartonnette': 20844525, 'environnement': 20844526, 'mal_croppe': 20844527, 'flou': 20844528, 'kraft': 20844529, 'Carton_gris': 20844530, 'plastique': 20844531, 'autre_refus': 20844532, 'papier': 20844533}]} args : 20844521 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 : ({'Teint_Dans_La_Masse': 20844522, 'Carton_brun': 20844523, 'metal': 20844524, 'cartonnette': 20844525, 'environnement': 20844526, 'mal_croppe': 20844527, 'flou': 20844528, 'kraft': 20844529, 'Carton_gris': 20844530, 'plastique': 20844531, 'autre_refus': 20844532, 'papier': 20844533},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20844521) 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([20844521]) 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.43040013313293457 time spend to save output : 8.726119995117188e-05 total time spend for step 3 : 0.43048739433288574 step4:send_mail_cod Wed Feb 26 15:39:00 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 : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} input_args_next_step : {1339743092: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743092 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743089 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743085 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743081 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743076 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743070 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743044 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743040 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743036 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743031 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339743026 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742916 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742912 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742902 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742880 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742874 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742859 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742817 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742813 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742810 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742806 depend.output_id : 0 input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ()} output_args : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',)} args : 1339742801 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 : {20844521: [{'Teint_Dans_La_Masse': 20844522, 'Carton_brun': 20844523, 'metal': 20844524, 'cartonnette': 20844525, 'environnement': 20844526, 'mal_croppe': 20844527, 'flou': 20844528, 'kraft': 20844529, 'Carton_gris': 20844530, 'plastique': 20844531, 'autre_refus': 20844532, 'papier': 20844533}]} input_args_next_step : {1339743092: ('0.09364012507663044',), 1339743089: ('0.09364012507663044',), 1339743085: ('0.09364012507663044',), 1339743081: ('0.09364012507663044',), 1339743076: ('0.09364012507663044',), 1339743070: ('0.09364012507663044',), 1339743044: ('0.09364012507663044',), 1339743040: ('0.09364012507663044',), 1339743036: ('0.09364012507663044',), 1339743031: ('0.09364012507663044',), 1339743026: ('0.09364012507663044',), 1339742916: ('0.09364012507663044',), 1339742912: ('0.09364012507663044',), 1339742902: ('0.09364012507663044',), 1339742880: ('0.09364012507663044',), 1339742874: ('0.09364012507663044',), 1339742859: ('0.09364012507663044',), 1339742817: ('0.09364012507663044',), 1339742813: ('0.09364012507663044',), 1339742810: ('0.09364012507663044',), 1339742806: ('0.09364012507663044',), 1339742801: ('0.09364012507663044',), 20844521: ()} output_args : {20844521: [{'Teint_Dans_La_Masse': 20844522, 'Carton_brun': 20844523, 'metal': 20844524, 'cartonnette': 20844525, 'environnement': 20844526, 'mal_croppe': 20844527, 'flou': 20844528, 'kraft': 20844529, 'Carton_gris': 20844530, 'plastique': 20844531, 'autre_refus': 20844532, 'papier': 20844533}]} args : 20844521 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 :23, first value : ('0.09364012507663044',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20844521) 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 (1339743092,1339743089,1339743085,1339743081,1339743076,1339743070,1339743044,1339743040,1339743036,1339743031,1339743026,1339742916,1339742912,1339742902,1339742880,1339742874,1339742859,1339742817,1339742813,1339742810,1339742806,1339742801) Found this number of photos: 22 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339742801 begin to download photo : 1339742859 begin to download photo : 1339742916 begin to download photo : 1339743044 begin to download photo : 1339743089 download finish for photo 1339743089 begin to download photo : 1339743092 download finish for photo 1339742801 begin to download photo : 1339742806 download finish for photo 1339742859 begin to download photo : 1339742874 download finish for photo 1339742916 begin to download photo : 1339743026 download finish for photo 1339743044 begin to download photo : 1339743070 download finish for photo 1339742806 begin to download photo : 1339742810 download finish for photo 1339743026 begin to download photo : 1339743031 download finish for photo 1339743092 download finish for photo 1339743031 begin to download photo : 1339743036 download finish for photo 1339743070 begin to download photo : 1339743076 download finish for photo 1339742810 begin to download photo : 1339742813 download finish for photo 1339742874 begin to download photo : 1339742880 download finish for photo 1339742813 begin to download photo : 1339742817 download finish for photo 1339743036 begin to download photo : 1339743040 download finish for photo 1339742880 begin to download photo : 1339742902 download finish for photo 1339743076 begin to download photo : 1339743081 download finish for photo 1339742817 download finish for photo 1339742902 begin to download photo : 1339742912 download finish for photo 1339743040 download finish for photo 1339743081 begin to download photo : 1339743085 download finish for photo 1339742912 download finish for photo 1339743085 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 22 ; length of list_pids : 22 ; length of list_args : 22 results_Auto_P20844521_26-02-2025_15_39_00.pdf 20844524 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=20844524 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742849: '1740580452_3363068_1339742726_ca157aa44a916d8a72a6e629a691b242_rle_crop_3687595727_0.png'} change filename to text .imagette208445241740580740/ imagette208445241740580740/1740580452_3363068_1339742726_ca157aa44a916d8a72a6e629a691b242_rle_crop_3687595727_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b13d6b9e9e17573fb8ad595eb630c9eb_36460461.png imagette208445241740580740 20844525 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=20844525 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742835: '1740580452_3363068_1339742718_a068aa870f33c20ef403a1f04c7c4ffa_rle_crop_3687595793_0.png', 1339742837: '1740580452_3363068_1339742714_7c47ef2805715fc3de9330cec52f17c3_rle_crop_3687595813_0.png', 1339743125: '1740580693_3366095_1339743040_4c6642c2d6abf9370f0427b0a16dec38_rle_crop_3687598760_0.png', 1339743126: '1740580693_3366095_1339743040_4c6642c2d6abf9370f0427b0a16dec38_rle_crop_3687598768_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/76da761be16bd83aa8cd78fdf07df810_69309497.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/acd92b618821d64bd4a144290fa4bd1e_44341347.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/892bd19000064f757adf6928ddb79b3c_99957882.png change filename to text .imagette208445251740580740/ imagette208445251740580740/1740580452_3363068_1339742718_a068aa870f33c20ef403a1f04c7c4ffa_rle_crop_3687595793_0.png.png imagette208445251740580740/1740580693_3366095_1339743040_4c6642c2d6abf9370f0427b0a16dec38_rle_crop_3687598768_0.png.png imagette208445251740580740/1740580693_3366095_1339743040_4c6642c2d6abf9370f0427b0a16dec38_rle_crop_3687598760_0.png.png imagette208445251740580740/1740580452_3363068_1339742714_7c47ef2805715fc3de9330cec52f17c3_rle_crop_3687595813_0.png.png imagette208445271740580741/ imagette208445281740580741/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8e3ffc40ee660298d1fc3b497c67fe9e_89730049.png imagette208445251740580740 20844527 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=20844527 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208445271740580741 20844528 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=20844528 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208445281740580741 20844529 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=20844529 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742848: '1740580452_3363068_1339742714_7c47ef2805715fc3de9330cec52f17c3_rle_crop_3687595820_0.png'} change filename to text .imagette208445291740580741/ imagette208445291740580741/1740580452_3363068_1339742714_7c47ef2805715fc3de9330cec52f17c3_rle_crop_3687595820_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a20f1c442110b9b8380f6746b7d99ced_81558213.png imagette208445291740580741 20844531 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=20844531 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742847: '1740580472_3363287_1339742606_3bd9d8a6bf0c8ee0120f257448d58d3c_rle_crop_3687595859_0.png', 1339743127: '1740580693_3366095_1339743040_4c6642c2d6abf9370f0427b0a16dec38_rle_crop_3687598772_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f2616eca0b8e8c0459a5fc5a61ebd606_80662905.png change filename to text .imagette208445311740580741/ imagette208445311740580741/1740580693_3366095_1339743040_4c6642c2d6abf9370f0427b0a16dec38_rle_crop_3687598772_0.png.png imagette208445311740580741/1740580472_3363287_1339742606_3bd9d8a6bf0c8ee0120f257448d58d3c_rle_crop_3687595859_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9adf22a001fde6d9750cf23d97ad78bc_38069847.png imagette208445311740580741 20844532 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=20844532 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339743059: '1740580575_3364410_1339742770_87d23d62efe2ccc6ea6fc80f6df14ac5_rle_crop_3687597290_0.png', 1339743060: '1740580575_3364410_1339742765_2c31fd28836a091ab3d838bebc3475a2_rle_crop_3687597312_0.png', 1339743061: '1740580575_3364410_1339742759_809e533c8a8193d88481b0477404473b_rle_crop_3687597331_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d0ab1d5d95854c01116c57c3a0919a7e_78246818.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/dbf40676185367a8d3921c27caf63a9e_2716379.png change filename to text .imagette208445321740580741/ imagette208445321740580741/1740580575_3364410_1339742765_2c31fd28836a091ab3d838bebc3475a2_rle_crop_3687597312_0.png.png imagette208445321740580741/1740580575_3364410_1339742770_87d23d62efe2ccc6ea6fc80f6df14ac5_rle_crop_3687597290_0.png.png imagette208445321740580741/1740580575_3364410_1339742759_809e533c8a8193d88481b0477404473b_rle_crop_3687597331_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c4bc117baf83342e8171e24d346d5593_63797692.png imagette208445321740580741 20844522 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=20844522 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742836: '1740580472_3363287_1339742734_cc15cc6aba3f9a3c463594dbe09b171d_rle_crop_3687595833_0.png', 1339742838: '1740580472_3363287_1339742525_b64719e2edca0d31d14848ff734c8c00_rle_crop_3687595899_0.png', 1339743056: '1740580575_3364410_1339742765_2c31fd28836a091ab3d838bebc3475a2_rle_crop_3687597314_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c440567afa3c40ae08dc32a6629d4b3b_12416461.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e9ccbae1e1ab30da8d12cdfa0c7d503d_63447021.png change filename to text .imagette208445221740580741/ imagette208445221740580741/1740580575_3364410_1339742765_2c31fd28836a091ab3d838bebc3475a2_rle_crop_3687597314_0.png.png imagette208445221740580741/1740580472_3363287_1339742525_b64719e2edca0d31d14848ff734c8c00_rle_crop_3687595899_0.png.png imagette208445221740580741/1740580472_3363287_1339742734_cc15cc6aba3f9a3c463594dbe09b171d_rle_crop_3687595833_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/de68947e90caf5521107b2d9c79200a3_86516564.png imagette208445221740580741 20844523 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=20844523 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742839: '1740580472_3363287_1339742606_3bd9d8a6bf0c8ee0120f257448d58d3c_rle_crop_3687595872_0.png', 1339742840: '1740580452_3363068_1339742726_ca157aa44a916d8a72a6e629a691b242_rle_crop_3687595726_0.png', 1339742841: '1740580452_3363068_1339742718_a068aa870f33c20ef403a1f04c7c4ffa_rle_crop_3687595788_0.png', 1339742843: '1740580452_3363068_1339742718_a068aa870f33c20ef403a1f04c7c4ffa_rle_crop_3687595787_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/bf77af2e3fba0daf04961e962794d702_87752337.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/afc6fd2d4b51518701c22e6d325a03f9_68501253.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/55d79d2f8222215fdf3aafb23230b657_41362335.png change filename to text .imagette208445231740580741/ imagette208445231740580741/1740580472_3363287_1339742606_3bd9d8a6bf0c8ee0120f257448d58d3c_rle_crop_3687595872_0.png.png imagette208445231740580741/1740580452_3363068_1339742718_a068aa870f33c20ef403a1f04c7c4ffa_rle_crop_3687595788_0.png.png imagette208445231740580741/1740580452_3363068_1339742726_ca157aa44a916d8a72a6e629a691b242_rle_crop_3687595726_0.png.png imagette208445231740580741/1740580452_3363068_1339742718_a068aa870f33c20ef403a1f04c7c4ffa_rle_crop_3687595787_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a9abc3c9844d88016908558261120c87_51758509.png imagette208445231740580741 20844530 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=20844530 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339742829: '1740580452_3363068_1339742726_ca157aa44a916d8a72a6e629a691b242_rle_crop_3687595719_0.png', 1339742830: '1740580452_3363068_1339742722_cfea7178f5e746bd4f545e86da77f8b6_rle_crop_3687595745_0.png', 1339742831: '1740580452_3363068_1339742722_cfea7178f5e746bd4f545e86da77f8b6_rle_crop_3687595739_0.png', 1339742832: '1740580452_3363068_1339742722_cfea7178f5e746bd4f545e86da77f8b6_rle_crop_3687595746_0.png', 1339742833: '1740580452_3363068_1339742710_aae6bd0434ac599d1cb5dae4d9a97159_rle_crop_3687595840_0.png', 1339742834: '1740580452_3363068_1339742710_aae6bd0434ac599d1cb5dae4d9a97159_rle_crop_3687595841_0.png', 1339743123: '1740580693_3366095_1339743036_23f28b9b020a763fe91444835b9e25c3_rle_crop_3687598777_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b269987d3cbc68d51ebf26570b2cec17_17445407.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a0b66b181070244f7e43900250aa8a6a_29910306.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/34f9b585d242e9a38a7ae1b544fe770d_14222393.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6c3d175e86e00d565c6df0c75069604f_5821178.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/51a722e6587231edb9a5e9ba0f56a10e_25081620.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a9d68cd58af20d754406fc71b771d129_22795388.png change filename to text .imagette208445301740580741/ imagette208445301740580741/1740580452_3363068_1339742722_cfea7178f5e746bd4f545e86da77f8b6_rle_crop_3687595746_0.png.png imagette208445301740580741/1740580452_3363068_1339742710_aae6bd0434ac599d1cb5dae4d9a97159_rle_crop_3687595840_0.png.png imagette208445301740580741/1740580452_3363068_1339742722_cfea7178f5e746bd4f545e86da77f8b6_rle_crop_3687595739_0.png.png imagette208445301740580741/1740580693_3366095_1339743036_23f28b9b020a763fe91444835b9e25c3_rle_crop_3687598777_0.png.png imagette208445301740580741/1740580452_3363068_1339742722_cfea7178f5e746bd4f545e86da77f8b6_rle_crop_3687595745_0.png.png imagette208445301740580741/1740580452_3363068_1339742710_aae6bd0434ac599d1cb5dae4d9a97159_rle_crop_3687595841_0.png.png imagette208445301740580741/1740580452_3363068_1339742726_ca157aa44a916d8a72a6e629a691b242_rle_crop_3687595719_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/75f3b5aa7156c1075f458eef7b1bdd7b_3354858.png imagette208445301740580741 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20844521 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20844534,20844535,20844536,20844537,20844538,20844539,20844540,20844541,20844542,20844543,20844544,20844545?tags=Teint_Dans_La_Masse,Carton_brun,metal,cartonnette,environnement,mal_croppe,flou,kraft,Carton_gris,plastique,autre_refus,papier your option no_mail is active, we will not send the real mail to your client args[1339743092] : ('0.09364012507663044',) no score found for photo 1339743092 We are sending mail with results at report@fotonower.com args[1339743089] : ('0.09364012507663044',) no score found for photo 1339743089 We are sending mail with results at report@fotonower.com args[1339743085] : ('0.09364012507663044',) no score found for photo 1339743085 We are sending mail with results at report@fotonower.com args[1339743081] : ('0.09364012507663044',) no score found for photo 1339743081 We are sending mail with results at report@fotonower.com args[1339743076] : ('0.09364012507663044',) no score found for photo 1339743076 We are sending mail with results at report@fotonower.com args[1339743070] : ('0.09364012507663044',) no score found for photo 1339743070 We are sending mail with results at report@fotonower.com args[1339743044] : ('0.09364012507663044',) no score found for photo 1339743044 We are sending mail with results at report@fotonower.com args[1339743040] : ('0.09364012507663044',) no score found for photo 1339743040 We are sending mail with results at report@fotonower.com args[1339743036] : ('0.09364012507663044',) no score found for photo 1339743036 We are sending mail with results at report@fotonower.com args[1339743031] : ('0.09364012507663044',) no score found for photo 1339743031 We are sending mail with results at report@fotonower.com args[1339743026] : ('0.09364012507663044',) no score found for photo 1339743026 We are sending mail with results at report@fotonower.com args[1339742916] : ('0.09364012507663044',) no score found for photo 1339742916 We are sending mail with results at report@fotonower.com args[1339742912] : ('0.09364012507663044',) no score found for photo 1339742912 We are sending mail with results at report@fotonower.com args[1339742902] : ('0.09364012507663044',) no score found for photo 1339742902 We are sending mail with results at report@fotonower.com args[1339742880] : ('0.09364012507663044',) no score found for photo 1339742880 We are sending mail with results at report@fotonower.com args[1339742874] : ('0.09364012507663044',) no score found for photo 1339742874 We are sending mail with results at report@fotonower.com args[1339742859] : ('0.09364012507663044',) no score found for photo 1339742859 We are sending mail with results at report@fotonower.com args[1339742817] : ('0.09364012507663044',) no score found for photo 1339742817 We are sending mail with results at report@fotonower.com args[1339742813] : ('0.09364012507663044',) no score found for photo 1339742813 We are sending mail with results at report@fotonower.com args[1339742810] : ('0.09364012507663044',) no score found for photo 1339742810 We are sending mail with results at report@fotonower.com args[1339742806] : ('0.09364012507663044',) no score found for photo 1339742806 We are sending mail with results at report@fotonower.com args[1339742801] : ('0.09364012507663044',) no score found for photo 1339742801 We are sending mail with results at report@fotonower.com refus_total : 0.09364012507663044 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=20844521 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_P20844521_26-02-2025_15_39_00.pdf results_Auto_P20844521_26-02-2025_15_39_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_26-02-2025_15_39_00.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','20844521','results_Auto_P20844521_26-02-2025_15_39_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_26-02-2025_15_39_00.pdf','pdf','','0.24','0.09364012507663044') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20844521]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] map_info['map_portfolio_photo'] : {20844521: [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801, 1339742778, 1339742774, 1339742770, 1339742765, 1339742759, 1339742734, 1339742726, 1339742722, 1339742718, 1339742714, 1339742710, 1339742606, 1339742603, 1339742525]} final : False mtd_id 4302 list_pids : [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] 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, '2616504') ('4302', '20844521', '1339743092', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20844521', '1339743092', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504')] time used for this insertion : 0.014413118362426758 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.625535488128662 time spend to save output : 0.014796972274780273 total time spend for step 4 : 3.6403324604034424 step5:split_time_score Wed Feb 26 15:39:03 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 : ['20844521'] 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 : [('20844521',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20844521) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339743089: {'path': 'temp/1740580740_3132726_1339743089_20d95de3aeab5babaaa913d1e81aa220.jpg', 'extension': 'jpg'}, 1339743092: {'path': 'temp/1740580740_3132726_1339743092_27e1e45836a3407cb92f5794698c7cec.jpg', 'extension': 'jpg'}, 1339742801: {'path': 'temp/1740580740_3132726_1339742801_4aaed51b5eba6d5d8471064579855c7d.jpg', 'extension': 'jpg'}, 1339742806: {'path': 'temp/1740580740_3132726_1339742806_3f63c5d700ee911126ace9987d986fcb.jpg', 'extension': 'jpg'}, 1339742810: {'path': 'temp/1740580740_3132726_1339742810_b61b8bc997676ecbd6c1b16f07c75a77.jpg', 'extension': 'jpg'}, 1339742813: {'path': 'temp/1740580740_3132726_1339742813_a9176310b3508f0b694e43936f31e860.jpg', 'extension': 'jpg'}, 1339742817: {'path': 'temp/1740580740_3132726_1339742817_a5070dc126d393d9ae67ac3677e589e8.jpg', 'extension': 'jpg'}, 1339742916: {'path': 'temp/1740580740_3132726_1339742916_70040126bdf31137e5fa6ebdcb6c9368.jpg', 'extension': 'jpg'}, 1339743026: {'path': 'temp/1740580740_3132726_1339743026_10b0540da63e39ddb7ab6567b9b5740f.jpg', 'extension': 'jpg'}, 1339743031: {'path': 'temp/1740580740_3132726_1339743031_11147acc282e84d185680a16f8d1d867.jpg', 'extension': 'jpg'}, 1339743036: {'path': 'temp/1740580740_3132726_1339743036_23f28b9b020a763fe91444835b9e25c3.jpg', 'extension': 'jpg'}, 1339743040: {'path': 'temp/1740580740_3132726_1339743040_4c6642c2d6abf9370f0427b0a16dec38.jpg', 'extension': 'jpg'}, 1339742859: {'path': 'temp/1740580740_3132726_1339742859_c2ea712105441c6dd399a76d0613164a.jpg', 'extension': 'jpg'}, 1339742874: {'path': 'temp/1740580740_3132726_1339742874_8eb9ad7082044da695df64b397fe4805.jpg', 'extension': 'jpg'}, 1339742880: {'path': 'temp/1740580740_3132726_1339742880_c11b0b5d6368b2b10ad6103d5a8c840a.jpg', 'extension': 'jpg'}, 1339742902: {'path': 'temp/1740580740_3132726_1339742902_9563c3166f4bedc158359c9ae0515390.jpg', 'extension': 'jpg'}, 1339742912: {'path': 'temp/1740580740_3132726_1339742912_af86bf81f1cf7f17b86f1568105bb5c7.jpg', 'extension': 'jpg'}, 1339743044: {'path': 'temp/1740580740_3132726_1339743044_71c96510c5805a7ce5b3eae1b7a2d2bb.jpg', 'extension': 'jpg'}, 1339743070: {'path': 'temp/1740580740_3132726_1339743070_0829c909f904df31fd7c06015b754b31.jpg', 'extension': 'jpg'}, 1339743076: {'path': 'temp/1740580740_3132726_1339743076_14a7912c140b2d2087476cbb0528458d.jpg', 'extension': 'jpg'}, 1339743081: {'path': 'temp/1740580740_3132726_1339743081_4335fe13dfe9b42d3f28dfc695daa2f0.jpg', 'extension': 'jpg'}, 1339743085: {'path': 'temp/1740580740_3132726_1339743085_27771d595fb872f8d96f79b2e24ab4a0.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 = 20844521; (('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 = 20844521 group by h (('15', 36),) 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=20844521 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 (20844521) 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 (20844521) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20844521 Nombre de photos uploadées : 36 / 23040 (0%) 26022025 20844521 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 26022025 20844521 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1339742606, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3bd9d8a6bf0c8ee0120f257448d58d3c.jpg', 'username': None, 'uploaded_at': 1740580296, 'text': 'image_26022025_15_30_04_010150m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1339742603, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/862f2e0d5746d97f8f04f143c7645d5b.jpg', 'username': None, 'uploaded_at': 1740580296, 'text': 'image_26022025_15_30_14_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339742525, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b64719e2edca0d31d14848ff734c8c00.jpg', 'username': None, 'uploaded_at': 1740580296, 'text': 'image_26022025_15_30_43_010133m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339742734, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cc15cc6aba3f9a3c463594dbe09b171d.jpg', 'username': None, 'uploaded_at': 1740580355, 'text': 'image_26022025_15_30_53_010134m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003311634063720703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20844521, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022663593292236328 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= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1633577, 'mtr_portfolio_id': 20842535, 'dashboard_result_id': 9076107, '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_P20842535_26-02-2025_15_05_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1633577, 'mtr_portfolio_id': 20843062, 'dashboard_result_id': 9076108, '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_P20843062_26-02-2025_15_22_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1633577, 'mtr_portfolio_id': 20843891, 'dashboard_result_id': 9076109, '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_P20843891_26-02-2025_15_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1633577, 'mtr_portfolio_id': 20844521, 'dashboard_result_id': 9076110, '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_P20844521_26-02-2025_15_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, '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 = 20842535 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': 2616320, 'mtr_portfolio_id': 20842535, 'created_at': datetime.datetime(2025, 2, 26, 15, 5, 31), 'result': '0.10870866083522285', 'result_long': None, 'result_double': None}] Qualite : 0.10870866083522285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842535 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_26-02-2025_15_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842535 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_P20842535_26-02-2025_15_05_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}" where mtr_portfolio_id = 20842535 and dashboard_run_id = 1633577 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`=20842535 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9076107, 0.10870866083522285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_26-02-2025_15_05_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, '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 = 20843062 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': 2616396, 'mtr_portfolio_id': 20843062, 'created_at': datetime.datetime(2025, 2, 26, 15, 22, 56), 'result': '0.09643796888986089', 'result_long': None, 'result_double': None}] Qualite : 0.09643796888986089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_26-02-2025_15_22_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843062 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_P20843062_26-02-2025_15_22_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}" where mtr_portfolio_id = 20843062 and dashboard_run_id = 1633577 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`=20843062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9076108, 0.09643796888986089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_26-02-2025_15_22_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, '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 = 20843891 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': 2616475, 'mtr_portfolio_id': 20843891, 'created_at': datetime.datetime(2025, 2, 26, 15, 33), 'result': '0.09691567209295301', 'result_long': None, 'result_double': None}] Qualite : 0.09691567209295301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_26-02-2025_15_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843891 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_P20843891_26-02-2025_15_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}" where mtr_portfolio_id = 20843891 and dashboard_run_id = 1633577 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`=20843891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9076109, 0.09691567209295301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_26-02-2025_15_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, '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 = 20844521 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': 2616504, 'mtr_portfolio_id': 20844521, 'created_at': datetime.datetime(2025, 2, 26, 15, 38, 59), 'result': '0.09364012507663044', 'result_long': None, 'result_double': None}] Qualite : 0.09364012507663044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_26-02-2025_15_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844521 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_P20844521_26-02-2025_15_39_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}" where mtr_portfolio_id = 20844521 and dashboard_run_id = 1633577 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`=20844521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9076110, 0.09364012507663044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_26-02-2025_15_39_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, '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 (20842535,20843062,20843891,20844521) result : ((1339737190,), (1339737213,), (1339737216,), (1339737219,), (1339737344,), (1339737385,), (1339737389,), (1339737590,), (1339737596,), (1339737601,), (1339737605,), (1339737607,), (1339737677,), (1339737680,), (1339737684,), (1339737797,), (1339737801,), (1339737806,), (1339737812,), (1339737919,), (1339737923,), (1339737926,), (1339738108,), (1339738130,), (1339738135,), (1339738141,), (1339738146,), (1339738149,), (1339738234,), (1339738237,), (1339738240,), (1339738297,), (1339738306,), (1339738310,), (1339738314,), (1339738410,), (1339738422,), (1339738424,), (1339738440,), (1339738446,), (1339738453,), (1339738504,), (1339738506,), (1339738509,), (1339738512,), (1339738572,), (1339738575,), (1339738633,), (1339738677,), (1339738681,), (1339738685,), (1339738736,), (1339738743,), (1339738746,), (1339738751,), (1339738757,), (1339738770,), (1339738784,), (1339738787,), (1339738796,), (1339738802,), (1339738829,), (1339738815,), (1339738818,), (1339738821,), (1339738890,), (1339738897,), (1339738924,), (1339738937,), (1339738951,), (1339738960,), (1339739104,), (1339739109,), (1339739113,), (1339739159,), (1339739162,), (1339739175,), (1339739179,), (1339739182,), (1339739252,), (1339739283,), (1339739288,), (1339739294,), (1339739300,), (1339739343,), (1339739348,), (1339739352,), (1339739928,), (1339739934,), (1339739940,), (1339739943,), (1339739947,), (1339740185,), (1339740190,), (1339740195,), (1339740204,), (1339740213,), (1339740243,), (1339740253,), (1339740258,), (1339740263,), (1339740282,), (1339740287,), (1339740292,), (1339740323,), (1339740332,), (1339740339,), (1339740344,), (1339740349,), (1339740353,), (1339740386,), (1339740389,), (1339740395,), (1339740400,), (1339740461,), (1339740478,), (1339740484,), (1339740489,), (1339740495,), (1339740552,), (1339740557,), (1339740561,), (1339740564,), (1339740597,), (1339740618,), (1339740622,), (1339740627,), (1339740996,), (1339740938,), (1339740954,), (1339740968,), (1339741028,), (1339741050,), (1339741060,), (1339741066,), (1339741069,), (1339741072,), (1339741162,), (1339741167,), (1339741171,), (1339741176,), (1339741206,), (1339741214,), (1339741221,), (1339741226,), (1339741237,), (1339741356,), (1339741360,), (1339741366,), (1339741371,), (1339741375,), (1339741377,), (1339741544,), (1339741549,), (1339741554,), (1339741557,), (1339741751,), (1339741758,), (1339741766,), (1339741808,), (1339741817,), (1339741822,), (1339741870,), (1339741879,), (1339741891,), (1339741895,), (1339741898,), (1339742011,), (1339742015,), (1339742020,), (1339742025,), (1339742028,), (1339742030,), (1339742065,), (1339742069,), (1339742079,), (1339742082,), (1339742086,), (1339742140,), (1339742144,), (1339742198,), (1339742201,), (1339742204,), (1339742207,), (1339742237,), (1339742255,), (1339742259,), (1339742262,), (1339742278,), (1339742294,), (1339742353,), (1339742357,), (1339742363,), (1339742365,), (1339742480,), (1339742491,), (1339742497,), (1339742502,), (1339742506,), (1339742509,), (1339742638,), (1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20844521]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] map_info['map_portfolio_photo'] : {20844521: [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801, 1339742778, 1339742774, 1339742770, 1339742765, 1339742759, 1339742734, 1339742726, 1339742722, 1339742718, 1339742714, 1339742710, 1339742606, 1339742603, 1339742525]} final : True mtd_id 4302 list_pids : [1339743092, 1339743089, 1339743085, 1339743081, 1339743076, 1339743070, 1339743044, 1339743040, 1339743036, 1339743031, 1339743026, 1339742916, 1339742912, 1339742902, 1339742880, 1339742874, 1339742859, 1339742817, 1339742813, 1339742810, 1339742806, 1339742801] Looping around the photos to save general results len do output : 1 /20844521Didn'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, '2616504') ('4302', '20844521', '1339743092', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504') ('4302', None, None, None, None, None, None, None, '2616504') ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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, '20844521', 'None', None, None, None, None, '2616504'), ('4302', '20844521', '1339743092', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743089', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743085', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743081', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743076', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743070', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743044', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743040', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743036', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743031', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339743026', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742916', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742912', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742902', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742880', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742874', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742859', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742817', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742813', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742810', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742806', None, None, None, None, None, '2616504'), ('4302', '20844521', '1339742801', None, None, None, None, None, '2616504')] time used for this insertion : 0.01692986488342285 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.33806490898132324 time spend to save output : 0.01738119125366211 total time spend for step 5 : 0.35544610023498535 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 (2616504) 2.84user 2.47system 0:08.95elapsed 59%CPU (0avgtext+0avgdata 159564maxresident)k 36344inputs+15712outputs (200major+76149minor)pagefaults 0swaps