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 : 3888573 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 (3755026) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3755026) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076323 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3755026'] with mtr_portfolio_ids : ['27076323'] and first list_photo_ids : [] new path : /proc/3888573/ Name: python3 Umask: 0002 State: R (running) Tgid: 3888573 Ngid: 0 Pid: 3888573 PPid: 3888572 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3888573 NSpid: 3888573 NSpgid: 3887180 NSsid: 3887180 VmPeak: 1107236 kB VmSize: 1107236 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100476 kB VmRSS: 100476 kB RssAnon: 60172 kB RssFile: 40304 kB RssShmem: 0 kB VmData: 865988 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 624 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: 56 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3888573', 'Ngid': '0', 'Pid': '3888573', 'PPid': '3888572', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3888573', 'NSpid': '3888573', 'NSpgid': '3887180', 'NSsid': '3887180', 'VmPeak': '1107236 kB', 'VmSize': '1107236 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100476 kB', 'VmRSS': '100476 kB', 'RssAnon': '60172 kB', 'RssFile': '40304 kB', 'RssShmem': '0 kB', 'VmData': '865988 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '624 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': '56', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '3888573', '1107236', '0', '1107236', '865988', '100476', b'', 'marlene', '3755026') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27076323) 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 (3755026 ) ) 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 (27076323) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1385404633, 'portfolio_id': 27076323}, {'photo_id': 1385404624, 'portfolio_id': 27076323}, {'photo_id': 1385404623, 'portfolio_id': 27076323}, {'photo_id': 1385404621, 'portfolio_id': 27076323}, {'photo_id': 1385404618, 'portfolio_id': 27076323}, {'photo_id': 1385404617, 'portfolio_id': 27076323}, {'photo_id': 1385404616, 'portfolio_id': 27076323}, {'photo_id': 1385404615, 'portfolio_id': 27076323}, {'photo_id': 1385404613, 'portfolio_id': 27076323}, {'photo_id': 1385404611, 'portfolio_id': 27076323}, {'photo_id': 1385404607, 'portfolio_id': 27076323}, {'photo_id': 1385404605, 'portfolio_id': 27076323}, {'photo_id': 1385404603, 'portfolio_id': 27076323}, {'photo_id': 1385404601, 'portfolio_id': 27076323}, {'photo_id': 1385404591, 'portfolio_id': 27076323}, {'photo_id': 1385404590, 'portfolio_id': 27076323}, {'photo_id': 1385404589, 'portfolio_id': 27076323}, {'photo_id': 1385404588, 'portfolio_id': 27076323}, {'photo_id': 1385404586, 'portfolio_id': 27076323}, {'photo_id': 1385404585, 'portfolio_id': 27076323}, {'photo_id': 1385404583, 'portfolio_id': 27076323}, {'photo_id': 1385404582, 'portfolio_id': 27076323}, {'photo_id': 1385404580, 'portfolio_id': 27076323}, {'photo_id': 1385404579, 'portfolio_id': 27076323}, {'photo_id': 1385404563, 'portfolio_id': 27076323}, {'photo_id': 1385404562, 'portfolio_id': 27076323}, {'photo_id': 1385404561, 'portfolio_id': 27076323}, {'photo_id': 1385404559, 'portfolio_id': 27076323}, {'photo_id': 1385404557, 'portfolio_id': 27076323}] map_portfolio_id_photo_id: {27076323: [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557]} ##### 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.015044212341308594 #### 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 Sep 22 05:20:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27076323) 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 : 27076323 get user id for portfolio 27076323 get sub ptf for main ptf 27076323, type 3726 and hashtags ['mal_croppe', 'environnement', 'papier', 'metal', 'Carton_brun', 'flou', 'plastique', 'kraft', 'Teint_Dans_La_Masse', 'Carton_gris', 'autre_refus', '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`=27076323 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','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`=27076323 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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)[[27076323, 27076326, 3726, 0.5, 2107755527, 979], [27076323, 27076327, 3726, 0.5, 493012381, 979], [27076323, 27076328, 3726, 0.5, 492668766, 979], [27076323, 27076329, 3726, 0.5, 492628673, 979], [27076323, 27076330, 3726, 0.5, 2107753024, 979], [27076323, 27076331, 3726, 0.5, 492777938, 979], [27076323, 27076332, 3726, 0.5, 492725882, 979], [27076323, 27076333, 3726, 0.5, 493202403, 979], [27076323, 27076334, 3726, 0.5, 2107752385, 979], [27076323, 27076335, 3726, 0.5, 2107753020, 979], [27076323, 27076336, 3726, 0.5, 2107752406, 979], [27076323, 27076337, 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`=27076323 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','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`=27076323 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27076323, 'sub_port_id': 27076326, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275932, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'environnement': {'main_port_id': 27076323, 'sub_port_id': 27076327, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275933, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'papier': {'main_port_id': 27076323, 'sub_port_id': 27076328, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275934, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'metal': {'main_port_id': 27076323, 'sub_port_id': 27076329, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275935, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'Carton_brun': {'main_port_id': 27076323, 'sub_port_id': 27076330, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275936, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'flou': {'main_port_id': 27076323, 'sub_port_id': 27076331, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275937, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'plastique': {'main_port_id': 27076323, 'sub_port_id': 27076332, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275938, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'kraft': {'main_port_id': 27076323, 'sub_port_id': 27076333, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275939, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 27076323, 'sub_port_id': 27076334, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275940, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'Carton_gris': {'main_port_id': 27076323, 'sub_port_id': 27076335, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275941, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'autre_refus': {'main_port_id': 27076323, 'sub_port_id': 27076336, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275942, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}, 'cartonnette': {'main_port_id': 27076323, 'sub_port_id': 27076337, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275943, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27076326 , 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=27076323 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 (27076326) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076327 , 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=27076323 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 (27076327) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076328 , 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=27076323 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 (27076328) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076329 , 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=27076323 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 (27076329) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076330 , 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=27076323 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 (27076330) result : ((1385404636,), (1385404637,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076331 , 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=27076323 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 (27076331) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076332 , 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=27076323 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 (27076332) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076333 , 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=27076323 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 (27076333) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076334 , 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=27076323 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 (27076334) result : ((1385404625,), (1385404626,), (1385404627,), (1385404628,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076335 , 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=27076323 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 (27076335) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076336 , 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=27076323 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 (27076336) result : ((1385404629,), (1385404630,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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 27076337 , 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=27076323 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 (27076337) result : ((1385404619,), (1385404631,), (1385404632,), (1385404634,), (1385404635,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076323) result : ((1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) 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`=27076323 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','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`=27076323 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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__22092025_05_15_05_10146_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)[[27076323, 27076338, 4417, 0.5, 2107755527, 979], [27076323, 27076339, 4417, 0.5, 493012381, 979], [27076323, 27076340, 4417, 0.5, 492668766, 979], [27076323, 27076341, 4417, 0.5, 492628673, 979], [27076323, 27076342, 4417, 0.5, 2107753024, 979], [27076323, 27076343, 4417, 0.5, 492777938, 979], [27076323, 27076344, 4417, 0.5, 492725882, 979], [27076323, 27076345, 4417, 0.5, 493202403, 979], [27076323, 27076346, 4417, 0.5, 2107752385, 979], [27076323, 27076347, 4417, 0.5, 2107753020, 979], [27076323, 27076348, 4417, 0.5, 2107752406, 979], [27076323, 27076349, 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`=27076323 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','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`=27076323 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','papier','metal','Carton_brun','flou','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27076323, 'sub_port_id': 27076338, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275944, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'environnement': {'main_port_id': 27076323, 'sub_port_id': 27076339, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275945, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'papier': {'main_port_id': 27076323, 'sub_port_id': 27076340, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275946, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'metal': {'main_port_id': 27076323, 'sub_port_id': 27076341, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275947, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'Carton_brun': {'main_port_id': 27076323, 'sub_port_id': 27076342, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275948, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'flou': {'main_port_id': 27076323, 'sub_port_id': 27076343, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275949, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'plastique': {'main_port_id': 27076323, 'sub_port_id': 27076344, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275950, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'kraft': {'main_port_id': 27076323, 'sub_port_id': 27076345, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275951, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 27076323, 'sub_port_id': 27076346, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275952, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'Carton_gris': {'main_port_id': 27076323, 'sub_port_id': 27076347, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275953, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'autre_refus': {'main_port_id': 27076323, 'sub_port_id': 27076348, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275954, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}, 'cartonnette': {'main_port_id': 27076323, 'sub_port_id': 27076349, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18275955, 'last_updated_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 22, 5, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 22, 5, 20, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076338,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076326 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076339,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076327 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076340,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076328 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076341,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076329 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076342,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076330 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076343,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076331 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076344,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076332 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076345,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076333 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076346,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076334 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076347,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076335 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076348,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076336 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27076349,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27076337 lien utilise dans velours : https://marlene.fotonower.com/velours/27076338,27076339,27076340,27076341,27076342,27076343,27076344,27076345,27076346,27076347,27076348,27076349?tags=mal_croppe,environnement,papier,metal,Carton_brun,flou,plastique,kraft,Teint_Dans_La_Masse,Carton_gris,autre_refus,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27076323]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] map_info['map_portfolio_photo'] : {27076323: [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557]} final : False mtd_id 4302 list_pids : [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] Looping around the photos to save general results len do output : 1 /27076323. 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, '3755026') ('4302', '27076323', '1385404633', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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, '27076323', "{'mal_croppe': 27076326, 'environnement': 27076327, 'papier': 27076328, 'metal': 27076329, 'Carton_brun': 27076330, 'flou': 27076331, 'plastique': 27076332, 'kraft': 27076333, 'Teint_Dans_La_Masse': 27076334, 'Carton_gris': 27076335, 'autre_refus': 27076336, 'cartonnette': 27076337}", None, None, None, None, '3755026'), ('4302', '27076323', '1385404633', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026')] time used for this insertion : 0.03235483169555664 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.325594663619995 time spend to save output : 0.03287482261657715 total time spend for step 1 : 2.3584694862365723 step2:final Mon Sep 22 05:20:59 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 (27076323) 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 27076323 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1385404563,1385404562,1385404561,1385404559,1385404557,1385404591,1385404590,1385404588,1385404589,1385404585,1385404586,1385404583,1385404582,1385404580,1385404579,1385404607,1385404605,1385404603,1385404601,1385404618,1385404617,1385404616,1385404615,1385404613,1385404611,1385404633,1385404624,1385404623,1385404621); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27076323]) Inside saveOutput : final : False verbose : True original output for save of step final : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} new output for save of step final : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] map_info['map_portfolio_photo'] : {27076323: [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557]} final : False mtd_id 4302 list_pids : [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] Looping around the photos to save general results len do output : 29 /1385404633.Didn't retrieve data . /1385404624.Didn't retrieve data . /1385404623.Didn't retrieve data . /1385404621.Didn't retrieve data . /1385404618.Didn't retrieve data . /1385404617.Didn't retrieve data . /1385404616.Didn't retrieve data . /1385404615.Didn't retrieve data . /1385404613.Didn't retrieve data . /1385404611.Didn't retrieve data . /1385404607.Didn't retrieve data . /1385404605.Didn't retrieve data . /1385404603.Didn't retrieve data . /1385404601.Didn't retrieve data . /1385404591.Didn't retrieve data . /1385404590.Didn't retrieve data . /1385404589.Didn't retrieve data . /1385404588.Didn't retrieve data . /1385404586.Didn't retrieve data . /1385404585.Didn't retrieve data . /1385404583.Didn't retrieve data . /1385404582.Didn't retrieve data . /1385404580.Didn't retrieve data . /1385404579.Didn't retrieve data . /1385404563.Didn't retrieve data . /1385404562.Didn't retrieve data . /1385404561.Didn't retrieve data . /1385404559.Didn't retrieve data . /1385404557.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, '3755026') ('4302', '27076323', '1385404633', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 87 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', '27076323', '1385404633', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404624', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404623', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404621', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404618', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404617', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404616', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404615', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404613', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404611', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404607', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404605', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404603', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404601', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404591', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404590', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404589', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404588', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404586', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404585', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404583', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404582', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404580', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404579', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404563', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404562', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404561', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404559', '0.04081536071501113', None, None, None, None, '3755026'), ('4302', '27076323', '1385404557', '0.04081536071501113', None, None, None, None, '3755026')] time used for this insertion : 0.01830458641052246 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.029949426651000977 time spend to save output : 0.019670486450195312 total time spend for step 2 : 0.04961991310119629 step3:velours_tree Mon Sep 22 05:20:59 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 : {27076323: [{'mal_croppe': 27076326, 'environnement': 27076327, 'papier': 27076328, 'metal': 27076329, 'Carton_brun': 27076330, 'flou': 27076331, 'plastique': 27076332, 'kraft': 27076333, 'Teint_Dans_La_Masse': 27076334, 'Carton_gris': 27076335, 'autre_refus': 27076336, 'cartonnette': 27076337}]} input_args_next_step : {27076323: ()} output_args : {27076323: [{'mal_croppe': 27076326, 'environnement': 27076327, 'papier': 27076328, 'metal': 27076329, 'Carton_brun': 27076330, 'flou': 27076331, 'plastique': 27076332, 'kraft': 27076333, 'Teint_Dans_La_Masse': 27076334, 'Carton_gris': 27076335, 'autre_refus': 27076336, 'cartonnette': 27076337}]} args : 27076323 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 : ({'mal_croppe': 27076326, 'environnement': 27076327, 'papier': 27076328, 'metal': 27076329, 'Carton_brun': 27076330, 'flou': 27076331, 'plastique': 27076332, 'kraft': 27076333, 'Teint_Dans_La_Masse': 27076334, 'Carton_gris': 27076335, 'autre_refus': 27076336, 'cartonnette': 27076337},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27076323) 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([27076323]) 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.3006877899169922 time spend to save output : 5.53131103515625e-05 total time spend for step 3 : 0.30074310302734375 step4:send_mail_cod Mon Sep 22 05:20:59 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 : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} input_args_next_step : {1385404633: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404633 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404624 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404623 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404621 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404618 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404617 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404616 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404615 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404613 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404611 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404607 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404605 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404603 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404601 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404591 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404590 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404589 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404588 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404586 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404585 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404583 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404582 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404580 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404579 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404563 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404562 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404561 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404559 depend.output_id : 0 input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ()} output_args : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',)} args : 1385404557 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 : {27076323: [{'mal_croppe': 27076326, 'environnement': 27076327, 'papier': 27076328, 'metal': 27076329, 'Carton_brun': 27076330, 'flou': 27076331, 'plastique': 27076332, 'kraft': 27076333, 'Teint_Dans_La_Masse': 27076334, 'Carton_gris': 27076335, 'autre_refus': 27076336, 'cartonnette': 27076337}]} input_args_next_step : {1385404633: ('0.04081536071501113',), 1385404624: ('0.04081536071501113',), 1385404623: ('0.04081536071501113',), 1385404621: ('0.04081536071501113',), 1385404618: ('0.04081536071501113',), 1385404617: ('0.04081536071501113',), 1385404616: ('0.04081536071501113',), 1385404615: ('0.04081536071501113',), 1385404613: ('0.04081536071501113',), 1385404611: ('0.04081536071501113',), 1385404607: ('0.04081536071501113',), 1385404605: ('0.04081536071501113',), 1385404603: ('0.04081536071501113',), 1385404601: ('0.04081536071501113',), 1385404591: ('0.04081536071501113',), 1385404590: ('0.04081536071501113',), 1385404589: ('0.04081536071501113',), 1385404588: ('0.04081536071501113',), 1385404586: ('0.04081536071501113',), 1385404585: ('0.04081536071501113',), 1385404583: ('0.04081536071501113',), 1385404582: ('0.04081536071501113',), 1385404580: ('0.04081536071501113',), 1385404579: ('0.04081536071501113',), 1385404563: ('0.04081536071501113',), 1385404562: ('0.04081536071501113',), 1385404561: ('0.04081536071501113',), 1385404559: ('0.04081536071501113',), 1385404557: ('0.04081536071501113',), 27076323: ()} output_args : {27076323: [{'mal_croppe': 27076326, 'environnement': 27076327, 'papier': 27076328, 'metal': 27076329, 'Carton_brun': 27076330, 'flou': 27076331, 'plastique': 27076332, 'kraft': 27076333, 'Teint_Dans_La_Masse': 27076334, 'Carton_gris': 27076335, 'autre_refus': 27076336, 'cartonnette': 27076337}]} args : 27076323 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 :30, first value : ('0.04081536071501113',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27076323) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1385404633,1385404624,1385404623,1385404621,1385404618,1385404617,1385404616,1385404615,1385404613,1385404611,1385404607,1385404605,1385404603,1385404601,1385404591,1385404590,1385404589,1385404588,1385404586,1385404585,1385404583,1385404582,1385404580,1385404579,1385404563,1385404562,1385404561,1385404559,1385404557) Found this number of photos: 29 ##### Call download_photos : nb_thread : 5 begin to download photo : 1385404557 begin to download photo : 1385404580 begin to download photo : 1385404589 begin to download photo : 1385404607 begin to download photo : 1385404618 download finish for photo 1385404607 begin to download photo : 1385404611 download finish for photo 1385404557 begin to download photo : 1385404559 download finish for photo 1385404580 begin to download photo : 1385404582 download finish for photo 1385404618 begin to download photo : 1385404621 download finish for photo 1385404589 begin to download photo : 1385404590 download finish for photo 1385404611 begin to download photo : 1385404613 download finish for photo 1385404559 begin to download photo : 1385404561 download finish for photo 1385404590 begin to download photo : 1385404591 download finish for photo 1385404621 begin to download photo : 1385404623 download finish for photo 1385404582 begin to download photo : 1385404583 download finish for photo 1385404613 begin to download photo : 1385404615 download finish for photo 1385404561 begin to download photo : 1385404562 download finish for photo 1385404623 begin to download photo : 1385404624 download finish for photo 1385404591 begin to download photo : 1385404601 download finish for photo 1385404583 begin to download photo : 1385404585 download finish for photo 1385404615 begin to download photo : 1385404616 download finish for photo 1385404601 begin to download photo : 1385404603 download finish for photo 1385404624 begin to download photo : 1385404633 download finish for photo 1385404562 begin to download photo : 1385404563 download finish for photo 1385404585 begin to download photo : 1385404586 download finish for photo 1385404616 begin to download photo : 1385404617 download finish for photo 1385404603 begin to download photo : 1385404605 download finish for photo 1385404563 begin to download photo : 1385404579 download finish for photo 1385404633 download finish for photo 1385404586 begin to download photo : 1385404588 download finish for photo 1385404617 download finish for photo 1385404605 download finish for photo 1385404579 download finish for photo 1385404588 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette270763261758511260/ imagette270763291758511260/ imagette270763311758511260/ imagette270763321758511260/ imagette270763331758511260/ length of list_filenames : 29 ; length of list_pids : 29 ; length of list_args : 29 results_Auto_P27076323_22-09-2025_05_21_00.pdf 27076326 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076326 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270763261758511260 27076329 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076329 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270763291758511260 27076331 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076331 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270763311758511260 27076332 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076332 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270763321758511260 27076333 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076333 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270763331758511260 27076336 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076336 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385404629: '1758511166_753079_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360_rle_crop_3969638591_0.png', 1385404630: '1758511166_753079_1385404585_d75383666343c625844bba9858da9128_rle_crop_3969638607_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/b71db3ce80a9888791b44395ea63228e_91842215.png change filename to text .imagette270763361758511260/ imagette270763361758511260/1758511166_753079_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360_rle_crop_3969638591_0.png.png imagette270763361758511260/1758511166_753079_1385404585_d75383666343c625844bba9858da9128_rle_crop_3969638607_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/b71db3ce80a9888791b44395ea63228e_50985042.png imagette270763361758511260 27076337 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076337 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385404619: '1758511145_752646_1385404601_8e904e4dfa1cd8cfc82a6bfc8dcc3a21_rle_crop_3969638325_0.png', 1385404631: '1758511166_753079_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360_rle_crop_3969638590_0.png', 1385404632: '1758511166_753079_1385404585_d75383666343c625844bba9858da9128_rle_crop_3969638606_0.png', 1385404634: '1758511166_753079_1385404583_3161ac618647ca5579c41d2007392530_rle_crop_3969638620_0.png', 1385404635: '1758511166_753079_1385404582_93430b682bd7cc8c831e7caadd8f1a56_rle_crop_3969638632_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/7ee0c96d5d298301328cd030f85e1abe_18706726.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/87d2b13c3293fac1ca6385eddbbc765d_16807105.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/87d2b13c3293fac1ca6385eddbbc765d_92417537.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/e361a72bdec70acd76bbc83b4067e1e9_48551545.png change filename to text .imagette270763371758511260/ imagette270763371758511260/1758511166_753079_1385404585_d75383666343c625844bba9858da9128_rle_crop_3969638606_0.png.png imagette270763371758511260/1758511145_752646_1385404601_8e904e4dfa1cd8cfc82a6bfc8dcc3a21_rle_crop_3969638325_0.png.png imagette270763371758511260/1758511166_753079_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360_rle_crop_3969638590_0.png.png imagette270763371758511260/1758511166_753079_1385404583_3161ac618647ca5579c41d2007392530_rle_crop_3969638620_0.png.png imagette270763371758511260/1758511166_753079_1385404582_93430b682bd7cc8c831e7caadd8f1a56_rle_crop_3969638632_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/e361a72bdec70acd76bbc83b4067e1e9_26690762.png imagette270763371758511260 27076330 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076330 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385404636: '1758511166_753079_1385404583_3161ac618647ca5579c41d2007392530_rle_crop_3969638621_0.png', 1385404637: '1758511166_753079_1385404582_93430b682bd7cc8c831e7caadd8f1a56_rle_crop_3969638633_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/c18a52780c87aecd03ef8fd5b44ff188_28486818.png change filename to text .imagette270763301758511261/ imagette270763301758511261/1758511166_753079_1385404582_93430b682bd7cc8c831e7caadd8f1a56_rle_crop_3969638633_0.png.png imagette270763301758511261/1758511166_753079_1385404583_3161ac618647ca5579c41d2007392530_rle_crop_3969638621_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/c18a52780c87aecd03ef8fd5b44ff188_73967960.png imagette270763301758511261 27076334 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076334 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385404625: '1758511166_753079_1385404589_47986e27b5ff045b6d91c0aafa1536e6_rle_crop_3969638569_0.png', 1385404626: '1758511166_753079_1385404588_f9b361f22d0ca9c7006ba62489b66fbb_rle_crop_3969638583_0.png', 1385404627: '1758511166_753079_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360_rle_crop_3969638595_0.png', 1385404628: '1758511166_753079_1385404585_d75383666343c625844bba9858da9128_rle_crop_3969638611_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/308c93ebe9ae3cd838fe4d5fc660c6d3_50135876.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/308c93ebe9ae3cd838fe4d5fc660c6d3_28531447.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/f3ed31874e18ab35f9c33a5bf9719b87_22269225.png change filename to text .imagette270763341758511261/ imagette270763341758511261/1758511166_753079_1385404589_47986e27b5ff045b6d91c0aafa1536e6_rle_crop_3969638569_0.png.png imagette270763341758511261/1758511166_753079_1385404585_d75383666343c625844bba9858da9128_rle_crop_3969638611_0.png.png imagette270763341758511261/1758511166_753079_1385404588_f9b361f22d0ca9c7006ba62489b66fbb_rle_crop_3969638583_0.png.png imagette270763341758511261/1758511166_753079_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360_rle_crop_3969638595_0.png.png imagette270763351758511261/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/f3ed31874e18ab35f9c33a5bf9719b87_52102701.png imagette270763341758511261 27076335 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076335 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270763351758511261 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27076323 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27076338,27076339,27076340,27076341,27076342,27076343,27076344,27076345,27076346,27076347,27076348,27076349?tags=mal_croppe,environnement,papier,metal,Carton_brun,flou,plastique,kraft,Teint_Dans_La_Masse,Carton_gris,autre_refus,cartonnette your option no_mail is active, we will not send the real mail to your client args[1385404633] : ('0.04081536071501113',) no score found for photo 1385404633 We are sending mail with results at report@fotonower.com args[1385404624] : ('0.04081536071501113',) no score found for photo 1385404624 We are sending mail with results at report@fotonower.com args[1385404623] : ('0.04081536071501113',) no score found for photo 1385404623 We are sending mail with results at report@fotonower.com args[1385404621] : ('0.04081536071501113',) no score found for photo 1385404621 We are sending mail with results at report@fotonower.com args[1385404618] : ('0.04081536071501113',) no score found for photo 1385404618 We are sending mail with results at report@fotonower.com args[1385404617] : ('0.04081536071501113',) no score found for photo 1385404617 We are sending mail with results at report@fotonower.com args[1385404616] : ('0.04081536071501113',) no score found for photo 1385404616 We are sending mail with results at report@fotonower.com args[1385404615] : ('0.04081536071501113',) no score found for photo 1385404615 We are sending mail with results at report@fotonower.com args[1385404613] : ('0.04081536071501113',) no score found for photo 1385404613 We are sending mail with results at report@fotonower.com args[1385404611] : ('0.04081536071501113',) no score found for photo 1385404611 We are sending mail with results at report@fotonower.com args[1385404607] : ('0.04081536071501113',) no score found for photo 1385404607 We are sending mail with results at report@fotonower.com args[1385404605] : ('0.04081536071501113',) no score found for photo 1385404605 We are sending mail with results at report@fotonower.com args[1385404603] : ('0.04081536071501113',) no score found for photo 1385404603 We are sending mail with results at report@fotonower.com args[1385404601] : ('0.04081536071501113',) no score found for photo 1385404601 We are sending mail with results at report@fotonower.com args[1385404591] : ('0.04081536071501113',) no score found for photo 1385404591 We are sending mail with results at report@fotonower.com args[1385404590] : ('0.04081536071501113',) no score found for photo 1385404590 We are sending mail with results at report@fotonower.com args[1385404589] : ('0.04081536071501113',) no score found for photo 1385404589 We are sending mail with results at report@fotonower.com args[1385404588] : ('0.04081536071501113',) no score found for photo 1385404588 We are sending mail with results at report@fotonower.com args[1385404586] : ('0.04081536071501113',) no score found for photo 1385404586 We are sending mail with results at report@fotonower.com args[1385404585] : ('0.04081536071501113',) no score found for photo 1385404585 We are sending mail with results at report@fotonower.com args[1385404583] : ('0.04081536071501113',) no score found for photo 1385404583 We are sending mail with results at report@fotonower.com args[1385404582] : ('0.04081536071501113',) no score found for photo 1385404582 We are sending mail with results at report@fotonower.com args[1385404580] : ('0.04081536071501113',) no score found for photo 1385404580 We are sending mail with results at report@fotonower.com args[1385404579] : ('0.04081536071501113',) no score found for photo 1385404579 We are sending mail with results at report@fotonower.com args[1385404563] : ('0.04081536071501113',) no score found for photo 1385404563 We are sending mail with results at report@fotonower.com args[1385404562] : ('0.04081536071501113',) no score found for photo 1385404562 We are sending mail with results at report@fotonower.com args[1385404561] : ('0.04081536071501113',) no score found for photo 1385404561 We are sending mail with results at report@fotonower.com args[1385404559] : ('0.04081536071501113',) no score found for photo 1385404559 We are sending mail with results at report@fotonower.com args[1385404557] : ('0.04081536071501113',) no score found for photo 1385404557 We are sending mail with results at report@fotonower.com refus_total : 0.04081536071501113 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076323 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_P27076323_22-09-2025_05_21_00.pdf results_Auto_P27076323_22-09-2025_05_21_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27076323_22-09-2025_05_21_00.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','27076323','results_Auto_P27076323_22-09-2025_05_21_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27076323_22-09-2025_05_21_00.pdf','pdf','','0.24','0.04081536071501113') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27076323]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] map_info['map_portfolio_photo'] : {27076323: [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557]} final : False mtd_id 4302 list_pids : [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] 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, '3755026') ('4302', '27076323', '1385404633', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 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', '27076323', '1385404633', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026')] time used for this insertion : 0.2238764762878418 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6414318084716797 time spend to save output : 0.22432422637939453 total time spend for step 4 : 3.865756034851074 step5:split_time_score Mon Sep 22 05:21:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['27076323'] 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 : [('27076323',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27076323) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1385404618: {'path': 'temp/1758511259_3888573_1385404618_94f80cb17d7c432fce72294e6f3ffdf3.jpg', 'extension': 'jpg'}, 1385404621: {'path': 'temp/1758511259_3888573_1385404621_a6abef61676d89cd8a4e026089e2d7af.jpg', 'extension': 'jpg'}, 1385404623: {'path': 'temp/1758511259_3888573_1385404623_d5189de0591c1f00f1be97159d02fb2b.jpg', 'extension': 'jpg'}, 1385404624: {'path': 'temp/1758511259_3888573_1385404624_332dc8528512c0d36327c19f6a3b5e39.jpg', 'extension': 'jpg'}, 1385404633: {'path': 'temp/1758511259_3888573_1385404633_b5ac5d9d94cba7ae35810d59a0136315.jpg', 'extension': 'jpg'}, 1385404607: {'path': 'temp/1758511259_3888573_1385404607_9a8e2df6891467668922d731b66c997c.jpg', 'extension': 'jpg'}, 1385404611: {'path': 'temp/1758511259_3888573_1385404611_c161fd7e874cd4f69c4c34f27306c931.jpg', 'extension': 'jpg'}, 1385404613: {'path': 'temp/1758511259_3888573_1385404613_4710cc1b412931c12138401a844537a1.jpg', 'extension': 'jpg'}, 1385404615: {'path': 'temp/1758511259_3888573_1385404615_191524d3d2cecc24bffd8c554a6ff5d9.jpg', 'extension': 'jpg'}, 1385404616: {'path': 'temp/1758511259_3888573_1385404616_79e5e00d351e922e2156a2d578f5b7e8.jpg', 'extension': 'jpg'}, 1385404617: {'path': 'temp/1758511259_3888573_1385404617_33a093973d3826e9041937de382d85e0.jpg', 'extension': 'jpg'}, 1385404589: {'path': 'temp/1758511259_3888573_1385404589_47986e27b5ff045b6d91c0aafa1536e6.jpg', 'extension': 'jpg'}, 1385404590: {'path': 'temp/1758511259_3888573_1385404590_d616d1fc313c8e909802ca9734438a31.jpg', 'extension': 'jpg'}, 1385404591: {'path': 'temp/1758511259_3888573_1385404591_82a3959e9f5e7de31b9a9fdcd1c2b50a.jpg', 'extension': 'jpg'}, 1385404601: {'path': 'temp/1758511259_3888573_1385404601_8e904e4dfa1cd8cfc82a6bfc8dcc3a21.jpg', 'extension': 'jpg'}, 1385404603: {'path': 'temp/1758511259_3888573_1385404603_34307be70a8a264be12ec08238b68287.jpg', 'extension': 'jpg'}, 1385404605: {'path': 'temp/1758511259_3888573_1385404605_8d0d6538cca0173305ac46287dfefd6b.jpg', 'extension': 'jpg'}, 1385404557: {'path': 'temp/1758511259_3888573_1385404557_59414331539caf84244f38c09cc1a90a.jpg', 'extension': 'jpg'}, 1385404559: {'path': 'temp/1758511259_3888573_1385404559_c1d1a4a61f07139a33a23382b63e9e44.jpg', 'extension': 'jpg'}, 1385404561: {'path': 'temp/1758511259_3888573_1385404561_a4fad91836f04a10f77a8602b2ee4207.jpg', 'extension': 'jpg'}, 1385404562: {'path': 'temp/1758511259_3888573_1385404562_fd83127162123412a928601b201a0442.jpg', 'extension': 'jpg'}, 1385404563: {'path': 'temp/1758511259_3888573_1385404563_3229a054b1096cb89db6a8b20022b5a1.jpg', 'extension': 'jpg'}, 1385404579: {'path': 'temp/1758511259_3888573_1385404579_1e640c2a248ac7e08942c5a06e08f6c1.jpg', 'extension': 'jpg'}, 1385404580: {'path': 'temp/1758511259_3888573_1385404580_018f6b1092b9de1ab0b29bdcfd307dc5.jpg', 'extension': 'jpg'}, 1385404582: {'path': 'temp/1758511259_3888573_1385404582_93430b682bd7cc8c831e7caadd8f1a56.jpg', 'extension': 'jpg'}, 1385404583: {'path': 'temp/1758511259_3888573_1385404583_3161ac618647ca5579c41d2007392530.jpg', 'extension': 'jpg'}, 1385404585: {'path': 'temp/1758511259_3888573_1385404585_d75383666343c625844bba9858da9128.jpg', 'extension': 'jpg'}, 1385404586: {'path': 'temp/1758511259_3888573_1385404586_49c4adaaa8925fdbe18a00ab2e4a4360.jpg', 'extension': 'jpg'}, 1385404588: {'path': 'temp/1758511259_3888573_1385404588_f9b361f22d0ca9c7006ba62489b66fbb.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 = 27076323; (('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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27076323 group by h (('05', 29),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27076323 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 (27076323) 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 (27076323) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22092025 27076323 Nombre de photos uploadées : 29 / 23040 (0%) 22092025 27076323 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 22092025 27076323 Nombre de photos taguées (volume) : 0 / 29 (0%) [{'photo_id': 1385404563, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/3229a054b1096cb89db6a8b20022b5a1.jpg', 'username': None, 'uploaded_at': 1758510977, 'text': 'image_22092025_05_15_05_10145.jpg'}, {'photo_id': 1385404562, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/fd83127162123412a928601b201a0442.jpg', 'username': None, 'uploaded_at': 1758510977, 'text': 'image_22092025_05_15_15_10134.jpg'}, {'photo_id': 1385404561, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/a4fad91836f04a10f77a8602b2ee4207.jpg', 'username': None, 'uploaded_at': 1758510977, 'text': 'image_22092025_05_15_25_10134.jpg'}, {'photo_id': 1385404559, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/22/c1d1a4a61f07139a33a23382b63e9e44.jpg', 'username': None, 'uploaded_at': 1758510977, 'text': 'image_22092025_05_15_34_9125.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013134479522705078 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 27076323, '2025-09-22' ) 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-09-22' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2328885,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21367168426513672 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= 2328885 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2328885, 'dashboard_run_id': 2336381, 'mtr_portfolio_id': 27076020, 'dashboard_result_id': 15480669, '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_P27076020_22-09-2025_05_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27076021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27076022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27076023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27076024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27076025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27076026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27076027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27076028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27076029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27076030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27076031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27076032, 'pht': 3726}}"}, {'dashboat_entry_day': 2328885, 'dashboard_run_id': 2336381, 'mtr_portfolio_id': 27076323, 'dashboard_result_id': 15480670, '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 = 27076020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3754988, 'mtr_portfolio_id': 27076020, 'created_at': datetime.datetime(2025, 9, 22, 5, 18, 59), 'result': '0.06996422346573708', 'result_long': None, 'result_double': None}] Qualite : 0.06996422346573708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27076020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27076020_22-09-2025_05_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27076020 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_P27076020_22-09-2025_05_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27076021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27076022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27076023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27076024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27076025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27076026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27076027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27076028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27076029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27076030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27076031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27076032, 'pht': 3726}}" where mtr_portfolio_id = 27076020 and dashboard_run_id = 2336381 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27076020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15480669, 0.06996422346573708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27076020_22-09-2025_05_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27076021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27076022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27076023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27076024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27076025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27076026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27076027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27076028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27076029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27076030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27076031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27076032, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27076323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3755026, 'mtr_portfolio_id': 27076323, 'created_at': datetime.datetime(2025, 9, 22, 5, 20, 59), 'result': '0.04081536071501113', 'result_long': None, 'result_double': None}] Qualite : 0.04081536071501113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27076323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27076323_22-09-2025_05_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27076323 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_P27076323_22-09-2025_05_21_00.pdf'}" where mtr_portfolio_id = 27076323 and dashboard_run_id = 2336381 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27076323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15480670, 0.04081536071501113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27076323_22-09-2025_05_21_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27076326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27076327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27076328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27076329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27076330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27076331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27076332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27076333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27076334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27076335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27076336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27076337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27076020,27076323) result : ((1385403220,), (1385403668,), (1385403694,), (1385404113,), (1385404457,), (1385404460,), (1385404464,), (1385404466,), (1385404469,), (1385404471,), (1385404473,), (1385404475,), (1385404480,), (1385404495,), (1385404502,), (1385404504,), (1385404506,), (1385404508,), (1385404512,), (1385404514,), (1385404516,), (1385404523,), (1385404528,), (1385404532,), (1385404535,), (1385404538,), (1385404539,), (1385404564,), (1385404565,), (1385404566,), (1385404567,), (1385404569,), (1385404571,), (1385404573,), (1385404557,), (1385404559,), (1385404561,), (1385404562,), (1385404563,), (1385404579,), (1385404580,), (1385404582,), (1385404583,), (1385404585,), (1385404586,), (1385404588,), (1385404589,), (1385404590,), (1385404591,), (1385404601,), (1385404603,), (1385404605,), (1385404607,), (1385404611,), (1385404613,), (1385404615,), (1385404616,), (1385404617,), (1385404618,), (1385404621,), (1385404623,), (1385404624,), (1385404633,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22092025': {'nb_upload': 29, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27076323]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] map_info['map_portfolio_photo'] : {27076323: [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557]} final : True mtd_id 4302 list_pids : [1385404633, 1385404624, 1385404623, 1385404621, 1385404618, 1385404617, 1385404616, 1385404615, 1385404613, 1385404611, 1385404607, 1385404605, 1385404603, 1385404601, 1385404591, 1385404590, 1385404589, 1385404588, 1385404586, 1385404585, 1385404583, 1385404582, 1385404580, 1385404579, 1385404563, 1385404562, 1385404561, 1385404559, 1385404557] Looping around the photos to save general results len do output : 1 /27076323Didn'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, '3755026') ('4302', '27076323', '1385404633', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026') ('4302', None, None, None, None, None, None, None, '3755026') ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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, '27076323', 'None', None, None, None, None, '3755026'), ('4302', '27076323', '1385404633', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404624', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404623', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404621', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404618', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404617', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404616', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404615', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404613', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404611', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404607', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404605', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404603', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404601', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404591', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404590', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404589', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404588', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404586', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404585', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404583', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404582', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404580', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404579', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404563', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404562', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404561', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404559', None, None, None, None, None, '3755026'), ('4302', '27076323', '1385404557', None, None, None, None, None, '3755026')] time used for this insertion : 0.4808921813964844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.431304931640625 time spend to save output : 0.48131823539733887 total time spend for step 5 : 0.9126231670379639 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 (3755026) 2.54user 2.69system 0:10.47elapsed 50%CPU (0avgtext+0avgdata 169852maxresident)k 928inputs+17272outputs (7major+78537minor)pagefaults 0swaps