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 : 3070174 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 (2562582) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2562582) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329897 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2562582'] with mtr_portfolio_ids : ['20329897'] and first list_photo_ids : [] new path : /proc/3070174/ Name: python3 Umask: 0002 State: R (running) Tgid: 3070174 Ngid: 0 Pid: 3070174 PPid: 3070136 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3070174 NSpid: 3070174 NSpgid: 3069264 NSsid: 3069264 VmPeak: 1106824 kB VmSize: 1106824 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98940 kB VmRSS: 98940 kB RssAnon: 59752 kB RssFile: 39188 kB RssShmem: 0 kB VmData: 865576 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 552 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: 195 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3070174', 'Ngid': '0', 'Pid': '3070174', 'PPid': '3070136', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3070174', 'NSpid': '3070174', 'NSpgid': '3069264', 'NSsid': '3069264', 'VmPeak': '1106824 kB', 'VmSize': '1106824 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98940 kB', 'VmRSS': '98940 kB', 'RssAnon': '59752 kB', 'RssFile': '39188 kB', 'RssShmem': '0 kB', 'VmData': '865576 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '552 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': '195'} ('datou_batch_current', '3070174', '1106824', '0', '1106824', '865576', '98940', b'', 'marlene', '2562582') 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 (20329897) 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 (2562582 ) ) 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 (20329897) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1335474375, 'portfolio_id': 20329897}, {'photo_id': 1335474372, 'portfolio_id': 20329897}, {'photo_id': 1335474367, 'portfolio_id': 20329897}, {'photo_id': 1335474352, 'portfolio_id': 20329897}, {'photo_id': 1335474304, 'portfolio_id': 20329897}, {'photo_id': 1335474298, 'portfolio_id': 20329897}, {'photo_id': 1335474293, 'portfolio_id': 20329897}, {'photo_id': 1335474288, 'portfolio_id': 20329897}, {'photo_id': 1335474285, 'portfolio_id': 20329897}, {'photo_id': 1335474247, 'portfolio_id': 20329897}, {'photo_id': 1335474243, 'portfolio_id': 20329897}, {'photo_id': 1335474235, 'portfolio_id': 20329897}, {'photo_id': 1335474231, 'portfolio_id': 20329897}, {'photo_id': 1335474223, 'portfolio_id': 20329897}, {'photo_id': 1335474172, 'portfolio_id': 20329897}, {'photo_id': 1335474170, 'portfolio_id': 20329897}, {'photo_id': 1335474159, 'portfolio_id': 20329897}, {'photo_id': 1335474151, 'portfolio_id': 20329897}, {'photo_id': 1335474148, 'portfolio_id': 20329897}, {'photo_id': 1335474145, 'portfolio_id': 20329897}, {'photo_id': 1335473979, 'portfolio_id': 20329897}, {'photo_id': 1335473963, 'portfolio_id': 20329897}, {'photo_id': 1335473911, 'portfolio_id': 20329897}, {'photo_id': 1335473908, 'portfolio_id': 20329897}, {'photo_id': 1335473905, 'portfolio_id': 20329897}, {'photo_id': 1335473903, 'portfolio_id': 20329897}, {'photo_id': 1335473703, 'portfolio_id': 20329897}, {'photo_id': 1335473699, 'portfolio_id': 20329897}, {'photo_id': 1335473696, 'portfolio_id': 20329897}, {'photo_id': 1335473685, 'portfolio_id': 20329897}, {'photo_id': 1335473331, 'portfolio_id': 20329897}, {'photo_id': 1335473327, 'portfolio_id': 20329897}, {'photo_id': 1335473322, 'portfolio_id': 20329897}, {'photo_id': 1335473318, 'portfolio_id': 20329897}, {'photo_id': 1335472948, 'portfolio_id': 20329897}, {'photo_id': 1335472872, 'portfolio_id': 20329897}, {'photo_id': 1335472791, 'portfolio_id': 20329897}, {'photo_id': 1335472714, 'portfolio_id': 20329897}, {'photo_id': 1335472627, 'portfolio_id': 20329897}, {'photo_id': 1335472549, 'portfolio_id': 20329897}, {'photo_id': 1335472081, 'portfolio_id': 20329897}, {'photo_id': 1335472078, 'portfolio_id': 20329897}, {'photo_id': 1335472053, 'portfolio_id': 20329897}, {'photo_id': 1335471944, 'portfolio_id': 20329897}, {'photo_id': 1335471846, 'portfolio_id': 20329897}, {'photo_id': 1335471317, 'portfolio_id': 20329897}, {'photo_id': 1335471314, 'portfolio_id': 20329897}, {'photo_id': 1335471310, 'portfolio_id': 20329897}] map_portfolio_id_photo_id: {20329897: [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903, 1335473703, 1335473699, 1335473696, 1335473685, 1335473331, 1335473327, 1335473322, 1335473318, 1335472948, 1335472872, 1335472791, 1335472714, 1335472627, 1335472549, 1335472081, 1335472078, 1335472053, 1335471944, 1335471846, 1335471317, 1335471314, 1335471310]} ##### 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.016489505767822266 #### 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 Fri Feb 7 10:40:29 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 (20329897) 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 : 20329897 get user id for portfolio 20329897 get sub ptf for main ptf 20329897, type 3726 and hashtags ['environnement', 'Teint_Dans_La_Masse', 'metal', 'cartonnette', 'plastique', 'papier', 'Carton_brun', 'kraft', 'flou', 'autre_refus', 'mal_croppe', 'Carton_gris'] 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`=20329897 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','metal','cartonnette','plastique','papier','Carton_brun','kraft','flou','autre_refus','mal_croppe','Carton_gris')) 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`=20329897 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','metal','cartonnette','plastique','papier','Carton_brun','kraft','flou','autre_refus','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 20329897, 'sub_port_id': 20329944, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016761, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'papier': {'main_port_id': 20329897, 'sub_port_id': 20329945, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016762, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'cartonnette': {'main_port_id': 20329897, 'sub_port_id': 20329946, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016763, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'plastique': {'main_port_id': 20329897, 'sub_port_id': 20329947, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016764, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'Carton_brun': {'main_port_id': 20329897, 'sub_port_id': 20329948, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016765, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'metal': {'main_port_id': 20329897, 'sub_port_id': 20329949, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016766, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'mal_croppe': {'main_port_id': 20329897, 'sub_port_id': 20329950, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016767, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 20329897, 'sub_port_id': 20329951, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016768, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'environnement': {'main_port_id': 20329897, 'sub_port_id': 20329952, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016769, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'autre_refus': {'main_port_id': 20329897, 'sub_port_id': 20329953, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016770, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'kraft': {'main_port_id': 20329897, 'sub_port_id': 20329954, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016771, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}, 'Carton_gris': {'main_port_id': 20329897, 'sub_port_id': 20329955, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016772, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20329944 , 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=20329897 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 (20329944) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329945 , 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=20329897 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 (20329945) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329946 , 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=20329897 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 (20329946) result : ((1335474346,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329947 , 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=20329897 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 (20329947) result : ((1335474347,), (1335474366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329948 , 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=20329897 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 (20329948) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329949 , 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=20329897 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 (20329949) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329950 , 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=20329897 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 (20329950) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329951 , 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=20329897 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 (20329951) result : ((1335474329,), (1335474341,), (1335474362,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329952 , 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=20329897 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 (20329952) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329953 , 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=20329897 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 (20329953) result : ((1335474342,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329954 , 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=20329897 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 (20329954) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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 20329955 , 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=20329897 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 (20329955) result : ((1335474185,), (1335474331,), (1335474332,), (1335474343,), (1335474344,), (1335474345,), (1335474364,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20329897) result : ((1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) 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`=20329897 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','metal','cartonnette','plastique','papier','Carton_brun','kraft','flou','autre_refus','mal_croppe','Carton_gris')) 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`=20329897 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','metal','cartonnette','plastique','papier','Carton_brun','kraft','flou','autre_refus','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 20329897, 'sub_port_id': 20329956, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016773, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'papier': {'main_port_id': 20329897, 'sub_port_id': 20329957, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016774, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'cartonnette': {'main_port_id': 20329897, 'sub_port_id': 20329958, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016775, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'plastique': {'main_port_id': 20329897, 'sub_port_id': 20329959, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016776, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'Carton_brun': {'main_port_id': 20329897, 'sub_port_id': 20329960, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016777, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'metal': {'main_port_id': 20329897, 'sub_port_id': 20329961, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016778, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'mal_croppe': {'main_port_id': 20329897, 'sub_port_id': 20329962, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016779, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 20329897, 'sub_port_id': 20329963, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016780, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'environnement': {'main_port_id': 20329897, 'sub_port_id': 20329964, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016781, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'autre_refus': {'main_port_id': 20329897, 'sub_port_id': 20329965, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016782, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'kraft': {'main_port_id': 20329897, 'sub_port_id': 20329966, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016783, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}, 'Carton_gris': {'main_port_id': 20329897, 'sub_port_id': 20329967, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13016784, 'last_updated_at': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 10, 37, 2), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 10, 33, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329956,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329944 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329957,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329945 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329958,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329946 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329959,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329960,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329948 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329961,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329949 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329962,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329950 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329963,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329951 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329964,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329952 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329965,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329953 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329966,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329954 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20329967,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20329955 lien utilise dans velours : https://www.fotonower.com/velours/20329956,20329957,20329958,20329959,20329960,20329961,20329962,20329963,20329964,20329965,20329966,20329967?tags=flou,papier,cartonnette,plastique,Carton_brun,metal,mal_croppe,Teint_Dans_La_Masse,environnement,autre_refus,kraft,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20329897]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] map_info['map_portfolio_photo'] : {20329897: [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903, 1335473703, 1335473699, 1335473696, 1335473685, 1335473331, 1335473327, 1335473322, 1335473318, 1335472948, 1335472872, 1335472791, 1335472714, 1335472627, 1335472549, 1335472081, 1335472078, 1335472053, 1335471944, 1335471846, 1335471317, 1335471314, 1335471310]} final : False mtd_id 4302 list_pids : [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] Looping around the photos to save general results len do output : 1 /20329897. 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, '2562582') ('4302', '20329897', '1335474375', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582') 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', None, '20329897', "{'flou': 20329944, 'papier': 20329945, 'cartonnette': 20329946, 'plastique': 20329947, 'Carton_brun': 20329948, 'metal': 20329949, 'mal_croppe': 20329950, 'Teint_Dans_La_Masse': 20329951, 'environnement': 20329952, 'autre_refus': 20329953, 'kraft': 20329954, 'Carton_gris': 20329955}", None, None, None, None, '2562582'), ('4302', '20329897', '1335474375', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582')] time used for this insertion : 0.01956653594970703 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7104074954986572 time spend to save output : 0.019965648651123047 total time spend for step 1 : 1.7303731441497803 step2:final Fri Feb 7 10:40:31 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 (20329897) 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 20329897 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1335471317,1335471314,1335471310,1335472081,1335472078,1335472053,1335471944,1335471846,1335472948,1335472872,1335472791,1335472714,1335472627,1335472549,1335473331,1335473327,1335473322,1335473318,1335473703,1335473699,1335473696,1335473685,1335473979,1335473963,1335473911,1335473908,1335473905,1335473903,1335474172,1335474170,1335474159,1335474151,1335474148,1335474145,1335474247,1335474243,1335474235,1335474231,1335474223,1335474304,1335474298,1335474293,1335474288,1335474285,1335474375,1335474372,1335474367,1335474352); 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([20329897]) Inside saveOutput : final : False verbose : True original output for save of step final : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} new output for save of step final : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] map_info['map_portfolio_photo'] : {20329897: [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903, 1335473703, 1335473699, 1335473696, 1335473685, 1335473331, 1335473327, 1335473322, 1335473318, 1335472948, 1335472872, 1335472791, 1335472714, 1335472627, 1335472549, 1335472081, 1335472078, 1335472053, 1335471944, 1335471846, 1335471317, 1335471314, 1335471310]} final : False mtd_id 4302 list_pids : [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] Looping around the photos to save general results len do output : 26 /1335474375.Didn't retrieve data . /1335474372.Didn't retrieve data . /1335474367.Didn't retrieve data . /1335474352.Didn't retrieve data . /1335474304.Didn't retrieve data . /1335474298.Didn't retrieve data . /1335474293.Didn't retrieve data . /1335474288.Didn't retrieve data . /1335474285.Didn't retrieve data . /1335474247.Didn't retrieve data . /1335474243.Didn't retrieve data . /1335474235.Didn't retrieve data . /1335474231.Didn't retrieve data . /1335474223.Didn't retrieve data . /1335474172.Didn't retrieve data . /1335474170.Didn't retrieve data . /1335474159.Didn't retrieve data . /1335474151.Didn't retrieve data . /1335474148.Didn't retrieve data . /1335474145.Didn't retrieve data . /1335473979.Didn't retrieve data . /1335473963.Didn't retrieve data . /1335473911.Didn't retrieve data . /1335473908.Didn't retrieve data . /1335473905.Didn't retrieve data . /1335473903.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, '2562582') ('4302', '20329897', '1335474375', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 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', '20329897', '1335474375', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474372', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474367', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474352', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474304', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474298', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474293', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474288', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474285', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474247', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474243', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474235', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474231', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474223', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474172', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474170', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474159', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474151', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474148', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335474145', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335473979', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335473963', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335473911', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335473908', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335473905', '0.019916605543415223', None, None, None, None, '2562582'), ('4302', '20329897', '1335473903', '0.019916605543415223', None, None, None, None, '2562582')] time used for this insertion : 0.018671751022338867 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07378101348876953 time spend to save output : 0.01987004280090332 total time spend for step 2 : 0.09365105628967285 step3:velours_tree Fri Feb 7 10:40:31 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 : {20329897: [{'flou': 20329944, 'papier': 20329945, 'cartonnette': 20329946, 'plastique': 20329947, 'Carton_brun': 20329948, 'metal': 20329949, 'mal_croppe': 20329950, 'Teint_Dans_La_Masse': 20329951, 'environnement': 20329952, 'autre_refus': 20329953, 'kraft': 20329954, 'Carton_gris': 20329955}]} input_args_next_step : {20329897: ()} output_args : {20329897: [{'flou': 20329944, 'papier': 20329945, 'cartonnette': 20329946, 'plastique': 20329947, 'Carton_brun': 20329948, 'metal': 20329949, 'mal_croppe': 20329950, 'Teint_Dans_La_Masse': 20329951, 'environnement': 20329952, 'autre_refus': 20329953, 'kraft': 20329954, 'Carton_gris': 20329955}]} args : 20329897 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 : ({'flou': 20329944, 'papier': 20329945, 'cartonnette': 20329946, 'plastique': 20329947, 'Carton_brun': 20329948, 'metal': 20329949, 'mal_croppe': 20329950, 'Teint_Dans_La_Masse': 20329951, 'environnement': 20329952, 'autre_refus': 20329953, 'kraft': 20329954, 'Carton_gris': 20329955},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20329897) 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([20329897]) 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.32991743087768555 time spend to save output : 5.269050598144531e-05 total time spend for step 3 : 0.329970121383667 step4:send_mail_cod Fri Feb 7 10:40:32 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 : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} input_args_next_step : {1335474375: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474375 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474372 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474367 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474352 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474304 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474298 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474293 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474288 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474285 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474247 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474243 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474235 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474231 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474223 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474172 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474170 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474159 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474151 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474148 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335474145 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335473979 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335473963 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335473911 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335473908 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335473905 depend.output_id : 0 input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ()} output_args : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',)} args : 1335473903 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 : {20329897: [{'flou': 20329944, 'papier': 20329945, 'cartonnette': 20329946, 'plastique': 20329947, 'Carton_brun': 20329948, 'metal': 20329949, 'mal_croppe': 20329950, 'Teint_Dans_La_Masse': 20329951, 'environnement': 20329952, 'autre_refus': 20329953, 'kraft': 20329954, 'Carton_gris': 20329955}]} input_args_next_step : {1335474375: ('0.019916605543415223',), 1335474372: ('0.019916605543415223',), 1335474367: ('0.019916605543415223',), 1335474352: ('0.019916605543415223',), 1335474304: ('0.019916605543415223',), 1335474298: ('0.019916605543415223',), 1335474293: ('0.019916605543415223',), 1335474288: ('0.019916605543415223',), 1335474285: ('0.019916605543415223',), 1335474247: ('0.019916605543415223',), 1335474243: ('0.019916605543415223',), 1335474235: ('0.019916605543415223',), 1335474231: ('0.019916605543415223',), 1335474223: ('0.019916605543415223',), 1335474172: ('0.019916605543415223',), 1335474170: ('0.019916605543415223',), 1335474159: ('0.019916605543415223',), 1335474151: ('0.019916605543415223',), 1335474148: ('0.019916605543415223',), 1335474145: ('0.019916605543415223',), 1335473979: ('0.019916605543415223',), 1335473963: ('0.019916605543415223',), 1335473911: ('0.019916605543415223',), 1335473908: ('0.019916605543415223',), 1335473905: ('0.019916605543415223',), 1335473903: ('0.019916605543415223',), 20329897: ()} output_args : {20329897: [{'flou': 20329944, 'papier': 20329945, 'cartonnette': 20329946, 'plastique': 20329947, 'Carton_brun': 20329948, 'metal': 20329949, 'mal_croppe': 20329950, 'Teint_Dans_La_Masse': 20329951, 'environnement': 20329952, 'autre_refus': 20329953, 'kraft': 20329954, 'Carton_gris': 20329955}]} args : 20329897 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 :27, first value : ('0.019916605543415223',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20329897) 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 (1335474375,1335474372,1335474367,1335474352,1335474304,1335474298,1335474293,1335474288,1335474285,1335474247,1335474243,1335474235,1335474231,1335474223,1335474172,1335474170,1335474159,1335474151,1335474148,1335474145,1335473979,1335473963,1335473911,1335473908,1335473905,1335473903) Found this number of photos: 26 ##### Call download_photos : nb_thread : 5 begin to download photo : 1335473903 begin to download photo : 1335474145 begin to download photo : 1335474223 begin to download photo : 1335474288 begin to download photo : 1335474372 download finish for photo 1335474145 begin to download photo : 1335474148 download finish for photo 1335474372 begin to download photo : 1335474375 download finish for photo 1335474223 begin to download photo : 1335474231 download finish for photo 1335474288 begin to download photo : 1335474293 download finish for photo 1335473903 begin to download photo : 1335473905 download finish for photo 1335474231 begin to download photo : 1335474235 download finish for photo 1335474375 download finish for photo 1335474148 begin to download photo : 1335474151 download finish for photo 1335474293 begin to download photo : 1335474298 download finish for photo 1335473905 begin to download photo : 1335473908 download finish for photo 1335474235 begin to download photo : 1335474243 download finish for photo 1335474151 begin to download photo : 1335474159 download finish for photo 1335474243 begin to download photo : 1335474247 download finish for photo 1335474298 begin to download photo : 1335474304 download finish for photo 1335473908 begin to download photo : 1335473911 download finish for photo 1335474159 begin to download photo : 1335474170 download finish for photo 1335474247 begin to download photo : 1335474285 download finish for photo 1335474304 begin to download photo : 1335474352 download finish for photo 1335474170 begin to download photo : 1335474172 download finish for photo 1335473911 begin to download photo : 1335473963 download finish for photo 1335474352 begin to download photo : 1335474367 download finish for photo 1335474285 download finish for photo 1335474172 download finish for photo 1335474367 download finish for photo 1335473963 begin to download photo : 1335473979 download finish for photo 1335473979 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette203299441738921232/ length of list_filenames : 26 ; length of list_pids : 26 ; length of list_args : 26 results_Auto_P20329897_07-02-2025_10_40_32.pdf 20329944 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=20329944 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203299441738921232 20329946 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=20329946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335474346: '1738921115_1879250_1335472549_489cf1c2c98ee11e5e587157f58e7d8c_rle_crop_3659485268_0.png'} change filename to text .imagette203299461738921232/ imagette203299461738921232/1738921115_1879250_1335472549_489cf1c2c98ee11e5e587157f58e7d8c_rle_crop_3659485268_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/0fca052fdec1231608ba1f6f66e212fa_48829121.png imagette203299461738921232 20329947 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=20329947 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335474347: '1738921115_1879250_1335472714_575025286562276a2b1d8c09bb0e76ea_rle_crop_3659485172_0.png', 1335474366: '1738921152_1879641_1335473696_96fbd94ad86ee94797b2e30ac500d879_rle_crop_3659485297_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/2a32eb7116c9f141fcf3b6582e9b84c0_95687121.png change filename to text .imagette203299471738921233/ imagette203299471738921233/1738921115_1879250_1335472714_575025286562276a2b1d8c09bb0e76ea_rle_crop_3659485172_0.png.png imagette203299471738921233/1738921152_1879641_1335473696_96fbd94ad86ee94797b2e30ac500d879_rle_crop_3659485297_0.png.png imagette203299491738921233/ imagette203299501738921233/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/fb7a46f7d83a478ed4880da297f278bd_50749256.png imagette203299471738921233 20329949 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=20329949 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203299491738921233 20329950 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=20329950 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203299501738921233 20329953 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=20329953 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335474342: '1738921115_1879250_1335472791_79b0297185bce503d4cab0e62198f8c1_rle_crop_3659485146_0.png'} change filename to text .imagette203299531738921233/ imagette203299531738921233/1738921115_1879250_1335472791_79b0297185bce503d4cab0e62198f8c1_rle_crop_3659485146_0.png.png imagette203299541738921233/ imagette203299481738921233/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/6038713697e4d39fb7f5a8d6e20077c8_61185869.png imagette203299531738921233 20329954 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=20329954 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203299541738921233 20329948 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=20329948 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203299481738921233 20329951 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=20329951 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335474329: '1738921132_1879417_1335473318_7eaa410930333991eb42ca6793d3d0f9_rle_crop_3659485161_0.png', 1335474341: '1738921115_1879250_1335473331_fe6695519f3b4be8666306962f72dde6_rle_crop_3659485027_0.png', 1335474362: '1738921152_1879641_1335473696_96fbd94ad86ee94797b2e30ac500d879_rle_crop_3659485299_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/c6543f9d0bfb00b78574a9d0044e0db0_82560651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/1774df00a1daab4141e95e0d4acff00e_57808207.png change filename to text .imagette203299511738921233/ imagette203299511738921233/1738921132_1879417_1335473318_7eaa410930333991eb42ca6793d3d0f9_rle_crop_3659485161_0.png.png imagette203299511738921233/1738921152_1879641_1335473696_96fbd94ad86ee94797b2e30ac500d879_rle_crop_3659485299_0.png.png imagette203299511738921233/1738921115_1879250_1335473331_fe6695519f3b4be8666306962f72dde6_rle_crop_3659485027_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/11a2ea9b13e80c69b7a563d2c36df1f1_56950499.png imagette203299511738921233 20329955 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=20329955 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335474185: '1738920857_1861419_1335471314_1fb90d043c4067dbaeb686d85e3c6c03_rle_crop_3659481539_0.png', 1335474331: '1738921132_1879417_1335473322_9f6451ea012f04982773a984ebb1fc49_rle_crop_3659485135_0.png', 1335474332: '1738921132_1879417_1335473318_7eaa410930333991eb42ca6793d3d0f9_rle_crop_3659485159_0.png', 1335474343: '1738921115_1879250_1335472791_79b0297185bce503d4cab0e62198f8c1_rle_crop_3659485150_0.png', 1335474344: '1738921115_1879250_1335472714_575025286562276a2b1d8c09bb0e76ea_rle_crop_3659485174_0.png', 1335474345: '1738921115_1879250_1335472627_ca73a501770d26790c8a8a4323e0eecd_rle_crop_3659485187_0.png', 1335474364: '1738921152_1879641_1335473685_12658475c344fc48d8054f5d6621012c_rle_crop_3659485430_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/27ba5076850e0c13366d04393ce8fab0_83334573.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/0719edad007f1b125702d64ac66410de_73079901.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/6e500cf665212a4583dae366b30cce61_66161077.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/1c7beebcbca547bb3fd86968f8bfd133_57722684.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/474d49854c174de6b95bd6d51776a15a_80230927.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/8dfae84dd07069963305ef359e8c3ba3_52700873.png change filename to text .imagette203299551738921233/ imagette203299551738921233/1738921115_1879250_1335472714_575025286562276a2b1d8c09bb0e76ea_rle_crop_3659485174_0.png.png imagette203299551738921233/1738921115_1879250_1335472791_79b0297185bce503d4cab0e62198f8c1_rle_crop_3659485150_0.png.png imagette203299551738921233/1738921115_1879250_1335472627_ca73a501770d26790c8a8a4323e0eecd_rle_crop_3659485187_0.png.png imagette203299551738921233/1738921152_1879641_1335473685_12658475c344fc48d8054f5d6621012c_rle_crop_3659485430_0.png.png imagette203299551738921233/1738921132_1879417_1335473318_7eaa410930333991eb42ca6793d3d0f9_rle_crop_3659485159_0.png.png imagette203299551738921233/1738921132_1879417_1335473322_9f6451ea012f04982773a984ebb1fc49_rle_crop_3659485135_0.png.png imagette203299551738921233/1738920857_1861419_1335471314_1fb90d043c4067dbaeb686d85e3c6c03_rle_crop_3659481539_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/99adfa33d32240bec8bb87a86afcde14_64655510.png imagette203299551738921233 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20329897 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20329956,20329957,20329958,20329959,20329960,20329961,20329962,20329963,20329964,20329965,20329966,20329967?tags=flou,papier,cartonnette,plastique,Carton_brun,metal,mal_croppe,Teint_Dans_La_Masse,environnement,autre_refus,kraft,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1335474375] : ('0.019916605543415223',) no score found for photo 1335474375 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474372] : ('0.019916605543415223',) no score found for photo 1335474372 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474367] : ('0.019916605543415223',) no score found for photo 1335474367 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474352] : ('0.019916605543415223',) no score found for photo 1335474352 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474304] : ('0.019916605543415223',) no score found for photo 1335474304 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474298] : ('0.019916605543415223',) no score found for photo 1335474298 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474293] : ('0.019916605543415223',) no score found for photo 1335474293 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474288] : ('0.019916605543415223',) no score found for photo 1335474288 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474285] : ('0.019916605543415223',) no score found for photo 1335474285 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474247] : ('0.019916605543415223',) no score found for photo 1335474247 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474243] : ('0.019916605543415223',) no score found for photo 1335474243 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474235] : ('0.019916605543415223',) no score found for photo 1335474235 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474231] : ('0.019916605543415223',) no score found for photo 1335474231 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474223] : ('0.019916605543415223',) no score found for photo 1335474223 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474172] : ('0.019916605543415223',) no score found for photo 1335474172 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474170] : ('0.019916605543415223',) no score found for photo 1335474170 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474159] : ('0.019916605543415223',) no score found for photo 1335474159 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474151] : ('0.019916605543415223',) no score found for photo 1335474151 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474148] : ('0.019916605543415223',) no score found for photo 1335474148 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335474145] : ('0.019916605543415223',) no score found for photo 1335474145 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335473979] : ('0.019916605543415223',) no score found for photo 1335473979 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335473963] : ('0.019916605543415223',) no score found for photo 1335473963 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335473911] : ('0.019916605543415223',) no score found for photo 1335473911 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335473908] : ('0.019916605543415223',) no score found for photo 1335473908 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335473905] : ('0.019916605543415223',) no score found for photo 1335473905 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com args[1335473903] : ('0.019916605543415223',) no score found for photo 1335473903 apple ('0.019916605543415223',) We are sending mail with results at report@fotonower.com refus_total : 0.019916605543415223 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=20329897 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_40_32.pdf results_Auto_P20329897_07-02-2025_10_40_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_40_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20329897','results_Auto_P20329897_07-02-2025_10_40_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_40_32.pdf','pdf','','0.25','0.019916605543415223') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20329897]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] map_info['map_portfolio_photo'] : {20329897: [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903, 1335473703, 1335473699, 1335473696, 1335473685, 1335473331, 1335473327, 1335473322, 1335473318, 1335472948, 1335472872, 1335472791, 1335472714, 1335472627, 1335472549, 1335472081, 1335472078, 1335472053, 1335471944, 1335471846, 1335471317, 1335471314, 1335471310]} final : False mtd_id 4302 list_pids : [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] 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, '2562582') ('4302', '20329897', '1335474375', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20329897', '1335474375', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582')] time used for this insertion : 0.01590108871459961 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4833779335021973 time spend to save output : 0.016331195831298828 total time spend for step 4 : 3.499709129333496 step5:split_time_score Fri Feb 7 10:40:35 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 : ['20329897'] 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 : [('20329897',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20329897) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1335474372: {'path': 'temp/1738921232_3070174_1335474372_35c873e569b0c157653ce15a525dda01.jpg', 'extension': 'jpg'}, 1335474375: {'path': 'temp/1738921232_3070174_1335474375_f117a015f7943d065a080a242435478a.jpg', 'extension': 'jpg'}, 1335474223: {'path': 'temp/1738921232_3070174_1335474223_8dcffa495b733228550ada020098c0b3.jpg', 'extension': 'jpg'}, 1335474231: {'path': 'temp/1738921232_3070174_1335474231_6a248c3f2c6ed4c3145a35bd4d140917.jpg', 'extension': 'jpg'}, 1335474235: {'path': 'temp/1738921232_3070174_1335474235_7881383f93903447d55b4c42cb85c29a.jpg', 'extension': 'jpg'}, 1335474243: {'path': 'temp/1738921232_3070174_1335474243_066ac28f75409c28a90d27b733f4b244.jpg', 'extension': 'jpg'}, 1335474247: {'path': 'temp/1738921232_3070174_1335474247_533e2811cfac457fde4fa434b420ad16.jpg', 'extension': 'jpg'}, 1335474285: {'path': 'temp/1738921232_3070174_1335474285_611eba1e5f1976f4675c21b2cade46a6.jpg', 'extension': 'jpg'}, 1335474145: {'path': 'temp/1738921232_3070174_1335474145_e70207dc398bd97a9ab91abed3dbc456.jpg', 'extension': 'jpg'}, 1335474148: {'path': 'temp/1738921232_3070174_1335474148_a12514ae76dc16134d340968494b1627.jpg', 'extension': 'jpg'}, 1335474151: {'path': 'temp/1738921232_3070174_1335474151_8e158c4312066d9fbd452f44c54a6aa1.jpg', 'extension': 'jpg'}, 1335474159: {'path': 'temp/1738921232_3070174_1335474159_07fda5281683bc6973b16c551d5756f7.jpg', 'extension': 'jpg'}, 1335474170: {'path': 'temp/1738921232_3070174_1335474170_b34bbb8db0c7c19301255101a226c1c6.jpg', 'extension': 'jpg'}, 1335474172: {'path': 'temp/1738921232_3070174_1335474172_12482e57cff86210b76a6b31bdbd1de3.jpg', 'extension': 'jpg'}, 1335474288: {'path': 'temp/1738921232_3070174_1335474288_6e57e53e3a6582b37c8091e03c5a563f.jpg', 'extension': 'jpg'}, 1335474293: {'path': 'temp/1738921232_3070174_1335474293_2bf3ac4a0bc38ee3e230ad2076c41ffd.jpg', 'extension': 'jpg'}, 1335474298: {'path': 'temp/1738921232_3070174_1335474298_96cb1705c91785e28ebfe0d5e5b4ef9c.jpg', 'extension': 'jpg'}, 1335474304: {'path': 'temp/1738921232_3070174_1335474304_ffc64ec7d197f2399259e1c3c330cc66.jpg', 'extension': 'jpg'}, 1335474352: {'path': 'temp/1738921232_3070174_1335474352_8e65c82809444adc60beb0408ee20ccb.jpg', 'extension': 'jpg'}, 1335474367: {'path': 'temp/1738921232_3070174_1335474367_4e4b301d67eaa615f0e39329917d906a.jpg', 'extension': 'jpg'}, 1335473903: {'path': 'temp/1738921232_3070174_1335473903_e7a4850fde4e428cc70b7f8eb5c3807a.jpg', 'extension': 'jpg'}, 1335473905: {'path': 'temp/1738921232_3070174_1335473905_3bcd6d1dac99efa76ee25460c567b5e4.jpg', 'extension': 'jpg'}, 1335473908: {'path': 'temp/1738921232_3070174_1335473908_1f4ffce6b7c8138744de21aef42b542c.jpg', 'extension': 'jpg'}, 1335473911: {'path': 'temp/1738921232_3070174_1335473911_9a11e1eae00431fb5e18e26dc897be7c.jpg', 'extension': 'jpg'}, 1335473963: {'path': 'temp/1738921232_3070174_1335473963_1628c6b981f9846645e5dd6384ddae0c.jpg', 'extension': 'jpg'}, 1335473979: {'path': 'temp/1738921232_3070174_1335473979_dc441871999cb1a9d64add1bf4901e57.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 = 20329897; (('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 = 20329897 group by h (('10', 48),) 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=20329897 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 (20329897) 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 (20329897) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07022025 20329897 Nombre de photos uploadées : 48 / 23040 (0%) 07022025 20329897 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 07022025 20329897 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1335471317, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/61ee942b127f3787c633c000eeed71f6.jpg', 'username': None, 'uploaded_at': 1738920667, 'text': 'image_07022025_10_30_04_10154.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335471314, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/1fb90d043c4067dbaeb686d85e3c6c03.jpg', 'username': None, 'uploaded_at': 1738920667, 'text': 'image_07022025_10_30_14_10140.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335471310, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/fb2b637359858ebb2dc10c61b7c603da.jpg', 'username': None, 'uploaded_at': 1738920667, 'text': 'image_07022025_10_30_24_10135.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335472081, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/7/b433b5287ae02099b0f02a34b41d6f2d.jpg', 'username': None, 'uploaded_at': 1738920727, 'text': 'image_07022025_10_30_53_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.0013580322265625e-05 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0034372806549072266 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20329897, '2025-02-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1584783,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024034500122070312 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= 1584783 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1584783, 'dashboard_run_id': 1593422, 'mtr_portfolio_id': 20328450, 'dashboard_result_id': 8758225, '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_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1593422, 'mtr_portfolio_id': 20328924, 'dashboard_result_id': 8758226, '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_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1593422, 'mtr_portfolio_id': 20329678, 'dashboard_result_id': 8758227, '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_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}"}, {'dashboat_entry_day': 1584783, 'dashboard_run_id': 1593422, 'mtr_portfolio_id': 20329897, 'dashboard_result_id': 8758228, '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_P20329897_07-02-2025_10_37_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20328450 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': 2562461, 'mtr_portfolio_id': 20328450, 'created_at': datetime.datetime(2025, 2, 7, 10, 2, 32), 'result': '0.045037108386477044', 'result_long': None, 'result_double': None}] Qualite : 0.045037108386477044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20328450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20328450 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_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, 'pht': 3726}}" where mtr_portfolio_id = 20328450 and dashboard_run_id = 1593422 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`=20328450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8758225, 0.045037108386477044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328450_07-02-2025_10_02_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328463, '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 = 20328924 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': 2562503, 'mtr_portfolio_id': 20328924, 'created_at': datetime.datetime(2025, 2, 7, 10, 17), 'result': '0.035546290283588064', 'result_long': None, 'result_double': None}] Qualite : 0.035546290283588064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20328924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20328924 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_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, 'pht': 3726}}" where mtr_portfolio_id = 20328924 and dashboard_run_id = 1593422 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`=20328924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8758226, 0.035546290283588064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20328924_07-02-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20328929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20328930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20328931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20328932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20328933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20328934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20328935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20328936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20328937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20328938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20328939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20328940, '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 = 20329678 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': 2562557, 'mtr_portfolio_id': 20329678, 'created_at': datetime.datetime(2025, 2, 7, 10, 32, 57), 'result': '0.02811429950318194', 'result_long': None, 'result_double': None}] Qualite : 0.02811429950318194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20329678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20329678 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_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, 'pht': 3726}}" where mtr_portfolio_id = 20329678 and dashboard_run_id = 1593422 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`=20329678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8758227, 0.02811429950318194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329678_07-02-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20329689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329696, '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 = 20329897 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': 2562582, 'mtr_portfolio_id': 20329897, 'created_at': datetime.datetime(2025, 2, 7, 10, 40, 31), 'result': '0.019916605543415223', 'result_long': None, 'result_double': None}] Qualite : 0.019916605543415223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20329897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20329897 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_P20329897_07-02-2025_10_40_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, 'pht': 3726}}" where mtr_portfolio_id = 20329897 and dashboard_run_id = 1593422 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`=20329897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8758228, 0.019916605543415223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20329897_07-02-2025_10_40_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20329944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20329945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20329946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20329948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20329949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20329950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20329951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20329952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20329953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20329954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20329955, '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 (20328450,20328924,20329678,20329897) result : ((1335458973,), (1335458978,), (1335458983,), (1335459380,), (1335459389,), (1335460252,), (1335460260,), (1335460391,), (1335460394,), (1335460456,), (1335460459,), (1335460529,), (1335460532,), (1335460627,), (1335460631,), (1335460634,), (1335460637,), (1335460641,), (1335460692,), (1335460694,), (1335460698,), (1335461256,), (1335461340,), (1335461583,), (1335461585,), (1335461588,), (1335461652,), (1335461654,), (1335461657,), (1335461660,), (1335461664,), (1335461671,), (1335461708,), (1335461710,), (1335461755,), (1335461768,), (1335461781,), (1335461785,), (1335461788,), (1335461789,), (1335461902,), (1335461907,), (1335461913,), (1335461919,), (1335461925,), (1335462692,), (1335462430,), (1335462517,), (1335462594,), (1335462645,), (1335462919,), (1335462955,), (1335462959,), (1335463492,), (1335463496,), (1335463499,), (1335463505,), (1335463510,), (1335463698,), (1335463701,), (1335463705,), (1335463708,), (1335463713,), (1335463715,), (1335463741,), (1335463745,), (1335463751,), (1335463755,), (1335463804,), (1335463806,), (1335463809,), (1335463812,), (1335463886,), (1335463969,), (1335464668,), (1335464706,), (1335464738,), (1335464740,), (1335464744,), (1335464746,), (1335464836,), (1335464888,), (1335464951,), (1335465033,), (1335465202,), (1335465204,), (1335465207,), (1335465209,), (1335465213,), (1335465237,), (1335465239,), (1335465242,), (1335465245,), (1335465248,), (1335465302,), (1335465304,), (1335465306,), (1335465307,), (1335465873,), (1335465915,), (1335465979,), (1335466040,), (1335466110,), (1335466148,), (1335466157,), (1335466160,), (1335466164,), (1335466516,), (1335466531,), (1335466534,), (1335466579,), (1335466632,), (1335466644,), (1335466705,), (1335466712,), (1335466716,), (1335466989,), (1335468115,), (1335468230,), (1335468362,), (1335469297,), (1335469308,), (1335469317,), (1335469321,), (1335469325,), (1335469329,), (1335469410,), (1335469411,), (1335469413,), (1335469480,), (1335469866,), (1335469932,), (1335469943,), (1335469998,), (1335470000,), (1335470002,), (1335470003,), (1335470005,), (1335470631,), (1335470700,), (1335470766,), (1335470768,), (1335470771,), (1335470773,), (1335470918,), (1335470992,), (1335471218,), (1335471220,), (1335471223,), (1335471227,), (1335471257,), (1335471259,), (1335471262,), (1335471265,), (1335471267,), (1335471323,), (1335471310,), (1335471314,), (1335471317,), (1335471846,), (1335471944,), (1335472053,), (1335472078,), (1335472081,), (1335472549,), (1335472627,), (1335472714,), (1335472791,), (1335472872,), (1335472948,), (1335473318,), (1335473322,), (1335473327,), (1335473331,), (1335473685,), (1335473696,), (1335473699,), (1335473703,), (1335473903,), (1335473905,), (1335473908,), (1335473911,), (1335473963,), (1335473979,), (1335474145,), (1335474148,), (1335474151,), (1335474159,), (1335474170,), (1335474172,), (1335474223,), (1335474231,), (1335474235,), (1335474243,), (1335474247,), (1335474285,), (1335474288,), (1335474293,), (1335474298,), (1335474304,), (1335474352,), (1335474367,), (1335474372,), (1335474375,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07022025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20329897]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] map_info['map_portfolio_photo'] : {20329897: [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903, 1335473703, 1335473699, 1335473696, 1335473685, 1335473331, 1335473327, 1335473322, 1335473318, 1335472948, 1335472872, 1335472791, 1335472714, 1335472627, 1335472549, 1335472081, 1335472078, 1335472053, 1335471944, 1335471846, 1335471317, 1335471314, 1335471310]} final : True mtd_id 4302 list_pids : [1335474375, 1335474372, 1335474367, 1335474352, 1335474304, 1335474298, 1335474293, 1335474288, 1335474285, 1335474247, 1335474243, 1335474235, 1335474231, 1335474223, 1335474172, 1335474170, 1335474159, 1335474151, 1335474148, 1335474145, 1335473979, 1335473963, 1335473911, 1335473908, 1335473905, 1335473903] Looping around the photos to save general results len do output : 1 /20329897Didn'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, '2562582') ('4302', '20329897', '1335474375', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582') ('4302', None, None, None, None, None, None, None, '2562582') ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582') 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', None, '20329897', 'None', None, None, None, None, '2562582'), ('4302', '20329897', '1335474375', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474372', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474367', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474352', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474304', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474298', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474293', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474288', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474285', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474247', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474243', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474235', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474231', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474223', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474172', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474170', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474159', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474151', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474148', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335474145', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473979', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473963', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473911', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473908', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473905', None, None, None, None, None, '2562582'), ('4302', '20329897', '1335473903', None, None, None, None, None, '2562582')] time used for this insertion : 0.015987157821655273 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3733949661254883 time spend to save output : 0.016342878341674805 total time spend for step 5 : 0.3897378444671631 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 (2562582) 2.96user 2.14system 0:10.94elapsed 46%CPU (0avgtext+0avgdata 169336maxresident)k 9560inputs+18928outputs (39major+80481minor)pagefaults 0swaps