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 : 817160 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 (2661368) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2661368) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332849 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2661368'] with mtr_portfolio_ids : ['21332849'] and first list_photo_ids : [] new path : /proc/817160/ Name: python3 Umask: 0002 State: R (running) Tgid: 817160 Ngid: 0 Pid: 817160 PPid: 817159 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 817160 NSpid: 817160 NSpgid: 814181 NSsid: 814181 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98192 kB VmRSS: 98192 kB RssAnon: 59760 kB RssFile: 38432 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 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: 53 nonvoluntary_ctxt_switches: 153 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '817160', 'Ngid': '0', 'Pid': '817160', 'PPid': '817159', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '817160', 'NSpid': '817160', 'NSpgid': '814181', 'NSsid': '814181', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98192 kB', 'VmRSS': '98192 kB', 'RssAnon': '59760 kB', 'RssFile': '38432 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 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': '53', 'nonvoluntary_ctxt_switches': '153'} ('datou_batch_current', '817160', '1106844', '0', '1106844', '865592', '98192', b'', 'marlene', '2661368') 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 (21332849) 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 (2661368 ) ) 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 (21332849) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343316279, 'portfolio_id': 21332849}, {'photo_id': 1343316266, 'portfolio_id': 21332849}, {'photo_id': 1343316240, 'portfolio_id': 21332849}, {'photo_id': 1343316230, 'portfolio_id': 21332849}, {'photo_id': 1343316223, 'portfolio_id': 21332849}, {'photo_id': 1343316215, 'portfolio_id': 21332849}, {'photo_id': 1343316186, 'portfolio_id': 21332849}, {'photo_id': 1343316168, 'portfolio_id': 21332849}, {'photo_id': 1343316160, 'portfolio_id': 21332849}, {'photo_id': 1343316153, 'portfolio_id': 21332849}, {'photo_id': 1343316129, 'portfolio_id': 21332849}, {'photo_id': 1343316126, 'portfolio_id': 21332849}, {'photo_id': 1343316123, 'portfolio_id': 21332849}, {'photo_id': 1343316121, 'portfolio_id': 21332849}, {'photo_id': 1343316119, 'portfolio_id': 21332849}, {'photo_id': 1343316116, 'portfolio_id': 21332849}, {'photo_id': 1343316065, 'portfolio_id': 21332849}, {'photo_id': 1343316060, 'portfolio_id': 21332849}, {'photo_id': 1343316055, 'portfolio_id': 21332849}, {'photo_id': 1343316052, 'portfolio_id': 21332849}, {'photo_id': 1343316050, 'portfolio_id': 21332849}, {'photo_id': 1343316048, 'portfolio_id': 21332849}, {'photo_id': 1343315980, 'portfolio_id': 21332849}, {'photo_id': 1343315975, 'portfolio_id': 21332849}, {'photo_id': 1343315931, 'portfolio_id': 21332849}, {'photo_id': 1343315927, 'portfolio_id': 21332849}, {'photo_id': 1343315920, 'portfolio_id': 21332849}] map_portfolio_id_photo_id: {21332849: [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920]} ##### 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.014414072036743164 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Mar 12 07:22:56 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 (21332849) 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 : 21332849 get user id for portfolio 21332849 get sub ptf for main ptf 21332849, type 3726 and hashtags ['kraft', 'environnement', 'mal_croppe', 'flou', 'Carton_gris', 'cartonnette', 'Carton_brun', 'metal', 'autre_refus', 'plastique', 'Teint_Dans_La_Masse', 'papier'] 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`=21332849 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) 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`=21332849 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[21332849, 21332874, 3726, 0.5, 493202403, 979], [21332849, 21332875, 3726, 0.5, 493012381, 979], [21332849, 21332876, 3726, 0.5, 2107755527, 979], [21332849, 21332877, 3726, 0.5, 492777938, 979], [21332849, 21332878, 3726, 0.5, 2107753020, 979], [21332849, 21332879, 3726, 0.5, 702398920, 979], [21332849, 21332880, 3726, 0.5, 2107753024, 979], [21332849, 21332881, 3726, 0.5, 492628673, 979], [21332849, 21332882, 3726, 0.5, 2107752406, 979], [21332849, 21332883, 3726, 0.5, 492725882, 979], [21332849, 21332884, 3726, 0.5, 2107752385, 979], [21332849, 21332885, 3726, 0.5, 492668766, 979]] 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`=21332849 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) 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`=21332849 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21332849, 'sub_port_id': 21332874, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914736, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'environnement': {'main_port_id': 21332849, 'sub_port_id': 21332875, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914737, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'mal_croppe': {'main_port_id': 21332849, 'sub_port_id': 21332876, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914738, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'flou': {'main_port_id': 21332849, 'sub_port_id': 21332877, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914739, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'Carton_gris': {'main_port_id': 21332849, 'sub_port_id': 21332878, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914740, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'cartonnette': {'main_port_id': 21332849, 'sub_port_id': 21332879, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914741, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'Carton_brun': {'main_port_id': 21332849, 'sub_port_id': 21332880, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914742, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'metal': {'main_port_id': 21332849, 'sub_port_id': 21332881, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914743, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'autre_refus': {'main_port_id': 21332849, 'sub_port_id': 21332882, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914744, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'plastique': {'main_port_id': 21332849, 'sub_port_id': 21332883, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914745, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 21332849, 'sub_port_id': 21332884, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914746, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}, 'papier': {'main_port_id': 21332849, 'sub_port_id': 21332885, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914747, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21332874 , 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=21332849 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 (21332874) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332875 , 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=21332849 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 (21332875) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332876 , 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=21332849 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 (21332876) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332877 , 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=21332849 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 (21332877) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332878 , 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=21332849 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 (21332878) result : ((1343316292,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332879 , 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=21332849 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 (21332879) result : ((1343316294,), (1343316295,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332880 , 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=21332849 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 (21332880) result : ((1343316297,), (1343316298,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332881 , 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=21332849 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 (21332881) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332882 , 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=21332849 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 (21332882) result : ((1343316231,), (1343316232,), (1343316287,), (1343316288,), (1343316289,), (1343316290,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332883 , 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=21332849 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 (21332883) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332884 , 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=21332849 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 (21332884) result : ((1343316286,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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 21332885 , 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=21332849 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 (21332885) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21332849) result : ((1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) 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`=21332849 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) 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`=21332849 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__12032025_07_15_04_10154_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[21332849, 21332886, 4417, 0.5, 493202403, 979], [21332849, 21332887, 4417, 0.5, 493012381, 979], [21332849, 21332888, 4417, 0.5, 2107755527, 979], [21332849, 21332889, 4417, 0.5, 492777938, 979], [21332849, 21332890, 4417, 0.5, 2107753020, 979], [21332849, 21332891, 4417, 0.5, 702398920, 979], [21332849, 21332892, 4417, 0.5, 2107753024, 979], [21332849, 21332893, 4417, 0.5, 492628673, 979], [21332849, 21332894, 4417, 0.5, 2107752406, 979], [21332849, 21332895, 4417, 0.5, 492725882, 979], [21332849, 21332896, 4417, 0.5, 2107752385, 979], [21332849, 21332897, 4417, 0.5, 492668766, 979]] 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`=21332849 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) 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`=21332849 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','mal_croppe','flou','Carton_gris','cartonnette','Carton_brun','metal','autre_refus','plastique','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21332849, 'sub_port_id': 21332886, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914748, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'environnement': {'main_port_id': 21332849, 'sub_port_id': 21332887, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914749, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'mal_croppe': {'main_port_id': 21332849, 'sub_port_id': 21332888, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914750, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'flou': {'main_port_id': 21332849, 'sub_port_id': 21332889, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914751, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'Carton_gris': {'main_port_id': 21332849, 'sub_port_id': 21332890, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914752, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'cartonnette': {'main_port_id': 21332849, 'sub_port_id': 21332891, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914753, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'Carton_brun': {'main_port_id': 21332849, 'sub_port_id': 21332892, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914754, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'metal': {'main_port_id': 21332849, 'sub_port_id': 21332893, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914755, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'autre_refus': {'main_port_id': 21332849, 'sub_port_id': 21332894, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914756, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'plastique': {'main_port_id': 21332849, 'sub_port_id': 21332895, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914757, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21332849, 'sub_port_id': 21332896, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914758, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}, 'papier': {'main_port_id': 21332849, 'sub_port_id': 21332897, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13914759, 'last_updated_at': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 7, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 7, 22, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332886,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332874 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332887,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332875 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332888,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332876 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332889,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332877 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332890,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332878 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332891,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332879 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332892,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332880 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332893,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332894,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332895,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332896,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21332897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21332885 lien utilise dans velours : https://www.fotonower.com/velours/21332886,21332887,21332888,21332889,21332890,21332891,21332892,21332893,21332894,21332895,21332896,21332897?tags=kraft,environnement,mal_croppe,flou,Carton_gris,cartonnette,Carton_brun,metal,autre_refus,plastique,Teint_Dans_La_Masse,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21332849]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] map_info['map_portfolio_photo'] : {21332849: [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920]} final : False mtd_id 4302 list_pids : [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] Looping around the photos to save general results len do output : 1 /21332849. 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, '2661368') ('4302', '21332849', '1343316279', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 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, '21332849', "{'kraft': 21332874, 'environnement': 21332875, 'mal_croppe': 21332876, 'flou': 21332877, 'Carton_gris': 21332878, 'cartonnette': 21332879, 'Carton_brun': 21332880, 'metal': 21332881, 'autre_refus': 21332882, 'plastique': 21332883, 'Teint_Dans_La_Masse': 21332884, 'papier': 21332885}", None, None, None, None, '2661368'), ('4302', '21332849', '1343316279', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368')] time used for this insertion : 1.2908146381378174 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.253838539123535 time spend to save output : 1.2911958694458008 total time spend for step 1 : 3.545034408569336 step2:final Wed Mar 12 07:23: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 (21332849) 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 21332849 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343315931,1343315927,1343315920,1343315980,1343315975,1343316065,1343316060,1343316055,1343316052,1343316050,1343316048,1343316129,1343316126,1343316123,1343316121,1343316119,1343316116,1343316186,1343316168,1343316160,1343316153,1343316279,1343316266,1343316240,1343316230,1343316223,1343316215); 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([21332849]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} new output for save of step final : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] map_info['map_portfolio_photo'] : {21332849: [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920]} final : False mtd_id 4302 list_pids : [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] Looping around the photos to save general results len do output : 27 /1343316279.Didn't retrieve data . /1343316266.Didn't retrieve data . /1343316240.Didn't retrieve data . /1343316230.Didn't retrieve data . /1343316223.Didn't retrieve data . /1343316215.Didn't retrieve data . /1343316186.Didn't retrieve data . /1343316168.Didn't retrieve data . /1343316160.Didn't retrieve data . /1343316153.Didn't retrieve data . /1343316129.Didn't retrieve data . /1343316126.Didn't retrieve data . /1343316123.Didn't retrieve data . /1343316121.Didn't retrieve data . /1343316119.Didn't retrieve data . /1343316116.Didn't retrieve data . /1343316065.Didn't retrieve data . /1343316060.Didn't retrieve data . /1343316055.Didn't retrieve data . /1343316052.Didn't retrieve data . /1343316050.Didn't retrieve data . /1343316048.Didn't retrieve data . /1343315980.Didn't retrieve data . /1343315975.Didn't retrieve data . /1343315931.Didn't retrieve data . /1343315927.Didn't retrieve data . /1343315920.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, '2661368') ('4302', '21332849', '1343316279', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 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', '21332849', '1343316279', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316266', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316240', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316230', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316223', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316215', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316186', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316168', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316160', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316153', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316129', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316126', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316123', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316121', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316119', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316116', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316065', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316060', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316055', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316052', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316050', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343316048', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343315980', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343315975', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343315931', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343315927', '0.06989397443144212', None, None, None, None, '2661368'), ('4302', '21332849', '1343315920', '0.06989397443144212', None, None, None, None, '2661368')] time used for this insertion : 0.015572786331176758 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.03304457664489746 time spend to save output : 0.016886234283447266 total time spend for step 2 : 0.04993081092834473 step3:velours_tree Wed Mar 12 07:23: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 : {21332849: [{'kraft': 21332874, 'environnement': 21332875, 'mal_croppe': 21332876, 'flou': 21332877, 'Carton_gris': 21332878, 'cartonnette': 21332879, 'Carton_brun': 21332880, 'metal': 21332881, 'autre_refus': 21332882, 'plastique': 21332883, 'Teint_Dans_La_Masse': 21332884, 'papier': 21332885}]} input_args_next_step : {21332849: ()} output_args : {21332849: [{'kraft': 21332874, 'environnement': 21332875, 'mal_croppe': 21332876, 'flou': 21332877, 'Carton_gris': 21332878, 'cartonnette': 21332879, 'Carton_brun': 21332880, 'metal': 21332881, 'autre_refus': 21332882, 'plastique': 21332883, 'Teint_Dans_La_Masse': 21332884, 'papier': 21332885}]} args : 21332849 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 21332874, 'environnement': 21332875, 'mal_croppe': 21332876, 'flou': 21332877, 'Carton_gris': 21332878, 'cartonnette': 21332879, 'Carton_brun': 21332880, 'metal': 21332881, 'autre_refus': 21332882, 'plastique': 21332883, 'Teint_Dans_La_Masse': 21332884, 'papier': 21332885},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21332849) 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([21332849]) 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.3722517490386963 time spend to save output : 0.00010275840759277344 total time spend for step 3 : 0.37235450744628906 step4:send_mail_cod Wed Mar 12 07:23: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 : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} input_args_next_step : {1343316279: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316279 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316266 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316240 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316230 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316223 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316215 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316186 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316168 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316160 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316153 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316129 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316126 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316123 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316121 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316119 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316116 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316065 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316060 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316055 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316052 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316050 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343316048 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343315980 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343315975 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343315931 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343315927 depend.output_id : 0 input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ()} output_args : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',)} args : 1343315920 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 : {21332849: [{'kraft': 21332874, 'environnement': 21332875, 'mal_croppe': 21332876, 'flou': 21332877, 'Carton_gris': 21332878, 'cartonnette': 21332879, 'Carton_brun': 21332880, 'metal': 21332881, 'autre_refus': 21332882, 'plastique': 21332883, 'Teint_Dans_La_Masse': 21332884, 'papier': 21332885}]} input_args_next_step : {1343316279: ('0.06989397443144212',), 1343316266: ('0.06989397443144212',), 1343316240: ('0.06989397443144212',), 1343316230: ('0.06989397443144212',), 1343316223: ('0.06989397443144212',), 1343316215: ('0.06989397443144212',), 1343316186: ('0.06989397443144212',), 1343316168: ('0.06989397443144212',), 1343316160: ('0.06989397443144212',), 1343316153: ('0.06989397443144212',), 1343316129: ('0.06989397443144212',), 1343316126: ('0.06989397443144212',), 1343316123: ('0.06989397443144212',), 1343316121: ('0.06989397443144212',), 1343316119: ('0.06989397443144212',), 1343316116: ('0.06989397443144212',), 1343316065: ('0.06989397443144212',), 1343316060: ('0.06989397443144212',), 1343316055: ('0.06989397443144212',), 1343316052: ('0.06989397443144212',), 1343316050: ('0.06989397443144212',), 1343316048: ('0.06989397443144212',), 1343315980: ('0.06989397443144212',), 1343315975: ('0.06989397443144212',), 1343315931: ('0.06989397443144212',), 1343315927: ('0.06989397443144212',), 1343315920: ('0.06989397443144212',), 21332849: ()} output_args : {21332849: [{'kraft': 21332874, 'environnement': 21332875, 'mal_croppe': 21332876, 'flou': 21332877, 'Carton_gris': 21332878, 'cartonnette': 21332879, 'Carton_brun': 21332880, 'metal': 21332881, 'autre_refus': 21332882, 'plastique': 21332883, 'Teint_Dans_La_Masse': 21332884, 'papier': 21332885}]} args : 21332849 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 :28, first value : ('0.06989397443144212',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21332849) 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 (1343316279,1343316266,1343316240,1343316230,1343316223,1343316215,1343316186,1343316168,1343316160,1343316153,1343316129,1343316126,1343316123,1343316121,1343316119,1343316116,1343316065,1343316060,1343316055,1343316052,1343316050,1343316048,1343315980,1343315975,1343315931,1343315927,1343315920) Found this number of photos: 27 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343315920 begin to download photo : 1343316050 begin to download photo : 1343316119 begin to download photo : 1343316160 begin to download photo : 1343316240 download finish for photo 1343316240 begin to download photo : 1343316266 download finish for photo 1343315920 begin to download photo : 1343315927 download finish for photo 1343316050 begin to download photo : 1343316052 download finish for photo 1343316160 begin to download photo : 1343316168 download finish for photo 1343316119 begin to download photo : 1343316121 download finish for photo 1343316266 begin to download photo : 1343316279 download finish for photo 1343316052 begin to download photo : 1343316055 download finish for photo 1343315927 begin to download photo : 1343315931 download finish for photo 1343316121 begin to download photo : 1343316123 download finish for photo 1343316168 begin to download photo : 1343316186 download finish for photo 1343316279 download finish for photo 1343315931 begin to download photo : 1343315975 download finish for photo 1343316055 begin to download photo : 1343316060 download finish for photo 1343316123 begin to download photo : 1343316126 download finish for photo 1343316186 begin to download photo : 1343316215 download finish for photo 1343315975 begin to download photo : 1343315980 download finish for photo 1343316126 begin to download photo : 1343316129 download finish for photo 1343316215 begin to download photo : 1343316223 download finish for photo 1343316060 begin to download photo : 1343316065 download finish for photo 1343315980 begin to download photo : 1343316048 download finish for photo 1343316065 begin to download photo : 1343316116 download finish for photo 1343316129 begin to download photo : 1343316153 download finish for photo 1343316223 begin to download photo : 1343316230 download finish for photo 1343316048 download finish for photo 1343316116 download finish for photo 1343316230 download finish for photo 1343316153 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette213328741741760581/ imagette213328761741760581/ imagette213328771741760581/ length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 results_Auto_P21332849_12-03-2025_07_23_01.pdf 21332874 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=21332874 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213328741741760581 21332876 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=21332876 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213328761741760581 21332877 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=21332877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213328771741760581 21332879 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=21332879 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343316294: '1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148872_0.png', 1343316295: '1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148867_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/4bce4c105c2c8860f36bfbc7699119b1_29540106.png change filename to text .imagette213328791741760581/ imagette213328791741760581/1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148867_0.png.png imagette213328791741760581/1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148872_0.png.png imagette213328811741760581/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/660d54ad9b5904bed7f5b76f8e882741_37127751.png imagette213328791741760581 21332881 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=21332881 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213328811741760581 21332882 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=21332882 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343316231: '1741760485_3343480_1343315975_5073dce632ecb0ab5d38f307948ebd21_rle_crop_3707149670_0.png', 1343316232: '1741760485_3343480_1343315975_5073dce632ecb0ab5d38f307948ebd21_rle_crop_3707149674_0.png', 1343316287: '1741760491_2300294_1343315980_8c329c0833ffa15c826347b36b7e436d_rle_crop_3707151999_0.png', 1343316288: '1741760491_2300294_1343315931_d4a7c0eaa306fcc63dd54b8042700340_rle_crop_3707148841_0.png', 1343316289: '1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148874_0.png', 1343316290: '1741760491_2300294_1343315920_aabf8597fc7f1167103dcdc4e78c1c12_rle_crop_3707148904_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/04808b356a0e9a7b2c1ced36895d7341_99464847.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2b2cb64a53407fcd4fa10cdbb10df4a1_93679231.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2a5d6f99fe38be9b9c38667c8194ea5f_59375718.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f6f6edff80a65b05884ac8ddc5c6787c_81337550.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2f0e7f723c21edb40263e7e256fad189_35961877.png change filename to text .imagette213328821741760581/ imagette213328821741760581/1741760485_3343480_1343315975_5073dce632ecb0ab5d38f307948ebd21_rle_crop_3707149670_0.png.png imagette213328821741760581/1741760485_3343480_1343315975_5073dce632ecb0ab5d38f307948ebd21_rle_crop_3707149674_0.png.png imagette213328821741760581/1741760491_2300294_1343315980_8c329c0833ffa15c826347b36b7e436d_rle_crop_3707151999_0.png.png imagette213328821741760581/1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148874_0.png.png imagette213328821741760581/1741760491_2300294_1343315920_aabf8597fc7f1167103dcdc4e78c1c12_rle_crop_3707148904_0.png.png imagette213328821741760581/1741760491_2300294_1343315931_d4a7c0eaa306fcc63dd54b8042700340_rle_crop_3707148841_0.png.png imagette213328831741760581/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/322bbd80a6cb4c2ec24220a5f1d76e42_51539991.png imagette213328821741760581 21332883 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=21332883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213328831741760581 21332878 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=21332878 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343316292: '1741760491_2300294_1343315931_d4a7c0eaa306fcc63dd54b8042700340_rle_crop_3707148833_0.png'} change filename to text .imagette213328781741760581/ imagette213328781741760581/1741760491_2300294_1343315931_d4a7c0eaa306fcc63dd54b8042700340_rle_crop_3707148833_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/ae7dd27778193bfdc9f6b19d3b066a39_82276227.png imagette213328781741760581 21332880 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=21332880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343316297: '1741760491_2300294_1343315931_d4a7c0eaa306fcc63dd54b8042700340_rle_crop_3707148838_0.png', 1343316298: '1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148873_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2c3f3be6e3e7acceb8c9f12acc3f452c_88094759.png change filename to text .imagette213328801741760581/ imagette213328801741760581/1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148873_0.png.png imagette213328801741760581/1741760491_2300294_1343315931_d4a7c0eaa306fcc63dd54b8042700340_rle_crop_3707148838_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f0f9d41f3c9895bf4bb64b421d490438_25456796.png imagette213328801741760581 21332884 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=21332884 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343316286: '1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148870_0.png'} change filename to text .imagette213328841741760581/ imagette213328841741760581/1741760491_2300294_1343315927_5583c6888405d4bcf7b82057c036706d_rle_crop_3707148870_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2237ce082f564def56a7d2f3e22da492_73908363.png imagette213328841741760581 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21332849 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21332886,21332887,21332888,21332889,21332890,21332891,21332892,21332893,21332894,21332895,21332896,21332897?tags=kraft,environnement,mal_croppe,flou,Carton_gris,cartonnette,Carton_brun,metal,autre_refus,plastique,Teint_Dans_La_Masse,papier your option no_mail is active, we will not send the real mail to your client args[1343316279] : ('0.06989397443144212',) no score found for photo 1343316279 We are sending mail with results at report@fotonower.com args[1343316266] : ('0.06989397443144212',) no score found for photo 1343316266 We are sending mail with results at report@fotonower.com args[1343316240] : ('0.06989397443144212',) no score found for photo 1343316240 We are sending mail with results at report@fotonower.com args[1343316230] : ('0.06989397443144212',) no score found for photo 1343316230 We are sending mail with results at report@fotonower.com args[1343316223] : ('0.06989397443144212',) no score found for photo 1343316223 We are sending mail with results at report@fotonower.com args[1343316215] : ('0.06989397443144212',) no score found for photo 1343316215 We are sending mail with results at report@fotonower.com args[1343316186] : ('0.06989397443144212',) no score found for photo 1343316186 We are sending mail with results at report@fotonower.com args[1343316168] : ('0.06989397443144212',) no score found for photo 1343316168 We are sending mail with results at report@fotonower.com args[1343316160] : ('0.06989397443144212',) no score found for photo 1343316160 We are sending mail with results at report@fotonower.com args[1343316153] : ('0.06989397443144212',) no score found for photo 1343316153 We are sending mail with results at report@fotonower.com args[1343316129] : ('0.06989397443144212',) no score found for photo 1343316129 We are sending mail with results at report@fotonower.com args[1343316126] : ('0.06989397443144212',) no score found for photo 1343316126 We are sending mail with results at report@fotonower.com args[1343316123] : ('0.06989397443144212',) no score found for photo 1343316123 We are sending mail with results at report@fotonower.com args[1343316121] : ('0.06989397443144212',) no score found for photo 1343316121 We are sending mail with results at report@fotonower.com args[1343316119] : ('0.06989397443144212',) no score found for photo 1343316119 We are sending mail with results at report@fotonower.com args[1343316116] : ('0.06989397443144212',) no score found for photo 1343316116 We are sending mail with results at report@fotonower.com args[1343316065] : ('0.06989397443144212',) no score found for photo 1343316065 We are sending mail with results at report@fotonower.com args[1343316060] : ('0.06989397443144212',) no score found for photo 1343316060 We are sending mail with results at report@fotonower.com args[1343316055] : ('0.06989397443144212',) no score found for photo 1343316055 We are sending mail with results at report@fotonower.com args[1343316052] : ('0.06989397443144212',) no score found for photo 1343316052 We are sending mail with results at report@fotonower.com args[1343316050] : ('0.06989397443144212',) no score found for photo 1343316050 We are sending mail with results at report@fotonower.com args[1343316048] : ('0.06989397443144212',) no score found for photo 1343316048 We are sending mail with results at report@fotonower.com args[1343315980] : ('0.06989397443144212',) no score found for photo 1343315980 We are sending mail with results at report@fotonower.com args[1343315975] : ('0.06989397443144212',) no score found for photo 1343315975 We are sending mail with results at report@fotonower.com args[1343315931] : ('0.06989397443144212',) no score found for photo 1343315931 We are sending mail with results at report@fotonower.com args[1343315927] : ('0.06989397443144212',) no score found for photo 1343315927 We are sending mail with results at report@fotonower.com args[1343315920] : ('0.06989397443144212',) no score found for photo 1343315920 We are sending mail with results at report@fotonower.com refus_total : 0.06989397443144212 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=21332849 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'autre_refus' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21332849]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] map_info['map_portfolio_photo'] : {21332849: [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920]} final : False mtd_id 4302 list_pids : [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] 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, '2661368') ('4302', '21332849', '1343316279', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21332849', '1343316279', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368')] time used for this insertion : 0.01613640785217285 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7817728519439697 time spend to save output : 0.016489505767822266 total time spend for step 4 : 1.798262357711792 step5:split_time_score Wed Mar 12 07:23:02 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 : ['21332849'] 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 : [('21332849',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21332849) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343316240: {'path': 'temp/1741760580_817160_1343316240_c3eb6b460b07da06215d93631871865b.jpg', 'extension': 'jpg'}, 1343316266: {'path': 'temp/1741760580_817160_1343316266_cd533b3e398500ae4f1e76765b85181a.jpg', 'extension': 'jpg'}, 1343316279: {'path': 'temp/1741760580_817160_1343316279_bef88860a890bae5a0cff3c4642836eb.jpg', 'extension': 'jpg'}, 1343315920: {'path': 'temp/1741760580_817160_1343315920_aabf8597fc7f1167103dcdc4e78c1c12.jpg', 'extension': 'jpg'}, 1343315927: {'path': 'temp/1741760580_817160_1343315927_5583c6888405d4bcf7b82057c036706d.jpg', 'extension': 'jpg'}, 1343315931: {'path': 'temp/1741760580_817160_1343315931_d4a7c0eaa306fcc63dd54b8042700340.jpg', 'extension': 'jpg'}, 1343315975: {'path': 'temp/1741760580_817160_1343315975_5073dce632ecb0ab5d38f307948ebd21.jpg', 'extension': 'jpg'}, 1343315980: {'path': 'temp/1741760580_817160_1343315980_8c329c0833ffa15c826347b36b7e436d.jpg', 'extension': 'jpg'}, 1343316048: {'path': 'temp/1741760580_817160_1343316048_3ca9b1f9c5f4cf9b0e782b29627a1483.jpg', 'extension': 'jpg'}, 1343316050: {'path': 'temp/1741760580_817160_1343316050_ad5a9b323694bf0ea2e1855aad0c9655.jpg', 'extension': 'jpg'}, 1343316052: {'path': 'temp/1741760580_817160_1343316052_3c531737cf57bb8a112fcc9af5a159e4.jpg', 'extension': 'jpg'}, 1343316055: {'path': 'temp/1741760580_817160_1343316055_11c3bd5c6a2620dc1b8f510a28362757.jpg', 'extension': 'jpg'}, 1343316060: {'path': 'temp/1741760580_817160_1343316060_14b779cb0f9048ea3e22fab9dcfacd9e.jpg', 'extension': 'jpg'}, 1343316065: {'path': 'temp/1741760580_817160_1343316065_d2512b95a2560991227cd4cef4698815.jpg', 'extension': 'jpg'}, 1343316116: {'path': 'temp/1741760580_817160_1343316116_3f5ce721f6c42bb19d1ec9e052c98913.jpg', 'extension': 'jpg'}, 1343316160: {'path': 'temp/1741760580_817160_1343316160_cce10ef239a6310e49750c8f0448af51.jpg', 'extension': 'jpg'}, 1343316168: {'path': 'temp/1741760580_817160_1343316168_d2c051f87f306d819d681abde8b54d33.jpg', 'extension': 'jpg'}, 1343316186: {'path': 'temp/1741760580_817160_1343316186_b6958a387cbf10c44a5f0a921d482b93.jpg', 'extension': 'jpg'}, 1343316215: {'path': 'temp/1741760580_817160_1343316215_9d4491f7d31d2336257078eb461b3043.jpg', 'extension': 'jpg'}, 1343316223: {'path': 'temp/1741760580_817160_1343316223_5d2314e5c948618ab4ad4e5d5111f794.jpg', 'extension': 'jpg'}, 1343316230: {'path': 'temp/1741760580_817160_1343316230_0ae56eed376dc90c2185bad9b75fd2a9.jpg', 'extension': 'jpg'}, 1343316119: {'path': 'temp/1741760580_817160_1343316119_23a582cc3b32cf93c79915f0aa57b574.jpg', 'extension': 'jpg'}, 1343316121: {'path': 'temp/1741760580_817160_1343316121_b531561b4e9c09d1cee8fd6ab61b1420.jpg', 'extension': 'jpg'}, 1343316123: {'path': 'temp/1741760580_817160_1343316123_f4a41e0643183b2e5c811a4914ff97f9.jpg', 'extension': 'jpg'}, 1343316126: {'path': 'temp/1741760580_817160_1343316126_dc882c2acbe56e977761d5d8183d823e.jpg', 'extension': 'jpg'}, 1343316129: {'path': 'temp/1741760580_817160_1343316129_c82cb4154d88ef68e8a896609bcee6e0.jpg', 'extension': 'jpg'}, 1343316153: {'path': 'temp/1741760580_817160_1343316153_1e4c8dd95c54e3b8ad108e0040f22894.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 = 21332849; (('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 = 21332849 group by h (('07', 27),) 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=21332849 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 (21332849) 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 (21332849) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12032025 21332849 Nombre de photos uploadées : 27 / 23040 (0%) 12032025 21332849 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 12032025 21332849 Nombre de photos taguées (volume) : 0 / 27 (0%) [{'photo_id': 1343315931, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/d4a7c0eaa306fcc63dd54b8042700340.jpg', 'username': None, 'uploaded_at': 1741760216, 'text': 'image_12032025_07_15_04_10152.jpg'}, {'photo_id': 1343315927, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/5583c6888405d4bcf7b82057c036706d.jpg', 'username': None, 'uploaded_at': 1741760216, 'text': 'image_12032025_07_15_25_10134.jpg'}, {'photo_id': 1343315920, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/aabf8597fc7f1167103dcdc4e78c1c12.jpg', 'username': None, 'uploaded_at': 1741760216, 'text': 'image_12032025_07_15_44_10134.jpg'}, {'photo_id': 1343315980, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/8c329c0833ffa15c826347b36b7e436d.jpg', 'username': None, 'uploaded_at': 1741760266, 'text': 'image_12032025_07_15_54_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 1.5497207641601562e-05 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001196146011352539 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21332849, '2025-03-12' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1660967,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022695541381835938 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= 1660967 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1660967, 'dashboard_run_id': 1669385, 'mtr_portfolio_id': 21331343, 'dashboard_result_id': 9383281, '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_P21331343_12-03-2025_06_47_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21331356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21331357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21331358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21331359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21331360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21331361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21331362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21331363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21331364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21331365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21331366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21331367, 'pht': 3726}}"}, {'dashboat_entry_day': 1660967, 'dashboard_run_id': 1669385, 'mtr_portfolio_id': 21331770, 'dashboard_result_id': 9383282, '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_P21331770_12-03-2025_06_56_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21331812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21331813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21331814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21331815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21331816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21331817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21331818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21331819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21331820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21331821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21331822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21331823, 'pht': 3726}}"}, {'dashboat_entry_day': 1660967, 'dashboard_run_id': 1669385, 'mtr_portfolio_id': 21332333, 'dashboard_result_id': 9383283, '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_P21332333_12-03-2025_07_05_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21332334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21332335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21332336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21332337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21332338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21332339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21332340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21332341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21332342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21332343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21332344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21332345, 'pht': 3726}}"}, {'dashboat_entry_day': 1660967, 'dashboard_run_id': 1669385, 'mtr_portfolio_id': 21332849, 'dashboard_result_id': 9383284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}] 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 = 21331343 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': 2661186, 'mtr_portfolio_id': 21331343, 'created_at': datetime.datetime(2025, 3, 12, 6, 47, 57), 'result': '0.08693420372638028', 'result_long': None, 'result_double': None}] Qualite : 0.08693420372638028 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21331343 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21331343_12-03-2025_06_47_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21331343 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_P21331343_12-03-2025_06_47_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21331356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21331357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21331358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21331359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21331360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21331361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21331362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21331363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21331364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21331365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21331366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21331367, 'pht': 3726}}" where mtr_portfolio_id = 21331343 and dashboard_run_id = 1669385 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`=21331343 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9383281, 0.08693420372638028, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21331343_12-03-2025_06_47_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21331356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21331357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21331358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21331359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21331360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21331361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21331362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21331363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21331364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21331365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21331366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21331367, '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 = 21331770 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': 2661221, 'mtr_portfolio_id': 21331770, 'created_at': datetime.datetime(2025, 3, 12, 6, 56, 58), 'result': '0.08122098901730798', 'result_long': None, 'result_double': None}] Qualite : 0.08122098901730798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21331770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21331770_12-03-2025_06_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21331770 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_P21331770_12-03-2025_06_56_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21331812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21331813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21331814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21331815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21331816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21331817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21331818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21331819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21331820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21331821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21331822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21331823, 'pht': 3726}}" where mtr_portfolio_id = 21331770 and dashboard_run_id = 1669385 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`=21331770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9383282, 0.08122098901730798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21331770_12-03-2025_06_56_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21331812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21331813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21331814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21331815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21331816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21331817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21331818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21331819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21331820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21331821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21331822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21331823, '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 = 21332333 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': 2661317, 'mtr_portfolio_id': 21332333, 'created_at': datetime.datetime(2025, 3, 12, 7, 10), 'result': '0.06672863734111766', 'result_long': None, 'result_double': None}] Qualite : 0.06672863734111766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21332333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21332333_12-03-2025_07_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21332333 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_P21332333_12-03-2025_07_05_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21332334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21332335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21332336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21332337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21332338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21332339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21332340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21332341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21332342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21332343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21332344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21332345, 'pht': 3726}}" where mtr_portfolio_id = 21332333 and dashboard_run_id = 1669385 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`=21332333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9383283, 0.06672863734111766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21332333_12-03-2025_07_05_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21332334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21332335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21332336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21332337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21332338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21332339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21332340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21332341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21332342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21332343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21332344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21332345, '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 = 21332849 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': 2661368, 'mtr_portfolio_id': 21332849, 'created_at': datetime.datetime(2025, 3, 12, 7, 23), 'result': '0.06989397443144212', 'result_long': None, 'result_double': None}] Qualite : 0.06989397443144212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21332849 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21332849%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21332849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21332849 and dashboard_run_id = 1669385 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`=21332849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9383284, 0.06989397443144212, "{'max_time_prod_two_photos': 0, 'url_report': '', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21332874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21332875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21332876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21332877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21332878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21332879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21332880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21332881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21332882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21332883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21332884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21332885, '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 (21331343,21331770,21332333,21332849) result : ((1343311553,), (1343311557,), (1343311561,), (1343311564,), (1343311589,), (1343311593,), (1343311597,), (1343311600,), (1343311603,), (1343311607,), (1343311642,), (1343311662,), (1343311668,), (1343311673,), (1343311741,), (1343311745,), (1343311750,), (1343311755,), (1343311759,), (1343311777,), (1343311781,), (1343311786,), (1343311789,), (1343311794,), (1343311818,), (1343311826,), (1343311830,), (1343311834,), (1343311864,), (1343311891,), (1343311898,), (1343311903,), (1343311906,), (1343312051,), (1343312058,), (1343312079,), (1343312082,), (1343312105,), (1343312111,), (1343312117,), (1343312149,), (1343312159,), (1343312172,), (1343312175,), (1343312217,), (1343312222,), (1343312227,), (1343312230,), (1343312258,), (1343312261,), (1343312264,), (1343312266,), (1343312275,), (1343312284,), (1343312310,), (1343312313,), (1343312317,), (1343312346,), (1343312350,), (1343312354,), (1343312359,), (1343312364,), (1343312367,), (1343312407,), (1343312409,), (1343312414,), (1343312417,), (1343312422,), (1343312479,), (1343312439,), (1343312446,), (1343312459,), (1343312476,), (1343312478,), (1343312521,), (1343312544,), (1343312550,), (1343312578,), (1343312584,), (1343312594,), (1343312604,), (1343312789,), (1343312796,), (1343312801,), (1343312828,), (1343312833,), (1343312837,), (1343312841,), (1343312867,), (1343312870,), (1343312876,), (1343312881,), (1343312928,), (1343312932,), (1343312938,), (1343312974,), (1343312978,), (1343312983,), (1343312988,), (1343313010,), (1343313019,), (1343313023,), (1343313029,), (1343313072,), (1343313076,), (1343313080,), (1343313084,), (1343313088,), (1343313108,), (1343313113,), (1343313118,), (1343313122,), (1343313248,), (1343313351,), (1343313354,), (1343313741,), (1343313761,), (1343313787,), (1343313789,), (1343313792,), (1343313912,), (1343313888,), (1343313904,), (1343313908,), (1343314053,), (1343314058,), (1343314065,), (1343314079,), (1343314187,), (1343314212,), (1343314238,), (1343314283,), (1343314313,), (1343314338,), (1343314554,), (1343314577,), (1343314596,), (1343314624,), (1343314938,), (1343315028,), (1343315051,), (1343315079,), (1343315151,), (1343315221,), (1343315225,), (1343315230,), (1343315234,), (1343315433,), (1343315448,), (1343315451,), (1343315554,), (1343315561,), (1343315565,), (1343315577,), (1343315596,), (1343315619,), (1343315764,), (1343315770,), (1343315786,), (1343315791,), (1343315794,), (1343315804,), (1343315816,), (1343315839,), (1343315846,), (1343315856,), (1343315863,), (1343315864,), (1343315870,), (1343315871,), (1343315875,), (1343315880,), (1343315883,), (1343315888,), (1343315890,), (1343315894,), (1343315899,), (1343315902,), (1343315938,), (1343315945,), (1343315951,), (1343315984,), (1343315986,), (1343315988,), (1343315991,), (1343316005,), (1343316014,), (1343316018,), (1343316027,), (1343316032,), (1343316037,), (1343316075,), (1343316080,), (1343316086,), (1343316091,), (1343316098,), (1343316105,), (1343316188,), (1343316192,), (1343315920,), (1343315927,), (1343315931,), (1343315975,), (1343315980,), (1343316048,), (1343316050,), (1343316052,), (1343316055,), (1343316060,), (1343316065,), (1343316116,), (1343316119,), (1343316121,), (1343316123,), (1343316126,), (1343316129,), (1343316153,), (1343316160,), (1343316168,), (1343316186,), (1343316215,), (1343316223,), (1343316230,), (1343316240,), (1343316266,), (1343316279,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 27, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21332849]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] map_info['map_portfolio_photo'] : {21332849: [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920]} final : True mtd_id 4302 list_pids : [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343315980, 1343315975, 1343315931, 1343315927, 1343315920] Looping around the photos to save general results len do output : 1 /21332849Didn'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, '2661368') ('4302', '21332849', '1343316279', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368') ('4302', None, None, None, None, None, None, None, '2661368') ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 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, '21332849', 'None', None, None, None, None, '2661368'), ('4302', '21332849', '1343316279', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316266', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316240', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316230', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316223', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316215', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316186', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316168', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316160', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316153', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316129', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316126', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316123', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316121', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316119', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316116', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316065', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316060', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316055', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316052', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316050', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343316048', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315980', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315975', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315931', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315927', None, None, None, None, None, '2661368'), ('4302', '21332849', '1343315920', None, None, None, None, None, '2661368')] time used for this insertion : 0.08805036544799805 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1247916221618652 time spend to save output : 0.08846807479858398 total time spend for step 5 : 1.2132596969604492 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 (2661368) 1.93user 2.24system 0:08.75elapsed 47%CPU (0avgtext+0avgdata 151364maxresident)k 3968inputs+17112outputs (29major+60644minor)pagefaults 0swaps