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 : 3768202 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 (2766185) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2766185) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470749 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2766185'] with mtr_portfolio_ids : ['22470749'] and first list_photo_ids : [] new path : /proc/3768202/ Name: python3 Umask: 0002 State: R (running) Tgid: 3768202 Ngid: 0 Pid: 3768202 PPid: 3768201 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3768202 NSpid: 3768202 NSpgid: 3767281 NSsid: 3767281 VmPeak: 1107232 kB VmSize: 1107232 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97868 kB VmRSS: 97868 kB RssAnon: 60188 kB RssFile: 37680 kB RssShmem: 0 kB VmData: 865980 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 120 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3768202', 'Ngid': '0', 'Pid': '3768202', 'PPid': '3768201', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3768202', 'NSpid': '3768202', 'NSpgid': '3767281', 'NSsid': '3767281', 'VmPeak': '1107232 kB', 'VmSize': '1107232 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97868 kB', 'VmRSS': '97868 kB', 'RssAnon': '60188 kB', 'RssFile': '37680 kB', 'RssShmem': '0 kB', 'VmData': '865980 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '120'} ('datou_batch_current', '3768202', '1107232', '0', '1107232', '865980', '97868', b'', 'marlene', '2766185') 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 (22470749) 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 (2766185 ) ) 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 (22470749) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1354026794, 'portfolio_id': 22470749}, {'photo_id': 1354026790, 'portfolio_id': 22470749}, {'photo_id': 1354026787, 'portfolio_id': 22470749}, {'photo_id': 1354026785, 'portfolio_id': 22470749}, {'photo_id': 1354026674, 'portfolio_id': 22470749}, {'photo_id': 1354026671, 'portfolio_id': 22470749}, {'photo_id': 1354026667, 'portfolio_id': 22470749}, {'photo_id': 1354026663, 'portfolio_id': 22470749}, {'photo_id': 1354026657, 'portfolio_id': 22470749}, {'photo_id': 1354026605, 'portfolio_id': 22470749}, {'photo_id': 1354026595, 'portfolio_id': 22470749}, {'photo_id': 1354026591, 'portfolio_id': 22470749}, {'photo_id': 1354026587, 'portfolio_id': 22470749}, {'photo_id': 1354026541, 'portfolio_id': 22470749}, {'photo_id': 1354026511, 'portfolio_id': 22470749}, {'photo_id': 1354026486, 'portfolio_id': 22470749}, {'photo_id': 1354026438, 'portfolio_id': 22470749}, {'photo_id': 1354026181, 'portfolio_id': 22470749}, {'photo_id': 1354026176, 'portfolio_id': 22470749}, {'photo_id': 1354026173, 'portfolio_id': 22470749}, {'photo_id': 1354026168, 'portfolio_id': 22470749}, {'photo_id': 1354026164, 'portfolio_id': 22470749}] map_portfolio_id_photo_id: {22470749: [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164]} ##### 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.016266584396362305 #### 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 Apr 28 21:51:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22470749) 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 : 22470749 get user id for portfolio 22470749 get sub ptf for main ptf 22470749, type 3726 and hashtags ['Carton_gris', 'Teint_Dans_La_Masse', 'environnement', 'plastique', 'mal_croppe', 'papier', 'kraft', 'Carton_brun', 'cartonnette', 'flou', 'autre_refus', 'metal'] 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`=22470749 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) 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`=22470749 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_3726_metal_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)[[22470749, 22470776, 3726, 0.5, 2107753020, 979], [22470749, 22470777, 3726, 0.5, 2107752385, 979], [22470749, 22470778, 3726, 0.5, 493012381, 979], [22470749, 22470779, 3726, 0.5, 492725882, 979], [22470749, 22470780, 3726, 0.5, 2107755527, 979], [22470749, 22470781, 3726, 0.5, 492668766, 979], [22470749, 22470782, 3726, 0.5, 493202403, 979], [22470749, 22470783, 3726, 0.5, 2107753024, 979], [22470749, 22470784, 3726, 0.5, 702398920, 979], [22470749, 22470785, 3726, 0.5, 492777938, 979], [22470749, 22470786, 3726, 0.5, 2107752406, 979], [22470749, 22470787, 3726, 0.5, 492628673, 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`=22470749 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) 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`=22470749 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 22470749, 'sub_port_id': 22470776, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913220, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 22470749, 'sub_port_id': 22470777, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913221, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'environnement': {'main_port_id': 22470749, 'sub_port_id': 22470778, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913222, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'plastique': {'main_port_id': 22470749, 'sub_port_id': 22470779, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913223, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'mal_croppe': {'main_port_id': 22470749, 'sub_port_id': 22470780, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913224, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'papier': {'main_port_id': 22470749, 'sub_port_id': 22470781, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913225, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'kraft': {'main_port_id': 22470749, 'sub_port_id': 22470782, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913226, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'Carton_brun': {'main_port_id': 22470749, 'sub_port_id': 22470783, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913227, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'cartonnette': {'main_port_id': 22470749, 'sub_port_id': 22470784, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913228, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'flou': {'main_port_id': 22470749, 'sub_port_id': 22470785, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913229, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'autre_refus': {'main_port_id': 22470749, 'sub_port_id': 22470786, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913230, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}, 'metal': {'main_port_id': 22470749, 'sub_port_id': 22470787, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913231, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22470776 , 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=22470749 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 (22470776) result : ((1354026718,), (1354026719,), (1354026747,), (1354026863,), (1354026864,), (1354026865,), (1354026866,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470777 , 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=22470749 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 (22470777) result : ((1354026856,), (1354026857,), (1354026858,), (1354026859,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470778 , 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=22470749 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 (22470778) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470779 , 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=22470749 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 (22470779) result : ((1354026874,), (1354026875,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470780 , 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=22470749 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 (22470780) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470781 , 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=22470749 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 (22470781) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470782 , 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=22470749 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 (22470782) result : ((1354026752,), (1354026753,), (1354026880,), (1354026881,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470783 , 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=22470749 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 (22470783) result : ((1354026722,), (1354026750,), (1354026751,), (1354026868,), (1354026869,), (1354026870,), (1354026871,), (1354026872,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470784 , 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=22470749 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 (22470784) result : ((1354026721,), (1354026867,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470785 , 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=22470749 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 (22470785) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470786 , 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=22470749 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 (22470786) result : ((1354026716,), (1354026861,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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 22470787 , 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=22470749 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 (22470787) result : ((1354026896,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22470749) result : ((1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) 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`=22470749 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) 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`=22470749 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__28042025_21_45_04_9141_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__28042025_21_45_04_9141_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__28042025_21_45_04_9141_4417_metal_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)[[22470749, 22470788, 4417, 0.5, 2107753020, 979], [22470749, 22470789, 4417, 0.5, 2107752385, 979], [22470749, 22470790, 4417, 0.5, 493012381, 979], [22470749, 22470791, 4417, 0.5, 492725882, 979], [22470749, 22470792, 4417, 0.5, 2107755527, 979], [22470749, 22470793, 4417, 0.5, 492668766, 979], [22470749, 22470794, 4417, 0.5, 493202403, 979], [22470749, 22470795, 4417, 0.5, 2107753024, 979], [22470749, 22470796, 4417, 0.5, 702398920, 979], [22470749, 22470797, 4417, 0.5, 492777938, 979], [22470749, 22470798, 4417, 0.5, 2107752406, 979], [22470749, 22470799, 4417, 0.5, 492628673, 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`=22470749 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) 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`=22470749 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','environnement','plastique','mal_croppe','papier','kraft','Carton_brun','cartonnette','flou','autre_refus','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 22470749, 'sub_port_id': 22470788, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913232, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 22470749, 'sub_port_id': 22470789, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913233, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'environnement': {'main_port_id': 22470749, 'sub_port_id': 22470790, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913234, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'plastique': {'main_port_id': 22470749, 'sub_port_id': 22470791, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913235, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'mal_croppe': {'main_port_id': 22470749, 'sub_port_id': 22470792, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913236, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'papier': {'main_port_id': 22470749, 'sub_port_id': 22470793, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913237, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'kraft': {'main_port_id': 22470749, 'sub_port_id': 22470794, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913238, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'Carton_brun': {'main_port_id': 22470749, 'sub_port_id': 22470795, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913239, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'cartonnette': {'main_port_id': 22470749, 'sub_port_id': 22470796, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913240, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'flou': {'main_port_id': 22470749, 'sub_port_id': 22470797, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913241, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'autre_refus': {'main_port_id': 22470749, 'sub_port_id': 22470798, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913242, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}, 'metal': {'main_port_id': 22470749, 'sub_port_id': 22470799, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14913243, 'last_updated_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 28, 21, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 28, 21, 51, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470788,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470776 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470789,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470777 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470790,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470778 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470791,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470779 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470792,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470780 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470793,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470781 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470794,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470782 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470795,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470783 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470796,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470784 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470797,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470785 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470798,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470786 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22470799,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22470787 lien utilise dans velours : https://www.fotonower.com/velours/22470788,22470789,22470790,22470791,22470792,22470793,22470794,22470795,22470796,22470797,22470798,22470799?tags=Carton_gris,Teint_Dans_La_Masse,environnement,plastique,mal_croppe,papier,kraft,Carton_brun,cartonnette,flou,autre_refus,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22470749]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] map_info['map_portfolio_photo'] : {22470749: [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164]} final : False mtd_id 4302 list_pids : [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] Looping around the photos to save general results len do output : 1 /22470749. 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, '2766185') ('4302', '22470749', '1354026794', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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, '22470749', "{'Carton_gris': 22470776, 'Teint_Dans_La_Masse': 22470777, 'environnement': 22470778, 'plastique': 22470779, 'mal_croppe': 22470780, 'papier': 22470781, 'kraft': 22470782, 'Carton_brun': 22470783, 'cartonnette': 22470784, 'flou': 22470785, 'autre_refus': 22470786, 'metal': 22470787}", None, None, None, None, '2766185'), ('4302', '22470749', '1354026794', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185')] time used for this insertion : 0.01567530632019043 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.020380973815918 time spend to save output : 0.016027212142944336 total time spend for step 1 : 2.0364081859588623 step2:final Mon Apr 28 21:51:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22470749) 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 22470749 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1354026181,1354026176,1354026173,1354026168,1354026164,1354026541,1354026511,1354026486,1354026438,1354026605,1354026595,1354026591,1354026587,1354026674,1354026671,1354026667,1354026663,1354026657,1354026794,1354026790,1354026787,1354026785); 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([22470749]) Inside saveOutput : final : False verbose : True original output for save of step final : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} new output for save of step final : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] map_info['map_portfolio_photo'] : {22470749: [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164]} final : False mtd_id 4302 list_pids : [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] Looping around the photos to save general results len do output : 22 /1354026794.Didn't retrieve data . /1354026790.Didn't retrieve data . /1354026787.Didn't retrieve data . /1354026785.Didn't retrieve data . /1354026674.Didn't retrieve data . /1354026671.Didn't retrieve data . /1354026667.Didn't retrieve data . /1354026663.Didn't retrieve data . /1354026657.Didn't retrieve data . /1354026605.Didn't retrieve data . /1354026595.Didn't retrieve data . /1354026591.Didn't retrieve data . /1354026587.Didn't retrieve data . /1354026541.Didn't retrieve data . /1354026511.Didn't retrieve data . /1354026486.Didn't retrieve data . /1354026438.Didn't retrieve data . /1354026181.Didn't retrieve data . /1354026176.Didn't retrieve data . /1354026173.Didn't retrieve data . /1354026168.Didn't retrieve data . /1354026164.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, '2766185') ('4302', '22470749', '1354026794', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 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', '22470749', '1354026794', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026790', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026787', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026785', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026674', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026671', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026667', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026663', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026657', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026605', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026595', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026591', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026587', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026541', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026511', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026486', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026438', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026181', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026176', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026173', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026168', '0.058265414456043295', None, None, None, None, '2766185'), ('4302', '22470749', '1354026164', '0.058265414456043295', None, None, None, None, '2766185')] time used for this insertion : 0.015118837356567383 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.02790045738220215 time spend to save output : 0.0160372257232666 total time spend for step 2 : 0.04393768310546875 step3:velours_tree Mon Apr 28 21:51:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22470749: [{'Carton_gris': 22470776, 'Teint_Dans_La_Masse': 22470777, 'environnement': 22470778, 'plastique': 22470779, 'mal_croppe': 22470780, 'papier': 22470781, 'kraft': 22470782, 'Carton_brun': 22470783, 'cartonnette': 22470784, 'flou': 22470785, 'autre_refus': 22470786, 'metal': 22470787}]} input_args_next_step : {22470749: ()} output_args : {22470749: [{'Carton_gris': 22470776, 'Teint_Dans_La_Masse': 22470777, 'environnement': 22470778, 'plastique': 22470779, 'mal_croppe': 22470780, 'papier': 22470781, 'kraft': 22470782, 'Carton_brun': 22470783, 'cartonnette': 22470784, 'flou': 22470785, 'autre_refus': 22470786, 'metal': 22470787}]} args : 22470749 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 22470776, 'Teint_Dans_La_Masse': 22470777, 'environnement': 22470778, 'plastique': 22470779, 'mal_croppe': 22470780, 'papier': 22470781, 'kraft': 22470782, 'Carton_brun': 22470783, 'cartonnette': 22470784, 'flou': 22470785, 'autre_refus': 22470786, 'metal': 22470787},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22470749) 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([22470749]) 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.34590935707092285 time spend to save output : 7.700920104980469e-05 total time spend for step 3 : 0.34598636627197266 step4:send_mail_cod Mon Apr 28 21:51:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} input_args_next_step : {1354026794: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026794 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026790 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026787 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026785 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026674 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026671 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026667 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026663 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026657 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026605 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026595 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026591 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026587 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026541 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026511 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026486 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026438 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026181 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026176 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026173 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026168 depend.output_id : 0 input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ()} output_args : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',)} args : 1354026164 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 : {22470749: [{'Carton_gris': 22470776, 'Teint_Dans_La_Masse': 22470777, 'environnement': 22470778, 'plastique': 22470779, 'mal_croppe': 22470780, 'papier': 22470781, 'kraft': 22470782, 'Carton_brun': 22470783, 'cartonnette': 22470784, 'flou': 22470785, 'autre_refus': 22470786, 'metal': 22470787}]} input_args_next_step : {1354026794: ('0.058265414456043295',), 1354026790: ('0.058265414456043295',), 1354026787: ('0.058265414456043295',), 1354026785: ('0.058265414456043295',), 1354026674: ('0.058265414456043295',), 1354026671: ('0.058265414456043295',), 1354026667: ('0.058265414456043295',), 1354026663: ('0.058265414456043295',), 1354026657: ('0.058265414456043295',), 1354026605: ('0.058265414456043295',), 1354026595: ('0.058265414456043295',), 1354026591: ('0.058265414456043295',), 1354026587: ('0.058265414456043295',), 1354026541: ('0.058265414456043295',), 1354026511: ('0.058265414456043295',), 1354026486: ('0.058265414456043295',), 1354026438: ('0.058265414456043295',), 1354026181: ('0.058265414456043295',), 1354026176: ('0.058265414456043295',), 1354026173: ('0.058265414456043295',), 1354026168: ('0.058265414456043295',), 1354026164: ('0.058265414456043295',), 22470749: ()} output_args : {22470749: [{'Carton_gris': 22470776, 'Teint_Dans_La_Masse': 22470777, 'environnement': 22470778, 'plastique': 22470779, 'mal_croppe': 22470780, 'papier': 22470781, 'kraft': 22470782, 'Carton_brun': 22470783, 'cartonnette': 22470784, 'flou': 22470785, 'autre_refus': 22470786, 'metal': 22470787}]} args : 22470749 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 :23, first value : ('0.058265414456043295',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22470749) 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 (1354026794,1354026790,1354026787,1354026785,1354026674,1354026671,1354026667,1354026663,1354026657,1354026605,1354026595,1354026591,1354026587,1354026541,1354026511,1354026486,1354026438,1354026181,1354026176,1354026173,1354026168,1354026164) Found this number of photos: 22 ##### Call download_photos : nb_thread : 5 begin to download photo : 1354026164 begin to download photo : 1354026438 begin to download photo : 1354026591 begin to download photo : 1354026667 begin to download photo : 1354026790 download finish for photo 1354026591 begin to download photo : 1354026595 download finish for photo 1354026790 begin to download photo : 1354026794 download finish for photo 1354026667 begin to download photo : 1354026671 download finish for photo 1354026438 begin to download photo : 1354026486 download finish for photo 1354026164 begin to download photo : 1354026168 download finish for photo 1354026595 begin to download photo : 1354026605 download finish for photo 1354026671 begin to download photo : 1354026674 download finish for photo 1354026794 download finish for photo 1354026486 begin to download photo : 1354026511 download finish for photo 1354026168 begin to download photo : 1354026173 download finish for photo 1354026605 begin to download photo : 1354026657 download finish for photo 1354026674 begin to download photo : 1354026785 download finish for photo 1354026511 begin to download photo : 1354026541 download finish for photo 1354026173 begin to download photo : 1354026176 download finish for photo 1354026657 begin to download photo : 1354026663 download finish for photo 1354026785 begin to download photo : 1354026787 download finish for photo 1354026176 begin to download photo : 1354026181 download finish for photo 1354026541 begin to download photo : 1354026587 download finish for photo 1354026787 download finish for photo 1354026663 download finish for photo 1354026181 download finish for photo 1354026587 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 22 ; length of list_pids : 22 ; length of list_args : 22 results_Auto_P22470749_28-04-2025_21_51_32.pdf 22470779 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=22470779 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026874: '1745869811_3636243_1354026541_df87f74f3b10cb079328f4db958e66b3_rle_crop_3771601399_0.png', 1354026875: '1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601711_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/be0b97b7aa330cfad3509cd16c649966_35410034.png change filename to text .imagette224707791745869892/ imagette224707791745869892/1745869811_3636243_1354026541_df87f74f3b10cb079328f4db958e66b3_rle_crop_3771601399_0.png.png imagette224707791745869892/1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601711_0.png.png imagette224707801745869892/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/0c1fc40beb20fe93140faad5882cca31_29244173.png imagette224707791745869892 22470780 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=22470780 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224707801745869892 22470782 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=22470782 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026752: '1745869754_3635529_1354026511_cab95c6d7b755d3ef422b2468790ff95_rle_crop_3771596784_0.png', 1354026753: '1745869754_3635529_1354026511_cab95c6d7b755d3ef422b2468790ff95_rle_crop_3771596788_0.png', 1354026880: '1745869811_3636243_1354026168_9b995626356767a676b8d727274b7e43_rle_crop_3771601864_0.png', 1354026881: '1745869811_3636243_1354026164_f8de6a54a199537f04805b83f0cf3863_rle_crop_3771601873_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/adad309a3df829fd99161bb7fcc5f486_70060162.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/35f07dd129584f0274cbcf544a68979b_6534130.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/d94a9e9b59e7ea4dfa5801df3c4789c0_78374000.png change filename to text .imagette224707821745869892/ imagette224707821745869892/1745869754_3635529_1354026511_cab95c6d7b755d3ef422b2468790ff95_rle_crop_3771596788_0.png.png imagette224707821745869892/1745869811_3636243_1354026164_f8de6a54a199537f04805b83f0cf3863_rle_crop_3771601873_0.png.png imagette224707821745869892/1745869811_3636243_1354026168_9b995626356767a676b8d727274b7e43_rle_crop_3771601864_0.png.png imagette224707821745869892/1745869754_3635529_1354026511_cab95c6d7b755d3ef422b2468790ff95_rle_crop_3771596784_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/dfa3de41dc37a0c8990d50e0120e9638_99262840.png imagette224707821745869892 22470784 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=22470784 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026721: '1745869741_3635372_1354026587_aa5fa1e75ea77478b923fb77e658c11d_rle_crop_3771596714_0.png', 1354026867: '1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601703_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/6e1f3cff83c84b23a13dda347049f9a1_38201892.png change filename to text .imagette224707841745869892/ imagette224707841745869892/1745869741_3635372_1354026587_aa5fa1e75ea77478b923fb77e658c11d_rle_crop_3771596714_0.png.png imagette224707841745869892/1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601703_0.png.png imagette224707851745869892/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/3147f93c052cf6a245037570d2e02c9a_89026935.png imagette224707841745869892 22470785 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=22470785 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224707851745869892 22470786 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=22470786 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026716: '1745869741_3635372_1354026587_aa5fa1e75ea77478b923fb77e658c11d_rle_crop_3771596713_0.png', 1354026861: '1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601709_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/70ae0c2b361bddbd23986c45be08b84c_93585283.png change filename to text .imagette224707861745869892/ imagette224707861745869892/1745869741_3635372_1354026587_aa5fa1e75ea77478b923fb77e658c11d_rle_crop_3771596713_0.png.png imagette224707861745869892/1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601709_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/db5d4b6e15ab104594d80fe1801a2b83_58434139.png imagette224707861745869892 22470787 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=22470787 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026896: '1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601605_0.png'} change filename to text .imagette224707871745869892/ imagette224707871745869892/1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601605_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/751cf38ac6ba8b8696671504540a07e7_81846242.png imagette224707871745869892 22470776 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=22470776 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026718: '1745869741_3635372_1354026595_88fbf6408724b6a4c78468705df4a35c_rle_crop_3771596620_0.png', 1354026719: '1745869741_3635372_1354026591_5ac4b478ce3c05600c55fc831b5d37ff_rle_crop_3771596706_0.png', 1354026747: '1745869754_3635529_1354026438_dca22dea262b28eb6dd640e7065de531_rle_crop_3771596804_0.png', 1354026863: '1745869811_3636243_1354026181_e574cdfff691879247c8046aa3443bd8_rle_crop_3771601507_0.png', 1354026864: '1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601606_0.png', 1354026865: '1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601607_0.png', 1354026866: '1745869811_3636243_1354026164_f8de6a54a199537f04805b83f0cf3863_rle_crop_3771601876_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/a9f178628c61b2ce6a6635f442e60a5d_81974560.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/16ce7854929904792b4f50884fec51d4_30378405.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/75660d77aa9cfa6f44c69b527d865c0d_20138479.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/9895637e103fe027e43a5a6da9c6c56b_76550930.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/fa60a889464338ceeeaae4ce804604a0_45384662.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/012acefbaacd3bc4a77229dd35178dff_82451430.png change filename to text .imagette224707761745869892/ imagette224707761745869892/1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601606_0.png.png imagette224707761745869892/1745869741_3635372_1354026595_88fbf6408724b6a4c78468705df4a35c_rle_crop_3771596620_0.png.png imagette224707761745869892/1745869811_3636243_1354026181_e574cdfff691879247c8046aa3443bd8_rle_crop_3771601507_0.png.png imagette224707761745869892/1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601607_0.png.png imagette224707761745869892/1745869741_3635372_1354026591_5ac4b478ce3c05600c55fc831b5d37ff_rle_crop_3771596706_0.png.png imagette224707761745869892/1745869811_3636243_1354026164_f8de6a54a199537f04805b83f0cf3863_rle_crop_3771601876_0.png.png imagette224707761745869892/1745869754_3635529_1354026438_dca22dea262b28eb6dd640e7065de531_rle_crop_3771596804_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/5fb7faaa799492d98ce2b65ade5579f5_54407230.png imagette224707761745869892 22470777 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=22470777 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026856: '1745869811_3636243_1354026541_df87f74f3b10cb079328f4db958e66b3_rle_crop_3771601398_0.png', 1354026857: '1745869811_3636243_1354026181_e574cdfff691879247c8046aa3443bd8_rle_crop_3771601517_0.png', 1354026858: '1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601616_0.png', 1354026859: '1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601713_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/2ca4bfc02bb4376f45c7e6cc660240a7_30965261.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/03ca7310e658494207e49b09b48ed53e_15209202.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/37d44efd5bd0d6502a473a3580c9255e_57815577.png change filename to text .imagette224707771745869893/ imagette224707771745869893/1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601616_0.png.png imagette224707771745869893/1745869811_3636243_1354026541_df87f74f3b10cb079328f4db958e66b3_rle_crop_3771601398_0.png.png imagette224707771745869893/1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601713_0.png.png imagette224707771745869893/1745869811_3636243_1354026181_e574cdfff691879247c8046aa3443bd8_rle_crop_3771601517_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/21abfc6c99e2fd0450be6589e7445bff_70752533.png imagette224707771745869893 22470783 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=22470783 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354026722: '1745869741_3635372_1354026587_aa5fa1e75ea77478b923fb77e658c11d_rle_crop_3771596718_0.png', 1354026750: '1745869754_3635529_1354026511_cab95c6d7b755d3ef422b2468790ff95_rle_crop_3771596786_0.png', 1354026751: '1745869754_3635529_1354026438_dca22dea262b28eb6dd640e7065de531_rle_crop_3771596807_0.png', 1354026868: '1745869811_3636243_1354026541_df87f74f3b10cb079328f4db958e66b3_rle_crop_3771601406_0.png', 1354026869: '1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601613_0.png', 1354026870: '1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601615_0.png', 1354026871: '1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601710_0.png', 1354026872: '1745869811_3636243_1354026168_9b995626356767a676b8d727274b7e43_rle_crop_3771601862_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/b88ad99c607924eca7587510e9175795_71107357.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/4286c78287ec3f378aaa21cade4803c9_90311553.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/89b6f93ec989b4807186335cd8d8119e_652086.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/4103061b966a213bdec3e4375119d57c_81894042.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/0b0921ae1a2e73076a99fb16d07471c4_63652693.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/d7e3da31f0c5741ea821b9cfa08502f6_65120073.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/ee8ac626240a916a609b8e34588ac111_29225693.png change filename to text .imagette224707831745869893/ imagette224707831745869893/1745869741_3635372_1354026587_aa5fa1e75ea77478b923fb77e658c11d_rle_crop_3771596718_0.png.png imagette224707831745869893/1745869811_3636243_1354026173_6967dd8aaa61188cc382cddfa13515b4_rle_crop_3771601710_0.png.png imagette224707831745869893/1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601615_0.png.png imagette224707831745869893/1745869811_3636243_1354026176_3c8c03fd46e2cc578e6fbf53db463149_rle_crop_3771601613_0.png.png imagette224707831745869893/1745869811_3636243_1354026541_df87f74f3b10cb079328f4db958e66b3_rle_crop_3771601406_0.png.png imagette224707831745869893/1745869754_3635529_1354026438_dca22dea262b28eb6dd640e7065de531_rle_crop_3771596807_0.png.png imagette224707831745869893/1745869811_3636243_1354026168_9b995626356767a676b8d727274b7e43_rle_crop_3771601862_0.png.png imagette224707831745869893/1745869754_3635529_1354026511_cab95c6d7b755d3ef422b2468790ff95_rle_crop_3771596786_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/5ee831a6715411de5414340af64750cb_99421706.png imagette224707831745869893 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22470749 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22470788,22470789,22470790,22470791,22470792,22470793,22470794,22470795,22470796,22470797,22470798,22470799?tags=Carton_gris,Teint_Dans_La_Masse,environnement,plastique,mal_croppe,papier,kraft,Carton_brun,cartonnette,flou,autre_refus,metal your option no_mail is active, we will not send the real mail to your client args[1354026794] : ('0.058265414456043295',) no score found for photo 1354026794 We are sending mail with results at report@fotonower.com args[1354026790] : ('0.058265414456043295',) no score found for photo 1354026790 We are sending mail with results at report@fotonower.com args[1354026787] : ('0.058265414456043295',) no score found for photo 1354026787 We are sending mail with results at report@fotonower.com args[1354026785] : ('0.058265414456043295',) no score found for photo 1354026785 We are sending mail with results at report@fotonower.com args[1354026674] : ('0.058265414456043295',) no score found for photo 1354026674 We are sending mail with results at report@fotonower.com args[1354026671] : ('0.058265414456043295',) no score found for photo 1354026671 We are sending mail with results at report@fotonower.com args[1354026667] : ('0.058265414456043295',) no score found for photo 1354026667 We are sending mail with results at report@fotonower.com args[1354026663] : ('0.058265414456043295',) no score found for photo 1354026663 We are sending mail with results at report@fotonower.com args[1354026657] : ('0.058265414456043295',) no score found for photo 1354026657 We are sending mail with results at report@fotonower.com args[1354026605] : ('0.058265414456043295',) no score found for photo 1354026605 We are sending mail with results at report@fotonower.com args[1354026595] : ('0.058265414456043295',) no score found for photo 1354026595 We are sending mail with results at report@fotonower.com args[1354026591] : ('0.058265414456043295',) no score found for photo 1354026591 We are sending mail with results at report@fotonower.com args[1354026587] : ('0.058265414456043295',) no score found for photo 1354026587 We are sending mail with results at report@fotonower.com args[1354026541] : ('0.058265414456043295',) no score found for photo 1354026541 We are sending mail with results at report@fotonower.com args[1354026511] : ('0.058265414456043295',) no score found for photo 1354026511 We are sending mail with results at report@fotonower.com args[1354026486] : ('0.058265414456043295',) no score found for photo 1354026486 We are sending mail with results at report@fotonower.com args[1354026438] : ('0.058265414456043295',) no score found for photo 1354026438 We are sending mail with results at report@fotonower.com args[1354026181] : ('0.058265414456043295',) no score found for photo 1354026181 We are sending mail with results at report@fotonower.com args[1354026176] : ('0.058265414456043295',) no score found for photo 1354026176 We are sending mail with results at report@fotonower.com args[1354026173] : ('0.058265414456043295',) no score found for photo 1354026173 We are sending mail with results at report@fotonower.com args[1354026168] : ('0.058265414456043295',) no score found for photo 1354026168 We are sending mail with results at report@fotonower.com args[1354026164] : ('0.058265414456043295',) no score found for photo 1354026164 We are sending mail with results at report@fotonower.com refus_total : 0.058265414456043295 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=22470749 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_P22470749_28-04-2025_21_51_32.pdf results_Auto_P22470749_28-04-2025_21_51_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22470749_28-04-2025_21_51_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22470749','results_Auto_P22470749_28-04-2025_21_51_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22470749_28-04-2025_21_51_32.pdf','pdf','','0.26','0.058265414456043295') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22470749]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] map_info['map_portfolio_photo'] : {22470749: [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164]} final : False mtd_id 4302 list_pids : [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] 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, '2766185') ('4302', '22470749', '1354026794', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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', '22470749', '1354026794', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185')] time used for this insertion : 0.016547679901123047 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.821157455444336 time spend to save output : 0.01689004898071289 total time spend for step 4 : 3.838047504425049 step5:split_time_score Mon Apr 28 21:51:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22470749'] 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 : [('22470749',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22470749) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1354026790: {'path': 'temp/1745869891_3768202_1354026790_8cfd780108a206d5df409e9a43a6a337.jpg', 'extension': 'jpg'}, 1354026794: {'path': 'temp/1745869891_3768202_1354026794_d5549515d8f5400a84de76d759b12119.jpg', 'extension': 'jpg'}, 1354026667: {'path': 'temp/1745869891_3768202_1354026667_888011748c3ee6fcbbe93103fb9282e5.jpg', 'extension': 'jpg'}, 1354026671: {'path': 'temp/1745869891_3768202_1354026671_12196f19bf3a1bca9071a5dce698eb8a.jpg', 'extension': 'jpg'}, 1354026674: {'path': 'temp/1745869891_3768202_1354026674_770c8a8ad400eb9cf25fa28f91bcef35.jpg', 'extension': 'jpg'}, 1354026785: {'path': 'temp/1745869891_3768202_1354026785_d57250cadcbe841bc6c165a1c498c4aa.jpg', 'extension': 'jpg'}, 1354026787: {'path': 'temp/1745869891_3768202_1354026787_c43af844c17b5132ef96c14b9031d693.jpg', 'extension': 'jpg'}, 1354026591: {'path': 'temp/1745869891_3768202_1354026591_5ac4b478ce3c05600c55fc831b5d37ff.jpg', 'extension': 'jpg'}, 1354026595: {'path': 'temp/1745869891_3768202_1354026595_88fbf6408724b6a4c78468705df4a35c.jpg', 'extension': 'jpg'}, 1354026605: {'path': 'temp/1745869891_3768202_1354026605_7e124333f5db15554c5768db60336937.jpg', 'extension': 'jpg'}, 1354026657: {'path': 'temp/1745869891_3768202_1354026657_fbad80801b129fd3ba8c2f2a1ace8988.jpg', 'extension': 'jpg'}, 1354026663: {'path': 'temp/1745869891_3768202_1354026663_97b38cd5a38aa508ce65e438d55a3821.jpg', 'extension': 'jpg'}, 1354026164: {'path': 'temp/1745869891_3768202_1354026164_f8de6a54a199537f04805b83f0cf3863.jpg', 'extension': 'jpg'}, 1354026168: {'path': 'temp/1745869891_3768202_1354026168_9b995626356767a676b8d727274b7e43.jpg', 'extension': 'jpg'}, 1354026173: {'path': 'temp/1745869891_3768202_1354026173_6967dd8aaa61188cc382cddfa13515b4.jpg', 'extension': 'jpg'}, 1354026176: {'path': 'temp/1745869891_3768202_1354026176_3c8c03fd46e2cc578e6fbf53db463149.jpg', 'extension': 'jpg'}, 1354026181: {'path': 'temp/1745869891_3768202_1354026181_e574cdfff691879247c8046aa3443bd8.jpg', 'extension': 'jpg'}, 1354026438: {'path': 'temp/1745869891_3768202_1354026438_dca22dea262b28eb6dd640e7065de531.jpg', 'extension': 'jpg'}, 1354026486: {'path': 'temp/1745869891_3768202_1354026486_90cffcdd4af07ef1a632349ab40ee728.jpg', 'extension': 'jpg'}, 1354026511: {'path': 'temp/1745869891_3768202_1354026511_cab95c6d7b755d3ef422b2468790ff95.jpg', 'extension': 'jpg'}, 1354026541: {'path': 'temp/1745869891_3768202_1354026541_df87f74f3b10cb079328f4db958e66b3.jpg', 'extension': 'jpg'}, 1354026587: {'path': 'temp/1745869891_3768202_1354026587_aa5fa1e75ea77478b923fb77e658c11d.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 = 22470749; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22470749 group by h (('21', 22),) 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=22470749 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 (22470749) 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 (22470749) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28042025 22470749 Nombre de photos uploadées : 22 / 23040 (0%) 28042025 22470749 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 28042025 22470749 Nombre de photos taguées (volume) : 0 / 22 (0%) [{'photo_id': 1354026181, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/e574cdfff691879247c8046aa3443bd8.jpg', 'username': None, 'uploaded_at': 1745869567, 'text': 'image_28042025_21_45_04_9140.jpg'}, {'photo_id': 1354026176, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/3c8c03fd46e2cc578e6fbf53db463149.jpg', 'username': None, 'uploaded_at': 1745869567, 'text': 'image_28042025_21_45_14_10135.jpg'}, {'photo_id': 1354026173, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/6967dd8aaa61188cc382cddfa13515b4.jpg', 'username': None, 'uploaded_at': 1745869567, 'text': 'image_28042025_21_45_24_10137.jpg'}, {'photo_id': 1354026168, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/28/9b995626356767a676b8d727274b7e43.jpg', 'username': None, 'uploaded_at': 1745869567, 'text': 'image_28042025_21_45_34_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011067390441894531 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22470749, '2025-04-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1750587,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0262753963470459 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= 1750587 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1750587, 'dashboard_run_id': 1759967, 'mtr_portfolio_id': 22468457, 'dashboard_result_id': 10124983, '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_P22468457_28-04-2025_21_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22468495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22468496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22468497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22468498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22468499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22468500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22468501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22468502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22468503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22468504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22468505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22468506, 'pht': 3726}}"}, {'dashboat_entry_day': 1750587, 'dashboard_run_id': 1759967, 'mtr_portfolio_id': 22468820, 'dashboard_result_id': 10124984, '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_P22468820_28-04-2025_21_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22468888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22468889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22468890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22468891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22468892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22468893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22468894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22468895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22468896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22468897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22468898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22468899, 'pht': 3726}}"}, {'dashboat_entry_day': 1750587, 'dashboard_run_id': 1759967, 'mtr_portfolio_id': 22469836, 'dashboard_result_id': 10124985, '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_P22469836_28-04-2025_21_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22469839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22469840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22469841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22469842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22469843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22469844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22469845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22469846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22469847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22469848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22469849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22469850, 'pht': 3726}}"}, {'dashboat_entry_day': 1750587, 'dashboard_run_id': 1759967, 'mtr_portfolio_id': 22470749, 'dashboard_result_id': 10124986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22468457 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': 2766015, 'mtr_portfolio_id': 22468457, 'created_at': datetime.datetime(2025, 4, 28, 21, 17), 'result': '0.08027976950838131', 'result_long': None, 'result_double': None}] Qualite : 0.08027976950838131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22468457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22468457_28-04-2025_21_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22468457 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_P22468457_28-04-2025_21_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22468495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22468496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22468497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22468498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22468499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22468500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22468501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22468502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22468503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22468504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22468505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22468506, 'pht': 3726}}" where mtr_portfolio_id = 22468457 and dashboard_run_id = 1759967 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`=22468457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10124983, 0.08027976950838131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22468457_28-04-2025_21_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22468495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22468496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22468497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22468498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22468499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22468500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22468501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22468502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22468503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22468504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22468505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22468506, '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 = 22468820 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': 2766039, 'mtr_portfolio_id': 22468820, 'created_at': datetime.datetime(2025, 4, 28, 21, 32, 57), 'result': '0.04624081147872922', 'result_long': None, 'result_double': None}] Qualite : 0.04624081147872922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22468820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22468820_28-04-2025_21_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22468820 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_P22468820_28-04-2025_21_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22468888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22468889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22468890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22468891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22468892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22468893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22468894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22468895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22468896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22468897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22468898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22468899, 'pht': 3726}}" where mtr_portfolio_id = 22468820 and dashboard_run_id = 1759967 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`=22468820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10124984, 0.04624081147872922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22468820_28-04-2025_21_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22468888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22468889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22468890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22468891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22468892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22468893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22468894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22468895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22468896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22468897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22468898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22468899, '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 = 22469836 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': 2766127, 'mtr_portfolio_id': 22469836, 'created_at': datetime.datetime(2025, 4, 28, 21, 50, 59), 'result': '0.05857225156433133', 'result_long': None, 'result_double': None}] Qualite : 0.05857225156433133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22469836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22469836_28-04-2025_21_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22469836 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_P22469836_28-04-2025_21_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22469839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22469840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22469841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22469842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22469843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22469844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22469845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22469846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22469847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22469848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22469849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22469850, 'pht': 3726}}" where mtr_portfolio_id = 22469836 and dashboard_run_id = 1759967 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`=22469836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10124985, 0.05857225156433133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22469836_28-04-2025_21_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22469839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22469840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22469841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22469842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22469843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22469844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22469845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22469846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22469847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22469848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22469849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22469850, '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 = 22470749 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': 2766185, 'mtr_portfolio_id': 22470749, 'created_at': datetime.datetime(2025, 4, 28, 21, 51, 31), 'result': '0.058265414456043295', 'result_long': None, 'result_double': None}] Qualite : 0.058265414456043295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22470749 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22470749_28-04-2025_21_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22470749 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_P22470749_28-04-2025_21_51_32.pdf'}" where mtr_portfolio_id = 22470749 and dashboard_run_id = 1759967 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`=22470749 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10124986, 0.058265414456043295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22470749_28-04-2025_21_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22470776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22470777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22470778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22470779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22470780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22470781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22470782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22470783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22470784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22470785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22470786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22470787, '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 (22468457,22468820,22469836,22470749) result : ((1354010309,), (1354010324,), (1354010754,), (1354011430,), (1354011435,), (1354011439,), (1354011443,), (1354011564,), (1354011581,), (1354012178,), (1354012205,), (1354012271,), (1354012281,), (1354012561,), (1354012593,), (1354012986,), (1354013599,), (1354013364,), (1354013388,), (1354013497,), (1354013508,), (1354013909,), (1354013990,), (1354014063,), (1354014119,), (1354014145,), (1354014333,), (1354014361,), (1354014390,), (1354014416,), (1354014441,), (1354014799,), (1354014827,), (1354014856,), (1354014908,), (1354014936,), (1354014941,), (1354015058,), (1354015064,), (1354015077,), (1354015112,), (1354015452,), (1354015482,), (1354015519,), (1354015586,), (1354016138,), (1354016237,), (1354016291,), (1354016331,), (1354016345,), (1354016542,), (1354016546,), (1354016550,), (1354016554,), (1354016574,), (1354016600,), (1354016832,), (1354016838,), (1354016883,), (1354016909,), (1354016934,), (1354016964,), (1354016992,), (1354017023,), (1354017259,), (1354017264,), (1354017269,), (1354017281,), (1354017292,), (1354017820,), (1354017870,), (1354017917,), (1354017990,), (1354018059,), (1354018251,), (1354018254,), (1354018258,), (1354018464,), (1354018468,), (1354018471,), (1354018474,), (1354018477,), (1354018482,), (1354018501,), (1354018735,), (1354018596,), (1354018607,), (1354018652,), (1354019131,), (1354019192,), (1354019223,), (1354019708,), (1354019964,), (1354020111,), (1354020117,), (1354020379,), (1354020386,), (1354020390,), (1354020405,), (1354020434,), (1354020512,), (1354021005,), (1354021011,), (1354021017,), (1354021071,), (1354021126,), (1354021860,), (1354021969,), (1354022028,), (1354022083,), (1354022640,), (1354022769,), (1354022815,), (1354022985,), (1354023002,), (1354023009,), (1354023036,), (1354023058,), (1354023086,), (1354023373,), (1354023415,), (1354023471,), (1354023515,), (1354023550,), (1354023940,), (1354023972,), (1354024010,), (1354024041,), (1354024253,), (1354024300,), (1354024350,), (1354024410,), (1354024451,), (1354024484,), (1354024875,), (1354024930,), (1354025002,), (1354025057,), (1354025110,), (1354025373,), (1354025397,), (1354025430,), (1354025783,), (1354025838,), (1354025891,), (1354025963,), (1354026019,), (1354026184,), (1354026164,), (1354026168,), (1354026173,), (1354026176,), (1354026181,), (1354026438,), (1354026486,), (1354026511,), (1354026541,), (1354026587,), (1354026591,), (1354026595,), (1354026605,), (1354026657,), (1354026663,), (1354026667,), (1354026671,), (1354026674,), (1354026785,), (1354026787,), (1354026790,), (1354026794,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28042025': {'nb_upload': 22, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22470749]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] map_info['map_portfolio_photo'] : {22470749: [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164]} final : True mtd_id 4302 list_pids : [1354026794, 1354026790, 1354026787, 1354026785, 1354026674, 1354026671, 1354026667, 1354026663, 1354026657, 1354026605, 1354026595, 1354026591, 1354026587, 1354026541, 1354026511, 1354026486, 1354026438, 1354026181, 1354026176, 1354026173, 1354026168, 1354026164] Looping around the photos to save general results len do output : 1 /22470749Didn'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, '2766185') ('4302', '22470749', '1354026794', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185') ('4302', None, None, None, None, None, None, None, '2766185') ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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, '22470749', 'None', None, None, None, None, '2766185'), ('4302', '22470749', '1354026794', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026790', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026787', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026785', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026674', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026671', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026667', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026663', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026657', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026605', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026595', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026591', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026587', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026541', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026511', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026486', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026438', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026181', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026176', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026173', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026168', None, None, None, None, None, '2766185'), ('4302', '22470749', '1354026164', None, None, None, None, None, '2766185')] time used for this insertion : 0.01583409309387207 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.36228418350219727 time spend to save output : 0.01623821258544922 total time spend for step 5 : 0.3785223960876465 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 (2766185) 2.61user 2.06system 0:09.85elapsed 47%CPU (0avgtext+0avgdata 160508maxresident)k 608inputs+17296outputs (11major+79488minor)pagefaults 0swaps