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 : 3482917 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 (2572028) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2572028) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19823966 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2572028'] with mtr_portfolio_ids : ['19823966'] and first list_photo_ids : [] new path : /proc/3482917/ Name: python3 Umask: 0002 State: R (running) Tgid: 3482917 Ngid: 0 Pid: 3482917 PPid: 3482916 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3482917 NSpid: 3482917 NSpgid: 3480620 NSsid: 3480620 VmPeak: 1106580 kB VmSize: 1106556 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97748 kB VmRSS: 97748 kB RssAnon: 59736 kB RssFile: 38012 kB RssShmem: 0 kB VmData: 865308 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 46 nonvoluntary_ctxt_switches: 90 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3482917', 'Ngid': '0', 'Pid': '3482917', 'PPid': '3482916', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3482917', 'NSpid': '3482917', 'NSpgid': '3480620', 'NSsid': '3480620', 'VmPeak': '1106580 kB', 'VmSize': '1106556 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97748 kB', 'VmRSS': '97748 kB', 'RssAnon': '59736 kB', 'RssFile': '38012 kB', 'RssShmem': '0 kB', 'VmData': '865308 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '46', 'nonvoluntary_ctxt_switches': '90'} ('datou_batch_current', '3482917', '1106580', '0', '1106556', '865308', '97748', b'', 'marlene', '2572028') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (19823966) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (2572028 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (19823966) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1329413625, 'portfolio_id': 19823966}, {'photo_id': 1328185724, 'portfolio_id': 19823966}, {'photo_id': 1328185720, 'portfolio_id': 19823966}, {'photo_id': 1328185715, 'portfolio_id': 19823966}, {'photo_id': 1328185712, 'portfolio_id': 19823966}, {'photo_id': 1328185710, 'portfolio_id': 19823966}, {'photo_id': 1328185708, 'portfolio_id': 19823966}, {'photo_id': 1328185694, 'portfolio_id': 19823966}, {'photo_id': 1328185688, 'portfolio_id': 19823966}, {'photo_id': 1328185683, 'portfolio_id': 19823966}, {'photo_id': 1328185678, 'portfolio_id': 19823966}, {'photo_id': 1328185654, 'portfolio_id': 19823966}, {'photo_id': 1328185651, 'portfolio_id': 19823966}, {'photo_id': 1328184720, 'portfolio_id': 19823966}, {'photo_id': 1328184717, 'portfolio_id': 19823966}, {'photo_id': 1328184699, 'portfolio_id': 19823966}, {'photo_id': 1328184694, 'portfolio_id': 19823966}, {'photo_id': 1328184691, 'portfolio_id': 19823966}, {'photo_id': 1328184688, 'portfolio_id': 19823966}, {'photo_id': 1328184681, 'portfolio_id': 19823966}, {'photo_id': 1328184657, 'portfolio_id': 19823966}, {'photo_id': 1328184637, 'portfolio_id': 19823966}, {'photo_id': 1328184612, 'portfolio_id': 19823966}, {'photo_id': 1328184527, 'portfolio_id': 19823966}, {'photo_id': 1328184525, 'portfolio_id': 19823966}] map_portfolio_id_photo_id: {19823966: [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.07014274597167969 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Mon Feb 10 18:15:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19823966) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 19823966 get user id for portfolio 19823966 get sub ptf for main ptf 19823966, type 3726 and hashtags ['environnement', 'kraft', 'autre_refus', 'mal_croppe', 'Carton_brun', 'metal', 'Carton_gris', 'cartonnette', 'Teint_Dans_La_Masse', 'flou', 'papier', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19823966 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','autre_refus','mal_croppe','Carton_brun','metal','Carton_gris','cartonnette','Teint_Dans_La_Masse','flou','papier','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`=19823966 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','autre_refus','mal_croppe','Carton_brun','metal','Carton_gris','cartonnette','Teint_Dans_La_Masse','flou','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 19823966, 'sub_port_id': 19850404, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603900, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'cartonnette': {'main_port_id': 19823966, 'sub_port_id': 19850405, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603901, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'mal_croppe': {'main_port_id': 19823966, 'sub_port_id': 19850406, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603902, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'kraft': {'main_port_id': 19823966, 'sub_port_id': 19850407, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603903, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'Teint_Dans_La_Masse': {'main_port_id': 19823966, 'sub_port_id': 19850408, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603904, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'flou': {'main_port_id': 19823966, 'sub_port_id': 19850409, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603905, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'autre_refus': {'main_port_id': 19823966, 'sub_port_id': 19850410, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603906, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'Carton_brun': {'main_port_id': 19823966, 'sub_port_id': 19850411, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603907, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'plastique': {'main_port_id': 19823966, 'sub_port_id': 19850412, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603908, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'metal': {'main_port_id': 19823966, 'sub_port_id': 19850413, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603909, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'Carton_gris': {'main_port_id': 19823966, 'sub_port_id': 19850414, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603910, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}, 'environnement': {'main_port_id': 19823966, 'sub_port_id': 19850415, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603911, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 25)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19850404 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850404) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850405 , 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=19823966 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 (19850405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850406 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850406) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850407 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850407) result : ((1330842474,), (1330842475,), (1331151538,), (1331151539,), (1335621245,), (1335621246,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850408 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850408) result : ((1330842427,), (1330842428,), (1330842430,), (1330842431,), (1330842432,), (1330842433,), (1330842434,), (1330842435,), (1330842436,), (1330842437,), (1330842438,), (1330842439,), (1330842440,), (1330842441,), (1330842442,), (1330842443,), (1330842444,), (1330842445,), (1330842446,), (1330842447,), (1330842448,), (1330842449,), (1330842450,), (1330842451,), (1330842452,), (1330842453,), (1331151408,), (1331151409,), (1331151410,), (1331151411,), (1331151412,), (1331151413,), (1331151414,), (1331151415,), (1331151416,), (1331151417,), (1331151418,), (1331151419,), (1331151420,), (1331151421,), (1331151422,), (1331151423,), (1331151424,), (1331151425,), (1331151426,), (1331151427,), (1331151428,), (1331151429,), (1331151430,), (1331151431,), (1331151432,), (1331151433,), (1331153397,), (1331153398,), (1331153399,), (1331153400,), (1331153401,), (1331153402,), (1331153403,), (1331153404,), (1331153405,), (1335621068,), (1335621069,), (1335621071,), (1335621076,), (1335621078,), (1335621080,), (1335621081,), (1335621082,), (1335621084,), (1335621085,), (1335621086,), (1335621088,), (1335621089,), (1335621091,), (1335621092,), (1335621093,), (1335621095,), (1335621096,), (1335621097,), (1335621098,), (1335621100,), (1335621101,), (1335621103,), (1335621104,), (1335621105,), (1335621107,), (1335622816,), (1335622817,), (1335622818,), (1335622819,), (1335622820,), (1335622821,), (1335622822,), (1335622823,), (1335622826,), (1335622827,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850409 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850409) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850410 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850410) result : ((1330842463,), (1330842464,), (1330842465,), (1330842466,), (1330842467,), (1330842468,), (1330842469,), (1330842470,), (1330842471,), (1331151503,), (1331151504,), (1331151505,), (1331151506,), (1331151507,), (1331151508,), (1331151509,), (1331151510,), (1331151511,), (1331151512,), (1331151513,), (1331151514,), (1331151515,), (1331153408,), (1335621234,), (1335621235,), (1335621236,), (1335621237,), (1335621238,), (1335621239,), (1335621240,), (1335621241,), (1335621242,), (1335621243,), (1335622828,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850411 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850411) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850412 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850412) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850413 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850413) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850414 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850414) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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 19850415 , 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=19823966 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19850415) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19823966) result : ((1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) 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`=19823966 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','autre_refus','mal_croppe','Carton_brun','metal','Carton_gris','cartonnette','Teint_Dans_La_Masse','flou','papier','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`=19823966 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','autre_refus','mal_croppe','Carton_brun','metal','Carton_gris','cartonnette','Teint_Dans_La_Masse','flou','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 19823966, 'sub_port_id': 19850416, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603912, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'cartonnette': {'main_port_id': 19823966, 'sub_port_id': 19850417, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603913, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'mal_croppe': {'main_port_id': 19823966, 'sub_port_id': 19850418, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603914, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'kraft': {'main_port_id': 19823966, 'sub_port_id': 19850419, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603915, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 19823966, 'sub_port_id': 19850420, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603916, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'flou': {'main_port_id': 19823966, 'sub_port_id': 19850421, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603917, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'autre_refus': {'main_port_id': 19823966, 'sub_port_id': 19850422, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603918, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'Carton_brun': {'main_port_id': 19823966, 'sub_port_id': 19850423, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603919, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'plastique': {'main_port_id': 19823966, 'sub_port_id': 19850424, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603920, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'metal': {'main_port_id': 19823966, 'sub_port_id': 19850425, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603921, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'Carton_gris': {'main_port_id': 19823966, 'sub_port_id': 19850426, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603922, 'last_updated_at': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_desc': datetime.datetime(2025, 1, 23, 18, 48, 27), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}, 'environnement': {'main_port_id': 19823966, 'sub_port_id': 19850427, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12603923, 'last_updated_at': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 22, 29, 44), 'last_updated_at_asc': datetime.datetime(2025, 1, 23, 18, 48, 27)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850409 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19850427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19850415 lien utilise dans velours : https://www.fotonower.com/velours/19850416,19850417,19850418,19850419,19850420,19850421,19850422,19850423,19850424,19850425,19850426,19850427?tags=papier,cartonnette,mal_croppe,kraft,Teint_Dans_La_Masse,flou,autre_refus,Carton_brun,plastique,metal,Carton_gris,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19823966]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] map_info['map_portfolio_photo'] : {19823966: [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525]} final : False mtd_id 4302 list_pids : [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] Looping around the photos to save general results len do output : 1 /19823966. 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, '2572028') ('4302', '19823966', '1329413625', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '19823966', "{'papier': 19850404, 'cartonnette': 19850405, 'mal_croppe': 19850406, 'kraft': 19850407, 'Teint_Dans_La_Masse': 19850408, 'flou': 19850409, 'autre_refus': 19850410, 'Carton_brun': 19850411, 'plastique': 19850412, 'metal': 19850413, 'Carton_gris': 19850414, 'environnement': 19850415}", None, None, None, None, '2572028'), ('4302', '19823966', '1329413625', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028')] time used for this insertion : 0.016772031784057617 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5412521362304688 time spend to save output : 0.0173342227935791 total time spend for step 1 : 1.5585863590240479 step2:final Mon Feb 10 18:16:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (19823966) 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 19823966 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1328184525,1328184527,1328184612,1328184637,1328184657,1328184681,1328185651,1328184688,1328184691,1328185654,1328184694,1328185678,1328184699,1328185683,1328185688,1328184717,1328184720,1328185694,1328185708,1328185710,1328185712,1328185715,1328185720,1328185724,1329413625); 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([19823966]) Inside saveOutput : final : False verbose : True original output for save of step final : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} new output for save of step final : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] map_info['map_portfolio_photo'] : {19823966: [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525]} final : False mtd_id 4302 list_pids : [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] Looping around the photos to save general results len do output : 25 /1329413625.Didn't retrieve data . /1328185724.Didn't retrieve data . /1328185720.Didn't retrieve data . /1328185715.Didn't retrieve data . /1328185712.Didn't retrieve data . /1328185710.Didn't retrieve data . /1328185708.Didn't retrieve data . /1328185694.Didn't retrieve data . /1328185688.Didn't retrieve data . /1328185683.Didn't retrieve data . /1328185678.Didn't retrieve data . /1328185654.Didn't retrieve data . /1328185651.Didn't retrieve data . /1328184720.Didn't retrieve data . /1328184717.Didn't retrieve data . /1328184699.Didn't retrieve data . /1328184694.Didn't retrieve data . /1328184691.Didn't retrieve data . /1328184688.Didn't retrieve data . /1328184681.Didn't retrieve data . /1328184657.Didn't retrieve data . /1328184637.Didn't retrieve data . /1328184612.Didn't retrieve data . /1328184527.Didn't retrieve data . /1328184525.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, '2572028') ('4302', '19823966', '1329413625', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 75 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', '19823966', '1329413625', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185724', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185720', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185715', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185712', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185710', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185708', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185694', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185688', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185683', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185678', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185654', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328185651', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184720', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184717', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184699', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184694', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184691', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184688', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184681', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184657', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184637', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184612', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184527', '0.15596686526139858', None, None, None, None, '2572028'), ('4302', '19823966', '1328184525', '0.15596686526139858', None, None, None, None, '2572028')] time used for this insertion : 0.016299724578857422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07179880142211914 time spend to save output : 0.017151832580566406 total time spend for step 2 : 0.08895063400268555 step3:velours_tree Mon Feb 10 18:16:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {19823966: [{'papier': 19850404, 'cartonnette': 19850405, 'mal_croppe': 19850406, 'kraft': 19850407, 'Teint_Dans_La_Masse': 19850408, 'flou': 19850409, 'autre_refus': 19850410, 'Carton_brun': 19850411, 'plastique': 19850412, 'metal': 19850413, 'Carton_gris': 19850414, 'environnement': 19850415}]} input_args_next_step : {19823966: ()} output_args : {19823966: [{'papier': 19850404, 'cartonnette': 19850405, 'mal_croppe': 19850406, 'kraft': 19850407, 'Teint_Dans_La_Masse': 19850408, 'flou': 19850409, 'autre_refus': 19850410, 'Carton_brun': 19850411, 'plastique': 19850412, 'metal': 19850413, 'Carton_gris': 19850414, 'environnement': 19850415}]} args : 19823966 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': 19850404, 'cartonnette': 19850405, 'mal_croppe': 19850406, 'kraft': 19850407, 'Teint_Dans_La_Masse': 19850408, 'flou': 19850409, 'autre_refus': 19850410, 'Carton_brun': 19850411, 'plastique': 19850412, 'metal': 19850413, 'Carton_gris': 19850414, 'environnement': 19850415},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19823966) 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([19823966]) 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.290769100189209 time spend to save output : 5.221366882324219e-05 total time spend for step 3 : 0.2908213138580322 step4:send_mail_cod Mon Feb 10 18:16:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} input_args_next_step : {1329413625: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1329413625 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185724 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185720 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185715 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185712 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185710 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185708 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185694 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185688 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185683 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185678 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185654 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328185651 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184720 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184717 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184699 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184694 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184691 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184688 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184681 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184657 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184637 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184612 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184527 depend.output_id : 0 input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ()} output_args : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',)} args : 1328184525 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 : {19823966: [{'papier': 19850404, 'cartonnette': 19850405, 'mal_croppe': 19850406, 'kraft': 19850407, 'Teint_Dans_La_Masse': 19850408, 'flou': 19850409, 'autre_refus': 19850410, 'Carton_brun': 19850411, 'plastique': 19850412, 'metal': 19850413, 'Carton_gris': 19850414, 'environnement': 19850415}]} input_args_next_step : {1329413625: ('0.15596686526139858',), 1328185724: ('0.15596686526139858',), 1328185720: ('0.15596686526139858',), 1328185715: ('0.15596686526139858',), 1328185712: ('0.15596686526139858',), 1328185710: ('0.15596686526139858',), 1328185708: ('0.15596686526139858',), 1328185694: ('0.15596686526139858',), 1328185688: ('0.15596686526139858',), 1328185683: ('0.15596686526139858',), 1328185678: ('0.15596686526139858',), 1328185654: ('0.15596686526139858',), 1328185651: ('0.15596686526139858',), 1328184720: ('0.15596686526139858',), 1328184717: ('0.15596686526139858',), 1328184699: ('0.15596686526139858',), 1328184694: ('0.15596686526139858',), 1328184691: ('0.15596686526139858',), 1328184688: ('0.15596686526139858',), 1328184681: ('0.15596686526139858',), 1328184657: ('0.15596686526139858',), 1328184637: ('0.15596686526139858',), 1328184612: ('0.15596686526139858',), 1328184527: ('0.15596686526139858',), 1328184525: ('0.15596686526139858',), 19823966: ()} output_args : {19823966: [{'papier': 19850404, 'cartonnette': 19850405, 'mal_croppe': 19850406, 'kraft': 19850407, 'Teint_Dans_La_Masse': 19850408, 'flou': 19850409, 'autre_refus': 19850410, 'Carton_brun': 19850411, 'plastique': 19850412, 'metal': 19850413, 'Carton_gris': 19850414, 'environnement': 19850415}]} args : 19823966 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 :26, first value : ('0.15596686526139858',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19823966) 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 (1329413625,1328185724,1328185720,1328185715,1328185712,1328185710,1328185708,1328185694,1328185688,1328185683,1328185678,1328185654,1328185651,1328184720,1328184717,1328184699,1328184694,1328184691,1328184688,1328184681,1328184657,1328184637,1328184612,1328184527,1328184525) Found this number of photos: 25 ##### Call download_photos : nb_thread : 5 begin to download photo : 1328184525 begin to download photo : 1328184688 begin to download photo : 1328185651 begin to download photo : 1328185708 begin to download photo : 1329413625 download finish for photo 1328185708 begin to download photo : 1328185710 download finish for photo 1328185651 begin to download photo : 1328185654 download finish for photo 1328184688 begin to download photo : 1328184691 download finish for photo 1329413625 download finish for photo 1328184525 begin to download photo : 1328184527 download finish for photo 1328185710 begin to download photo : 1328185712 download finish for photo 1328185654 begin to download photo : 1328185678 download finish for photo 1328184691 begin to download photo : 1328184694 download finish for photo 1328184527 begin to download photo : 1328184612 download finish for photo 1328185678 begin to download photo : 1328185683 download finish for photo 1328185712 begin to download photo : 1328185715 download finish for photo 1328184694 begin to download photo : 1328184699 download finish for photo 1328184612 begin to download photo : 1328184637 download finish for photo 1328185715 begin to download photo : 1328185720 download finish for photo 1328185683 begin to download photo : 1328185688 download finish for photo 1328184699 begin to download photo : 1328184717 download finish for photo 1328185720 begin to download photo : 1328185724 download finish for photo 1328184637 begin to download photo : 1328184657 download finish for photo 1328185688 begin to download photo : 1328185694 download finish for photo 1328185724 download finish for photo 1328184717 begin to download photo : 1328184720 download finish for photo 1328184657 begin to download photo : 1328184681 download finish for photo 1328185694 download finish for photo 1328184720 download finish for photo 1328184681 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette198504051739207761/ imagette198504061739207761/ length of list_filenames : 25 ; length of list_pids : 25 ; length of list_args : 25 results_Auto_P19823966_10-02-2025_18_16_01.pdf 19850405 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=19850405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504051739207761 19850406 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=19850406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504061739207761 19850407 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=19850407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1330842474: '1737654337_2083546_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165086_0.png', 1330842475: '1737654337_2083546_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165147_0.png', 1331151538: '1737757421_3581329_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165086_0.png', 1331151539: '1737757421_3581329_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165147_0.png', 1335621245: '1738963194_3989178_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165086_0.png', 1335621246: '1738963194_3989178_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165147_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/141f163b0f068421309eea3643d30ba7_78077686.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ed1630f2acf9caccc9f9f9ce2d3bbf0_7085119.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/141f163b0f068421309eea3643d30ba7_89808271.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/7ed1630f2acf9caccc9f9f9ce2d3bbf0_67828472.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/141f163b0f068421309eea3643d30ba7_39926937.png change filename to text .imagette198504071739207761/ imagette198504071739207761/1737654337_2083546_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165086_0.png.png imagette198504071739207761/1738963194_3989178_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165086_0.png.png imagette198504071739207761/1737757421_3581329_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165147_0.png.png imagette198504071739207761/1737757421_3581329_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165086_0.png.png imagette198504071739207761/1738963194_3989178_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165147_0.png.png imagette198504071739207761/1737654337_2083546_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165147_0.png.png imagette198504091739207762/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/7ed1630f2acf9caccc9f9f9ce2d3bbf0_67676519.png imagette198504071739207761 19850409 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=19850409 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504091739207762 19850410 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=19850410 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335621237: '1738963194_3989178_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165025_0.png', 1331151512: '1737757421_3581329_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165151_0.png', 1331151513: '1737757421_3581329_1328184691_ef71d9e40b75939855429aa87404f75a_rle_crop_3632777538_0.png', 1331151514: '1737757421_3581329_1328184691_ef71d9e40b75939855429aa87404f75a_bib_crop_3630165210_0.jpg', 1331151515: '1737757421_3581329_1328184688_5503288fe49f7dc9238e2041c6258862_rle_crop_3630170987_0.png', 1331153408: '1737757993_3602798_1328184527_3784b389bba69ad5fffe1460564fa757_rle_crop_3632793912_0.png', 1335621234: '1738963194_3989178_1328185724_71d2c641eb1bf0b3259761ce2c61ba89_rle_crop_3632775272_0.png', 1335621235: '1738963194_3989178_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630164995_0.png', 1335621236: '1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3632775866_0.png', 1331151511: '1737757421_3581329_1328185651_ac77f3e672e1f5bc43bd33d707493638_rle_crop_3630165138_0.png', 1335621238: '1738963194_3989178_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165090_0.png', 1335621239: '1738963194_3989178_1328185654_b0455d00f593a66f0f4844ae6e224a2d_rle_crop_3632777211_0.png', 1335621240: '1738963194_3989178_1328185651_ac77f3e672e1f5bc43bd33d707493638_rle_crop_3630165138_0.png', 1335621241: '1738963194_3989178_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165151_0.png', 1335621242: '1738963194_3989178_1328184691_ef71d9e40b75939855429aa87404f75a_rle_crop_3632777538_0.png', 1335621243: '1738963194_3989178_1328184688_5503288fe49f7dc9238e2041c6258862_rle_crop_3630170987_0.png', 1335622828: '1738963674_4010869_1328184527_3784b389bba69ad5fffe1460564fa757_rle_crop_3632793912_0.png', 1331151503: '1737757421_3581329_1328185724_71d2c641eb1bf0b3259761ce2c61ba89_bib_crop_3630164958_0.jpg', 1330842464: '1737654337_2083546_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630164995_0.png', 1330842465: '1737654337_2083546_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165025_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/94328aeb551a89c4c611bb739a303577_55326446.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/aa37acad08850fd3bfd3e3132d21b664_17401853.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/619260a309430fa4cd361bb8dad1fd7f_597120.png change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/af6063ad06d00cd6ac87feeae3c92334_95748796.jpg change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f2ae967ca8923136e3d406be4ed69601_98355148.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/d77c06170a14d17ac1c6c675e1387611_29260322.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/d0be8b42fa33a1dab0f12eb689e525be_98296240.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/e90539514f236684f93059deb02dc019_92734007.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/fba62b27234cd19beb2de5c2b09eecbf_18138906.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/8f07b0920920effd8e4536f3da060d69_28015683.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/24cf3357a201289737db0ce54149262e_86756272.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/619260a309430fa4cd361bb8dad1fd7f_8249049.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/8f07b0920920effd8e4536f3da060d69_561680.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/aa37acad08850fd3bfd3e3132d21b664_99440018.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/619260a309430fa4cd361bb8dad1fd7f_67130945.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/f2ae967ca8923136e3d406be4ed69601_26228878.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/d77c06170a14d17ac1c6c675e1387611_94955923.png change filename to text .wget -O 18.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/a2e856d7e98406ea42fca7cf4b563d51_27412333.jpg change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e90539514f236684f93059deb02dc019_50838272.png change filename to text .imagette198504101739207762/ imagette198504101739207762/1737757421_3581329_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165151_0.png.png imagette198504101739207762/1738963194_3989178_1328184688_5503288fe49f7dc9238e2041c6258862_rle_crop_3630170987_0.png.png imagette198504101739207762/1737757993_3602798_1328184527_3784b389bba69ad5fffe1460564fa757_rle_crop_3632793912_0.png.png imagette198504101739207762/1738963194_3989178_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630164995_0.png.png imagette198504101739207762/1737654337_2083546_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165025_0.png.png imagette198504101739207762/1737757421_3581329_1328184691_ef71d9e40b75939855429aa87404f75a_rle_crop_3632777538_0.png.png imagette198504101739207762/1737757421_3581329_1328185651_ac77f3e672e1f5bc43bd33d707493638_rle_crop_3630165138_0.png.png imagette198504101739207762/1738963194_3989178_1328185651_ac77f3e672e1f5bc43bd33d707493638_rle_crop_3630165138_0.png.png imagette198504101739207762/1737757421_3581329_1328184691_ef71d9e40b75939855429aa87404f75a_bib_crop_3630165210_0.jpg.jpg imagette198504101739207762/1737757421_3581329_1328185724_71d2c641eb1bf0b3259761ce2c61ba89_bib_crop_3630164958_0.jpg.jpg imagette198504101739207762/1737757421_3581329_1328184688_5503288fe49f7dc9238e2041c6258862_rle_crop_3630170987_0.png.png imagette198504101739207762/1738963674_4010869_1328184527_3784b389bba69ad5fffe1460564fa757_rle_crop_3632793912_0.png.png imagette198504101739207762/1738963194_3989178_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165090_0.png.png imagette198504101739207762/1738963194_3989178_1328184691_ef71d9e40b75939855429aa87404f75a_rle_crop_3632777538_0.png.png imagette198504101739207762/1738963194_3989178_1328184720_24e65fff97600fa0c4cddeecefc09d0c_rle_crop_3630165151_0.png.png imagette198504101739207762/1738963194_3989178_1328185654_b0455d00f593a66f0f4844ae6e224a2d_rle_crop_3632777211_0.png.png imagette198504101739207762/1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3632775866_0.png.png imagette198504101739207762/1737654337_2083546_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630164995_0.png.png imagette198504101739207762/1738963194_3989178_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165025_0.png.png imagette198504101739207762/1738963194_3989178_1328185724_71d2c641eb1bf0b3259761ce2c61ba89_rle_crop_3632775272_0.png.png imagette198504121739207765/ imagette198504131739207765/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94328aeb551a89c4c611bb739a303577_60858058.png imagette198504101739207762 19850412 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=19850412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504121739207765 19850413 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=19850413 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504131739207765 19850408 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=19850408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1331153405: '1737757993_3602798_1328184525_1b4800efa61472336dbd4d630a0eed24_rle_crop_3632793938_0.png', 1335621088: '1738963194_3989178_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165087_0.png', 1335621086: '1738963194_3989178_1328185708_217951ede5b8780ffc205ce964e37823_rle_crop_3630165036_0.png', 1335621085: '1738963194_3989178_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165026_0.png', 1335621084: '1738963194_3989178_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165022_0.png', 1335621082: '1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3630165012_0.png', 1335621081: '1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3630165013_0.png', 1335621080: '1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3630165009_0.png', 1335621078: '1738963194_3989178_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630165001_0.png', 1335621076: '1738963194_3989178_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630165000_0.png', 1335621071: '1738963194_3989178_1328185724_71d2c641eb1bf0b3259761ce2c61ba89_rle_crop_3630164959_0.png', 1335621069: '1738963194_3989178_1329413625_ec8068dbd3fd887b8f061e3a6c8f8328_rle_crop_3630164947_0.png', 1335621068: '1738963194_3989178_1329413625_ec8068dbd3fd887b8f061e3a6c8f8328_rle_crop_3630164951_0.png', 1335621089: '1738963194_3989178_1328185688_2d289e747801db0f88008c50d8b753d5_rle_crop_3630165103_0.png', 1331153404: '1737757993_3602798_1328184525_1b4800efa61472336dbd4d630a0eed24_rle_crop_3632793937_0.png', 1331153403: '1737757993_3602798_1328184612_d3410cbf73df7a020b07de0479a3c410_rle_crop_3632793888_0.png', 1331153402: '1737757993_3602798_1328184612_d3410cbf73df7a020b07de0479a3c410_rle_crop_3632793887_0.png', 1331153401: '1737757993_3602798_1328184612_d3410cbf73df7a020b07de0479a3c410_rle_crop_3632793884_0.png', 1331153400: '1737757993_3602798_1328184637_1af9e0c40d82102d133ce0099bfa32b0_rle_crop_3632793864_0.png', 1331153399: '1737757993_3602798_1328184657_bae1e43bc4cbace91d44cdcac76cf9f2_rle_crop_3632793835_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f1d00f5dee40f800b28e63d14a0669b0_17005544.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/86eebf72f69b39b0d4cdf4a01118c787_30915607.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/a9a678d19ca5a943e2439284e59e0d5b_27593138.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/cb017353ca5f4b379dbe98b33c65645c_10583070.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/fc0a56f52a3f6a8febbd90e3b68d4ccf_54159676.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/58e14ea1e423e1498c5967d99fe40be2_24451486.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/73870dd2f151bd47507627ccc6844aa6_61559018.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/e55a51cfc9a2d3fe8e42dc71b2421380_2732876.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/08c995497003ad50d92dcdce81c98737_19220864.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/489653c07915e52b38f455948a4a00a6_73925123.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/cb366f5abe4399f03d6d8ddd41a0304f_91374548.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/8c8ddfb7e3810585aa3ff3ebdf7c8735_20194355.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/963c11a1b531f616e97395719571307a_50349740.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/09f1aaa3fe81368a9d8299b2327e7211_91929064.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/00245eb6ae63368d1de6b45358a1e895_55995205.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/e3cfe1088cce9caeb8c34f70449b5b47_29708352.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/3aa7ead251ece09364db695d969d2d7a_68068506.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/741bb4839f049c567f79abac3a741a9c_99500644.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/130b38ceb634e9b91386879cd2b851d6_20547197.png change filename to text .imagette198504081739207765/ imagette198504081739207765/1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3630165013_0.png.png imagette198504081739207765/1738963194_3989178_1328185708_217951ede5b8780ffc205ce964e37823_rle_crop_3630165036_0.png.png imagette198504081739207765/1738963194_3989178_1329413625_ec8068dbd3fd887b8f061e3a6c8f8328_rle_crop_3630164947_0.png.png imagette198504081739207765/1737757993_3602798_1328184657_bae1e43bc4cbace91d44cdcac76cf9f2_rle_crop_3632793835_0.png.png imagette198504081739207765/1738963194_3989178_1329413625_ec8068dbd3fd887b8f061e3a6c8f8328_rle_crop_3630164951_0.png.png imagette198504081739207765/1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3630165012_0.png.png imagette198504081739207765/1737757993_3602798_1328184612_d3410cbf73df7a020b07de0479a3c410_rle_crop_3632793884_0.png.png imagette198504081739207765/1737757993_3602798_1328184637_1af9e0c40d82102d133ce0099bfa32b0_rle_crop_3632793864_0.png.png imagette198504081739207765/1738963194_3989178_1328185712_6981e9ca06d770a80dc86f291926474d_rle_crop_3630165009_0.png.png imagette198504081739207765/1737757993_3602798_1328184525_1b4800efa61472336dbd4d630a0eed24_rle_crop_3632793937_0.png.png imagette198504081739207765/1738963194_3989178_1328185688_2d289e747801db0f88008c50d8b753d5_rle_crop_3630165103_0.png.png imagette198504081739207765/1737757993_3602798_1328184612_d3410cbf73df7a020b07de0479a3c410_rle_crop_3632793887_0.png.png imagette198504081739207765/1738963194_3989178_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630165001_0.png.png imagette198504081739207765/1738963194_3989178_1328185724_71d2c641eb1bf0b3259761ce2c61ba89_rle_crop_3630164959_0.png.png imagette198504081739207765/1738963194_3989178_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4_rle_crop_3630165000_0.png.png imagette198504081739207765/1738963194_3989178_1328185694_6ddd3889515873d5add4ab7740800d97_rle_crop_3630165087_0.png.png imagette198504081739207765/1737757993_3602798_1328184612_d3410cbf73df7a020b07de0479a3c410_rle_crop_3632793888_0.png.png imagette198504081739207765/1737757993_3602798_1328184525_1b4800efa61472336dbd4d630a0eed24_rle_crop_3632793938_0.png.png imagette198504081739207765/1738963194_3989178_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165026_0.png.png imagette198504081739207765/1738963194_3989178_1328185710_3a1e0a18ad392e4e019ede1cbb9db490_rle_crop_3630165022_0.png.png imagette198504111739207767/ imagette198504141739207767/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/24/f6a11d740e2fba6d47491094ee918fa4_68787988.png imagette198504081739207765 19850411 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=19850411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504111739207767 19850414 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=19850414 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette198504141739207767 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19823966 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/19850416,19850417,19850418,19850419,19850420,19850421,19850422,19850423,19850424,19850425,19850426,19850427?tags=papier,cartonnette,mal_croppe,kraft,Teint_Dans_La_Masse,flou,autre_refus,Carton_brun,plastique,metal,Carton_gris,environnement your option no_mail is active, we will not send the real mail to your client args[1329413625] : ('0.15596686526139858',) no score found for photo 1329413625 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185724] : ('0.15596686526139858',) no score found for photo 1328185724 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185720] : ('0.15596686526139858',) no score found for photo 1328185720 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185715] : ('0.15596686526139858',) no score found for photo 1328185715 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185712] : ('0.15596686526139858',) no score found for photo 1328185712 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185710] : ('0.15596686526139858',) no score found for photo 1328185710 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185708] : ('0.15596686526139858',) no score found for photo 1328185708 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185694] : ('0.15596686526139858',) no score found for photo 1328185694 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185688] : ('0.15596686526139858',) no score found for photo 1328185688 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185683] : ('0.15596686526139858',) no score found for photo 1328185683 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185678] : ('0.15596686526139858',) no score found for photo 1328185678 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185654] : ('0.15596686526139858',) no score found for photo 1328185654 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328185651] : ('0.15596686526139858',) no score found for photo 1328185651 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184720] : ('0.15596686526139858',) no score found for photo 1328184720 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184717] : ('0.15596686526139858',) no score found for photo 1328184717 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184699] : ('0.15596686526139858',) no score found for photo 1328184699 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184694] : ('0.15596686526139858',) no score found for photo 1328184694 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184691] : ('0.15596686526139858',) no score found for photo 1328184691 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184688] : ('0.15596686526139858',) no score found for photo 1328184688 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184681] : ('0.15596686526139858',) no score found for photo 1328184681 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184657] : ('0.15596686526139858',) no score found for photo 1328184657 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184637] : ('0.15596686526139858',) no score found for photo 1328184637 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184612] : ('0.15596686526139858',) no score found for photo 1328184612 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184527] : ('0.15596686526139858',) no score found for photo 1328184527 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com args[1328184525] : ('0.15596686526139858',) no score found for photo 1328184525 apple ('0.15596686526139858',) We are sending mail with results at report@fotonower.com refus_total : 0.15596686526139858 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=19823966 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_P19823966_10-02-2025_18_16_01.pdf results_Auto_P19823966_10-02-2025_18_16_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823966_10-02-2025_18_16_01.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','19823966','results_Auto_P19823966_10-02-2025_18_16_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823966_10-02-2025_18_16_01.pdf','pdf','','0.53','0.15596686526139858') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19823966]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] map_info['map_portfolio_photo'] : {19823966: [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525]} final : False mtd_id 4302 list_pids : [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] 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, '2572028') ('4302', '19823966', '1329413625', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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', '19823966', '1329413625', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028')] time used for this insertion : 0.016695737838745117 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.553765296936035 time spend to save output : 0.017041444778442383 total time spend for step 4 : 8.570806741714478 step5:split_time_score Mon Feb 10 18:16:09 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 : ['19823966'] 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 : [('19823966',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19823966) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1329413625: {'path': 'temp/1739207760_3482917_1329413625_ec8068dbd3fd887b8f061e3a6c8f8328.jpg', 'extension': 'jpg'}, 1328185708: {'path': 'temp/1739207760_3482917_1328185708_217951ede5b8780ffc205ce964e37823.jpg', 'extension': 'jpg'}, 1328185710: {'path': 'temp/1739207760_3482917_1328185710_3a1e0a18ad392e4e019ede1cbb9db490.jpg', 'extension': 'jpg'}, 1328185712: {'path': 'temp/1739207760_3482917_1328185712_6981e9ca06d770a80dc86f291926474d.jpg', 'extension': 'jpg'}, 1328185715: {'path': 'temp/1739207760_3482917_1328185715_6bb3cd47ffd15b40e401e7b84eb494c4.jpg', 'extension': 'jpg'}, 1328185720: {'path': 'temp/1739207760_3482917_1328185720_7fc9405abe803c2bc72f865b003ae93d.jpg', 'extension': 'jpg'}, 1328185724: {'path': 'temp/1739207760_3482917_1328185724_71d2c641eb1bf0b3259761ce2c61ba89.jpg', 'extension': 'jpg'}, 1328185651: {'path': 'temp/1739207760_3482917_1328185651_ac77f3e672e1f5bc43bd33d707493638.jpg', 'extension': 'jpg'}, 1328185654: {'path': 'temp/1739207760_3482917_1328185654_b0455d00f593a66f0f4844ae6e224a2d.jpg', 'extension': 'jpg'}, 1328185678: {'path': 'temp/1739207760_3482917_1328185678_ae8ee0704e6c703edfd119120cf59e52.jpg', 'extension': 'jpg'}, 1328185683: {'path': 'temp/1739207760_3482917_1328185683_d73c92f400217e40075cd3060911fb42.jpg', 'extension': 'jpg'}, 1328185688: {'path': 'temp/1739207760_3482917_1328185688_2d289e747801db0f88008c50d8b753d5.jpg', 'extension': 'jpg'}, 1328185694: {'path': 'temp/1739207760_3482917_1328185694_6ddd3889515873d5add4ab7740800d97.jpg', 'extension': 'jpg'}, 1328184688: {'path': 'temp/1739207760_3482917_1328184688_5503288fe49f7dc9238e2041c6258862.jpg', 'extension': 'jpg'}, 1328184691: {'path': 'temp/1739207760_3482917_1328184691_ef71d9e40b75939855429aa87404f75a.jpg', 'extension': 'jpg'}, 1328184694: {'path': 'temp/1739207760_3482917_1328184694_ca37d6f3d8957a954da4b55dac8f2040.jpg', 'extension': 'jpg'}, 1328184699: {'path': 'temp/1739207760_3482917_1328184699_2f9e34299c7975ad654a7c122d40f50b.jpg', 'extension': 'jpg'}, 1328184717: {'path': 'temp/1739207760_3482917_1328184717_9116f8f31b99fa76f81e8705f8701938.jpg', 'extension': 'jpg'}, 1328184720: {'path': 'temp/1739207760_3482917_1328184720_24e65fff97600fa0c4cddeecefc09d0c.jpg', 'extension': 'jpg'}, 1328184525: {'path': 'temp/1739207760_3482917_1328184525_1b4800efa61472336dbd4d630a0eed24.jpg', 'extension': 'jpg'}, 1328184527: {'path': 'temp/1739207760_3482917_1328184527_3784b389bba69ad5fffe1460564fa757.jpg', 'extension': 'jpg'}, 1328184612: {'path': 'temp/1739207760_3482917_1328184612_d3410cbf73df7a020b07de0479a3c410.jpg', 'extension': 'jpg'}, 1328184637: {'path': 'temp/1739207760_3482917_1328184637_1af9e0c40d82102d133ce0099bfa32b0.jpg', 'extension': 'jpg'}, 1328184657: {'path': 'temp/1739207760_3482917_1328184657_bae1e43bc4cbace91d44cdcac76cf9f2.jpg', 'extension': 'jpg'}, 1328184681: {'path': 'temp/1739207760_3482917_1328184681_b6dcbfc1957942c718083b071e7eb94a.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 = 19823966; (('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 = 19823966 group by h (('05', 25),) 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=19823966 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 (19823966) 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 (19823966) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11012025 19823966 Nombre de photos uploadées : 25 / 23040 (0%) 11012025 19823966 Nombre de photos taguées (types de déchets): 0 / 25 (0%) 11012025 19823966 Nombre de photos taguées (volume) : 0 / 25 (0%) [{'photo_id': 1328184525, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1b4800efa61472336dbd4d630a0eed24.jpg', 'username': None, 'uploaded_at': 1736603152, 'text': 'image_11012025_05_00_04_10511.jpg'}, {'photo_id': 1328184527, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/3784b389bba69ad5fffe1460564fa757.jpg', 'username': None, 'uploaded_at': 1736603152, 'text': 'image_11012025_05_00_14_9415.jpg'}, {'photo_id': 1328184612, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/d3410cbf73df7a020b07de0479a3c410.jpg', 'username': None, 'uploaded_at': 1736603152, 'text': 'image_11012025_05_00_24_10458.jpg'}, {'photo_id': 1328184637, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/11/1af9e0c40d82102d133ce0099bfa32b0.jpg', 'username': None, 'uploaded_at': 1736603152, 'text': 'image_11012025_05_00_44_10458.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012700557708740234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 19823966, '2025-01-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1520796,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.021650075912475586 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= 1520796 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19512492, 'dashboard_result_id': 8426168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19512550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19512551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19512552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19512553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19512554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19512555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19512556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19512557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19512558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19512559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19512560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19512561, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823949, 'dashboard_result_id': 8426169, '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_P19823949_10-02-2025_18_10_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19848668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19848669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19848670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19848671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19848672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19848673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19848674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19848675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19848676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19848677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19848678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19848679, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823951, 'dashboard_result_id': 8426170, '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_P19823951_10-02-2025_18_11_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19848853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19848854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19848855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19848856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19848857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19848858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19848859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19848860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19848861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19848862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19848863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19848864, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823953, 'dashboard_result_id': 8426171, '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_P19823953_10-02-2025_18_12_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849054, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823955, 'dashboard_result_id': 8426172, '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_P19823955_10-02-2025_18_12_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849374, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823957, 'dashboard_result_id': 8426173, '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_P19823957_10-02-2025_18_13_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849578, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823960, 'dashboard_result_id': 8426174, '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_P19823960_10-02-2025_18_14_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19849786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849797, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823962, 'dashboard_result_id': 8426175, '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_P19823962_10-02-2025_18_15_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19850019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19850026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850028, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823964, 'dashboard_result_id': 8426176, '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_P19823964_10-02-2025_18_15_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19850101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19850109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850111, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850112, 'pht': 3726}}"}, {'dashboat_entry_day': 1520796, 'dashboard_run_id': 1553321, 'mtr_portfolio_id': 19823966, 'dashboard_result_id': 8426177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}] 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 = 19512492 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': 2572019, 'mtr_portfolio_id': 19512492, 'created_at': datetime.datetime(2025, 2, 10, 18, 9, 58), 'result': '0.2604654841522676', 'result_long': None, 'result_double': None}] Qualite : 0.2604654841522676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19512492 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%19512492%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19512492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19512550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19512551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19512552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19512553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19512554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19512555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19512556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19512557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19512558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19512559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19512560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19512561, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 19512492 and dashboard_run_id = 1553321 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`=19512492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426168, 0.2604654841522676, "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19512550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19512551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19512552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19512553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19512554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19512555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19512556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19512557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19512558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19512559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19512560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19512561, 'pht': 3726}, 'url_report': ''}") 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 = 19823949 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': 2572020, 'mtr_portfolio_id': 19823949, 'created_at': datetime.datetime(2025, 2, 10, 18, 10, 40), 'result': '0.15914931580269537', 'result_long': None, 'result_double': None}] Qualite : 0.15914931580269537 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823949 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823949_10-02-2025_18_10_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823949 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_P19823949_10-02-2025_18_10_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19848668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19848669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19848670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19848671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19848672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19848673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19848674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19848675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19848676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19848677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19848678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19848679, 'pht': 3726}}" where mtr_portfolio_id = 19823949 and dashboard_run_id = 1553321 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`=19823949 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426169, 0.15914931580269537, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823949_10-02-2025_18_10_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19848668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19848669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19848670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19848671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19848672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19848673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19848674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19848675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19848676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19848677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19848678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19848679, '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 = 19823951 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': 2572021, 'mtr_portfolio_id': 19823951, 'created_at': datetime.datetime(2025, 2, 10, 18, 11, 29), 'result': '0.1536747025269074', 'result_long': None, 'result_double': None}] Qualite : 0.1536747025269074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823951_10-02-2025_18_11_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823951 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_P19823951_10-02-2025_18_11_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19848853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19848854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19848855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19848856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19848857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19848858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19848859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19848860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19848861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19848862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19848863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19848864, 'pht': 3726}}" where mtr_portfolio_id = 19823951 and dashboard_run_id = 1553321 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`=19823951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426170, 0.1536747025269074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823951_10-02-2025_18_11_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19848853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19848854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19848855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19848856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19848857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19848858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19848859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19848860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19848861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19848862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19848863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19848864, '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 = 19823953 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': 2572022, 'mtr_portfolio_id': 19823953, 'created_at': datetime.datetime(2025, 2, 10, 18, 12, 6), 'result': '0.20244441784849926', 'result_long': None, 'result_double': None}] Qualite : 0.20244441784849926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823953_10-02-2025_18_12_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823953 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_P19823953_10-02-2025_18_12_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849054, 'pht': 3726}}" where mtr_portfolio_id = 19823953 and dashboard_run_id = 1553321 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`=19823953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426171, 0.20244441784849926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823953_10-02-2025_18_12_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849048, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849054, '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 = 19823955 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': 2572023, 'mtr_portfolio_id': 19823955, 'created_at': datetime.datetime(2025, 2, 10, 18, 12, 29), 'result': '0.13102633127622584', 'result_long': None, 'result_double': None}] Qualite : 0.13102633127622584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823955_10-02-2025_18_12_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823955 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_P19823955_10-02-2025_18_12_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849374, 'pht': 3726}}" where mtr_portfolio_id = 19823955 and dashboard_run_id = 1553321 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`=19823955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426172, 0.13102633127622584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823955_10-02-2025_18_12_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849374, '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 = 19823957 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': 2572024, 'mtr_portfolio_id': 19823957, 'created_at': datetime.datetime(2025, 2, 10, 18, 13, 28), 'result': '0.13287386109181568', 'result_long': None, 'result_double': None}] Qualite : 0.13287386109181568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823957_10-02-2025_18_13_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823957 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_P19823957_10-02-2025_18_13_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849578, 'pht': 3726}}" where mtr_portfolio_id = 19823957 and dashboard_run_id = 1553321 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`=19823957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426173, 0.13287386109181568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823957_10-02-2025_18_13_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19849572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849578, '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 = 19823960 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': 2572025, 'mtr_portfolio_id': 19823960, 'created_at': datetime.datetime(2025, 2, 10, 18, 14, 4), 'result': '0.13674839686517387', 'result_long': None, 'result_double': None}] Qualite : 0.13674839686517387 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823960_10-02-2025_18_14_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823960 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_P19823960_10-02-2025_18_14_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19849786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849797, 'pht': 3726}}" where mtr_portfolio_id = 19823960 and dashboard_run_id = 1553321 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`=19823960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426174, 0.13674839686517387, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823960_10-02-2025_18_14_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19849786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19849787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19849788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19849789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19849790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19849791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19849792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19849793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19849794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19849795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19849796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19849797, '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 = 19823962 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': 2572026, 'mtr_portfolio_id': 19823962, 'created_at': datetime.datetime(2025, 2, 10, 18, 15), 'result': '0.14900980538779765', 'result_long': None, 'result_double': None}] Qualite : 0.14900980538779765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823962_10-02-2025_18_15_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823962 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_P19823962_10-02-2025_18_15_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19850019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19850026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850028, 'pht': 3726}}" where mtr_portfolio_id = 19823962 and dashboard_run_id = 1553321 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`=19823962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426175, 0.14900980538779765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823962_10-02-2025_18_15_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19850019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19850026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850028, '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 = 19823964 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': 2572027, 'mtr_portfolio_id': 19823964, 'created_at': datetime.datetime(2025, 2, 10, 18, 15, 39), 'result': '0.1564502192627274', 'result_long': None, 'result_double': None}] Qualite : 0.1564502192627274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823964_10-02-2025_18_15_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823964 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_P19823964_10-02-2025_18_15_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19850101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19850109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850111, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850112, 'pht': 3726}}" where mtr_portfolio_id = 19823964 and dashboard_run_id = 1553321 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`=19823964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426176, 0.1564502192627274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823964_10-02-2025_18_15_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19850101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19850109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850111, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850112, '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 = 19823966 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': 2572028, 'mtr_portfolio_id': 19823966, 'created_at': datetime.datetime(2025, 2, 10, 18, 16), 'result': '0.15596686526139858', 'result_long': None, 'result_double': None}] Qualite : 0.15596686526139858 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19823966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823966_10-02-2025_18_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19823966 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_P19823966_10-02-2025_18_16_01.pdf'}" where mtr_portfolio_id = 19823966 and dashboard_run_id = 1553321 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`=19823966 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426177, 0.15596686526139858, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19823966_10-02-2025_18_16_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19850404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19850405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19850406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19850407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19850408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19850409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19850410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19850411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19850412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19850413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19850414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19850415, '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 (19512492,19823949,19823951,19823953,19823955,19823957,19823960,19823962,19823964,19823966) result : ((1328009382,), (1328009606,), (1328009795,), (1328009852,), (1328009856,), (1328009861,), (1328014047,), (1328014050,), (1328014051,), (1328014052,), (1328014053,), (1328014056,), (1328020161,), (1328020163,), (1328020165,), (1328020166,), (1328020168,), (1328020170,), (1328023052,), (1328023054,), (1328023055,), (1328023058,), (1328023060,), (1328023062,), (1328025886,), (1328025888,), (1328025890,), (1328025893,), (1328025898,), (1328025903,), (1328031223,), (1328031224,), (1328031226,), (1328031884,), (1328032060,), (1328032141,), (1328033321,), (1328033323,), (1328033325,), (1328033327,), (1328033329,), (1328033332,), (1328037402,), (1328037403,), (1328037404,), (1328037406,), (1328037407,), (1328037409,), (1328037425,), (1328037428,), (1328037541,), (1328037550,), (1328037585,), (1328040131,), (1328040133,), (1328040134,), (1328040137,), (1328040141,), (1328037595,), (1328040145,), (1328040431,), (1328040539,), (1328040666,), (1328040755,), (1328040781,), (1328040783,), (1328040801,), (1328040804,), (1328040829,), (1328040832,), (1328040833,), (1328040835,), (1328041256,), (1328041463,), (1328041579,), (1328041582,), (1328041602,), (1328041672,), (1328041753,), (1328041755,), (1328041758,), (1328041761,), (1328041762,), (1328041764,), (1328041772,), (1328041773,), (1328041775,), (1328041777,), (1328041778,), (1328041779,), (1328041784,), (1328041786,), (1328041790,), (1328041794,), (1328041797,), (1328041821,), (1328042573,), (1328042575,), (1328042577,), (1328042579,), (1328042581,), (1328042582,), (1328042590,), (1328042593,), (1328042595,), (1328042597,), (1328042600,), (1328042601,), (1328042787,), (1328042789,), (1328042791,), (1328042851,), (1328042853,), (1328042855,), (1328042862,), (1328042863,), (1328042864,), (1328042866,), (1328042867,), (1328042869,), (1328043001,), (1328043040,), (1328043059,), (1328043092,), (1328043093,), (1328043095,), (1328044345,), (1328044347,), (1328044348,), (1328044350,), (1328044353,), (1328044454,), (1328046047,), (1328046050,), (1328046052,), (1328046053,), (1328046059,), (1328046062,), (1328046072,), (1328046074,), (1328046076,), (1328046078,), (1328046079,), (1328046081,), (1328047264,), (1328047273,), (1328047275,), (1328047280,), (1328047285,), (1328047289,), (1328051983,), (1328051985,), (1328051989,), (1328051993,), (1328051996,), (1328051997,), (1328052008,), (1328052010,), (1328052013,), (1328052015,), (1328052018,), (1328052019,), (1328053869,), (1328053871,), (1328053872,), (1328053875,), (1328053877,), (1328053880,), (1328055276,), (1328055278,), (1328055280,), (1328055281,), (1328055282,), (1328055284,), (1328055306,), (1328055309,), (1328055311,), (1328055314,), (1328055315,), (1328055316,), (1328055321,), (1328055324,), (1328055336,), (1328055340,), (1328055343,), (1328055345,), (1328057786,), (1328057789,), (1328057792,), (1328057794,), (1328057798,), (1328057801,), (1328062174,), (1328062329,), (1328062479,), (1328062667,), (1328062713,), (1328062715,), (1328062730,), (1328062809,), (1328062975,), (1328063059,), (1328063083,), (1328063113,), (1328063154,), (1328063156,), (1328063172,), (1328064352,), (1328064354,), (1328064357,), (1328063309,), (1328063313,), (1328064362,), (1328064364,), (1328064371,), (1328064429,), (1328064460,), (1328064479,), (1328064507,), (1328064509,), (1328064518,), (1328064520,), (1328064522,), (1328064524,), (1328064525,), (1328064527,), (1328064533,), (1328064565,), (1328064567,), (1328064569,), (1328064572,), (1328064575,), (1328067065,), (1328067068,), (1328067070,), (1328067073,), (1328067076,), (1328067078,), (1328067081,), (1328069052,), (1328071880,), (1328071915,), (1328071917,), (1328071919,), (1328071922,), (1328071923,), (1328071925,), (1328071938,), (1328071939,), (1328071941,), (1328071943,), (1328071986,), (1328072051,), (1328072071,), (1328072074,), (1328072076,), (1328072079,), (1328072082,), (1328072084,), (1328073720,), (1328073722,), (1328073723,), (1328073725,), (1328073727,), (1328073778,), (1328073836,), (1328073837,), (1328073839,), (1328073841,), (1328073898,), (1328073941,), (1328075062,), (1328075065,), (1328075067,), (1328075069,), (1328075071,), (1328075073,), (1328075182,), (1328075207,), (1328075211,), (1328075212,), (1328075213,), (1328075215,), (1328075230,), (1328075233,), (1328075259,), (1328075261,), (1328075273,), (1328075340,), (1328078860,), (1328078863,), (1328078867,), (1328078870,), (1328078874,), (1328078875,), (1328078887,), (1328078890,), (1328078893,), (1328078895,), (1328078897,), (1328078900,), (1328080931,), (1328080936,), (1328080940,), (1328080942,), (1328080946,), (1328080950,), (1328081601,), (1328081605,), (1328081607,), (1328081608,), (1328081610,), (1328081612,), (1328083430,), (1328083432,), (1328083434,), (1328083435,), (1328083436,), (1328083439,), (1328085227,), (1328085230,), (1328085234,), (1328085239,), (1328085243,), (1328085246,), (1328085272,), (1328085344,), (1328085345,), (1328085349,), (1328085353,), (1328085356,), (1328087375,), (1328087376,), (1328087378,), (1328087380,), (1328087382,), (1328087384,), (1328089522,), (1328089525,), (1328089527,), (1328089529,), (1328089531,), (1328089539,), (1328089570,), (1328089572,), (1328091172,), (1328091182,), (1328089573,), (1328089645,), (1328089655,), (1328089656,), (1328091185,), (1328091190,), (1328091193,), (1328091194,), (1328091208,), (1328091211,), (1328091309,), (1328091325,), (1328091339,), (1328091363,), (1328091366,), (1328091369,), (1328091372,), (1328091381,), (1328091397,), (1328091398,), (1328092223,), (1328092226,), (1328092229,), (1328092233,), (1328092238,), (1328092242,), (1328096153,), (1328096156,), (1328096160,), (1328096165,), (1328096168,), (1328096170,), (1328096261,), (1328096263,), (1328096264,), (1328096266,), (1328096268,), (1328096306,), (1328096317,), (1328096329,), (1328096331,), (1328096333,), (1328096351,), (1328096353,), (1328096367,), (1328096370,), (1328096373,), (1328096375,), (1328096379,), (1328096382,), (1328098570,), (1328098571,), (1328098575,), (1328098577,), (1328098580,), (1328098582,), (1328100979,), (1328100984,), (1328100988,), (1328100991,), (1328100995,), (1328100998,), (1328102839,), (1328102842,), (1328102847,), (1328102853,), (1328102857,), (1328102863,), (1328102898,), (1328102900,), (1328102902,), (1328102904,), (1328102908,), (1328102913,), (1328105309,), (1328105313,), (1328105314,), (1328105316,), (1328105319,), (1328105323,), (1328105341,), (1328105344,), (1328105345,), (1328105347,), (1328105350,), (1328105351,), (1328105360,), (1328105363,), (1328105368,), (1328105372,), (1328105375,), (1328105377,), (1328110050,), (1328110143,), (1328110235,), (1328110336,), (1328110423,), (1328110531,), (1328111075,), (1328111077,), (1328111079,), (1328111080,), (1328111083,), (1328111085,), (1328115170,), (1328115173,), (1328115176,), (1328115179,), (1328115181,), (1328115184,), (1328118905,), (1328118909,), (1328118914,), (1328118918,), (1328118923,), (1328118929,), (1328118943,), (1328118945,), (1328118947,), (1328118949,), (1328118953,), (1328122108,), (1328122110,), (1328122114,), (1328122116,), (1328122118,), (1328118957,), (1328122120,), (1328122135,), (1328122139,), (1328122143,), (1328122147,), (1328122148,), (1328122158,), (1328122177,), (1328122181,), (1328122184,), (1328122187,), (1328122190,), (1328122194,), (1328126512,), (1328126569,), (1328126571,), (1328126573,), (1328126574,), (1328126624,), (1328126806,), (1328126897,), (1328126989,), (1328127093,), (1328127183,), (1328127270,), (1328127329,), (1328127335,), (1328127345,), (1328127357,), (1328127359,), (1328127362,), (1328127367,), (1328127368,), (1328127404,), (1328127501,), (1328127592,), (1328127695,), (1328127742,), (1328127745,), (1328127748,), (1328127817,), (1328127839,), (1328127841,), (1328127845,), (1328127848,), (1328127851,), (1328127855,), (1328127858,), (1328127861,), (1328128212,), (1328128571,), (1328128577,), (1328128580,), (1328128591,), (1328128607,), (1328132699,), (1328132702,), (1328132704,), (1328132709,), (1328132712,), (1328132713,), (1328136172,), (1328136179,), (1328136184,), (1328136190,), (1328136196,), (1328136201,), (1328136208,), (1328136209,), (1328136210,), (1328136212,), (1328136215,), (1328136220,), (1328140847,), (1328140933,), (1328141028,), (1328141119,), (1328141212,), (1328141293,), (1328144642,), (1328144646,), (1328144649,), (1328144659,), (1328144668,), (1328144671,), (1328144709,), (1328144712,), (1328144715,), (1328144718,), (1328144721,), (1328144722,), (1328149650,), (1328149653,), (1328149656,), (1328149659,), (1328149660,), (1328149662,), (1328149671,), (1328149674,), (1328149677,), (1328149681,), (1328149684,), (1328149687,), (1328153635,), (1328153638,), (1328153643,), (1328153646,), (1328153651,), (1328153655,), (1328160082,), (1328160084,), (1328160086,), (1328160089,), (1328160091,), (1328160093,), (1328160104,), (1328160106,), (1328160108,), (1328160110,), (1328160111,), (1328160113,), (1328160117,), (1328160120,), (1328160122,), (1328160126,), (1328160128,), (1328160131,), (1328163831,), (1328163833,), (1328163836,), (1328163838,), (1328163841,), (1328163844,), (1328163855,), (1328163856,), (1328163857,), (1328163858,), (1328163860,), (1328163862,), (1328163888,), (1328163903,), (1328163905,), (1328163907,), (1328163909,), (1328163910,), (1328163923,), (1328163926,), (1328163928,), (1328163930,), (1328163932,), (1328163935,), (1328169104,), (1328169108,), (1328169110,), (1328169112,), (1328169114,), (1328169115,), (1328172807,), (1328172810,), (1328172815,), (1328172821,), (1328172827,), (1328172833,), (1328173489,), (1328173492,), (1328173495,), (1328173497,), (1328173502,), (1328173508,), (1328173520,), (1328173524,), (1328173543,), (1328173680,), (1328173694,), (1328173809,), (1328174177,), (1328174267,), (1328174363,), (1328174484,), (1328174619,), (1328174691,), (1328174736,), (1328174781,), (1328174783,), (1328174813,), (1328174817,), (1328174821,), (1328174844,), (1328174848,), (1328174853,), (1328174858,), (1328174861,), (1328174865,), (1328174896,), (1328174898,), (1328174900,), (1328174902,), (1328174905,), (1328174907,), (1328174914,), (1328174917,), (1328174920,), (1328174923,), (1328174925,), (1328174929,), (1328179223,), (1328179226,), (1328179228,), (1328179230,), (1328179233,), (1328179236,), (1328181462,), (1328181464,), (1328181466,), (1328181469,), (1328181474,), (1328181475,), (1328181489,), (1328181491,), (1328181494,), (1328181496,), (1328181499,), (1328181502,), (1328184497,), (1328184500,), (1328184503,), (1328184507,), (1328184510,), (1328184514,), (1328184525,), (1328184527,), (1328184612,), (1328184637,), (1328184657,), (1328184681,), (1328184688,), (1328184691,), (1328184694,), (1328184699,), (1328184717,), (1328184720,), (1328185651,), (1328185654,), (1328185678,), (1328185683,), (1328185688,), (1328185694,), (1328185708,), (1328185710,), (1328185712,), (1328185715,), (1328185720,), (1328185724,), (1329413625,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11012025': {'nb_upload': 25, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19823966]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] map_info['map_portfolio_photo'] : {19823966: [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525]} final : True mtd_id 4302 list_pids : [1329413625, 1328185724, 1328185720, 1328185715, 1328185712, 1328185710, 1328185708, 1328185694, 1328185688, 1328185683, 1328185678, 1328185654, 1328185651, 1328184720, 1328184717, 1328184699, 1328184694, 1328184691, 1328184688, 1328184681, 1328184657, 1328184637, 1328184612, 1328184527, 1328184525] Looping around the photos to save general results len do output : 1 /19823966Didn'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, '2572028') ('4302', '19823966', '1329413625', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028') ('4302', None, None, None, None, None, None, None, '2572028') ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '19823966', 'None', None, None, None, None, '2572028'), ('4302', '19823966', '1329413625', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185724', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185720', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185715', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185712', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185710', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185708', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185694', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185688', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185683', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185678', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185654', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328185651', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184720', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184717', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184699', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184694', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184691', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184688', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184681', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184657', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184637', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184612', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184527', None, None, None, None, None, '2572028'), ('4302', '19823966', '1328184525', None, None, None, None, None, '2572028')] time used for this insertion : 0.015990018844604492 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4198815822601318 time spend to save output : 0.016306638717651367 total time spend for step 5 : 1.4361882209777832 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 (2572028) 2.86user 2.31system 0:15.02elapsed 34%CPU (0avgtext+0avgdata 166400maxresident)k 552inputs+35088outputs (5major+78546minor)pagefaults 0swaps