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 : 1956770 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 (2739062) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2739062) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22217932 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2739062'] with mtr_portfolio_ids : ['22217932'] and first list_photo_ids : [] new path : /proc/1956770/ Name: python3 Umask: 0002 State: R (running) Tgid: 1956770 Ngid: 0 Pid: 1956770 PPid: 1956769 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1956770 NSpid: 1956770 NSpgid: 1954427 NSsid: 1954427 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98516 kB VmRSS: 98516 kB RssAnon: 59796 kB RssFile: 38720 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 52 nonvoluntary_ctxt_switches: 67 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1956770', 'Ngid': '0', 'Pid': '1956770', 'PPid': '1956769', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1956770', 'NSpid': '1956770', 'NSpgid': '1954427', 'NSsid': '1954427', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98516 kB', 'VmRSS': '98516 kB', 'RssAnon': '59796 kB', 'RssFile': '38720 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '000000before 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, '2739062') ('4302', '22217932', '1351106569', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '22217932', "{'plastique': 22217936, 'Carton_brun': 22217937, 'environnement': 22217938, 'metal': 22217939, 'Teint_Dans_La_Masse': 22217940, 'autre_refus': 22217941, 'Carton_gris': 22217942, 'cartonnette': 22217943, 'flou': 22217944, 'kraft': 22217945, 'mal_croppe': 22217946, 'papier': 22217947}", None, None, None, None, '2739062'), ('4302', '22217932', '1351106569', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062')] time used for this insertion : 0.17215752601623535 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.171689748764038 time spend to save output : 0.17249751091003418 total time spend for step 1 : 2.3441872596740723 step2:final Thu Apr 10 10:45:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 (22217932) 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 22217932 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1351104731,1351105286,1351105279,1351105276,1351105272,1351105477,1351105451,1351105429,1351105397,1351105394,1351105392,1351105572,1351105570,1351105568,1351105563,1351105651,1351105631,1351105628,1351105806,1351105791,1351105772,1351105758,1351105739,1351105991,1351105987,1351105983,1351106179,1351105980,1351106171,1351106161,1351106148,1351106279,1351106276,1351106273,1351106265,1351106322,1351106319,1351106316,1351106313,1351106311,1351106309,1351106396,1351106386,1351106384,1351106381,1351106379,1351106569,1351106554,1351106522); 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([22217932]) Inside saveOutput : final : False verbose : True original output for save of step final : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} new output for save of step final : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309] map_info['map_portfolio_photo'] : {22217932: [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309, 1351106279, 1351106276, 1351106273, 1351106265, 1351106179, 1351106171, 1351106161, 1351106148, 1351105991, 1351105987, 1351105983, 1351105980, 1351105806, 1351105791, 1351105772, 1351105758, 1351105739, 1351105651, 1351105631, 1351105628, 1351105572, 1351105570, 1351105568, 1351105563, 1351105477, 1351105451, 1351105429, 1351105397, 1351105394, 1351105392, 1351105286, 1351105279, 1351105276, 1351105272, 1351104731]} final : False mtd_id 4302 list_pids : [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309] Looping around the photos to save general results len do output : 14 /1351106569.Didn't retrieve data . /1351106554.Didn't retrieve data . /1351106522.Didn't retrieve data . /1351106396.Didn't retrieve data . /1351106386.Didn't retrieve data . /1351106384.Didn't retrieve data . /1351106381.Didn't retrieve data . /1351106379.Didn't retrieve data . /1351106322.Didn't retrieve data . /1351106319.Didn't retrieve data . /1351106316.Didn't retrieve data . /1351106313.Didn't retrieve data . /1351106311.Didn't retrieve data . /1351106309.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, '2739062') ('4302', '22217932', '1351106569', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '22217932', '1351106569', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106554', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106522', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106396', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106386', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106384', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106381', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106379', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106322', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106319', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106316', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106313', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106311', '0.050032474612456475', None, None, None, None, '2739062'), ('4302', '22217932', '1351106309', '0.050032474612456475', None, None, None, None, '2739062')] time used for this insertion : 0.017299652099609375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07187104225158691 time spend to save output : 0.018001556396484375 total time spend for step 2 : 0.08987259864807129 step3:velours_tree Thu Apr 10 10:45:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22217932: [{'plastique': 22217936, 'Carton_brun': 22217937, 'environnement': 22217938, 'metal': 22217939, 'Teint_Dans_La_Masse': 22217940, 'autre_refus': 22217941, 'Carton_gris': 22217942, 'cartonnette': 22217943, 'flou': 22217944, 'kraft': 22217945, 'mal_croppe': 22217946, 'papier': 22217947}]} input_args_next_step : {22217932: ()} output_args : {22217932: [{'plastique': 22217936, 'Carton_brun': 22217937, 'environnement': 22217938, 'metal': 22217939, 'Teint_Dans_La_Masse': 22217940, 'autre_refus': 22217941, 'Carton_gris': 22217942, 'cartonnette': 22217943, 'flou': 22217944, 'kraft': 22217945, 'mal_croppe': 22217946, 'papier': 22217947}]} args : 22217932 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'plastique': 22217936, 'Carton_brun': 22217937, 'environnement': 22217938, 'metal': 22217939, 'Teint_Dans_La_Masse': 22217940, 'autre_refus': 22217941, 'Carton_gris': 22217942, 'cartonnette': 22217943, 'flou': 22217944, 'kraft': 22217945, 'mal_croppe': 22217946, 'papier': 22217947},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22217932) 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([22217932]) 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.3207676410675049 time spend to save output : 5.7220458984375e-05 total time spend for step 3 : 0.32082486152648926 step4:send_mail_cod Thu Apr 10 10:45:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} input_args_next_step : {1351106569: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106569 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106554 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106522 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106396 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106386 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106384 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106381 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106379 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106322 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106319 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106316 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106313 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106311 depend.output_id : 0 input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ()} output_args : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',)} args : 1351106309 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 : {22217932: [{'plastique': 22217936, 'Carton_brun': 22217937, 'environnement': 22217938, 'metal': 22217939, 'Teint_Dans_La_Masse': 22217940, 'autre_refus': 22217941, 'Carton_gris': 22217942, 'cartonnette': 22217943, 'flou': 22217944, 'kraft': 22217945, 'mal_croppe': 22217946, 'papier': 22217947}]} input_args_next_step : {1351106569: ('0.050032474612456475',), 1351106554: ('0.050032474612456475',), 1351106522: ('0.050032474612456475',), 1351106396: ('0.050032474612456475',), 1351106386: ('0.050032474612456475',), 1351106384: ('0.050032474612456475',), 1351106381: ('0.050032474612456475',), 1351106379: ('0.050032474612456475',), 1351106322: ('0.050032474612456475',), 1351106319: ('0.050032474612456475',), 1351106316: ('0.050032474612456475',), 1351106313: ('0.050032474612456475',), 1351106311: ('0.050032474612456475',), 1351106309: ('0.050032474612456475',), 22217932: ()} output_args : {22217932: [{'plastique': 22217936, 'Carton_brun': 22217937, 'environnement': 22217938, 'metal': 22217939, 'Teint_Dans_La_Masse': 22217940, 'autre_refus': 22217941, 'Carton_gris': 22217942, 'cartonnette': 22217943, 'flou': 22217944, 'kraft': 22217945, 'mal_croppe': 22217946, 'papier': 22217947}]} args : 22217932 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 :15, first value : ('0.050032474612456475',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22217932) 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 (1351106569,1351106554,1351106522,1351106396,1351106386,1351106384,1351106381,1351106379,1351106322,1351106319,1351106316,1351106313,1351106311,1351106309) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1351106309 begin to download photo : 1351106316 begin to download photo : 1351106379 begin to download photo : 1351106386 begin to download photo : 1351106554 download finish for photo 1351106386 begin to download photo : 1351106396 download finish for photo 1351106316 begin to download photo : 1351106319 download finish for photo 1351106554 begin to download photo : 1351106569 download finish for photo 1351106379 begin to download photo : 1351106381 download finish for photo 1351106309 begin to download photo : 1351106311 download finish for photo 1351106319 begin to download photo : 1351106322 download finish for photo 1351106396 begin to download photo : 1351106522 download finish for photo 1351106311 begin to download photo : 1351106313 download finish for photo 1351106381 begin to download photo : 1351106384 download finish for photo 1351106569 download finish for photo 1351106322 download finish for photo 1351106522 download finish for photo 1351106384 download finish for photo 1351106313 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 : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P22217932_10-04-2025_10_45_04.pdf 22217936 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=22217936 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351105873: '1744274238_4151998_1351105570_5c2b02e61375fd947a53b7115f053990_rle_crop_3753671328_0.png', 1351105900: '1744274245_146420_1351105429_f83b7438d4e8f44e64dfb5e684b385f6_rle_crop_3753671287_0.png', 1351105915: '1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671347_0.png', 1351105919: '1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671348_0.png', 1351105923: '1744274245_4090394_1351105276_c31bc8ede7ebad8a188045f9ac766cb8_rle_crop_3753671479_0.png', 1351106146: '1744274371_4153200_1351104731_9504a6a356be78f62a9110be93ac95c7_rle_crop_3753673573_0.png', 1351106350: '1744274492_4155121_1351106179_100e8dc304ae64c4359aa711edf4bacc_rle_crop_3753677537_0.png', 1351106351: '1744274492_4155121_1351105983_b523df22e3da9b3420dff94cd0e0d17d_rle_crop_3753677703_0.png', 1351106401: '1744274512_4155365_1351105758_229cc0ed590c1f3f23cd8e4b6bef7caf_rle_crop_3753678719_0.png', 1351106652: '1744274594_4156395_1351106273_d2ecec4e1404b238239cb09f73b7756f_rle_crop_3753679728_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c542a75450b9ff5cd3dc2e124715e6f_30317489.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b636594774922c85bca2003c648c2e81_5594414.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6528d40de9ccfda06dfa6b72ef28a7e1_20881615.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b56a3107022146bb2181cb9e17ec7d4c_42532196.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3d509ea274bcbfb7e0011a1c2320f9e_22139690.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86cf242a1ad20326b37a572ae2242b29_23872356.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ec6548c1c5a8b3850878293f6bd0756_27372555.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b54f7798e0795e08d5acddd1ed12abd6_24648159.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d4360c4271869cee4be3b0e71bc67df_3409799.png change filename to text .imagette222179361744274704/ imagette222179361744274704/1744274512_4155365_1351105758_229cc0ed590c1f3f23cd8e4b6bef7caf_rle_crop_3753678719_0.png.png imagette222179361744274704/1744274245_4090394_1351105276_c31bc8ede7ebad8a188045f9ac766cb8_rle_crop_3753671479_0.png.png imagette222179361744274704/1744274492_4155121_1351106179_100e8dc304ae64c4359aa711edf4bacc_rle_crop_3753677537_0.png.png imagette222179361744274704/1744274371_4153200_1351104731_9504a6a356be78f62a9110be93ac95c7_rle_crop_3753673573_0.png.png imagette222179361744274704/1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671347_0.png.png imagette222179361744274704/1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671348_0.png.png imagette222179361744274704/1744274492_4155121_1351105983_b523df22e3da9b3420dff94cd0e0d17d_rle_crop_3753677703_0.png.png imagette222179361744274704/1744274245_146420_1351105429_f83b7438d4e8f44e64dfb5e684b385f6_rle_crop_3753671287_0.png.png imagette222179361744274704/1744274238_4151998_1351105570_5c2b02e61375fd947a53b7115f053990_rle_crop_3753671328_0.png.png imagette222179361744274704/1744274594_4156395_1351106273_d2ecec4e1404b238239cb09f73b7756f_rle_crop_3753679728_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a7c18bfeff23a536a513cf4eee4dcfc_83133344.png imagette222179361744274704 22217939 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=22217939 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351106331: '1744274486_4096479_1351106161_52fd46184b4667fa743b1767756c71f6_rle_crop_3753676681_0.png', 1351106332: '1744274486_4096479_1351106148_6ad2d430b23e6152a47cb69bad2130f3_rle_crop_3753676999_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57fd17b136889826922822b91ef92675_12772855.png change filename to text .imagette222179391744274705/ imagette222179391744274705/1744274486_4096479_1351106148_6ad2d430b23e6152a47cb69bad2130f3_rle_crop_3753676999_0.png.png imagette222179391744274705/1744274486_4096479_1351106161_52fd46184b4667fa743b1767756c71f6_rle_crop_3753676681_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d235553a8254cc48f90251782b8d52c5_70856772.png imagette222179391744274705 22217941 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=22217941 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351106324: '1744274486_4096479_1351106171_789167a6b0e9cfb78f394ce5f867c6c9_rle_crop_3753676073_0.png', 1351106339: '1744274492_4155121_1351105987_dfd696e8878e6e1243a9e66bdcf7aa15_rle_crop_3753677617_0.png', 1351106340: '1744274492_4155121_1351105980_69bc8201e614a4dc455e459331943225_rle_crop_3753677716_0.png', 1351106388: '1744274512_4155365_1351105991_68e01f7f1a1450829b563647c7901e19_rle_crop_3753678011_0.png', 1351106389: '1744274512_4155365_1351105739_c040909880025c96dbedb7d19b0a1339_rle_crop_3753678791_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a69d03d81a82f40d71f2c1d771a684d_45088545.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a095e730933438a64c9a635ba9e661d7_77077794.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54d74a46e4724a7f2ca748a625042902_39848407.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea1cbf2df513f488270ea0444c9d9234_82735173.png change filename to text .imagette222179411744274705/ imagette222179411744274705/1744274512_4155365_1351105739_c040909880025c96dbedb7d19b0a1339_rle_crop_3753678791_0.png.png imagette222179411744274705/1744274486_4096479_1351106171_789167a6b0e9cfb78f394ce5f867c6c9_rle_crop_3753676073_0.png.png imagette222179411744274705/1744274512_4155365_1351105991_68e01f7f1a1450829b563647c7901e19_rle_crop_3753678011_0.png.png imagette222179411744274705/1744274492_4155121_1351105987_dfd696e8878e6e1243a9e66bdcf7aa15_rle_crop_3753677617_0.png.png imagette222179411744274705/1744274492_4155121_1351105980_69bc8201e614a4dc455e459331943225_rle_crop_3753677716_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17f23b5a298b572f6b39b33a8457a435_39864952.png imagette222179411744274705 22217943 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=22217943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351105871: '1744274238_4151998_1351105563_96c00117be9ef18117b69246f3bf6e80_rle_crop_3753671453_0.png', 1351105885: '1744274245_146420_1351105394_fc07fd652d274f14f818ededb6ebc0dc_rle_crop_3753671438_0.png', 1351105886: '1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671512_0.png', 1351105898: '1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671345_0.png', 1351105901: '1744274245_4090394_1351105272_5b393e76270b345369c97b55b15d31bf_rle_crop_3753671527_0.png', 1351106328: '1744274486_4096479_1351106148_6ad2d430b23e6152a47cb69bad2130f3_rle_crop_3753676997_0.png', 1351106345: '1744274492_4155121_1351105987_dfd696e8878e6e1243a9e66bdcf7aa15_rle_crop_3753677611_0.png', 1351106358: '1744274533_4155647_1351105806_b902890837f6c347696cfcb6c93d6982_rle_crop_3753677903_0.png', 1351106393: '1744274512_4155365_1351105991_68e01f7f1a1450829b563647c7901e19_rle_crop_3753678017_0.png', 1351106394: '1744274512_4155365_1351105791_8afe550aea792da387a7d19f665ec819_rle_crop_3753678153_0.png', 1351106395: '1744274512_4155365_1351105739_c040909880025c96dbedb7d19b0a1339_rle_crop_3753678796_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b0162e40eca1edbec7dcecf0b3b790f_40316154.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09260a396b5f30a0ebd9adc4423c09c9_56642669.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e89dc3a0f01750c4dd6fc41a5524904e_56938269.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fc0d5d167e7d541bf7e79db52c72120_22665479.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d64f1bc9040b67dae6f8b9c75a9d723e_86097503.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6adf896c787ab69aaadc5951177d4588_76229490.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad86298aa9c04af451f72477c6ca2d8d_86259079.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60d662bfc61bfa52fcfa8311669faa3a_58819900.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76f4067169ec6fb70a9d1d80b3903a1a_89812523.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd4f973dc415f731bd554c58e8b5128a_79959413.png change filename to text .imagette222179431744274705/ imagette222179431744274705/1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671345_0.png.png imagette222179431744274705/1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671512_0.png.png imagette222179431744274705/1744274492_4155121_1351105987_dfd696e8878e6e1243a9e66bdcf7aa15_rle_crop_3753677611_0.png.png imagette222179431744274705/1744274245_146420_1351105394_fc07fd652d274f14f818ededb6ebc0dc_rle_crop_3753671438_0.png.png imagette222179431744274705/1744274245_4090394_1351105272_5b393e76270b345369c97b55b15d31bf_rle_crop_3753671527_0.png.png imagette222179431744274705/1744274486_4096479_1351106148_6ad2d430b23e6152a47cb69bad2130f3_rle_crop_3753676997_0.png.png imagette222179431744274705/1744274238_4151998_1351105563_96c00117be9ef18117b69246f3bf6e80_rle_crop_3753671453_0.png.png imagette222179431744274705/1744274533_4155647_1351105806_b902890837f6c347696cfcb6c93d6982_rle_crop_3753677903_0.png.png imagette222179431744274705/1744274512_4155365_1351105791_8afe550aea792da387a7d19f665ec819_rle_crop_3753678153_0.png.png imagette222179431744274705/1744274512_4155365_1351105739_c040909880025c96dbedb7d19b0a1339_rle_crop_3753678796_0.png.png imagette222179431744274705/1744274512_4155365_1351105991_68e01f7f1a1450829b563647c7901e19_rle_crop_3753678017_0.png.png imagette222179441744274708/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8362c2d15e8c4e338597dd1122316d4_83358178.png imagette222179431744274705 22217944 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=22217944 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222179441744274708 22217945 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=22217945 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351105903: '1744274245_146420_1351105397_dfa577877e265e0238c86fa6145c1c66_rle_crop_3753671307_0.png'} change filename to text .imagette222179451744274709/ imagette222179451744274709/1744274245_146420_1351105397_dfa577877e265e0238c86fa6145c1c66_rle_crop_3753671307_0.png.png imagette222179461744274709/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/023959fcfa0eca25df2ff65844b38a66_38589944.png imagette222179451744274709 22217946 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=22217946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222179461744274709 22217937 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=22217937 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351105888: '1744274245_146420_1351105394_fc07fd652d274f14f818ededb6ebc0dc_rle_crop_3753671437_0.png', 1351105891: '1744274245_146420_1351105394_fc07fd652d274f14f818ededb6ebc0dc_rle_crop_3753671435_0.png', 1351105893: '1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671515_0.png', 1351105894: '1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671513_0.png', 1351105895: '1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671514_0.png', 1351105902: '1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671341_0.png', 1351106330: '1744274486_4096479_1351106171_789167a6b0e9cfb78f394ce5f867c6c9_rle_crop_3753676077_0.png', 1351106346: '1744274492_4155121_1351105987_dfd696e8878e6e1243a9e66bdcf7aa15_rle_crop_3753677613_0.png', 1351106347: '1744274492_4155121_1351105983_b523df22e3da9b3420dff94cd0e0d17d_rle_crop_3753677705_0.png', 1351106348: '1744274492_4155121_1351105980_69bc8201e614a4dc455e459331943225_rle_crop_3753677718_0.png', 1351106364: '1744274533_4155647_1351105806_b902890837f6c347696cfcb6c93d6982_rle_crop_3753677897_0.png', 1351106398: '1744274512_4155365_1351105791_8afe550aea792da387a7d19f665ec819_rle_crop_3753678154_0.png', 1351106399: '1744274512_4155365_1351105758_229cc0ed590c1f3f23cd8e4b6bef7caf_rle_crop_3753678725_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a97976253d9e1a63737edfaa45b9d81f_75056436.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7c55493a0b935871e779d980d208e6b_28470445.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c9a6bea8a012b517cded3c783f19d4a_97289696.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/087a0c45d4e2c5632059e12eeb386d35_61511974.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/883bb669299a7e5e7e85c7cfa6e94399_9197636.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2943c34e29d60cde38551b2422cb0ba6_29609483.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc3164b138fdf37abbe551b94b128f8a_90575750.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/455d93a74e6eefd91693c3d06cab9900_32548008.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8831e2d7def76a57c99acbbcdeb485cf_92780999.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cdf8363c6787279a661c6596bef68bfe_21499894.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bc89a2f952f71b15e08429f56b7476b_13044216.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/612e40279170dd028dfe5fa4fd88c559_85872347.png change filename to text .imagette222179371744274709/ imagette222179371744274709/1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671341_0.png.png imagette222179371744274709/1744274492_4155121_1351105987_dfd696e8878e6e1243a9e66bdcf7aa15_rle_crop_3753677613_0.png.png imagette222179371744274709/1744274245_146420_1351105394_fc07fd652d274f14f818ededb6ebc0dc_rle_crop_3753671437_0.png.png imagette222179371744274709/1744274492_4155121_1351105980_69bc8201e614a4dc455e459331943225_rle_crop_3753677718_0.png.png imagette222179371744274709/1744274245_146420_1351105394_fc07fd652d274f14f818ededb6ebc0dc_rle_crop_3753671435_0.png.png imagette222179371744274709/1744274486_4096479_1351106171_789167a6b0e9cfb78f394ce5f867c6c9_rle_crop_3753676077_0.png.png imagette222179371744274709/1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671513_0.png.png imagette222179371744274709/1744274512_4155365_1351105791_8afe550aea792da387a7d19f665ec819_rle_crop_3753678154_0.png.png imagette222179371744274709/1744274512_4155365_1351105758_229cc0ed590c1f3f23cd8e4b6bef7caf_rle_crop_3753678725_0.png.png imagette222179371744274709/1744274492_4155121_1351105983_b523df22e3da9b3420dff94cd0e0d17d_rle_crop_3753677705_0.png.png imagette222179371744274709/1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671514_0.png.png imagette222179371744274709/1744274533_4155647_1351105806_b902890837f6c347696cfcb6c93d6982_rle_crop_3753677897_0.png.png imagette222179371744274709/1744274245_146420_1351105392_9f2ee009b3c46df2d418e231a06413ae_rle_crop_3753671515_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b561aab7ce52a911d7d7aef98412de4d_13801554.png imagette222179371744274709 22217940 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=22217940 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351105865: '1744274238_4151998_1351105570_5c2b02e61375fd947a53b7115f053990_rle_crop_3753671327_0.png', 1351105866: '1744274238_4151998_1351105568_a3d55cad13c1f652cda830e962668348_rle_crop_3753671417_0.png', 1351105867: '1744274238_4151998_1351105563_96c00117be9ef18117b69246f3bf6e80_rle_crop_3753671454_0.png', 1351105880: '1744274245_146420_1351105397_dfa577877e265e0238c86fa6145c1c66_rle_crop_3753671303_0.png', 1351105887: '1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671344_0.png', 1351105890: '1744274245_4090394_1351105272_5b393e76270b345369c97b55b15d31bf_rle_crop_3753671532_0.png', 1351105892: '1744274245_4090394_1351105272_5b393e76270b345369c97b55b15d31bf_rle_crop_3753671531_0.png', 1351106321: '1744274486_4096479_1351106171_789167a6b0e9cfb78f394ce5f867c6c9_rle_crop_3753676080_0.png', 1351106650: '1744274594_4156395_1351106273_d2ecec4e1404b238239cb09f73b7756f_rle_crop_3753679730_0.png', 1351106651: '1744274594_4156395_1351106265_b7f0fa2a5244ce2ae3a30f367b661115_rle_crop_3753679821_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94ce833db64fd0e5127b0b3176592e21_19265379.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0acdc6b626d38a63210fec9b7762fb16_65844365.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d621d28edc1ada4ea029ee34e170d2a0_80107003.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fa0fece73b2264476d4215e5e061e64_6151732.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d84b584604ce74afdc8f61c63a05ef7_70052011.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71baab35bddb3264c164b37bb3d3644c_3302094.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/668162d0ac745debfa92670011790a03_47776767.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02197251dca8fccd6456f273179c2152_9417387.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ab3d42536d5f53ab0c2507ac2e4ad82_90133968.png change filename to text .imagette222179401744274709/ imagette222179401744274709/1744274594_4156395_1351106273_d2ecec4e1404b238239cb09f73b7756f_rle_crop_3753679730_0.png.png imagette222179401744274709/1744274486_4096479_1351106171_789167a6b0e9cfb78f394ce5f867c6c9_rle_crop_3753676080_0.png.png imagette222179401744274709/1744274245_4090394_1351105477_9872ddb29df6697fc2f9f45f8d8a5705_rle_crop_3753671344_0.png.png imagette222179401744274709/1744274245_4090394_1351105272_5b393e76270b345369c97b55b15d31bf_rle_crop_3753671532_0.png.png imagette222179401744274709/1744274594_4156395_1351106265_b7f0fa2a5244ce2ae3a30f367b661115_rle_crop_3753679821_0.png.png imagette222179401744274709/1744274238_4151998_1351105563_96c00117be9ef18117b69246f3bf6e80_rle_crop_3753671454_0.png.png imagette222179401744274709/1744274245_4090394_1351105272_5b393e76270b345369c97b55b15d31bf_rle_crop_3753671531_0.png.png imagette222179401744274709/1744274245_146420_1351105397_dfa577877e265e0238c86fa6145c1c66_rle_crop_3753671303_0.png.png imagette222179401744274709/1744274238_4151998_1351105568_a3d55cad13c1f652cda830e962668348_rle_crop_3753671417_0.png.png imagette222179401744274709/1744274238_4151998_1351105570_5c2b02e61375fd947a53b7115f053990_rle_crop_3753671327_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8f8b45fbfd78918aa393bb52fae544a_20070404.png imagette222179401744274709 22217942 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=22217942 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351105870: '1744274238_4151998_1351105570_5c2b02e61375fd947a53b7115f053990_rle_crop_3753671330_0.png', 1351106341: '1744274492_4155121_1351106179_100e8dc304ae64c4359aa711edf4bacc_rle_crop_3753677535_0.png', 1351106342: '1744274492_4155121_1351105983_b523df22e3da9b3420dff94cd0e0d17d_rle_crop_3753677699_0.png', 1351106391: '1744274512_4155365_1351105991_68e01f7f1a1450829b563647c7901e19_rle_crop_3753678019_0.png', 1351106392: '1744274512_4155365_1351105758_229cc0ed590c1f3f23cd8e4b6bef7caf_rle_crop_3753678717_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ec3dd0d38343a36132d0ae28e1318cc_16485705.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b52e956149389a86ec9f612639a7371_51698809.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/011eb97cfb442c44c2be58a25ef4a493_3748894.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b37a2e044a924234865ac41292a65bd_68295447.png change filename to text .imagette222179421744274710/ imagette222179421744274710/1744274238_4151998_1351105570_5c2b02e61375fd947a53b7115f053990_rle_crop_3753671330_0.png.png imagette222179421744274710/1744274492_4155121_1351106179_100e8dc304ae64c4359aa711edf4bacc_rle_crop_3753677535_0.png.png imagette222179421744274710/1744274512_4155365_1351105758_229cc0ed590c1f3f23cd8e4b6bef7caf_rle_crop_3753678717_0.png.png imagette222179421744274710/1744274512_4155365_1351105991_68e01f7f1a1450829b563647c7901e19_rle_crop_3753678019_0.png.png imagette222179421744274710/1744274492_4155121_1351105983_b523df22e3da9b3420dff94cd0e0d17d_rle_crop_3753677699_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc1fac6cccd6fb4b029fd061a0f14a1c_1285043.png imagette222179421744274710 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22217932 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22217948,22217949,22217950,22217951,22217952,22217953,22217954,22217955,22217956,22217957,22217958,22217959?tags=plastique,Carton_brun,environnement,metal,Teint_Dans_La_Masse,autre_refus,Carton_gris,cartonnette,flou,kraft,mal_croppe,papier your option no_mail is active, we will not send the real mail to your client args[1351106569] : ('0.050032474612456475',) no score found for photo 1351106569 We are sending mail with results at report@fotonower.com args[1351106554] : ('0.050032474612456475',) no score found for photo 1351106554 We are sending mail with results at report@fotonower.com args[1351106522] : ('0.050032474612456475',) no score found for photo 1351106522 We are sending mail with results at report@fotonower.com args[1351106396] : ('0.050032474612456475',) no score found for photo 1351106396 We are sending mail with results at report@fotonower.com args[1351106386] : ('0.050032474612456475',) no score found for photo 1351106386 We are sending mail with results at report@fotonower.com args[1351106384] : ('0.050032474612456475',) no score found for photo 1351106384 We are sending mail with results at report@fotonower.com args[1351106381] : ('0.050032474612456475',) no score found for photo 1351106381 We are sending mail with results at report@fotonower.com args[1351106379] : ('0.050032474612456475',) no score found for photo 1351106379 We are sending mail with results at report@fotonower.com args[1351106322] : ('0.050032474612456475',) no score found for photo 1351106322 We are sending mail with results at report@fotonower.com args[1351106319] : ('0.050032474612456475',) no score found for photo 1351106319 We are sending mail with results at report@fotonower.com args[1351106316] : ('0.050032474612456475',) no score found for photo 1351106316 We are sending mail with results at report@fotonower.com args[1351106313] : ('0.050032474612456475',) no score found for photo 1351106313 We are sending mail with results at report@fotonower.com args[1351106311] : ('0.050032474612456475',) no score found for photo 1351106311 We are sending mail with results at report@fotonower.com args[1351106309] : ('0.050032474612456475',) no score found for photo 1351106309 We are sending mail with results at report@fotonower.com refus_total : 0.050032474612456475 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=22217932 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_P22217932_10-04-2025_10_45_04.pdf results_Auto_P22217932_10-04-2025_10_45_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217932_10-04-2025_10_45_04.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','22217932','results_Auto_P22217932_10-04-2025_10_45_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217932_10-04-2025_10_45_04.pdf','pdf','','0.27','0.050032474612456475') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22217932]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309] map_info['map_portfolio_photo'] : {22217932: [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309, 1351106279, 1351106276, 1351106273, 1351106265, 1351106179, 1351106171, 1351106161, 1351106148, 1351105991, 1351105987, 1351105983, 1351105980, 1351105806, 1351105791, 1351105772, 1351105758, 1351105739, 1351105651, 1351105631, 1351105628, 1351105572, 1351105570, 1351105568, 1351105563, 1351105477, 1351105451, 1351105429, 1351105397, 1351105394, 1351105392, 1351105286, 1351105279, 1351105276, 1351105272, 1351104731]} final : False mtd_id 4302 list_pids : [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309] 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, '2739062') ('4302', '22217932', '1351106569', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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', '22217932', '1351106569', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062')] time used for this insertion : 0.1587846279144287 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.727300643920898 time spend to save output : 0.1592240333557129 total time spend for step 4 : 7.886524677276611 step5:split_time_score Thu Apr 10 10:45:12 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 : ['22217932'] 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 : [('22217932',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22217932) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1351106554: {'path': 'temp/1744274704_1956770_1351106554_94d5dee6ebc6fb4a1d33338d6ebf37ae.jpg', 'extension': 'jpg'}, 1351106569: {'path': 'temp/1744274704_1956770_1351106569_a80407eda3765a2c77b9e5e8795ad61b.jpg', 'extension': 'jpg'}, 1351106316: {'path': 'temp/1744274704_1956770_1351106316_b2e4a457ea1419253487b121628299d0.jpg', 'extension': 'jpg'}, 1351106319: {'path': 'temp/1744274704_1956770_1351106319_0e2415b360ba3ad080ba490dc192a3bf.jpg', 'extension': 'jpg'}, 1351106322: {'path': 'temp/1744274704_1956770_1351106322_6e0581db1165014322335d958a479591.jpg', 'extension': 'jpg'}, 1351106386: {'path': 'temp/1744274704_1956770_1351106386_12dae48087812f25925e280ea9faedb8.jpg', 'extension': 'jpg'}, 1351106396: {'path': 'temp/1744274704_1956770_1351106396_19b050c09fd44e289da6fa69385b7cd6.jpg', 'extension': 'jpg'}, 1351106522: {'path': 'temp/1744274704_1956770_1351106522_126c9bbc40e9412fa704daf9839ddacd.jpg', 'extension': 'jpg'}, 1351106379: {'path': 'temp/1744274704_1956770_1351106379_20e7675ff38d6d6beb54fd7d1691a774.jpg', 'extension': 'jpg'}, 1351106381: {'path': 'temp/1744274704_1956770_1351106381_acff27cd53b1dcf3272a5b981b29ffe5.jpg', 'extension': 'jpg'}, 1351106384: {'path': 'temp/1744274704_1956770_1351106384_9cf980d93abde3f1a12c007450dc7835.jpg', 'extension': 'jpg'}, 1351106309: {'path': 'temp/1744274704_1956770_1351106309_56634df22511c5bfec8b9afedb844a14.jpg', 'extension': 'jpg'}, 1351106311: {'path': 'temp/1744274704_1956770_1351106311_4bb45e60f28aaa3bf8506652aaffc115.jpg', 'extension': 'jpg'}, 1351106313: {'path': 'temp/1744274704_1956770_1351106313_cb47cedfeb958a85a9ebfd92f053beb6.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 = 22217932; (('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 = 22217932 group by h (('10', 49),) 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=22217932 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 (22217932) 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 (22217932) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10042025 22217932 Nombre de photos uploadées : 49 / 23040 (0%) 10042025 22217932 Nombre de photos taguées (types de déchets): 0 / 49 (0%) 10042025 22217932 Nombre de photos taguées (volume) : 0 / 49 (0%) [{'photo_id': 1351104731, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9504a6a356be78f62a9110be93ac95c7.jpg', 'username': None, 'uploaded_at': 1744273927, 'text': 'image_10042025_10_31_44_10137.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351105286, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56c3f1cbbde4b84bb6118ec8b4cb8c36.jpg', 'username': None, 'uploaded_at': 1744274047, 'text': 'image_10042025_10_31_54_10136.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351105279, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5331470e4a86bfc7ef94e9609325f5a4.jpg', 'username': None, 'uploaded_at': 1744274047, 'text': 'image_10042025_10_33_24_009125m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351105276, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c31bc8ede7ebad8a188045f9ac766cb8.jpg', 'username': None, 'uploaded_at': 1744274047, 'text': 'image_10042025_10_33_34_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021147727966308594 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22217932, '2025-04-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1728450,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.031545400619506836 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= 1728450 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1728450, 'dashboard_run_id': 1738028, 'mtr_portfolio_id': 22216157, 'dashboard_result_id': 9984470, '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_P22216157_10-04-2025_10_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216171, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1738028, 'mtr_portfolio_id': 22216609, 'dashboard_result_id': 9984471, '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_P22216609_10-04-2025_10_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216640, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1738028, 'mtr_portfolio_id': 22217206, 'dashboard_result_id': 9984472, '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_P22217206_10-04-2025_10_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217292, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1738028, 'mtr_portfolio_id': 22217932, 'dashboard_result_id': 9984473, '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_P22217932_10-04-2025_10_43_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217947, '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 = 22216157 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': 2738917, 'mtr_portfolio_id': 22216157, 'created_at': datetime.datetime(2025, 4, 10, 10, 2, 58), 'result': '0.04346001500515511', 'result_long': None, 'result_double': None}] Qualite : 0.04346001500515511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22216157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216157_10-04-2025_10_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22216157 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_P22216157_10-04-2025_10_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216171, 'pht': 3726}}" where mtr_portfolio_id = 22216157 and dashboard_run_id = 1738028 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`=22216157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9984470, 0.04346001500515511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216157_10-04-2025_10_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216171, '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 = 22216609 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': 2738963, 'mtr_portfolio_id': 22216609, 'created_at': datetime.datetime(2025, 4, 10, 10, 19), 'result': '0.045711844110160944', 'result_long': None, 'result_double': None}] Qualite : 0.045711844110160944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22216609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216609_10-04-2025_10_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22216609 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_P22216609_10-04-2025_10_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216640, 'pht': 3726}}" where mtr_portfolio_id = 22216609 and dashboard_run_id = 1738028 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`=22216609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9984471, 0.045711844110160944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22216609_10-04-2025_10_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22216629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22216630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22216631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22216632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22216633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22216634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22216635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22216636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22216637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22216638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22216639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22216640, '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 = 22217206 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': 2739004, 'mtr_portfolio_id': 22217206, 'created_at': datetime.datetime(2025, 4, 10, 10, 33, 1), 'result': '0.04157723904391312', 'result_long': None, 'result_double': None}] Qualite : 0.04157723904391312 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22217206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217206_10-04-2025_10_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22217206 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_P22217206_10-04-2025_10_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217292, 'pht': 3726}}" where mtr_portfolio_id = 22217206 and dashboard_run_id = 1738028 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`=22217206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9984472, 0.04157723904391312, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217206_10-04-2025_10_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217289, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217292, '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 = 22217932 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': 2739062, 'mtr_portfolio_id': 22217932, 'created_at': datetime.datetime(2025, 4, 10, 10, 45, 4), 'result': '0.050032474612456475', 'result_long': None, 'result_double': None}] Qualite : 0.050032474612456475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22217932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217932_10-04-2025_10_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22217932 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_P22217932_10-04-2025_10_45_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217947, 'pht': 3726}}" where mtr_portfolio_id = 22217932 and dashboard_run_id = 1738028 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`=22217932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9984473, 0.050032474612456475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22217932_10-04-2025_10_45_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22217936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22217937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22217938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22217939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22217940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22217941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22217942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22217943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22217944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22217945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22217946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22217947, '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 (22216157,22216609,22217206,22217932) result : ((1351092919,), (1351092922,), (1351092943,), (1351093498,), (1351093511,), (1351093835,), (1351093903,), (1351093912,), (1351094002,), (1351094036,), (1351094135,), (1351094139,), (1351094141,), (1351094214,), (1351094216,), (1351094218,), (1351094219,), (1351094221,), (1351094254,), (1351094255,), (1351094259,), (1351094263,), (1351094311,), (1351094315,), (1351094321,), (1351094330,), (1351094402,), (1351094470,), (1351094509,), (1351094510,), (1351094588,), (1351094590,), (1351094594,), (1351094649,), (1351094653,), (1351094673,), (1351094808,), (1351094811,), (1351094814,), (1351094822,), (1351094827,), (1351095516,), (1351095569,), (1351095613,), (1351095644,), (1351095699,), (1351095880,), (1351095926,), (1351095969,), (1351096290,), (1351096155,), (1351096182,), (1351096206,), (1351096238,), (1351096519,), (1351096547,), (1351096570,), (1351096586,), (1351096590,), (1351096624,), (1351096874,), (1351096922,), (1351096972,), (1351096998,), (1351097233,), (1351097260,), (1351097286,), (1351097513,), (1351097515,), (1351097519,), (1351097544,), (1351097572,), (1351097960,), (1351098626,), (1351098674,), (1351098716,), (1351098754,), (1351098783,), (1351098831,), (1351099215,), (1351099260,), (1351099314,), (1351099341,), (1351099611,), (1351099614,), (1351099621,), (1351100040,), (1351100083,), (1351100097,), (1351100467,), (1351100515,), (1351100579,), (1351100618,), (1351100623,), (1351100653,), (1351100771,), (1351100804,), (1351100838,), (1351100856,), (1351100940,), (1351100944,), (1351100969,), (1351100992,), (1351101006,), (1351101020,), (1351101210,), (1351101259,), (1351101302,), (1351101321,), (1351101535,), (1351101563,), (1351101602,), (1351101698,), (1351101750,), (1351101901,), (1351101876,), (1351101881,), (1351101885,), (1351101892,), (1351102027,), (1351102031,), (1351102034,), (1351102037,), (1351102047,), (1351102160,), (1351102342,), (1351102352,), (1351102356,), (1351102366,), (1351102427,), (1351102616,), (1351102656,), (1351102709,), (1351102844,), (1351102869,), (1351102875,), (1351102880,), (1351102885,), (1351102890,), (1351102947,), (1351102951,), (1351102965,), (1351103015,), (1351103018,), (1351103022,), (1351103026,), (1351103029,), (1351103035,), (1351103122,), (1351103130,), (1351103138,), (1351103154,), (1351103366,), (1351103394,), (1351103414,), (1351103453,), (1351103487,), (1351103539,), (1351103684,), (1351103711,), (1351103735,), (1351103814,), (1351103834,), (1351103910,), (1351103915,), (1351103918,), (1351103957,), (1351104055,), (1351104064,), (1351104090,), (1351104119,), (1351104122,), (1351104167,), (1351104169,), (1351104172,), (1351104175,), (1351104178,), (1351104209,), (1351104276,), (1351104282,), (1351104320,), (1351104753,), (1351104731,), (1351105272,), (1351105276,), (1351105279,), (1351105286,), (1351105392,), (1351105394,), (1351105397,), (1351105429,), (1351105451,), (1351105477,), (1351105563,), (1351105568,), (1351105570,), (1351105572,), (1351105628,), (1351105631,), (1351105651,), (1351105739,), (1351105758,), (1351105772,), (1351105791,), (1351105806,), (1351105980,), (1351105983,), (1351105987,), (1351105991,), (1351106148,), (1351106161,), (1351106171,), (1351106179,), (1351106265,), (1351106273,), (1351106276,), (1351106279,), (1351106309,), (1351106311,), (1351106313,), (1351106316,), (1351106319,), (1351106322,), (1351106379,), (1351106381,), (1351106384,), (1351106386,), (1351106396,), (1351106522,), (1351106554,), (1351106569,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10042025': {'nb_upload': 49, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22217932]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309] map_info['map_portfolio_photo'] : {22217932: [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309, 1351106279, 1351106276, 1351106273, 1351106265, 1351106179, 1351106171, 1351106161, 1351106148, 1351105991, 1351105987, 1351105983, 1351105980, 1351105806, 1351105791, 1351105772, 1351105758, 1351105739, 1351105651, 1351105631, 1351105628, 1351105572, 1351105570, 1351105568, 1351105563, 1351105477, 1351105451, 1351105429, 1351105397, 1351105394, 1351105392, 1351105286, 1351105279, 1351105276, 1351105272, 1351104731]} final : True mtd_id 4302 list_pids : [1351106569, 1351106554, 1351106522, 1351106396, 1351106386, 1351106384, 1351106381, 1351106379, 1351106322, 1351106319, 1351106316, 1351106313, 1351106311, 1351106309] Looping around the photos to save general results len do output : 1 /22217932Didn'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, '2739062') ('4302', '22217932', '1351106569', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062') ('4302', None, None, None, None, None, None, None, '2739062') ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '22217932', 'None', None, None, None, None, '2739062'), ('4302', '22217932', '1351106569', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106554', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106522', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106396', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106386', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106384', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106381', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106379', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106322', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106319', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106316', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106313', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106311', None, None, None, None, None, '2739062'), ('4302', '22217932', '1351106309', None, None, None, None, None, '2739062')] time used for this insertion : 0.09532833099365234 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.469019889831543 time spend to save output : 0.09553098678588867 total time spend for step 5 : 2.5645508766174316 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 (2739062) 2.23user 2.41system 0:18.86elapsed 24%CPU (0avgtext+0avgdata 160424maxresident)k 3680inputs+15240outputs (71major+74801minor)pagefaults 0swaps