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 : 2653316 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 (3861292) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3861292) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542308 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3861292'] with mtr_portfolio_ids : ['27542308'] and first list_photo_ids : [] new path : /proc/2653316/ Name: python3 Umask: 0002 State: R (running) Tgid: 2653316 Ngid: 0 Pid: 2653316 PPid: 2653315 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2653316 NSpid: 2653316 NSpgid: 2652884 NSsid: 2652884 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97684 kB VmRSS: 97684 kB RssAnon: 59848 kB RssFile: 37836 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 50 nonvoluntary_ctxt_switches: 107 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2653316', 'Ngid': '0', 'Pid': '2653316', 'PPid': '2653315', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2653316', 'NSpid': '2653316', 'NSpgid': '2652884', 'NSsid': '2652884', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97684 kB', 'VmRSS': '97684 kB', 'RssAnon': '59848 kB', 'RssFile': '37836 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '50', 'nonvoluntary_ctxt_switches': '107'} ('datou_batch_current', '2653316', '1106856', '0', '1106856', '865608', '97684', b'', 'marlene', '3861292') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27542308) 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 (3861292 ) ) 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 (27542308) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1387825652, 'portfolio_id': 27542308}, {'photo_id': 1387825651, 'portfolio_id': 27542308}, {'photo_id': 1387825650, 'portfolio_id': 27542308}, {'photo_id': 1387825640, 'portfolio_id': 27542308}, {'photo_id': 1387825636, 'portfolio_id': 27542308}, {'photo_id': 1387825634, 'portfolio_id': 27542308}, {'photo_id': 1387825632, 'portfolio_id': 27542308}, {'photo_id': 1387825631, 'portfolio_id': 27542308}, {'photo_id': 1387825625, 'portfolio_id': 27542308}, {'photo_id': 1387825624, 'portfolio_id': 27542308}, {'photo_id': 1387825621, 'portfolio_id': 27542308}, {'photo_id': 1387825616, 'portfolio_id': 27542308}, {'photo_id': 1387825614, 'portfolio_id': 27542308}, {'photo_id': 1387825613, 'portfolio_id': 27542308}, {'photo_id': 1387825595, 'portfolio_id': 27542308}, {'photo_id': 1387825593, 'portfolio_id': 27542308}, {'photo_id': 1387825590, 'portfolio_id': 27542308}, {'photo_id': 1387825574, 'portfolio_id': 27542308}, {'photo_id': 1387825571, 'portfolio_id': 27542308}, {'photo_id': 1387825570, 'portfolio_id': 27542308}, {'photo_id': 1387825568, 'portfolio_id': 27542308}, {'photo_id': 1387825551, 'portfolio_id': 27542308}, {'photo_id': 1387825548, 'portfolio_id': 27542308}, {'photo_id': 1387825545, 'portfolio_id': 27542308}, {'photo_id': 1387825539, 'portfolio_id': 27542308}, {'photo_id': 1387825537, 'portfolio_id': 27542308}, {'photo_id': 1387825534, 'portfolio_id': 27542308}, {'photo_id': 1387825525, 'portfolio_id': 27542308}, {'photo_id': 1387825506, 'portfolio_id': 27542308}, {'photo_id': 1387825503, 'portfolio_id': 27542308}, {'photo_id': 1387825407, 'portfolio_id': 27542308}, {'photo_id': 1387825385, 'portfolio_id': 27542308}, {'photo_id': 1387825383, 'portfolio_id': 27542308}, {'photo_id': 1387825382, 'portfolio_id': 27542308}] map_portfolio_id_photo_id: {27542308: [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382]} ##### 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.054662227630615234 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Mon Oct 6 20:39: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27542308) 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 : 27542308 get user id for portfolio 27542308 get sub ptf for main ptf 27542308, type 3726 and hashtags ['Carton_brun', 'plastique', 'papier', 'Carton_gris', 'mal_croppe', 'autre_refus', 'flou', 'metal', 'Teint_Dans_La_Masse', 'kraft', 'environnement', 'cartonnette'] 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`=27542308 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) 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`=27542308 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[27542308, 27542335, 3726, 0.5, 2107753024, 979], [27542308, 27542336, 3726, 0.5, 492725882, 979], [27542308, 27542337, 3726, 0.5, 492668766, 979], [27542308, 27542338, 3726, 0.5, 2107753020, 979], [27542308, 27542339, 3726, 0.5, 2107755527, 979], [27542308, 27542340, 3726, 0.5, 2107752406, 979], [27542308, 27542341, 3726, 0.5, 492777938, 979], [27542308, 27542342, 3726, 0.5, 492628673, 979], [27542308, 27542343, 3726, 0.5, 2107752385, 979], [27542308, 27542344, 3726, 0.5, 493202403, 979], [27542308, 27542345, 3726, 0.5, 493012381, 979], [27542308, 27542346, 3726, 0.5, 702398920, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27542308 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) 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`=27542308 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27542308, 'sub_port_id': 27542335, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597747, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'plastique': {'main_port_id': 27542308, 'sub_port_id': 27542336, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597748, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'papier': {'main_port_id': 27542308, 'sub_port_id': 27542337, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597749, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'Carton_gris': {'main_port_id': 27542308, 'sub_port_id': 27542338, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597750, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'mal_croppe': {'main_port_id': 27542308, 'sub_port_id': 27542339, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597751, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'autre_refus': {'main_port_id': 27542308, 'sub_port_id': 27542340, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597752, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'flou': {'main_port_id': 27542308, 'sub_port_id': 27542341, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597753, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'metal': {'main_port_id': 27542308, 'sub_port_id': 27542342, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597754, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 27542308, 'sub_port_id': 27542343, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597755, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'kraft': {'main_port_id': 27542308, 'sub_port_id': 27542344, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597756, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'environnement': {'main_port_id': 27542308, 'sub_port_id': 27542345, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597757, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}, 'cartonnette': {'main_port_id': 27542308, 'sub_port_id': 27542346, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597758, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 32)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27542335 , 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=27542308 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 (27542335) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542336 , 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=27542308 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 (27542336) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542337 , 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=27542308 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 (27542337) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542338 , 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=27542308 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 (27542338) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542339 , 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=27542308 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 (27542339) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542340 , 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=27542308 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 (27542340) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542341 , 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=27542308 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 (27542341) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542342 , 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=27542308 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 (27542342) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542343 , 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=27542308 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 (27542343) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542344 , 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=27542308 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 (27542344) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542345 , 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=27542308 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 (27542345) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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 27542346 , 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=27542308 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 (27542346) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27542308) result : ((1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) 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`=27542308 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) 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`=27542308 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__06102025_20_30_13_010149_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[27542308, 27542349, 4417, 0.5, 2107753024, 979], [27542308, 27542350, 4417, 0.5, 492725882, 979], [27542308, 27542351, 4417, 0.5, 492668766, 979], [27542308, 27542352, 4417, 0.5, 2107753020, 979], [27542308, 27542353, 4417, 0.5, 2107755527, 979], [27542308, 27542354, 4417, 0.5, 2107752406, 979], [27542308, 27542355, 4417, 0.5, 492777938, 979], [27542308, 27542356, 4417, 0.5, 492628673, 979], [27542308, 27542357, 4417, 0.5, 2107752385, 979], [27542308, 27542358, 4417, 0.5, 493202403, 979], [27542308, 27542359, 4417, 0.5, 493012381, 979], [27542308, 27542360, 4417, 0.5, 702398920, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27542308 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) 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`=27542308 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','papier','Carton_gris','mal_croppe','autre_refus','flou','metal','Teint_Dans_La_Masse','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27542308, 'sub_port_id': 27542349, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597759, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'plastique': {'main_port_id': 27542308, 'sub_port_id': 27542350, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597760, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'papier': {'main_port_id': 27542308, 'sub_port_id': 27542351, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597761, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'Carton_gris': {'main_port_id': 27542308, 'sub_port_id': 27542352, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597762, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'mal_croppe': {'main_port_id': 27542308, 'sub_port_id': 27542353, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597763, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'autre_refus': {'main_port_id': 27542308, 'sub_port_id': 27542354, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597764, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'flou': {'main_port_id': 27542308, 'sub_port_id': 27542355, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597765, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'metal': {'main_port_id': 27542308, 'sub_port_id': 27542356, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597766, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'Teint_Dans_La_Masse': {'main_port_id': 27542308, 'sub_port_id': 27542357, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597767, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'kraft': {'main_port_id': 27542308, 'sub_port_id': 27542358, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597768, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'environnement': {'main_port_id': 27542308, 'sub_port_id': 27542359, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597769, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}, 'cartonnette': {'main_port_id': 27542308, 'sub_port_id': 27542360, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18597770, 'last_updated_at': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_desc': datetime.datetime(2025, 10, 6, 20, 39, 37), 'last_updated_at_asc': datetime.datetime(2025, 10, 6, 20, 39, 37)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542349,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542335 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542350,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542336 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542351,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542337 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542352,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542338 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542353,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542339 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542354,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542340 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542355,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542341 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542356,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542342 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542357,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542343 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542358,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542344 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542359,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542345 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27542360,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27542346 lien utilise dans velours : https://marlene.fotonower.com/velours/27542349,27542350,27542351,27542352,27542353,27542354,27542355,27542356,27542357,27542358,27542359,27542360?tags=Carton_brun,plastique,papier,Carton_gris,mal_croppe,autre_refus,flou,metal,Teint_Dans_La_Masse,kraft,environnement,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27542308]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] map_info['map_portfolio_photo'] : {27542308: [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382]} final : False mtd_id 4302 list_pids : [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] Looping around the photos to save general results len do output : 1 /27542308. 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, '3861292') ('4302', '27542308', '1387825652', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '27542308', "{'Carton_brun': 27542335, 'plastique': 27542336, 'papier': 27542337, 'Carton_gris': 27542338, 'mal_croppe': 27542339, 'autre_refus': 27542340, 'flou': 27542341, 'metal': 27542342, 'Teint_Dans_La_Masse': 27542343, 'kraft': 27542344, 'environnement': 27542345, 'cartonnette': 27542346}", None, None, None, None, '3861292'), ('4302', '27542308', '1387825652', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292')] time used for this insertion : 0.038217782974243164 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.001485586166382 time spend to save output : 0.038648366928100586 total time spend for step 1 : 7.040133953094482 step2:final Mon Oct 6 20:39:38 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 (27542308) 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 27542308 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1387825407,1387825385,1387825383,1387825382,1387825539,1387825537,1387825534,1387825525,1387825506,1387825503,1387825551,1387825548,1387825545,1387825574,1387825571,1387825570,1387825568,1387825595,1387825593,1387825590,1387825625,1387825624,1387825621,1387825616,1387825614,1387825613,1387825640,1387825636,1387825634,1387825632,1387825631,1387825652,1387825651,1387825650); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27542308]) Inside saveOutput : final : False verbose : True original output for save of step final : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} new output for save of step final : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] map_info['map_portfolio_photo'] : {27542308: [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382]} final : False mtd_id 4302 list_pids : [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] Looping around the photos to save general results len do output : 34 /1387825652.Didn't retrieve data . /1387825651.Didn't retrieve data . /1387825650.Didn't retrieve data . /1387825640.Didn't retrieve data . /1387825636.Didn't retrieve data . /1387825634.Didn't retrieve data . /1387825632.Didn't retrieve data . /1387825631.Didn't retrieve data . /1387825625.Didn't retrieve data . /1387825624.Didn't retrieve data . /1387825621.Didn't retrieve data . /1387825616.Didn't retrieve data . /1387825614.Didn't retrieve data . /1387825613.Didn't retrieve data . /1387825595.Didn't retrieve data . /1387825593.Didn't retrieve data . /1387825590.Didn't retrieve data . /1387825574.Didn't retrieve data . /1387825571.Didn't retrieve data . /1387825570.Didn't retrieve data . /1387825568.Didn't retrieve data . /1387825551.Didn't retrieve data . /1387825548.Didn't retrieve data . /1387825545.Didn't retrieve data . /1387825539.Didn't retrieve data . /1387825537.Didn't retrieve data . /1387825534.Didn't retrieve data . /1387825525.Didn't retrieve data . /1387825506.Didn't retrieve data . /1387825503.Didn't retrieve data . /1387825407.Didn't retrieve data . /1387825385.Didn't retrieve data . /1387825383.Didn't retrieve data . /1387825382.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, '3861292') ('4302', '27542308', '1387825652', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 102 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', '27542308', '1387825652', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825651', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825650', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825640', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825636', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825634', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825632', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825631', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825625', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825624', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825621', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825616', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825614', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825613', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825595', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825593', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825590', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825574', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825571', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825570', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825568', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825551', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825548', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825545', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825539', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825537', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825534', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825525', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825506', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825503', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825407', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825385', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825383', '0.0', None, None, None, None, '3861292'), ('4302', '27542308', '1387825382', '0.0', None, None, None, None, '3861292')] time used for this insertion : 0.03731966018676758 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05732369422912598 time spend to save output : 0.03872513771057129 total time spend for step 2 : 0.09604883193969727 step3:velours_tree Mon Oct 6 20:39:38 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 : {27542308: [{'Carton_brun': 27542335, 'plastique': 27542336, 'papier': 27542337, 'Carton_gris': 27542338, 'mal_croppe': 27542339, 'autre_refus': 27542340, 'flou': 27542341, 'metal': 27542342, 'Teint_Dans_La_Masse': 27542343, 'kraft': 27542344, 'environnement': 27542345, 'cartonnette': 27542346}]} input_args_next_step : {27542308: ()} output_args : {27542308: [{'Carton_brun': 27542335, 'plastique': 27542336, 'papier': 27542337, 'Carton_gris': 27542338, 'mal_croppe': 27542339, 'autre_refus': 27542340, 'flou': 27542341, 'metal': 27542342, 'Teint_Dans_La_Masse': 27542343, 'kraft': 27542344, 'environnement': 27542345, 'cartonnette': 27542346}]} args : 27542308 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 : ({'Carton_brun': 27542335, 'plastique': 27542336, 'papier': 27542337, 'Carton_gris': 27542338, 'mal_croppe': 27542339, 'autre_refus': 27542340, 'flou': 27542341, 'metal': 27542342, 'Teint_Dans_La_Masse': 27542343, 'kraft': 27542344, 'environnement': 27542345, 'cartonnette': 27542346},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27542308) 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([27542308]) 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.2992877960205078 time spend to save output : 8.487701416015625e-05 total time spend for step 3 : 0.29937267303466797 step4:send_mail_cod Mon Oct 6 20:39:38 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 : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} input_args_next_step : {1387825652: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825652 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825651 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825650 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825640 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825636 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825634 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825632 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825631 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825625 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825624 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825621 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825616 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825614 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825613 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825595 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825593 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825590 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825574 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825571 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825570 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825568 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825551 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825548 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825545 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825539 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825537 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825534 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825525 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825506 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825503 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825407 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825385 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825383 depend.output_id : 0 input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ()} output_args : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',)} args : 1387825382 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 : {27542308: [{'Carton_brun': 27542335, 'plastique': 27542336, 'papier': 27542337, 'Carton_gris': 27542338, 'mal_croppe': 27542339, 'autre_refus': 27542340, 'flou': 27542341, 'metal': 27542342, 'Teint_Dans_La_Masse': 27542343, 'kraft': 27542344, 'environnement': 27542345, 'cartonnette': 27542346}]} input_args_next_step : {1387825652: ('0.0',), 1387825651: ('0.0',), 1387825650: ('0.0',), 1387825640: ('0.0',), 1387825636: ('0.0',), 1387825634: ('0.0',), 1387825632: ('0.0',), 1387825631: ('0.0',), 1387825625: ('0.0',), 1387825624: ('0.0',), 1387825621: ('0.0',), 1387825616: ('0.0',), 1387825614: ('0.0',), 1387825613: ('0.0',), 1387825595: ('0.0',), 1387825593: ('0.0',), 1387825590: ('0.0',), 1387825574: ('0.0',), 1387825571: ('0.0',), 1387825570: ('0.0',), 1387825568: ('0.0',), 1387825551: ('0.0',), 1387825548: ('0.0',), 1387825545: ('0.0',), 1387825539: ('0.0',), 1387825537: ('0.0',), 1387825534: ('0.0',), 1387825525: ('0.0',), 1387825506: ('0.0',), 1387825503: ('0.0',), 1387825407: ('0.0',), 1387825385: ('0.0',), 1387825383: ('0.0',), 1387825382: ('0.0',), 27542308: ()} output_args : {27542308: [{'Carton_brun': 27542335, 'plastique': 27542336, 'papier': 27542337, 'Carton_gris': 27542338, 'mal_croppe': 27542339, 'autre_refus': 27542340, 'flou': 27542341, 'metal': 27542342, 'Teint_Dans_La_Masse': 27542343, 'kraft': 27542344, 'environnement': 27542345, 'cartonnette': 27542346}]} args : 27542308 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 :35, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27542308) 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_view ph WHERE photo_id IN (1387825652,1387825651,1387825650,1387825640,1387825636,1387825634,1387825632,1387825631,1387825625,1387825624,1387825621,1387825616,1387825614,1387825613,1387825595,1387825593,1387825590,1387825574,1387825571,1387825570,1387825568,1387825551,1387825548,1387825545,1387825539,1387825537,1387825534,1387825525,1387825506,1387825503,1387825407,1387825385,1387825383,1387825382) Found this number of photos: 34 ##### Call download_photos : nb_thread : 5 begin to download photo : 1387825382 begin to download photo : 1387825534 begin to download photo : 1387825570 begin to download photo : 1387825614 begin to download photo : 1387825634 download finish for photo 1387825534 begin to download photo : 1387825537 download finish for photo 1387825634 begin to download photo : 1387825636 download finish for photo 1387825570 begin to download photo : 1387825571 download finish for photo 1387825382 begin to download photo : 1387825383 download finish for photo 1387825614 begin to download photo : 1387825616 download finish for photo 1387825537 begin to download photo : 1387825539 download finish for photo 1387825636 begin to download photo : 1387825640 download finish for photo 1387825616 begin to download photo : 1387825621 download finish for photo 1387825383 begin to download photo : 1387825385 download finish for photo 1387825571 begin to download photo : 1387825574 download finish for photo 1387825539 begin to download photo : 1387825545 download finish for photo 1387825574 begin to download photo : 1387825590 download finish for photo 1387825621 begin to download photo : 1387825624 download finish for photo 1387825640 begin to download photo : 1387825650 download finish for photo 1387825385 begin to download photo : 1387825407 download finish for photo 1387825545 begin to download photo : 1387825548 download finish for photo 1387825624 begin to download photo : 1387825625 download finish for photo 1387825650 begin to download photo : 1387825651 download finish for photo 1387825407 begin to download photo : 1387825503 download finish for photo 1387825590 begin to download photo : 1387825593 download finish for photo 1387825548 begin to download photo : 1387825551 download finish for photo 1387825651 begin to download photo : 1387825652 download finish for photo 1387825625 begin to download photo : 1387825631 download finish for photo 1387825593 begin to download photo : 1387825595 download finish for photo 1387825503 begin to download photo : 1387825506 download finish for photo 1387825551 begin to download photo : 1387825568 download finish for photo 1387825652 download finish for photo 1387825631 begin to download photo : 1387825632 download finish for photo 1387825506 begin to download photo : 1387825525 download finish for photo 1387825595 begin to download photo : 1387825613 download finish for photo 1387825568 download finish for photo 1387825632 download finish for photo 1387825525 download finish for photo 1387825613 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette275423361759775979/ imagette275423391759775979/ imagette275423401759775979/ imagette275423411759775979/ imagette275423421759775979/ imagette275423441759775979/ imagette275423461759775979/ imagette275423351759775979/ imagette275423381759775979/ imagette275423431759775979/ length of list_filenames : 34 ; length of list_pids : 34 ; length of list_args : 34 results_Auto_P27542308_06-10-2025_20_39_39.pdf 27542336 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542336 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423361759775979 27542339 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542339 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423391759775979 27542340 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542340 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423401759775979 27542341 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542341 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423411759775979 27542342 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542342 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423421759775979 27542344 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542344 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423441759775979 27542346 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542346 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423461759775979 27542335 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542335 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423351759775979 27542338 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542338 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423381759775979 27542343 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542343 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275423431759775979 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27542308 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27542349,27542350,27542351,27542352,27542353,27542354,27542355,27542356,27542357,27542358,27542359,27542360?tags=Carton_brun,plastique,papier,Carton_gris,mal_croppe,autre_refus,flou,metal,Teint_Dans_La_Masse,kraft,environnement,cartonnette your option no_mail is active, we will not send the real mail to your client args[1387825652] : ('0.0',) no score found for photo 1387825652 We are sending mail with results at report@fotonower.com args[1387825651] : ('0.0',) no score found for photo 1387825651 We are sending mail with results at report@fotonower.com args[1387825650] : ('0.0',) no score found for photo 1387825650 We are sending mail with results at report@fotonower.com args[1387825640] : ('0.0',) no score found for photo 1387825640 We are sending mail with results at report@fotonower.com args[1387825636] : ('0.0',) no score found for photo 1387825636 We are sending mail with results at report@fotonower.com args[1387825634] : ('0.0',) no score found for photo 1387825634 We are sending mail with results at report@fotonower.com args[1387825632] : ('0.0',) no score found for photo 1387825632 We are sending mail with results at report@fotonower.com args[1387825631] : ('0.0',) no score found for photo 1387825631 We are sending mail with results at report@fotonower.com args[1387825625] : ('0.0',) no score found for photo 1387825625 We are sending mail with results at report@fotonower.com args[1387825624] : ('0.0',) no score found for photo 1387825624 We are sending mail with results at report@fotonower.com args[1387825621] : ('0.0',) no score found for photo 1387825621 We are sending mail with results at report@fotonower.com args[1387825616] : ('0.0',) no score found for photo 1387825616 We are sending mail with results at report@fotonower.com args[1387825614] : ('0.0',) no score found for photo 1387825614 We are sending mail with results at report@fotonower.com args[1387825613] : ('0.0',) no score found for photo 1387825613 We are sending mail with results at report@fotonower.com args[1387825595] : ('0.0',) no score found for photo 1387825595 We are sending mail with results at report@fotonower.com args[1387825593] : ('0.0',) no score found for photo 1387825593 We are sending mail with results at report@fotonower.com args[1387825590] : ('0.0',) no score found for photo 1387825590 We are sending mail with results at report@fotonower.com args[1387825574] : ('0.0',) no score found for photo 1387825574 We are sending mail with results at report@fotonower.com args[1387825571] : ('0.0',) no score found for photo 1387825571 We are sending mail with results at report@fotonower.com args[1387825570] : ('0.0',) no score found for photo 1387825570 We are sending mail with results at report@fotonower.com args[1387825568] : ('0.0',) no score found for photo 1387825568 We are sending mail with results at report@fotonower.com args[1387825551] : ('0.0',) no score found for photo 1387825551 We are sending mail with results at report@fotonower.com args[1387825548] : ('0.0',) no score found for photo 1387825548 We are sending mail with results at report@fotonower.com args[1387825545] : ('0.0',) no score found for photo 1387825545 We are sending mail with results at report@fotonower.com args[1387825539] : ('0.0',) no score found for photo 1387825539 We are sending mail with results at report@fotonower.com args[1387825537] : ('0.0',) no score found for photo 1387825537 We are sending mail with results at report@fotonower.com args[1387825534] : ('0.0',) no score found for photo 1387825534 We are sending mail with results at report@fotonower.com args[1387825525] : ('0.0',) no score found for photo 1387825525 We are sending mail with results at report@fotonower.com args[1387825506] : ('0.0',) no score found for photo 1387825506 We are sending mail with results at report@fotonower.com args[1387825503] : ('0.0',) no score found for photo 1387825503 We are sending mail with results at report@fotonower.com args[1387825407] : ('0.0',) no score found for photo 1387825407 We are sending mail with results at report@fotonower.com args[1387825385] : ('0.0',) no score found for photo 1387825385 We are sending mail with results at report@fotonower.com args[1387825383] : ('0.0',) no score found for photo 1387825383 We are sending mail with results at report@fotonower.com args[1387825382] : ('0.0',) no score found for photo 1387825382 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542308 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_P27542308_06-10-2025_20_39_39.pdf results_Auto_P27542308_06-10-2025_20_39_39.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27542308_06-10-2025_20_39_39.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','27542308','results_Auto_P27542308_06-10-2025_20_39_39.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27542308_06-10-2025_20_39_39.pdf','pdf','','0.24','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27542308]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] map_info['map_portfolio_photo'] : {27542308: [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382]} final : False mtd_id 4302 list_pids : [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] 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, '3861292') ('4302', '27542308', '1387825652', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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', '27542308', '1387825652', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292')] time used for this insertion : 0.037858009338378906 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.231626987457275 time spend to save output : 0.03819394111633301 total time spend for step 4 : 4.269820928573608 step5:split_time_score Mon Oct 6 20:39:42 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 : ['27542308'] 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 : [('27542308',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27542308) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1387825634: {'path': 'temp/1759775978_2653316_1387825634_f170bd3cc71768fabf889a2ad04ba5ce.jpg', 'extension': 'jpg'}, 1387825636: {'path': 'temp/1759775978_2653316_1387825636_7925647f691be37bd8fa77cdfc783207.jpg', 'extension': 'jpg'}, 1387825640: {'path': 'temp/1759775978_2653316_1387825640_e72aca698b38fb80402be1a4b7d769cc.jpg', 'extension': 'jpg'}, 1387825650: {'path': 'temp/1759775978_2653316_1387825650_95990edc5b76a5dce7d7000f32f7090b.jpg', 'extension': 'jpg'}, 1387825651: {'path': 'temp/1759775978_2653316_1387825651_45373a25a8b8b024342bfda922818dcc.jpg', 'extension': 'jpg'}, 1387825652: {'path': 'temp/1759775978_2653316_1387825652_4a6b66726a3ebd3e60d38f3582cebc54.jpg', 'extension': 'jpg'}, 1387825534: {'path': 'temp/1759775978_2653316_1387825534_fd6040aa3d4fdf6f19cc0b7aa35ddcbb.jpg', 'extension': 'jpg'}, 1387825537: {'path': 'temp/1759775978_2653316_1387825537_17fff355c9c8941283075de12bb24e78.jpg', 'extension': 'jpg'}, 1387825539: {'path': 'temp/1759775978_2653316_1387825539_1e5ef5e1482fb4da75c09ba086b1a0fd.jpg', 'extension': 'jpg'}, 1387825545: {'path': 'temp/1759775978_2653316_1387825545_507698336ce5e651532c23575ecd4ec9.jpg', 'extension': 'jpg'}, 1387825548: {'path': 'temp/1759775978_2653316_1387825548_8acfb0495bf0f0c55895499ecab9425d.jpg', 'extension': 'jpg'}, 1387825551: {'path': 'temp/1759775978_2653316_1387825551_6e1b27f8d155e5471a8e272921d87c2e.jpg', 'extension': 'jpg'}, 1387825568: {'path': 'temp/1759775978_2653316_1387825568_8ac659e172d69e922bcb5e53f1a71667.jpg', 'extension': 'jpg'}, 1387825614: {'path': 'temp/1759775978_2653316_1387825614_2d28b9242b20b8c2709c0c2f68d274c0.jpg', 'extension': 'jpg'}, 1387825616: {'path': 'temp/1759775978_2653316_1387825616_e7404ef34165f1271148351546ca19f3.jpg', 'extension': 'jpg'}, 1387825621: {'path': 'temp/1759775978_2653316_1387825621_34c9c4b09a169cd79d3e59aafd14c008.jpg', 'extension': 'jpg'}, 1387825624: {'path': 'temp/1759775978_2653316_1387825624_b91a65aa28ff49cc68e84c2b6baeada9.jpg', 'extension': 'jpg'}, 1387825625: {'path': 'temp/1759775978_2653316_1387825625_fbb3f03094dbe1e698c27ce379160b77.jpg', 'extension': 'jpg'}, 1387825631: {'path': 'temp/1759775978_2653316_1387825631_0d710ed4b64f9cfec007c7bb29397a5a.jpg', 'extension': 'jpg'}, 1387825632: {'path': 'temp/1759775978_2653316_1387825632_4b7d574999a626bd0bc06a08d9a11bfa.jpg', 'extension': 'jpg'}, 1387825382: {'path': 'temp/1759775978_2653316_1387825382_3e8efac3b237204adbe062850fed37ca.jpg', 'extension': 'jpg'}, 1387825383: {'path': 'temp/1759775978_2653316_1387825383_23e773e2ab420f6cd728380ebcfa117a.jpg', 'extension': 'jpg'}, 1387825385: {'path': 'temp/1759775978_2653316_1387825385_a8c9e31e80e807069dcac9c7dd0b571e.jpg', 'extension': 'jpg'}, 1387825407: {'path': 'temp/1759775978_2653316_1387825407_f25caedf9e584a9c1549cef326285e99.jpg', 'extension': 'jpg'}, 1387825503: {'path': 'temp/1759775978_2653316_1387825503_c15f2622fa0c5416b6331eb4721b09f5.jpg', 'extension': 'jpg'}, 1387825506: {'path': 'temp/1759775978_2653316_1387825506_ed81bed81440e7ce91b4f23ec0943b98.jpg', 'extension': 'jpg'}, 1387825525: {'path': 'temp/1759775978_2653316_1387825525_6f257217314f205ce7fcc8f9e8312cec.jpg', 'extension': 'jpg'}, 1387825570: {'path': 'temp/1759775978_2653316_1387825570_c27b48e3a712c0bf651701d1bb410581.jpg', 'extension': 'jpg'}, 1387825571: {'path': 'temp/1759775978_2653316_1387825571_e4a0a3f6f4f333206a3977d849525f38.jpg', 'extension': 'jpg'}, 1387825574: {'path': 'temp/1759775978_2653316_1387825574_ba1f57068d45870b3619b1d8c71caa35.jpg', 'extension': 'jpg'}, 1387825590: {'path': 'temp/1759775978_2653316_1387825590_34515e56c21965bc337f6f1d86978c15.jpg', 'extension': 'jpg'}, 1387825593: {'path': 'temp/1759775978_2653316_1387825593_190e755b0371a23671f95af8b84edf7e.jpg', 'extension': 'jpg'}, 1387825595: {'path': 'temp/1759775978_2653316_1387825595_816a276d81ec76ba3cd35915695604f4.jpg', 'extension': 'jpg'}, 1387825613: {'path': 'temp/1759775978_2653316_1387825613_79f3fb797fb534a55ecf771e78e08aaa.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 = 27542308; (('arc_en_ciel_jrm_live',),) 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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27542308 group by h (('20', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27542308 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 (27542308) 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 (27542308) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06102025 27542308 Nombre de photos uploadées : 34 / 23040 (0%) 06102025 27542308 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 06102025 27542308 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1387825407, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/6/f25caedf9e584a9c1549cef326285e99.jpg', 'username': None, 'uploaded_at': 1759775518, 'text': 'image_06102025_20_30_13_10149.jpg'}, {'photo_id': 1387825385, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/6/a8c9e31e80e807069dcac9c7dd0b571e.jpg', 'username': None, 'uploaded_at': 1759775518, 'text': 'image_06102025_20_30_24_10135.jpg'}, {'photo_id': 1387825383, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/6/23e773e2ab420f6cd728380ebcfa117a.jpg', 'username': None, 'uploaded_at': 1759775518, 'text': 'image_06102025_20_30_34_10133.jpg'}, {'photo_id': 1387825382, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/6/3e8efac3b237204adbe062850fed37ca.jpg', 'username': None, 'uploaded_at': 1759775518, 'text': 'image_06102025_20_30_44_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016169548034667969 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 27542308, '2025-10-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 218 and date = '2025-10-06' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2396989,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6560781002044678 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= 2396989 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2396989, 'dashboard_run_id': 2408085, 'mtr_portfolio_id': 27541392, 'dashboard_result_id': 16062100, '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_P27541392_06-10-2025_20_05_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27541418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27541419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27541420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27541421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27541422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27541423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27541424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27541425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27541426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27541427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27541428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27541429, 'pht': 3726}}"}, {'dashboat_entry_day': 2396989, 'dashboard_run_id': 2408085, 'mtr_portfolio_id': 27541683, 'dashboard_result_id': 16062101, '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_P27541683_06-10-2025_20_19_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27541696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27541697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27541698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27541699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27541700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27541701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27541702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27541703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27541704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27541705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27541706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27541707, 'pht': 3726}}"}, {'dashboat_entry_day': 2396989, 'dashboard_run_id': 2408085, 'mtr_portfolio_id': 27541900, 'dashboard_result_id': 16062102, '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_P27541900_06-10-2025_20_39_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27541924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27541925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27541926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27541927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27541929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27541930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27541931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27541932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27541933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27541934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27541935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27541936, 'pht': 3726}}"}, {'dashboat_entry_day': 2396989, 'dashboard_run_id': 2408085, 'mtr_portfolio_id': 27542308, 'dashboard_result_id': 16062103, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541392 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 27541392 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27541392 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541392 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541392 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27541392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27541392_06-10-2025_20_05_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27541392 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_P27541392_06-10-2025_20_05_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27541418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27541419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27541420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27541421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27541422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27541423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27541424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27541425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27541426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27541427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27541428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27541429, 'pht': 3726}}" where mtr_portfolio_id = 27541392 and dashboard_run_id = 2408085 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 = 27541683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 27541683 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27541683 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541683 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541683 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27541683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27541683_06-10-2025_20_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27541683 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_P27541683_06-10-2025_20_19_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27541696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27541697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27541698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27541699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27541700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27541701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27541702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27541703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27541704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27541705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27541706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27541707, 'pht': 3726}}" where mtr_portfolio_id = 27541683 and dashboard_run_id = 2408085 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 = 27541900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 27541900 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27541900 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541900 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27541900 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27541900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27541900_06-10-2025_20_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27541900 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_P27541900_06-10-2025_20_39_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27541924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27541925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27541926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27541927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27541929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27541930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27541931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27541932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27541933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27541934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27541935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27541936, 'pht': 3726}}" where mtr_portfolio_id = 27541900 and dashboard_run_id = 2408085 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 = 27542308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 27542308 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27542308 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27542308 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27542308 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27542308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27542308_06-10-2025_20_39_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27542308 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_P27542308_06-10-2025_20_39_39.pdf'}" where mtr_portfolio_id = 27542308 and dashboard_run_id = 2408085 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27541392,27541683,27541900,27542308) result : ((1387819956,), (1387819958,), (1387819974,), (1387819975,), (1387819977,), (1387819980,), (1387819984,), (1387819992,), (1387819993,), (1387819995,), (1387819998,), (1387820001,), (1387820012,), (1387820014,), (1387820018,), (1387820021,), (1387820023,), (1387820034,), (1387820036,), (1387820039,), (1387820053,), (1387820054,), (1387820058,), (1387820063,), (1387820066,), (1387820076,), (1387820077,), (1387820079,), (1387820081,), (1387820085,), (1387820097,), (1387820098,), (1387820099,), (1387820102,), (1387820120,), (1387820122,), (1387820124,), (1387820126,), (1387820129,), (1387820141,), (1387820143,), (1387820145,), (1387820148,), (1387820151,), (1387820154,), (1387820159,), (1387820162,), (1387820165,), (1387820182,), (1387820183,), (1387820184,), (1387820187,), (1387820199,), (1387820201,), (1387820202,), (1387820205,), (1387820209,), (1387820589,), (1387820640,), (1387820687,), (1387820828,), (1387820876,), (1387820918,), (1387821195,), (1387821173,), (1387821177,), (1387821189,), (1387821190,), (1387821191,), (1387821203,), (1387821206,), (1387821208,), (1387821210,), (1387821212,), (1387821213,), (1387821472,), (1387821519,), (1387821563,), (1387821592,), (1387821688,), (1387821706,), (1387821754,), (1387821772,), (1387821840,), (1387821882,), (1387821925,), (1387821968,), (1387822014,), (1387822248,), (1387822249,), (1387822250,), (1387822253,), (1387822488,), (1387822495,), (1387822496,), (1387822501,), (1387822514,), (1387822515,), (1387822516,), (1387822519,), (1387822523,), (1387822533,), (1387822535,), (1387822536,), (1387822540,), (1387822559,), (1387822560,), (1387822561,), (1387822566,), (1387822568,), (1387822580,), (1387822582,), (1387822583,), (1387822586,), (1387822603,), (1387822606,), (1387822610,), (1387822612,), (1387822614,), (1387822615,), (1387822624,), (1387822632,), (1387822635,), (1387822640,), (1387822642,), (1387822644,), (1387822652,), (1387822654,), (1387822656,), (1387822659,), (1387822672,), (1387822673,), (1387822677,), (1387822681,), (1387822684,), (1387822703,), (1387822692,), (1387822694,), (1387822695,), (1387822699,), (1387822713,), (1387822715,), (1387822716,), (1387822732,), (1387822733,), (1387822734,), (1387822737,), (1387822741,), (1387822753,), (1387822754,), (1387822755,), (1387822758,), (1387822763,), (1387822766,), (1387822775,), (1387822776,), (1387822779,), (1387822783,), (1387822786,), (1387822789,), (1387822816,), (1387822863,), (1387823396,), (1387823433,), (1387823501,), (1387823557,), (1387823606,), (1387823655,), (1387823766,), (1387823768,), (1387823783,), (1387823785,), (1387823788,), (1387823789,), (1387823791,), (1387823792,), (1387823794,), (1387823795,), (1387823796,), (1387823797,), (1387823800,), (1387823801,), (1387823804,), (1387823808,), (1387823812,), (1387823815,), (1387823906,), (1387823948,), (1387823989,), (1387824234,), (1387824236,), (1387824237,), (1387824242,), (1387824340,), (1387824341,), (1387824342,), (1387824344,), (1387824347,), (1387824350,), (1387824358,), (1387824360,), (1387824361,), (1387824378,), (1387824379,), (1387824380,), (1387824382,), (1387824385,), (1387824388,), (1387824403,), (1387824405,), (1387824435,), (1387824479,), (1387824525,), (1387824569,), (1387824967,), (1387825009,), (1387825068,), (1387825115,), (1387825123,), (1387825127,), (1387825136,), (1387825137,), (1387825139,), (1387825230,), (1387825451,), (1387825453,), (1387825554,), (1387825557,), (1387825560,), (1387825382,), (1387825383,), (1387825385,), (1387825407,), (1387825503,), (1387825506,), (1387825525,), (1387825534,), (1387825537,), (1387825539,), (1387825545,), (1387825548,), (1387825551,), (1387825568,), (1387825570,), (1387825571,), (1387825574,), (1387825590,), (1387825593,), (1387825595,), (1387825613,), (1387825614,), (1387825616,), (1387825621,), (1387825624,), (1387825625,), (1387825631,), (1387825632,), (1387825634,), (1387825636,), (1387825640,), (1387825650,), (1387825651,), (1387825652,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06102025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27542308]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] map_info['map_portfolio_photo'] : {27542308: [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382]} final : True mtd_id 4302 list_pids : [1387825652, 1387825651, 1387825650, 1387825640, 1387825636, 1387825634, 1387825632, 1387825631, 1387825625, 1387825624, 1387825621, 1387825616, 1387825614, 1387825613, 1387825595, 1387825593, 1387825590, 1387825574, 1387825571, 1387825570, 1387825568, 1387825551, 1387825548, 1387825545, 1387825539, 1387825537, 1387825534, 1387825525, 1387825506, 1387825503, 1387825407, 1387825385, 1387825383, 1387825382] Looping around the photos to save general results len do output : 1 /27542308Didn'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, '3861292') ('4302', '27542308', '1387825652', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292') ('4302', None, None, None, None, None, None, None, '3861292') ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '27542308', 'None', None, None, None, None, '3861292'), ('4302', '27542308', '1387825652', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825651', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825650', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825640', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825636', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825634', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825632', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825631', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825625', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825624', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825621', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825616', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825614', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825613', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825595', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825593', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825590', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825574', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825571', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825570', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825568', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825551', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825548', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825545', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825539', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825537', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825534', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825525', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825506', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825503', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825407', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825385', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825383', None, None, None, None, None, '3861292'), ('4302', '27542308', '1387825382', None, None, None, None, None, '3861292')] time used for this insertion : 0.038629770278930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4178450107574463 time spend to save output : 0.03908896446228027 total time spend for step 5 : 1.4569339752197266 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 (3861292) 2.82user 2.40system 0:18.09elapsed 28%CPU (0avgtext+0avgdata 167268maxresident)k 1576inputs+17480outputs (10major+78988minor)pagefaults 0swaps