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 : 998458 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 (2723174) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2723174) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046570 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2723174'] with mtr_portfolio_ids : ['22046570'] and first list_photo_ids : [] new path : /proc/998458/ Name: python3 Umask: 0002 State: R (running) Tgid: 998458 Ngid: 0 Pid: 998458 PPid: 998457 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 998458 NSpid: 998458 NSpgid: 995120 NSsid: 995120 VmPeak: 1106828 kB VmSize: 1106828 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97532 kB VmRSS: 97532 kB RssAnon: 59800 kB RssFile: 37732 kB RssShmem: 0 kB VmData: 865576 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 77 nonvoluntary_ctxt_switches: 171 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '998458', 'Ngid': '0', 'Pid': '998458', 'PPid': '998457', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '998458', 'NSpid': '998458', 'NSpgid': '995120', 'NSsid': '995120', 'VmPeak': '1106828 kB', 'VmSize': '1106828 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97532 kB', 'VmRSS': '97532 kB', 'RssAnon': '59800 kB', 'RssFile': '37732 kB', 'RssShmem': '0 kB', 'VmData': '865576 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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', 'C result : ((1349982310,), (1349982344,), (1349982412,), (1349983004,), (1349983069,), (1349983097,), (1349983124,), (1349983414,), (1349983439,), (1349983445,), (1349983472,), (1349983498,), (1349983876,), (1349983922,), (1349983970,), (1349984021,), (1349984070,), (1349984255,), (1349984363,), (1349984371,), (1349984422,), (1349984437,), (1349984442,), (1349984446,), (1349984450,), (1349984454,), (1349984538,), (1349984552,), (1349984570,), (1349984576,), (1349984627,), (1349984634,), (1349984640,), (1349984647,), (1349984652,), (1349984831,), (1349984857,), (1349984886,), (1349984913,), (1349984940,), (1349984970,), (1349985156,), (1349985177,), (1349985192,), (1349985198,), (1349985204,), (1349985364,), (1349985382,), (1349985405,), (1349985419,), (1349985423,), (1349985516,), (1349985520,), (1349985529,), (1349985534,), (1349985857,), (1349985871,), (1349985881,), (1349985888,), (1349985895,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22046588 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22046570 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22046588) result : ((1349984373,), (1349984374,), (1349984376,), (1349984377,), (1349984497,), (1349984498,), (1349985288,), (1349985289,), (1349985290,), (1349985505,), (1349985506,), (1349985507,), (1349985898,), (1349985900,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22046570) result : ((1349982310,), (1349982344,), (1349982412,), (1349983004,), (1349983069,), (1349983097,), (1349983124,), (1349983414,), (1349983439,), (1349983445,), (1349983472,), (1349983498,), (1349983876,), (1349983922,), (1349983970,), (1349984021,), (1349984070,), (1349984255,), (1349984363,), (1349984371,), (1349984422,), (1349984437,), (1349984442,), (1349984446,), (1349984450,), (1349984454,), (1349984538,), (1349984552,), (1349984570,), (1349984576,), (1349984627,), (1349984634,), (1349984640,), (1349984647,), (1349984652,), (1349984831,), (1349984857,), (1349984886,), (1349984913,), (1349984940,), (1349984970,), (1349985156,), (1349985177,), (1349985192,), (1349985198,), (1349985204,), (1349985364,), (1349985382,), (1349985405,), (1349985419,), (1349985423,), (1349985516,), (1349985520,), (1349985529,), (1349985534,), (1349985857,), (1349985871,), (1349985881,), (1349985888,), (1349985895,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22046570 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','papier','environnement','Carton_gris','flou','kraft','mal_croppe','cartonnette','Carton_brun','autre_refus','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22046570 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','papier','environnement','Carton_gris','flou','kraft','mal_croppe','cartonnette','Carton_brun','autre_refus','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22046570, 'sub_port_id': 22046589, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537847, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'plastique': {'main_port_id': 22046570, 'sub_port_id': 22046590, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537848, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'environnement': {'main_port_id': 22046570, 'sub_port_id': 22046591, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537849, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'Carton_gris': {'main_port_id': 22046570, 'sub_port_id': 22046592, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537850, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'kraft': {'main_port_id': 22046570, 'sub_port_id': 22046593, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537851, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'metal': {'main_port_id': 22046570, 'sub_port_id': 22046594, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537852, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'autre_refus': {'main_port_id': 22046570, 'sub_port_id': 22046595, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537853, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 22046570, 'sub_port_id': 22046596, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537854, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'mal_croppe': {'main_port_id': 22046570, 'sub_port_id': 22046597, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537855, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'flou': {'main_port_id': 22046570, 'sub_port_id': 22046598, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537856, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'Carton_brun': {'main_port_id': 22046570, 'sub_port_id': 22046599, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537857, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 5), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}, 'cartonnette': {'main_port_id': 22046570, 'sub_port_id': 22046600, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14537858, 'last_updated_at': datetime.datetime(2025, 4, 15, 20, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 15, 20, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 15, 20, 5)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046589,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046577 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046590,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046578 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046591,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046579 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046592,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046580 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046593,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046581 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046594,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046582 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046595,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046583 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046596,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046584 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046597,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046585 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046598,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046586 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046599,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046587 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22046600,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22046588 lien utilise dans velours : https://www.fotonower.com/velours/22046589,22046590,22046591,22046592,22046593,22046594,22046595,22046596,22046597,22046598,22046599,22046600?tags=papier,plastique,environnement,Carton_gris,kraft,metal,autre_refus,Teint_Dans_La_Masse,mal_croppe,flou,Carton_brun,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22046570]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] map_info['map_portfolio_photo'] : {22046570: [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364, 1349985204, 1349985198, 1349985192, 1349985177, 1349985156, 1349984970, 1349984940, 1349984913, 1349984886, 1349984857, 1349984831, 1349984652, 1349984647, 1349984640, 1349984634, 1349984627, 1349984576, 1349984570, 1349984552, 1349984538, 1349984454, 1349984450, 1349984446, 1349984442, 1349984437, 1349984422, 1349984371, 1349984363, 1349984255, 1349984070, 1349984021, 1349983970, 1349983922, 1349983876, 1349983498, 1349983472, 1349983445, 1349983439, 1349983414, 1349983124, 1349983097, 1349983069, 1349983004, 1349982412, 1349982344, 1349982310]} final : False mtd_id 4302 list_pids : [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] Looping around the photos to save general results len do output : 1 /22046570. 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, '2723174') ('4302', '22046570', '1349985895', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174') 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, '22046570', "{'papier': 22046577, 'plastique': 22046578, 'environnement': 22046579, 'Carton_gris': 22046580, 'kraft': 22046581, 'metal': 22046582, 'autre_refus': 22046583, 'Teint_Dans_La_Masse': 22046584, 'mal_croppe': 22046585, 'flou': 22046586, 'Carton_brun': 22046587, 'cartonnette': 22046588}", None, None, None, None, '2723174'), ('4302', '22046570', '1349985895', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174')] time used for this insertion : 0.013587713241577148 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4617149829864502 time spend to save output : 0.013865947723388672 total time spend for step 1 : 1.4755809307098389 step2:final Tue Apr 15 20:14:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (22046570) 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 22046570 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349982412,1349982344,1349982310,1349983124,1349983097,1349983069,1349983004,1349983498,1349983472,1349983445,1349983439,1349983414,1349984070,1349984021,1349983970,1349983922,1349983876,1349984255,1349984371,1349984363,1349984454,1349984450,1349984446,1349984442,1349984437,1349984422,1349984576,1349984570,1349984552,1349984538,1349984652,1349984647,1349984640,1349984634,1349984627,1349984970,1349984940,1349984913,1349984886,1349984857,1349984831,1349985204,1349985198,1349985192,1349985177,1349985156,1349985423,1349985419,1349985405,1349985382,1349985364,1349985534,1349985529,1349985520,1349985516,1349985895,1349985888,1349985881,1349985871,1349985857); 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([22046570]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} new output for save of step final : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] map_info['map_portfolio_photo'] : {22046570: [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364, 1349985204, 1349985198, 1349985192, 1349985177, 1349985156, 1349984970, 1349984940, 1349984913, 1349984886, 1349984857, 1349984831, 1349984652, 1349984647, 1349984640, 1349984634, 1349984627, 1349984576, 1349984570, 1349984552, 1349984538, 1349984454, 1349984450, 1349984446, 1349984442, 1349984437, 1349984422, 1349984371, 1349984363, 1349984255, 1349984070, 1349984021, 1349983970, 1349983922, 1349983876, 1349983498, 1349983472, 1349983445, 1349983439, 1349983414, 1349983124, 1349983097, 1349983069, 1349983004, 1349982412, 1349982344, 1349982310]} final : False mtd_id 4302 list_pids : [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] Looping around the photos to save general results len do output : 14 /1349985895.Didn't retrieve data . /1349985888.Didn't retrieve data . /1349985881.Didn't retrieve data . /1349985871.Didn't retrieve data . /1349985857.Didn't retrieve data . /1349985534.Didn't retrieve data . /1349985529.Didn't retrieve data . /1349985520.Didn't retrieve data . /1349985516.Didn't retrieve data . /1349985423.Didn't retrieve data . /1349985419.Didn't retrieve data . /1349985405.Didn't retrieve data . /1349985382.Didn't retrieve data . /1349985364.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, '2723174') ('4302', '22046570', '1349985895', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174') 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', '22046570', '1349985895', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985888', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985881', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985871', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985857', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985534', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985529', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985520', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985516', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985423', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985419', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985405', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985382', '0.040890821919277516', None, None, None, None, '2723174'), ('4302', '22046570', '1349985364', '0.040890821919277516', None, None, None, None, '2723174')] time used for this insertion : 0.013171195983886719 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0667879581451416 time spend to save output : 0.013914823532104492 total time spend for step 2 : 0.0807027816772461 step3:velours_tree Tue Apr 15 20:14:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {22046570: [{'papier': 22046577, 'plastique': 22046578, 'environnement': 22046579, 'Carton_gris': 22046580, 'kraft': 22046581, 'metal': 22046582, 'autre_refus': 22046583, 'Teint_Dans_La_Masse': 22046584, 'mal_croppe': 22046585, 'flou': 22046586, 'Carton_brun': 22046587, 'cartonnette': 22046588}]} input_args_next_step : {22046570: ()} output_args : {22046570: [{'papier': 22046577, 'plastique': 22046578, 'environnement': 22046579, 'Carton_gris': 22046580, 'kraft': 22046581, 'metal': 22046582, 'autre_refus': 22046583, 'Teint_Dans_La_Masse': 22046584, 'mal_croppe': 22046585, 'flou': 22046586, 'Carton_brun': 22046587, 'cartonnette': 22046588}]} args : 22046570 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 22046577, 'plastique': 22046578, 'environnement': 22046579, 'Carton_gris': 22046580, 'kraft': 22046581, 'metal': 22046582, 'autre_refus': 22046583, 'Teint_Dans_La_Masse': 22046584, 'mal_croppe': 22046585, 'flou': 22046586, 'Carton_brun': 22046587, 'cartonnette': 22046588},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22046570) 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([22046570]) 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.3409850597381592 time spend to save output : 6.604194641113281e-05 total time spend for step 3 : 0.3410511016845703 step4:send_mail_cod Tue Apr 15 20:14:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} input_args_next_step : {1349985895: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985895 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985888 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985881 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985871 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985857 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985534 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985529 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985520 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985516 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985423 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985419 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985405 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985382 depend.output_id : 0 input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ()} output_args : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',)} args : 1349985364 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 : {22046570: [{'papier': 22046577, 'plastique': 22046578, 'environnement': 22046579, 'Carton_gris': 22046580, 'kraft': 22046581, 'metal': 22046582, 'autre_refus': 22046583, 'Teint_Dans_La_Masse': 22046584, 'mal_croppe': 22046585, 'flou': 22046586, 'Carton_brun': 22046587, 'cartonnette': 22046588}]} input_args_next_step : {1349985895: ('0.040890821919277516',), 1349985888: ('0.040890821919277516',), 1349985881: ('0.040890821919277516',), 1349985871: ('0.040890821919277516',), 1349985857: ('0.040890821919277516',), 1349985534: ('0.040890821919277516',), 1349985529: ('0.040890821919277516',), 1349985520: ('0.040890821919277516',), 1349985516: ('0.040890821919277516',), 1349985423: ('0.040890821919277516',), 1349985419: ('0.040890821919277516',), 1349985405: ('0.040890821919277516',), 1349985382: ('0.040890821919277516',), 1349985364: ('0.040890821919277516',), 22046570: ()} output_args : {22046570: [{'papier': 22046577, 'plastique': 22046578, 'environnement': 22046579, 'Carton_gris': 22046580, 'kraft': 22046581, 'metal': 22046582, 'autre_refus': 22046583, 'Teint_Dans_La_Masse': 22046584, 'mal_croppe': 22046585, 'flou': 22046586, 'Carton_brun': 22046587, 'cartonnette': 22046588}]} args : 22046570 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.040890821919277516',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22046570) 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 (1349985895,1349985888,1349985881,1349985871,1349985857,1349985534,1349985529,1349985520,1349985516,1349985423,1349985419,1349985405,1349985382,1349985364) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349985364 begin to download photo : 1349985419 begin to download photo : 1349985520 begin to download photo : 1349985857 begin to download photo : 1349985888 download finish for photo 1349985520 begin to download photo : 1349985529 download finish for photo 1349985364 begin to download photo : 1349985382 download finish for photo 1349985888 begin to download photo : 1349985895 download finish for photo 1349985857 begin to download photo : 1349985871 download finish for photo 1349985419 begin to download photo : 1349985423 download finish for photo 1349985895 download finish for photo 1349985529 begin to download photo : 1349985534 download finish for photo 1349985382 begin to download photo : 1349985405 download finish for photo 1349985423 begin to download photo : 1349985516 download finish for photo 1349985871 begin to download photo : 1349985881 download finish for photo 1349985534 download finish for photo 1349985516 download finish for photo 1349985405 download finish for photo 1349985881 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_P22046570_15-04-2025_20_14_58.pdf 22046578 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=22046578 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984340: '1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202170_0.png', 1349984341: '1744740313_1047173_1349983439_189cf2f1127a367a52c547f73d4519ad_rle_crop_3747202179_0.png', 1349984342: '1744740313_1047173_1349983439_189cf2f1127a367a52c547f73d4519ad_rle_crop_3747202176_0.png', 1349984501: '1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203621_0.png', 1349984502: '1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203613_0.png', 1349985509: '1744740732_1053385_1349984422_d739b0ad03aa93a5a12ddf34df9a817c_rle_crop_3747215287_0.png', 1349985807: '1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215646_0.png', 1349985808: '1744740791_1054259_1349985405_644890f271938203a6660a93f24524c5_rle_crop_3747215722_0.png', 1349985809: '1744740791_1054259_1349985382_2d47a5198362f8189a53fbdb56b83319_rle_crop_3747215730_0.png', 1349985810: '1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215744_0.png', 1349985903: '1744740829_1362886_1349984913_c232bc548d4cd4a09d2c7cb8de1e6f79_rle_crop_3747217966_0.png', 1349985904: '1744740829_1362886_1349984886_2422ed2bf4c039fcffd81282c8482869_rle_crop_3747217975_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b11ef840791d1d8c191fc4d8d8fa019_95996549.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0505b353b78e6a2ea888c2b5b3ec8fe_13034821.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ec784b63a07ec38e0150cb8019ebf7a_41911889.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40ef27c8855f4a41ee8e105e1279f89e_13340157.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63a5e9d60a5391270317178a6252948b_43630535.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36c53c51d7bc96af6d50b6525e4e0a54_10666516.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/507f06e10db0c6fe9f72263aeca162b3_70422178.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed15060a2cb74d51b86b80e5974e9265_51321658.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20286e8d065380f80e14a887b634dc41_83019982.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9530543fe8282a8d8fa11aa91cd17c30_49889844.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48823807f295dbd6a3d7f837606af230_94378070.png change filename to text .imagette220465781744740898/ imagette220465781744740898/1744740829_1362886_1349984913_c232bc548d4cd4a09d2c7cb8de1e6f79_rle_crop_3747217966_0.png.png imagette220465781744740898/1744740829_1362886_1349984886_2422ed2bf4c039fcffd81282c8482869_rle_crop_3747217975_0.png.png imagette220465781744740898/1744740313_1047173_1349983439_189cf2f1127a367a52c547f73d4519ad_rle_crop_3747202176_0.png.png imagette220465781744740898/1744740732_1053385_1349984422_d739b0ad03aa93a5a12ddf34df9a817c_rle_crop_3747215287_0.png.png imagette220465781744740898/1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215744_0.png.png imagette220465781744740898/1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203613_0.png.png imagette220465781744740898/1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215646_0.png.png imagette220465781744740898/1744740791_1054259_1349985405_644890f271938203a6660a93f24524c5_rle_crop_3747215722_0.png.png imagette220465781744740898/1744740791_1054259_1349985382_2d47a5198362f8189a53fbdb56b83319_rle_crop_3747215730_0.png.png imagette220465781744740898/1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202170_0.png.png imagette220465781744740898/1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203621_0.png.png imagette220465781744740898/1744740313_1047173_1349983439_189cf2f1127a367a52c547f73d4519ad_rle_crop_3747202179_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/441a1b1e31debe776a87fd80ca40c3ab_43746650.png imagette220465781744740898 22046581 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=22046581 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984380: '1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202366_0.png'} change filename to text .imagette220465811744740899/ imagette220465811744740899/1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202366_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b15025fdc9c312e7df73828356b3bb10_80895529.png imagette220465811744740899 22046582 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=22046582 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984343: '1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202163_0.png', 1349984344: '1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202161_0.png', 1349984345: '1744740313_1047173_1349983414_89aad93810be367afdb329372166fbf9_rle_crop_3747202191_0.png', 1349985905: '1744740829_1362886_1349984940_3b843c7eb345c4a57c799eda44b44947_rle_crop_3747217946_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84c015581f8c8742ff691f930e51dda4_17344714.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65dc5ffa56172bae266ac0fbb2b116a7_86934344.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdeb2bd795c25635f3d53ad570ea3493_88795526.png change filename to text .imagette220465821744740899/ imagette220465821744740899/1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202163_0.png.png imagette220465821744740899/1744740829_1362886_1349984940_3b843c7eb345c4a57c799eda44b44947_rle_crop_3747217946_0.png.png imagette220465821744740899/1744740313_1047173_1349983414_89aad93810be367afdb329372166fbf9_rle_crop_3747202191_0.png.png imagette220465821744740899/1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202161_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03346304060c9829126a5dff30328372_96891681.png imagette220465821744740899 22046583 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=22046583 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984332: '1744740313_1047173_1349983472_94f758b9287a25688b8d37776de3affa_rle_crop_3747202140_0.png', 1349984333: '1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202166_0.png', 1349984334: '1744740313_1047173_1349983414_89aad93810be367afdb329372166fbf9_rle_crop_3747202189_0.png', 1349984366: '1744740343_1351038_1349982310_f91a9e13b6169701b25b8bde2b868ae3_rle_crop_3747202384_0.png', 1349984492: '1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203610_0.png', 1349984493: '1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203611_0.png', 1349984494: '1744740431_1048842_1349983970_2b92cb5e60bcaafe7cb8e4e19d7d3898_rle_crop_3747203647_0.png', 1349985281: '1744740673_1052589_1349984634_d871752d8775cf58d716689abebc006b_rle_crop_3747211803_0.png', 1349985390: '1744740708_1358889_1349984454_36ecda672d54f7828ce1f309655b23ef_rle_crop_3747212267_0.png', 1349985501: '1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215213_0.png', 1349985502: '1744740732_1053385_1349984446_5c3d9b95a62f6a364520fcb294c7e6ee_rle_crop_3747215234_0.png', 1349985503: '1744740732_1053385_1349984437_a268b873c5236809c67adbd5a514ce53_rle_crop_3747215270_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/febf69da6aad18d00148f1b4be84fe46_92031062.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/246b1fb3126b2ea33839c2666422491a_98902562.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65f0a855b47dc568fbcbc33d732717be_31637197.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/471f829c364cf06a1bc0881c61c5671d_6888281.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/522a4f9c6a9ce3f948a08082ee9702a4_82227861.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a874714c7a4d8288bc7af3602bc08fa_44493304.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e01110b44de1eb0822a8fd66d14f3c7_99908480.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/282b8b403d2340e68dcf01b4eed25ab0_47598292.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/012cbf40442a1f4217ceae13188f1c91_18806015.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff72404c8b78545a0763253b34ec6561_15871517.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/916e23616d6656cdb8a44312bd19042b_28150897.png change filename to text .imagette220465831744740899/ imagette220465831744740899/1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203611_0.png.png imagette220465831744740899/1744740732_1053385_1349984437_a268b873c5236809c67adbd5a514ce53_rle_crop_3747215270_0.png.png imagette220465831744740899/1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202166_0.png.png imagette220465831744740899/1744740343_1351038_1349982310_f91a9e13b6169701b25b8bde2b868ae3_rle_crop_3747202384_0.png.png imagette220465831744740899/1744740732_1053385_1349984446_5c3d9b95a62f6a364520fcb294c7e6ee_rle_crop_3747215234_0.png.png imagette220465831744740899/1744740313_1047173_1349983414_89aad93810be367afdb329372166fbf9_rle_crop_3747202189_0.png.png imagette220465831744740899/1744740431_1048842_1349984021_0e256b5ee64150b490a91541c3cbeb4f_rle_crop_3747203610_0.png.png imagette220465831744740899/1744740313_1047173_1349983472_94f758b9287a25688b8d37776de3affa_rle_crop_3747202140_0.png.png imagette220465831744740899/1744740673_1052589_1349984634_d871752d8775cf58d716689abebc006b_rle_crop_3747211803_0.png.png imagette220465831744740899/1744740708_1358889_1349984454_36ecda672d54f7828ce1f309655b23ef_rle_crop_3747212267_0.png.png imagette220465831744740899/1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215213_0.png.png imagette220465831744740899/1744740431_1048842_1349983970_2b92cb5e60bcaafe7cb8e4e19d7d3898_rle_crop_3747203647_0.png.png imagette220465851744740899/ imagette220465861744740899/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a8c11719f61a964b17b7c9acade2fc8_30124309.png imagette220465831744740899 22046585 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=22046585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220465851744740899 22046586 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=22046586 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220465861744740899 22046588 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=22046588 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984373: '1744740343_1351038_1349983124_cca24a3427607ce0a24eb71a10f2ee6b_rle_crop_3747202338_0.png', 1349984374: '1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202370_0.png', 1349984376: '1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202369_0.png', 1349984377: '1744740343_1351038_1349982310_f91a9e13b6169701b25b8bde2b868ae3_rle_crop_3747202391_0.png', 1349984497: '1744740431_1048842_1349983922_cf8c0e968aa12695d0db40bf7bf04b1e_rle_crop_3747203662_0.png', 1349984498: '1744740431_1048842_1349983876_fba2f25f4a91b6939ac8b4160430d4f9_rle_crop_3747203683_0.png', 1349985288: '1744740673_1052589_1349984634_d871752d8775cf58d716689abebc006b_rle_crop_3747211801_0.png', 1349985289: '1744740673_1052589_1349984627_f43a9eeb31c96fc44b67c32a579b2afe_rle_crop_3747212068_0.png', 1349985290: '1744740673_1052589_1349984627_f43a9eeb31c96fc44b67c32a579b2afe_rle_crop_3747212071_0.png', 1349985505: '1744740732_1053385_1349984576_6064116aa1f945c198453422f29e3641_rle_crop_3747215147_0.png', 1349985506: '1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215214_0.png', 1349985507: '1744740732_1053385_1349984442_fa7f575dbc6156f153cb72714e1b6cf8_rle_crop_3747215251_0.png', 1349985898: '1744740829_1362886_1349984857_4475d066a84bf8ede2b8bb067feef4f1_rle_crop_3747218224_0.png', 1349985900: '1744740829_1362886_1349984857_4475d066a84bf8ede2b8bb067feef4f1_rle_crop_3747218222_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bae8e57d705e12b0213500ec1f89adf_55841503.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3222df7bd8df580fe8783abc2ec4cc1d_70898052.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f933a21f132b671c8dbcbee964878841_74060768.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a80903895f22fd4419e1b4e33493a53_33803558.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2d223fc1cbca4c047bc110d2052cbe8_91264644.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a90cb02208e5134735877404f03df2fc_18314364.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afffd16d7e2fbb4594c16c4d1e1bbfaa_56310799.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5a18a7d7bd53b56ac76e145935ea3d3_6470954.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77735949b07df2473f98915a9807b980_84198664.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a03286d88027e89ff5dd641934bb3b9d_58575550.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08c7198f265dc2def8052171131ab7f5_25245382.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3339f97aa6f950bc904218fd506a44fc_81026169.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0087b9dc56072631def9f89fe904a36e_40328996.png change filename to text .imagette220465881744740899/ imagette220465881744740899/1744740732_1053385_1349984442_fa7f575dbc6156f153cb72714e1b6cf8_rle_crop_3747215251_0.png.png imagette220465881744740899/1744740829_1362886_1349984857_4475d066a84bf8ede2b8bb067feef4f1_rle_crop_3747218224_0.png.png imagette220465881744740899/1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215214_0.png.png imagette220465881744740899/1744740673_1052589_1349984627_f43a9eeb31c96fc44b67c32a579b2afe_rle_crop_3747212068_0.png.png imagette220465881744740899/1744740673_1052589_1349984627_f43a9eeb31c96fc44b67c32a579b2afe_rle_crop_3747212071_0.png.png imagette220465881744740899/1744740673_1052589_1349984634_d871752d8775cf58d716689abebc006b_rle_crop_3747211801_0.png.png imagette220465881744740899/1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202370_0.png.png imagette220465881744740899/1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202369_0.png.png imagette220465881744740899/1744740343_1351038_1349982310_f91a9e13b6169701b25b8bde2b868ae3_rle_crop_3747202391_0.png.png imagette220465881744740899/1744740732_1053385_1349984576_6064116aa1f945c198453422f29e3641_rle_crop_3747215147_0.png.png imagette220465881744740899/1744740431_1048842_1349983922_cf8c0e968aa12695d0db40bf7bf04b1e_rle_crop_3747203662_0.png.png imagette220465881744740899/1744740829_1362886_1349984857_4475d066a84bf8ede2b8bb067feef4f1_rle_crop_3747218222_0.png.png imagette220465881744740899/1744740343_1351038_1349983124_cca24a3427607ce0a24eb71a10f2ee6b_rle_crop_3747202338_0.png.png imagette220465881744740899/1744740431_1048842_1349983876_fba2f25f4a91b6939ac8b4160430d4f9_rle_crop_3747203683_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/658d1ca5a083fc91c96eedec84f3b753_72063264.png imagette220465881744740899 22046580 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=22046580 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984336: '1744740313_1047173_1349983472_94f758b9287a25688b8d37776de3affa_rle_crop_3747202151_0.png', 1349984368: '1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202372_0.png', 1349984369: '1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202368_0.png', 1349984370: '1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202367_0.png', 1349984495: '1744740431_1048842_1349983970_2b92cb5e60bcaafe7cb8e4e19d7d3898_rle_crop_3747203639_0.png', 1349985504: '1744740732_1053385_1349984446_5c3d9b95a62f6a364520fcb294c7e6ee_rle_crop_3747215235_0.png', 1349985894: '1744740829_1362886_1349984831_5e35aa907eb5439c0dd88fdf05329181_rle_crop_3747218241_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/673786ff6ee836033392c4417aa1260e_28599956.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/450bf73d5d1ed01caa37f71e343088d2_30422821.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79ad9549ba5a3b2a7283ec7a7335fb17_20440905.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45a78823f453e679877d61470db5fefe_97434699.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b1c62f779f6bcc15bd2a1a83d9c10a5_83416025.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06c38dfa19351878d34c1c83f502575b_78768954.png change filename to text .imagette220465801744740900/ imagette220465801744740900/1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202372_0.png.png imagette220465801744740900/1744740829_1362886_1349984831_5e35aa907eb5439c0dd88fdf05329181_rle_crop_3747218241_0.png.png imagette220465801744740900/1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202367_0.png.png imagette220465801744740900/1744740343_1351038_1349982344_f1688dacd242dbaa2c31db2a714f45a9_rle_crop_3747202368_0.png.png imagette220465801744740900/1744740313_1047173_1349983472_94f758b9287a25688b8d37776de3affa_rle_crop_3747202151_0.png.png imagette220465801744740900/1744740431_1048842_1349983970_2b92cb5e60bcaafe7cb8e4e19d7d3898_rle_crop_3747203639_0.png.png imagette220465801744740900/1744740732_1053385_1349984446_5c3d9b95a62f6a364520fcb294c7e6ee_rle_crop_3747215235_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed69b04a7ee38bd83e524d68b120e501_44187041.png imagette220465801744740900 22046584 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=22046584 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349985498: '1744740732_1053385_1349984437_a268b873c5236809c67adbd5a514ce53_rle_crop_3747215275_0.png', 1349985893: '1744740829_1362886_1349984886_2422ed2bf4c039fcffd81282c8482869_rle_crop_3747217978_0.png', 1349985892: '1744740829_1362886_1349984913_c232bc548d4cd4a09d2c7cb8de1e6f79_rle_crop_3747217963_0.png', 1349985891: '1744740829_1362886_1349984940_3b843c7eb345c4a57c799eda44b44947_rle_crop_3747217949_0.png', 1349985792: '1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215745_0.png', 1349985791: '1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215749_0.png', 1349985789: '1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215746_0.png', 1349985788: '1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215751_0.png', 1349985787: '1744740791_1054259_1349985382_2d47a5198362f8189a53fbdb56b83319_rle_crop_3747215735_0.png', 1349985786: '1744740791_1054259_1349985405_644890f271938203a6660a93f24524c5_rle_crop_3747215718_0.png', 1349985785: '1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215638_0.png', 1349985784: '1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215639_0.png', 1349985783: '1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215640_0.png', 1349984331: '1744740313_1047173_1349983472_94f758b9287a25688b8d37776de3affa_rle_crop_3747202149_0.png', 1349985497: '1744740732_1053385_1349984446_5c3d9b95a62f6a364520fcb294c7e6ee_rle_crop_3747215248_0.png', 1349985496: '1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215220_0.png', 1349985495: '1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215229_0.png', 1349985383: '1744740708_1358889_1349984363_a78b2d08066a19eb9a3a5903f3e1c4f3_rle_crop_3747212504_0.png', 1349985380: '1744740708_1358889_1349984454_36ecda672d54f7828ce1f309655b23ef_rle_crop_3747212273_0.png', 1349985275: '1744740673_1052589_1349984634_d871752d8775cf58d716689abebc006b_rle_crop_3747211804_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e0e2bc0477310a13c0d3a748cbb5c5d_36702905.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9333641ab3f48453643dcc0b33941d0d_37288160.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc5d192e3088d5e1ee2861de8e084dab_25819828.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9610e8c328a8435c2c8f4c2f28fcb36b_65200499.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffa9eaeba551ed14e0290839eb09c272_96610753.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed3f5d078e36cb93dad23dbf304a5d8b_32813920.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fac72a7cfb67b0304a653e8b81fda91b_94462398.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15bb90b762102eb43ec2bd4b78d62fb1_66487261.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46d08e4b108965f1a3b5202cb45af7a2_17708411.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fae47118247962b37ddefb0e41c4a4da_24287523.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9476a5faa34700e83315e1ce2af86b1c_83771833.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82983eb8262afd3faa75842236f44fc2_24190371.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0aeade00c48f699b7b4290a4d333f7c9_20714419.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8812c01ebc78eedb58086a21baf3ce02_551534.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59c85f30809c47c14c92b1cfb8aad27d_47046906.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c08d33bed495c02fbc94945a0d84737_46459996.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/884e3970d2ca9f6845f49fd564ed1842_68877470.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35d4e82a7ccc17483f4d0f9000043ecc_84429310.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f17fdbfbfe1279e29fee5d7c84604c41_52995369.png change filename to text .imagette220465841744740901/ imagette220465841744740901/1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215639_0.png.png imagette220465841744740901/1744740791_1054259_1349985405_644890f271938203a6660a93f24524c5_rle_crop_3747215718_0.png.png imagette220465841744740901/1744740313_1047173_1349983472_94f758b9287a25688b8d37776de3affa_rle_crop_3747202149_0.png.png imagette220465841744740901/1744740791_1054259_1349985382_2d47a5198362f8189a53fbdb56b83319_rle_crop_3747215735_0.png.png imagette220465841744740901/1744740732_1053385_1349984437_a268b873c5236809c67adbd5a514ce53_rle_crop_3747215275_0.png.png imagette220465841744740901/1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215229_0.png.png imagette220465841744740901/1744740673_1052589_1349984634_d871752d8775cf58d716689abebc006b_rle_crop_3747211804_0.png.png imagette220465841744740901/1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215751_0.png.png imagette220465841744740901/1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215638_0.png.png imagette220465841744740901/1744740829_1362886_1349984913_c232bc548d4cd4a09d2c7cb8de1e6f79_rle_crop_3747217963_0.png.png imagette220465841744740901/1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215745_0.png.png imagette220465841744740901/1744740829_1362886_1349984886_2422ed2bf4c039fcffd81282c8482869_rle_crop_3747217978_0.png.png imagette220465841744740901/1744740791_1054259_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6_rle_crop_3747215640_0.png.png imagette220465841744740901/1744740708_1358889_1349984363_a78b2d08066a19eb9a3a5903f3e1c4f3_rle_crop_3747212504_0.png.png imagette220465841744740901/1744740732_1053385_1349984446_5c3d9b95a62f6a364520fcb294c7e6ee_rle_crop_3747215248_0.png.png imagette220465841744740901/1744740829_1362886_1349984940_3b843c7eb345c4a57c799eda44b44947_rle_crop_3747217949_0.png.png imagette220465841744740901/1744740708_1358889_1349984454_36ecda672d54f7828ce1f309655b23ef_rle_crop_3747212273_0.png.png imagette220465841744740901/1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215749_0.png.png imagette220465841744740901/1744740791_1054259_1349985364_87731f5ea6f4d326b9983254483b4cee_rle_crop_3747215746_0.png.png imagette220465841744740901/1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215220_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aac240fbebda7e951a21523ac756d0da_4604262.png imagette220465841744740901 22046587 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=22046587 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349984337: '1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202162_0.png', 1349984378: '1744740343_1351038_1349982310_f91a9e13b6169701b25b8bde2b868ae3_rle_crop_3747202390_0.png', 1349985508: '1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215218_0.png', 1349985797: '1744740791_1054259_1349985382_2d47a5198362f8189a53fbdb56b83319_rle_crop_3747215732_0.png', 1349985901: '1744740829_1362886_1349984857_4475d066a84bf8ede2b8bb067feef4f1_rle_crop_3747218227_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/803a1c2f187d943409db18318dc39fb7_52874215.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1751a352e359b7bd418f6990fd291115_34062488.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e16fa3d9d81fcddbe0529050adae9a6_89695406.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d24515903a81741e88b948353dd03df_11292804.png change filename to text .imagette220465871744740902/ imagette220465871744740902/1744740313_1047173_1349983445_2a8089c5c9e5ca21cd9ef49a583c9ab3_rle_crop_3747202162_0.png.png imagette220465871744740902/1744740343_1351038_1349982310_f91a9e13b6169701b25b8bde2b868ae3_rle_crop_3747202390_0.png.png imagette220465871744740902/1744740732_1053385_1349984450_f4ea1c4d7670c5221df507c823630c6b_rle_crop_3747215218_0.png.png imagette220465871744740902/1744740791_1054259_1349985382_2d47a5198362f8189a53fbdb56b83319_rle_crop_3747215732_0.png.png imagette220465871744740902/1744740829_1362886_1349984857_4475d066a84bf8ede2b8bb067feef4f1_rle_crop_3747218227_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc4603ac6e53d4f116d5af296d237d1c_75712259.png imagette220465871744740902 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22046570 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22046589,22046590,22046591,22046592,22046593,22046594,22046595,22046596,22046597,22046598,22046599,22046600?tags=papier,plastique,environnement,Carton_gris,kraft,metal,autre_refus,Teint_Dans_La_Masse,mal_croppe,flou,Carton_brun,cartonnette your option no_mail is active, we will not send the real mail to your client args[1349985895] : ('0.040890821919277516',) no score found for photo 1349985895 We are sending mail with results at report@fotonower.com args[1349985888] : ('0.040890821919277516',) no score found for photo 1349985888 We are sending mail with results at report@fotonower.com args[1349985881] : ('0.040890821919277516',) no score found for photo 1349985881 We are sending mail with results at report@fotonower.com args[1349985871] : ('0.040890821919277516',) no score found for photo 1349985871 We are sending mail with results at report@fotonower.com args[1349985857] : ('0.040890821919277516',) no score found for photo 1349985857 We are sending mail with results at report@fotonower.com args[1349985534] : ('0.040890821919277516',) no score found for photo 1349985534 We are sending mail with results at report@fotonower.com args[1349985529] : ('0.040890821919277516',) no score found for photo 1349985529 We are sending mail with results at report@fotonower.com args[1349985520] : ('0.040890821919277516',) no score found for photo 1349985520 We are sending mail with results at report@fotonower.com args[1349985516] : ('0.040890821919277516',) no score found for photo 1349985516 We are sending mail with results at report@fotonower.com args[1349985423] : ('0.040890821919277516',) no score found for photo 1349985423 We are sending mail with results at report@fotonower.com args[1349985419] : ('0.040890821919277516',) no score found for photo 1349985419 We are sending mail with results at report@fotonower.com args[1349985405] : ('0.040890821919277516',) no score found for photo 1349985405 We are sending mail with results at report@fotonower.com args[1349985382] : ('0.040890821919277516',) no score found for photo 1349985382 We are sending mail with results at report@fotonower.com args[1349985364] : ('0.040890821919277516',) no score found for photo 1349985364 We are sending mail with results at report@fotonower.com refus_total : 0.040890821919277516 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=22046570 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_P22046570_15-04-2025_20_14_58.pdf results_Auto_P22046570_15-04-2025_20_14_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046570_15-04-2025_20_14_58.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','22046570','results_Auto_P22046570_15-04-2025_20_14_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046570_15-04-2025_20_14_58.pdf','pdf','','0.33','0.040890821919277516') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22046570]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] map_info['map_portfolio_photo'] : {22046570: [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364, 1349985204, 1349985198, 1349985192, 1349985177, 1349985156, 1349984970, 1349984940, 1349984913, 1349984886, 1349984857, 1349984831, 1349984652, 1349984647, 1349984640, 1349984634, 1349984627, 1349984576, 1349984570, 1349984552, 1349984538, 1349984454, 1349984450, 1349984446, 1349984442, 1349984437, 1349984422, 1349984371, 1349984363, 1349984255, 1349984070, 1349984021, 1349983970, 1349983922, 1349983876, 1349983498, 1349983472, 1349983445, 1349983439, 1349983414, 1349983124, 1349983097, 1349983069, 1349983004, 1349982412, 1349982344, 1349982310]} final : False mtd_id 4302 list_pids : [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] 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, '2723174') ('4302', '22046570', '1349985895', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174') 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', '22046570', '1349985895', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174')] time used for this insertion : 0.013741493225097656 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.9693381786346436 time spend to save output : 0.014086008071899414 total time spend for step 4 : 5.983424186706543 step5:split_time_score Tue Apr 15 20:15:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22046570'] 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 : [('22046570',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22046570) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349985888: {'path': 'temp/1744740897_998458_1349985888_bf0fccff11d82605de63c82e1a06b8f8.jpg', 'extension': 'jpg'}, 1349985895: {'path': 'temp/1744740897_998458_1349985895_463b8d251ec9291ec822d189c0094cf5.jpg', 'extension': 'jpg'}, 1349985520: {'path': 'temp/1744740897_998458_1349985520_c3e249ad4edeb307559c91e9aaed8788.jpg', 'extension': 'jpg'}, 1349985529: {'path': 'temp/1744740897_998458_1349985529_b660c100a62de628e71b47f7384be762.jpg', 'extension': 'jpg'}, 1349985534: {'path': 'temp/1744740897_998458_1349985534_b7b816b4351fdc321c8e6fe2c912b20a.jpg', 'extension': 'jpg'}, 1349985419: {'path': 'temp/1744740897_998458_1349985419_4b9ab2d710ee3fcd9c6be9f94c4c22b6.jpg', 'extension': 'jpg'}, 1349985423: {'path': 'temp/1744740897_998458_1349985423_ab7d09aaecdf2c90b31d8b82e660be74.jpg', 'extension': 'jpg'}, 1349985516: {'path': 'temp/1744740897_998458_1349985516_f0554d89e0d5b1a6eed735148a746f9d.jpg', 'extension': 'jpg'}, 1349985364: {'path': 'temp/1744740897_998458_1349985364_87731f5ea6f4d326b9983254483b4cee.jpg', 'extension': 'jpg'}, 1349985382: {'path': 'temp/1744740897_998458_1349985382_2d47a5198362f8189a53fbdb56b83319.jpg', 'extension': 'jpg'}, 1349985405: {'path': 'temp/1744740897_998458_1349985405_644890f271938203a6660a93f24524c5.jpg', 'extension': 'jpg'}, 1349985857: {'path': 'temp/1744740897_998458_1349985857_d378a996e66934d4c7f878c128a3427b.jpg', 'extension': 'jpg'}, 1349985871: {'path': 'temp/1744740897_998458_1349985871_11401008c9b2b600a451795c1b862fc8.jpg', 'extension': 'jpg'}, 1349985881: {'path': 'temp/1744740897_998458_1349985881_b234d5cb995a7377a24729c1a2790a0c.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 = 22046570; (('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 = 22046570 group by h (('20', 60),) 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=22046570 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 (22046570) 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 (22046570) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15042025 22046570 Nombre de photos uploadées : 60 / 23040 (0%) 15042025 22046570 Nombre de photos taguées (types de déchets): 0 / 60 (0%) 15042025 22046570 Nombre de photos taguées (volume) : 0 / 60 (0%) [{'photo_id': 1349982412, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8af633769fe170c45b7bb52a77ba6bc2.jpg', 'username': None, 'uploaded_at': 1744740067, 'text': 'image_15042025_20_00_14_010196m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349982344, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1688dacd242dbaa2c31db2a714f45a9.jpg', 'username': None, 'uploaded_at': 1744740067, 'text': 'image_15042025_20_00_34_010145m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349982310, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f91a9e13b6169701b25b8bde2b868ae3.jpg', 'username': None, 'uploaded_at': 1744740067, 'text': 'image_15042025_20_00_44_010144m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1349983124, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cca24a3427607ce0a24eb71a10f2ee6b.jpg', 'username': None, 'uploaded_at': 1744740127, 'text': 'image_15042025_20_00_54_010135m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023169517517089844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22046570, '2025-04-15' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1714503,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02240753173828125 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= 1714503 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1714503, 'dashboard_run_id': 1724009, 'mtr_portfolio_id': 22044203, 'dashboard_result_id': 9862684, '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_P22044203_15-04-2025_19_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22044243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044254, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1724009, 'mtr_portfolio_id': 22045139, 'dashboard_result_id': 9862685, '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_P22045139_15-04-2025_19_46_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22045175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045184, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1724009, 'mtr_portfolio_id': 22045959, 'dashboard_result_id': 9862686, '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_P22045959_15-04-2025_20_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22045966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045977, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1724009, 'mtr_portfolio_id': 22046570, 'dashboard_result_id': 9862687, '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_P22046570_15-04-2025_20_12_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22046577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046588, '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 = 22044203 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': 2722983, 'mtr_portfolio_id': 22044203, 'created_at': datetime.datetime(2025, 4, 15, 19, 32, 32), 'result': '0.05957913412106855', 'result_long': None, 'result_double': None}] Qualite : 0.05957913412106855 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22044203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044203_15-04-2025_19_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22044203 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_P22044203_15-04-2025_19_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22044243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044254, 'pht': 3726}}" where mtr_portfolio_id = 22044203 and dashboard_run_id = 1724009 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`=22044203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9862684, 0.05957913412106855, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044203_15-04-2025_19_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22044243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044254, '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 = 22045139 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': 2723051, 'mtr_portfolio_id': 22045139, 'created_at': datetime.datetime(2025, 4, 15, 19, 46, 28), 'result': '0.04829116470693819', 'result_long': None, 'result_double': None}] Qualite : 0.04829116470693819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22045139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045139_15-04-2025_19_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22045139 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_P22045139_15-04-2025_19_46_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22045175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045184, 'pht': 3726}}" where mtr_portfolio_id = 22045139 and dashboard_run_id = 1724009 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`=22045139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9862685, 0.04829116470693819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045139_15-04-2025_19_46_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22045175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045184, '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 = 22045959 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': 2723100, 'mtr_portfolio_id': 22045959, 'created_at': datetime.datetime(2025, 4, 15, 20, 3), 'result': '0.062077369974911846', 'result_long': None, 'result_double': None}] Qualite : 0.062077369974911846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22045959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045959_15-04-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22045959 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_P22045959_15-04-2025_20_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22045966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045977, 'pht': 3726}}" where mtr_portfolio_id = 22045959 and dashboard_run_id = 1724009 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`=22045959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9862686, 0.062077369974911846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045959_15-04-2025_20_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22045966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045977, '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 = 22046570 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': 2723174, 'mtr_portfolio_id': 22046570, 'created_at': datetime.datetime(2025, 4, 15, 20, 14, 57), 'result': '0.040890821919277516', 'result_long': None, 'result_double': None}] Qualite : 0.040890821919277516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22046570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046570_15-04-2025_20_14_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22046570 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_P22046570_15-04-2025_20_14_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22046577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046588, 'pht': 3726}}" where mtr_portfolio_id = 22046570 and dashboard_run_id = 1724009 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`=22046570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9862687, 0.040890821919277516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046570_15-04-2025_20_14_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22046577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046588, '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 (22044203,22045139,22045959,22046570) result : ((1349962853,), (1349962882,), (1349962973,), (1349963097,), (1349963797,), (1349963832,), (1349963898,), (1349963948,), (1349964663,), (1349964711,), (1349964760,), (1349964817,), (1349964850,), (1349964887,), (1349965218,), (1349965243,), (1349965268,), (1349965305,), (1349965338,), (1349965426,), (1349965453,), (1349965478,), (1349965518,), (1349965570,), (1349965851,), (1349965871,), (1349965894,), (1349965918,), (1349965944,), (1349965969,), (1349966585,), (1349966642,), (1349966692,), (1349967597,), (1349967653,), (1349967685,), (1349967713,), (1349967737,), (1349967780,), (1349968021,), (1349968027,), (1349968033,), (1349968038,), (1349968065,), (1349968193,), (1349968242,), (1349968309,), (1349968355,), (1349968906,), (1349968933,), (1349968958,), (1349969002,), (1349969055,), (1349969105,), (1349969546,), (1349969593,), (1349969636,), (1349970145,), (1349970195,), (1349970268,), (1349970339,), (1349970418,), (1349971110,), (1349971232,), (1349971303,), (1349971354,), (1349971411,), (1349971507,), (1349972110,), (1349972133,), (1349972567,), (1349972419,), (1349972502,), (1349972533,), (1349972876,), (1349972886,), (1349972891,), (1349972895,), (1349973571,), (1349973617,), (1349973630,), (1349973650,), (1349973652,), (1349973778,), (1349973806,), (1349973833,), (1349974657,), (1349974661,), (1349974668,), (1349974672,), (1349974678,), (1349974682,), (1349975119,), (1349975127,), (1349975144,), (1349975221,), (1349975267,), (1349975486,), (1349975491,), (1349975495,), (1349975499,), (1349975505,), (1349975508,), (1349975557,), (1349975562,), (1349975566,), (1349975579,), (1349975582,), (1349975586,), (1349975681,), (1349975688,), (1349975700,), (1349975712,), (1349975779,), (1349975786,), (1349975796,), (1349975802,), (1349975807,), (1349975811,), (1349975974,), (1349976017,), (1349976065,), (1349976316,), (1349976320,), (1349976323,), (1349976328,), (1349976345,), (1349976371,), (1349976493,), (1349976498,), (1349976501,), (1349977136,), (1349977188,), (1349977220,), (1349977417,), (1349977471,), (1349977527,), (1349977573,), (1349977619,), (1349978101,), (1349978070,), (1349978725,), (1349978729,), (1349978741,), (1349978744,), (1349978822,), (1349978860,), (1349978893,), (1349979144,), (1349979147,), (1349979151,), (1349979155,), (1349979342,), (1349979357,), (1349979363,), (1349979377,), (1349979755,), (1349979777,), (1349979783,), (1349979787,), (1349979794,), (1349979799,), (1349979825,), (1349979831,), (1349979856,), (1349979890,), (1349980227,), (1349980255,), (1349980281,), (1349980385,), (1349980389,), (1349980397,), (1349980408,), (1349980417,), (1349980453,), (1349980462,), (1349980468,), (1349980472,), (1349980477,), (1349980781,), (1349980787,), (1349980791,), (1349981152,), (1349981158,), (1349981161,), (1349981173,), (1349981179,), (1349981184,), (1349981224,), (1349981509,), (1349981560,), (1349981612,), (1349981679,), (1349982489,), (1349982310,), (1349982344,), (1349982412,), (1349983004,), (1349983069,), (1349983097,), (1349983124,), (1349983414,), (1349983439,), (1349983445,), (1349983472,), (1349983498,), (1349983876,), (1349983922,), (1349983970,), (1349984021,), (1349984070,), (1349984255,), (1349984363,), (1349984371,), (1349984422,), (1349984437,), (1349984442,), (1349984446,), (1349984450,), (1349984454,), (1349984538,), (1349984552,), (1349984570,), (1349984576,), (1349984627,), (1349984634,), (1349984640,), (1349984647,), (1349984652,), (1349984831,), (1349984857,), (1349984886,), (1349984913,), (1349984940,), (1349984970,), (1349985156,), (1349985177,), (1349985192,), (1349985198,), (1349985204,), (1349985364,), (1349985382,), (1349985405,), (1349985419,), (1349985423,), (1349985516,), (1349985520,), (1349985529,), (1349985534,), (1349985857,), (1349985871,), (1349985881,), (1349985888,), (1349985895,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15042025': {'nb_upload': 60, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22046570]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] map_info['map_portfolio_photo'] : {22046570: [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364, 1349985204, 1349985198, 1349985192, 1349985177, 1349985156, 1349984970, 1349984940, 1349984913, 1349984886, 1349984857, 1349984831, 1349984652, 1349984647, 1349984640, 1349984634, 1349984627, 1349984576, 1349984570, 1349984552, 1349984538, 1349984454, 1349984450, 1349984446, 1349984442, 1349984437, 1349984422, 1349984371, 1349984363, 1349984255, 1349984070, 1349984021, 1349983970, 1349983922, 1349983876, 1349983498, 1349983472, 1349983445, 1349983439, 1349983414, 1349983124, 1349983097, 1349983069, 1349983004, 1349982412, 1349982344, 1349982310]} final : True mtd_id 4302 list_pids : [1349985895, 1349985888, 1349985881, 1349985871, 1349985857, 1349985534, 1349985529, 1349985520, 1349985516, 1349985423, 1349985419, 1349985405, 1349985382, 1349985364] Looping around the photos to save general results len do output : 1 /22046570Didn'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, '2723174') ('4302', '22046570', '1349985895', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174') ('4302', None, None, None, None, None, None, None, '2723174') ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174') 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, '22046570', 'None', None, None, None, None, '2723174'), ('4302', '22046570', '1349985895', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985888', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985881', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985871', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985857', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985534', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985529', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985520', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985516', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985423', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985419', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985405', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985382', None, None, None, None, None, '2723174'), ('4302', '22046570', '1349985364', None, None, None, None, None, '2723174')] time used for this insertion : 0.013132810592651367 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3388028144836426 time spend to save output : 0.013384103775024414 total time spend for step 5 : 0.352186918258667 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 (2723174) 2.44user 2.40system 0:10.11elapsed 47%CPU (0avgtext+0avgdata 159828maxresident)k 1888inputs+18760outputs (31major+75235minor)pagefaults 0swaps