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 : 1702901 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 (2768434) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2768434) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493912 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2768434'] with mtr_portfolio_ids : ['22493912'] and first list_photo_ids : [] new path : /proc/1702901/ Name: python3 Umask: 0002 State: R (running) Tgid: 1702901 Ngid: 0 Pid: 1702901 PPid: 1702899 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1702901 NSpid: 1702901 NSpgid: 1698363 NSsid: 1698363 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98560 kB VmRSS: 98560 kB RssAnon: 60184 kB RssFile: 38376 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 57 nonvoluntary_ctxt_switches: 268 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1702901', 'Ngid': '0', 'Pid': '1702901', 'PPid': '1702899', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1702901', 'NSpid': '1702901', 'NSpgid': '1698363', 'NSsid': '1698363', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98560 kB', 'VmRSS': '98560 kB', 'RssAnon': '60184 kB', 'RssFile': '38376 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '57', 'nonvoluntary_ctxt_switches': '268'} ('datou_batch_current', '1702901', '1107228', '0', '1107228', '865976', '98560', b'', 'marlene', '2768434') 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 (22493912) 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 (2768434 ) ) 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 (22493912) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1354180248, 'portfolio_id': 22493912}, {'photo_id': 1354180241, 'portfolio_id': 22493912}, {'photo_id': 1354180216, 'portfolio_id': 22493912}, {'photo_id': 1354180213, 'portfolio_id': 22493912}, {'photo_id': 1354180210, 'portfolio_id': 22493912}, {'photo_id': 1354180207, 'portfolio_id': 22493912}, {'photo_id': 1354180181, 'portfolio_id': 22493912}, {'photo_id': 1354180178, 'portfolio_id': 22493912}, {'photo_id': 1354180175, 'portfolio_id': 22493912}, {'photo_id': 1354180171, 'portfolio_id': 22493912}, {'photo_id': 1354180168, 'portfolio_id': 22493912}, {'photo_id': 1354180164, 'portfolio_id': 22493912}, {'photo_id': 1354180109, 'portfolio_id': 22493912}, {'photo_id': 1354180104, 'portfolio_id': 22493912}, {'photo_id': 1354180096, 'portfolio_id': 22493912}, {'photo_id': 1354180066, 'portfolio_id': 22493912}, {'photo_id': 1354179977, 'portfolio_id': 22493912}, {'photo_id': 1354179970, 'portfolio_id': 22493912}, {'photo_id': 1354179966, 'portfolio_id': 22493912}, {'photo_id': 1354179963, 'portfolio_id': 22493912}, {'photo_id': 1354179959, 'portfolio_id': 22493912}, {'photo_id': 1354179957, 'portfolio_id': 22493912}, {'photo_id': 1354179924, 'portfolio_id': 22493912}, {'photo_id': 1354179921, 'portfolio_id': 22493912}, {'photo_id': 1354179917, 'portfolio_id': 22493912}, {'photo_id': 1354179913, 'portfolio_id': 22493912}, {'photo_id': 1354179878, 'portfolio_id': 22493912}, {'photo_id': 1354179877, 'portfolio_id': 22493912}, {'photo_id': 1354179874, 'portfolio_id': 22493912}, {'photo_id': 1354179871, 'portfolio_id': 22493912}, {'photo_id': 1354179868, 'portfolio_id': 22493912}, {'photo_id': 1354179866, 'portfolio_id': 22493912}, {'photo_id': 1354179823, 'portfolio_id': 22493912}, {'photo_id': 1354179820, 'portfolio_id': 22493912}, {'photo_id': 1354179818, 'portfolio_id': 22493912}, {'photo_id': 1354179814, 'portfolio_id': 22493912}, {'photo_id': 1354179783, 'portfolio_id': 22493912}, {'photo_id': 1354179781, 'portfolio_id': 22493912}, {'photo_id': 1354179764, 'portfolio_id': 22493912}, {'photo_id': 1354179751, 'portfolio_id': 22493912}, {'photo_id': 1354179718, 'portfolio_id': 22493912}, {'photo_id': 1354179700, 'portfolio_id': 22493912}, {'photo_id': 1354179521, 'portfolio_id': 22493912}, {'photo_id': 1354179491, 'portfolio_id': 22493912}, {'photo_id': 1354179462, 'portfolio_id': 22493912}, {'photo_id': 1354179313, 'portfolio_id': 22493912}, {'photo_id': 1354179310, 'portfolio_id': 22493912}, {'photo_id': 1354179305, 'portfolio_id': 22493912}, {'photo_id': 1354179302, 'portfolio_id': 22493912}, {'photo_id': 1354179298, 'portfolio_id': 22493912}, {'photo_id': 1354179271, 'portfolio_id': 22493912}, {'photo_id': 1354179268, 'portfolio_id': 22493912}, {'photo_id': 1354179266, 'portfolio_id': 22493912}, {'photo_id': 1354179263, 'portfolio_id': 22493912}, {'photo_id': 1354179260, 'portfolio_id': 22493912}, {'photo_id': 1354179257, 'portfolio_id': 22493912}, {'photo_id': 1354179209, 'portfolio_id': 22493912}, {'photo_id': 1354179206, 'portfolio_id': 22493912}, {'photo_id': 1354179204, 'portfolio_id': 22493912}, {'photo_id': 1354179200, 'portfolio_id': 22493912}, {'photo_id': 1354179187, 'portfolio_id': 22493912}, {'photo_id': 1354179106, 'portfolio_id': 22493912}, {'photo_id': 1354179078, 'portfolio_id': 22493912}, {'photo_id': 1354179051, 'portfolio_id': 22493912}, {'photo_id': 1354179029, 'portfolio_id': 22493912}, {'photo_id': 1354179027, 'portfolio_id': 22493912}, {'photo_id': 1354179022, 'portfolio_id': 22493912}, {'photo_id': 1354178730, 'portfolio_id': 22493912}, {'photo_id': 1354178690, 'portfolio_id': 22493912}, {'photo_id': 1354178647, 'portfolio_id': 22493912}] map_portfolio_id_photo_id: {22493912: [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957, 1354179924, 1354179921, 1354179917, 1354179913, 1354179878, 1354179877, 1354179874, 1354179871, 1354179868, 1354179866, 1354179823, 1354179820, 1354179818, 1354179814, 1354179783, 1354179781, 1354179764, 1354179751, 1354179718, 1354179700, 1354179521, 1354179491, 1354179462, 1354179313, 1354179310, 1354179305, 1354179302, 1354179298, 1354179271, 1354179268, 1354179266, 1354179263, 1354179260, 1354179257, 1354179209, 1354179206, 1354179204, 1354179200, 1354179187, 1354179106, 1354179078, 1354179051, 1354179029, 1354179027, 1354179022, 1354178730, 1354178690, 1354178647]} ##### 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.016020774841308594 #### 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 Tue Apr 29 10:30:58 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 (22493912) 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 : 22493912 get user id for portfolio 22493912 get sub ptf for main ptf 22493912, type 3726 and hashtags ['cartonnette', 'papier', 'mal_croppe', 'flou', 'Teint_Dans_La_Masse', 'kraft', 'autre_refus', 'Carton_gris', 'plastique', 'Carton_brun', 'environnement', '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`=22493912 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','mal_croppe','flou','Teint_Dans_La_Masse','kraft','autre_refus','Carton_gris','plastique','Carton_brun','environnement','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`=22493912 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','mal_croppe','flou','Teint_Dans_La_Masse','kraft','autre_refus','Carton_gris','plastique','Carton_brun','environnement','metal')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22493912, 'sub_port_id': 22493937, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14933999, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'papier': {'main_port_id': 22493912, 'sub_port_id': 22493938, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934000, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'flou': {'main_port_id': 22493912, 'sub_port_id': 22493939, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934001, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'Carton_brun': {'main_port_id': 22493912, 'sub_port_id': 22493940, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934002, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'kraft': {'main_port_id': 22493912, 'sub_port_id': 22493941, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934003, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'environnement': {'main_port_id': 22493912, 'sub_port_id': 22493942, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934004, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'mal_croppe': {'main_port_id': 22493912, 'sub_port_id': 22493943, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934005, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22493912, 'sub_port_id': 22493944, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934006, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'cartonnette': {'main_port_id': 22493912, 'sub_port_id': 22493945, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934007, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'Carton_gris': {'main_port_id': 22493912, 'sub_port_id': 22493946, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934008, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'plastique': {'main_port_id': 22493912, 'sub_port_id': 22493947, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934009, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'metal': {'main_port_id': 22493912, 'sub_port_id': 22493948, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934010, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493937 , 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=22493912 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 (22493937) result : ((1354179154,), (1354179711,), (1354179802,), (1354179901,), (1354179945,), (1354180136,), (1354180147,), (1354180148,), (1354180249,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493938 , 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=22493912 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 (22493938) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493939 , 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=22493912 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 (22493939) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493940 , 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=22493912 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 (22493940) result : ((1354179159,), (1354180138,), (1354180139,), (1354180159,), (1354180160,), (1354180161,), (1354180184,), (1354180232,), (1354180233,), (1354180252,), (1354180253,), (1354180255,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493941 , 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=22493912 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 (22493941) result : ((1354180262,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493942 , 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=22493912 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 (22493942) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493943 , 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=22493912 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 (22493943) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493944 , 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=22493912 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 (22493944) result : ((1354179152,), (1354179153,), (1354179702,), (1354179703,), (1354179851,), (1354179852,), (1354179942,), (1354180046,), (1354180047,), (1354180048,), (1354180144,), (1354180145,), (1354180146,), (1354180182,), (1354180247,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493945 , 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=22493912 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 (22493945) result : ((1354179809,), (1354179810,), (1354179811,), (1354179859,), (1354179860,), (1354179906,), (1354179907,), (1354179908,), (1354180050,), (1354180155,), (1354180156,), (1354180157,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493946 , 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=22493912 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 (22493946) result : ((1354179156,), (1354179720,), (1354179722,), (1354179804,), (1354179805,), (1354179806,), (1354179853,), (1354179854,), (1354179855,), (1354179856,), (1354179857,), (1354179858,), (1354179902,), (1354179903,), (1354179904,), (1354179947,), (1354179948,), (1354179955,), (1354180049,), (1354180137,), (1354180149,), (1354180150,), (1354180151,), (1354180230,), (1354180251,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493947 , 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=22493912 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 (22493947) result : ((1354179863,), (1354180142,), (1354180163,), (1354180259,), (1354180260,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22493948 , 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=22493912 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 (22493948) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22493912) result : ((1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) 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 (1354179200,1354179700) and cspi.crop_hashtag_id = chi.id; 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`=22493912 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','mal_croppe','flou','Teint_Dans_La_Masse','kraft','autre_refus','Carton_gris','plastique','Carton_brun','environnement','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`=22493912 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','mal_croppe','flou','Teint_Dans_La_Masse','kraft','autre_refus','Carton_gris','plastique','Carton_brun','environnement','metal')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22493912, 'sub_port_id': 22493949, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934011, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'papier': {'main_port_id': 22493912, 'sub_port_id': 22493950, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934012, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'flou': {'main_port_id': 22493912, 'sub_port_id': 22493951, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934013, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'Carton_brun': {'main_port_id': 22493912, 'sub_port_id': 22493952, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934014, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'kraft': {'main_port_id': 22493912, 'sub_port_id': 22493953, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934015, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'environnement': {'main_port_id': 22493912, 'sub_port_id': 22493954, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934016, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'mal_croppe': {'main_port_id': 22493912, 'sub_port_id': 22493955, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934017, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22493912, 'sub_port_id': 22493956, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934018, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'cartonnette': {'main_port_id': 22493912, 'sub_port_id': 22493957, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934019, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'Carton_gris': {'main_port_id': 22493912, 'sub_port_id': 22493958, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934020, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'plastique': {'main_port_id': 22493912, 'sub_port_id': 22493959, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934021, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}, 'metal': {'main_port_id': 22493912, 'sub_port_id': 22493960, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14934022, 'last_updated_at': datetime.datetime(2025, 4, 29, 10, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 10, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 10, 20, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493949,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493937 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493950,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493938 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493951,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493939 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493952,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493940 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493953,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493941 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493954,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493942 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493955,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493943 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493956,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493944 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493957,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493945 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493958,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493946 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493959,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22493960,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22493948 lien utilise dans velours : https://www.fotonower.com/velours/22493949,22493950,22493951,22493952,22493953,22493954,22493955,22493956,22493957,22493958,22493959,22493960?tags=autre_refus,papier,flou,Carton_brun,kraft,environnement,mal_croppe,Teint_Dans_La_Masse,cartonnette,Carton_gris,plastique,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22493912]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] map_info['map_portfolio_photo'] : {22493912: [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957, 1354179924, 1354179921, 1354179917, 1354179913, 1354179878, 1354179877, 1354179874, 1354179871, 1354179868, 1354179866, 1354179823, 1354179820, 1354179818, 1354179814, 1354179783, 1354179781, 1354179764, 1354179751, 1354179718, 1354179700, 1354179521, 1354179491, 1354179462, 1354179313, 1354179310, 1354179305, 1354179302, 1354179298, 1354179271, 1354179268, 1354179266, 1354179263, 1354179260, 1354179257, 1354179209, 1354179206, 1354179204, 1354179200, 1354179187, 1354179106, 1354179078, 1354179051, 1354179029, 1354179027, 1354179022, 1354178730, 1354178690, 1354178647]} final : False mtd_id 4302 list_pids : [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] Looping around the photos to save general results len do output : 1 /22493912. 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, '2768434') ('4302', '22493912', '1354180248', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434') 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, '22493912', "{'autre_refus': 22493937, 'papier': 22493938, 'flou': 22493939, 'Carton_brun': 22493940, 'kraft': 22493941, 'environnement': 22493942, 'mal_croppe': 22493943, 'Teint_Dans_La_Masse': 22493944, 'cartonnette': 22493945, 'Carton_gris': 22493946, 'plastique': 22493947, 'metal': 22493948}", None, None, None, None, '2768434'), ('4302', '22493912', '1354180248', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434')] time used for this insertion : 0.017992019653320312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5070922374725342 time spend to save output : 0.018294334411621094 total time spend for step 1 : 0.5253865718841553 step2:final Tue Apr 29 10:30:58 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 (22493912) 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 22493912 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1354178730,1354178690,1354178647,1354179106,1354179078,1354179051,1354179029,1354179027,1354179022,1354179209,1354179206,1354179204,1354179200,1354179187,1354179271,1354179268,1354179266,1354179263,1354179260,1354179257,1354179313,1354179310,1354179305,1354179302,1354179298,1354179521,1354179491,1354179462,1354179783,1354179781,1354179764,1354179751,1354179718,1354179700,1354179823,1354179820,1354179818,1354179814,1354179878,1354179877,1354179874,1354179871,1354179868,1354179866,1354179924,1354179921,1354179917,1354179913,1354179977,1354179970,1354179966,1354179963,1354179959,1354179957,1354180109,1354180104,1354180096,1354180066,1354180181,1354180178,1354180175,1354180171,1354180168,1354180164,1354180216,1354180213,1354180210,1354180207,1354180248,1354180241); 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([22493912]) Inside saveOutput : final : False verbose : True original output for save of step final : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} new output for save of step final : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] map_info['map_portfolio_photo'] : {22493912: [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957, 1354179924, 1354179921, 1354179917, 1354179913, 1354179878, 1354179877, 1354179874, 1354179871, 1354179868, 1354179866, 1354179823, 1354179820, 1354179818, 1354179814, 1354179783, 1354179781, 1354179764, 1354179751, 1354179718, 1354179700, 1354179521, 1354179491, 1354179462, 1354179313, 1354179310, 1354179305, 1354179302, 1354179298, 1354179271, 1354179268, 1354179266, 1354179263, 1354179260, 1354179257, 1354179209, 1354179206, 1354179204, 1354179200, 1354179187, 1354179106, 1354179078, 1354179051, 1354179029, 1354179027, 1354179022, 1354178730, 1354178690, 1354178647]} final : False mtd_id 4302 list_pids : [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] Looping around the photos to save general results len do output : 22 /1354180248.Didn't retrieve data . /1354180241.Didn't retrieve data . /1354180216.Didn't retrieve data . /1354180213.Didn't retrieve data . /1354180210.Didn't retrieve data . /1354180207.Didn't retrieve data . /1354180181.Didn't retrieve data . /1354180178.Didn't retrieve data . /1354180175.Didn't retrieve data . /1354180171.Didn't retrieve data . /1354180168.Didn't retrieve data . /1354180164.Didn't retrieve data . /1354180109.Didn't retrieve data . /1354180104.Didn't retrieve data . /1354180096.Didn't retrieve data . /1354180066.Didn't retrieve data . /1354179977.Didn't retrieve data . /1354179970.Didn't retrieve data . /1354179966.Didn't retrieve data . /1354179963.Didn't retrieve data . /1354179959.Didn't retrieve data . /1354179957.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, '2768434') ('4302', '22493912', '1354180248', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434') 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', '22493912', '1354180248', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180241', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180216', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180213', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180210', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180207', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180181', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180178', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180175', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180171', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180168', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180164', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180109', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180104', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180096', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354180066', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354179977', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354179970', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354179966', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354179963', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354179959', '0.056363304887680585', None, None, None, None, '2768434'), ('4302', '22493912', '1354179957', '0.056363304887680585', None, None, None, None, '2768434')] time used for this insertion : 0.016901254653930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07677555084228516 time spend to save output : 0.017978668212890625 total time spend for step 2 : 0.09475421905517578 step3:velours_tree Tue Apr 29 10:30:58 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 : {22493912: [{'autre_refus': 22493937, 'papier': 22493938, 'flou': 22493939, 'Carton_brun': 22493940, 'kraft': 22493941, 'environnement': 22493942, 'mal_croppe': 22493943, 'Teint_Dans_La_Masse': 22493944, 'cartonnette': 22493945, 'Carton_gris': 22493946, 'plastique': 22493947, 'metal': 22493948}]} input_args_next_step : {22493912: ()} output_args : {22493912: [{'autre_refus': 22493937, 'papier': 22493938, 'flou': 22493939, 'Carton_brun': 22493940, 'kraft': 22493941, 'environnement': 22493942, 'mal_croppe': 22493943, 'Teint_Dans_La_Masse': 22493944, 'cartonnette': 22493945, 'Carton_gris': 22493946, 'plastique': 22493947, 'metal': 22493948}]} args : 22493912 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 : ({'autre_refus': 22493937, 'papier': 22493938, 'flou': 22493939, 'Carton_brun': 22493940, 'kraft': 22493941, 'environnement': 22493942, 'mal_croppe': 22493943, 'Teint_Dans_La_Masse': 22493944, 'cartonnette': 22493945, 'Carton_gris': 22493946, 'plastique': 22493947, 'metal': 22493948},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22493912) 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([22493912]) 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.3142569065093994 time spend to save output : 4.267692565917969e-05 total time spend for step 3 : 0.3142995834350586 step4:send_mail_cod Tue Apr 29 10:30:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} input_args_next_step : {1354180248: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180248 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180241 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180216 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180213 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180210 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180207 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180181 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180178 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180175 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180171 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180168 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180164 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180109 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180104 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180096 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354180066 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354179977 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354179970 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354179966 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354179963 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354179959 depend.output_id : 0 input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ()} output_args : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',)} args : 1354179957 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 : {22493912: [{'autre_refus': 22493937, 'papier': 22493938, 'flou': 22493939, 'Carton_brun': 22493940, 'kraft': 22493941, 'environnement': 22493942, 'mal_croppe': 22493943, 'Teint_Dans_La_Masse': 22493944, 'cartonnette': 22493945, 'Carton_gris': 22493946, 'plastique': 22493947, 'metal': 22493948}]} input_args_next_step : {1354180248: ('0.056363304887680585',), 1354180241: ('0.056363304887680585',), 1354180216: ('0.056363304887680585',), 1354180213: ('0.056363304887680585',), 1354180210: ('0.056363304887680585',), 1354180207: ('0.056363304887680585',), 1354180181: ('0.056363304887680585',), 1354180178: ('0.056363304887680585',), 1354180175: ('0.056363304887680585',), 1354180171: ('0.056363304887680585',), 1354180168: ('0.056363304887680585',), 1354180164: ('0.056363304887680585',), 1354180109: ('0.056363304887680585',), 1354180104: ('0.056363304887680585',), 1354180096: ('0.056363304887680585',), 1354180066: ('0.056363304887680585',), 1354179977: ('0.056363304887680585',), 1354179970: ('0.056363304887680585',), 1354179966: ('0.056363304887680585',), 1354179963: ('0.056363304887680585',), 1354179959: ('0.056363304887680585',), 1354179957: ('0.056363304887680585',), 22493912: ()} output_args : {22493912: [{'autre_refus': 22493937, 'papier': 22493938, 'flou': 22493939, 'Carton_brun': 22493940, 'kraft': 22493941, 'environnement': 22493942, 'mal_croppe': 22493943, 'Teint_Dans_La_Masse': 22493944, 'cartonnette': 22493945, 'Carton_gris': 22493946, 'plastique': 22493947, 'metal': 22493948}]} args : 22493912 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.056363304887680585',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22493912) 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 (1354180248,1354180241,1354180216,1354180213,1354180210,1354180207,1354180181,1354180178,1354180175,1354180171,1354180168,1354180164,1354180109,1354180104,1354180096,1354180066,1354179977,1354179970,1354179966,1354179963,1354179959,1354179957) Found this number of photos: 22 ##### Call download_photos : nb_thread : 5 begin to download photo : 1354179957 begin to download photo : 1354179977 begin to download photo : 1354180164 begin to download photo : 1354180181 begin to download photo : 1354180241 download finish for photo 1354179977 begin to download photo : 1354180066 download finish for photo 1354180164 begin to download photo : 1354180168 download finish for photo 1354180241 begin to download photo : 1354180248 download finish for photo 1354179957 begin to download photo : 1354179959 download finish for photo 1354180181 begin to download photo : 1354180207 download finish for photo 1354180248 download finish for photo 1354180066 begin to download photo : 1354180096 download finish for photo 1354180168 begin to download photo : 1354180171 download finish for photo 1354179959 begin to download photo : 1354179963 download finish for photo 1354180207 begin to download photo : 1354180210 download finish for photo 1354180096 begin to download photo : 1354180104 download finish for photo 1354180171 begin to download photo : 1354180175 download finish for photo 1354179963 begin to download photo : 1354179966 download finish for photo 1354180210 begin to download photo : 1354180213 download finish for photo 1354180104 begin to download photo : 1354180109 download finish for photo 1354180175 begin to download photo : 1354180178 download finish for photo 1354179966 begin to download photo : 1354179970 download finish for photo 1354180213 begin to download photo : 1354180216 download finish for photo 1354180178 download finish for photo 1354180109 download finish for photo 1354179970 download finish for photo 1354180216 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_P22493912_29-04-2025_10_30_59.pdf 22493937 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=22493937 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354179154: '1745914633_4140009_1354178730_bfbc2ced7de031c02d5d42dc6923364a_rle_crop_3772492359_0.png', 1354179711: '1745914903_4137167_1354179206_4f7e17dfa092cd023e25d46b45ba9d99_rle_crop_3772497457_0.png', 1354179802: '1745914932_4143616_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497655_0.png', 1354179901: '1745915051_4144857_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497655_0.png', 1354179945: '1745915111_4145716_1354179818_dd73d36e6df3177fbe4a84b2f14d2e31_rle_crop_3772499875_0.png', 1354180136: '1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772501996_0.png', 1354180147: '1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502057_0.png', 1354180148: '1745915233_4147027_1354179866_66583c838ed691cbd006dfe9bd161b13_rle_crop_3772502140_0.png', 1354180249: '1745915380_4148790_1354180109_cbe3da635237448bc32d2d93e822e06b_rle_crop_3772504202_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/c6db40ef94caa674d847098cd7a1b6e4_10099750.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e650a330418b95bdd0ca9f4321a2e5f7_90958363.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d271cca29ffe17a63f25929594fb2916_23995437.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d271cca29ffe17a63f25929594fb2916_73149095.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/331bf9ade37d83cfc25a9a4a918516cc_44703198.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/83ff8a658e9d08be60e61a16aeb862ec_66456346.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5e7d30170bd078c89c7609a5211198f6_21123332.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a32dfe857d85f61cad4b85be4c677c76_68330072.png change filename to text .imagette224939371745915459/ imagette224939371745915459/1745914903_4137167_1354179206_4f7e17dfa092cd023e25d46b45ba9d99_rle_crop_3772497457_0.png.png imagette224939371745915459/1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772501996_0.png.png imagette224939371745915459/1745915051_4144857_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497655_0.png.png imagette224939371745915459/1745914633_4140009_1354178730_bfbc2ced7de031c02d5d42dc6923364a_rle_crop_3772492359_0.png.png imagette224939371745915459/1745915380_4148790_1354180109_cbe3da635237448bc32d2d93e822e06b_rle_crop_3772504202_0.png.png imagette224939371745915459/1745915111_4145716_1354179818_dd73d36e6df3177fbe4a84b2f14d2e31_rle_crop_3772499875_0.png.png imagette224939371745915459/1745915233_4147027_1354179866_66583c838ed691cbd006dfe9bd161b13_rle_crop_3772502140_0.png.png imagette224939371745915459/1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502057_0.png.png imagette224939371745915459/1745914932_4143616_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497655_0.png.png imagette224939391745915460/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7198083dd7c29902ef89141fb35f4f5c_80502253.png imagette224939371745915459 22493939 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=22493939 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224939391745915460 22493941 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=22493941 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354180262: '1745915380_4148790_1354179963_e562d40a0e57716435ffe26d9186a7bf_rle_crop_3772504252_0.png'} change filename to text .imagette224939411745915460/ imagette224939411745915460/1745915380_4148790_1354179963_e562d40a0e57716435ffe26d9186a7bf_rle_crop_3772504252_0.png.png imagette224939431745915460/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/cb9641ea07041b761129d73227ce64be_69781927.png imagette224939411745915460 22493943 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=22493943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224939431745915460 22493945 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=22493945 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354179809: '1745914932_4143616_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497652_0.png', 1354179810: '1745914932_4143616_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497662_0.png', 1354179811: '1745914932_4143616_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497667_0.png', 1354179859: '1745914991_4144212_1354179305_3bd4318d75cf6db06825c52ff3c1a1a8_rle_crop_3772498716_0.png', 1354179860: '1745914991_4144212_1354179302_5336089ad1ab5a477c40ab8a940321d6_rle_crop_3772498730_0.png', 1354179906: '1745915051_4144857_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497652_0.png', 1354179907: '1745915051_4144857_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497662_0.png', 1354179908: '1745915051_4144857_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497667_0.png', 1354180050: '1745915173_4146468_1354179700_19acbc7588d3cad1a036c245a573b8c0_rle_crop_3772500405_0.png', 1354180155: '1745915233_4147027_1354179924_6cf5b937a98d9a092c9f0e0d07fd1690_rle_crop_3772501969_0.png', 1354180156: '1745915233_4147027_1354179877_ce5472446522cfa1aee5e19d0643fd99_rle_crop_3772501982_0.png', 1354180157: '1745915233_4147027_1354179868_4f1fdc2e6cadb199f0223e664f84c3dd_rle_crop_3772502069_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2c7da60acec3abf0adeaf390a2d8e7cf_36921479.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f635bdeb6f29da078b8150f9b2c8fcb9_95352656.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0a42dca00b129a8adf10b95f51f8e7d7_35672897.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0a575d97d52f6d57cd25d78f8a71b3c9_91048120.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ba7f3899d5c429b7bcb01998429958cf_83112838.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2c7da60acec3abf0adeaf390a2d8e7cf_89087783.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f635bdeb6f29da078b8150f9b2c8fcb9_56803451.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0a42dca00b129a8adf10b95f51f8e7d7_49653653.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/6f6572a7958dc4d4c21122679308c0f5_89809111.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/6eafc47f38ea3310ded1a590d9b841e2_8924172.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/1db1c884a32b2d84725532400433d674_23634886.png change filename to text .imagette224939451745915460/ imagette224939451745915460/1745914991_4144212_1354179302_5336089ad1ab5a477c40ab8a940321d6_rle_crop_3772498730_0.png.png imagette224939451745915460/1745915233_4147027_1354179924_6cf5b937a98d9a092c9f0e0d07fd1690_rle_crop_3772501969_0.png.png imagette224939451745915460/1745915173_4146468_1354179700_19acbc7588d3cad1a036c245a573b8c0_rle_crop_3772500405_0.png.png imagette224939451745915460/1745915051_4144857_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497667_0.png.png imagette224939451745915460/1745915051_4144857_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497652_0.png.png imagette224939451745915460/1745914932_4143616_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497662_0.png.png imagette224939451745915460/1745914932_4143616_1354179266_b5de2281f20eabc852291da8f5af7c61_rle_crop_3772497652_0.png.png imagette224939451745915460/1745914991_4144212_1354179305_3bd4318d75cf6db06825c52ff3c1a1a8_rle_crop_3772498716_0.png.png imagette224939451745915460/1745915233_4147027_1354179877_ce5472446522cfa1aee5e19d0643fd99_rle_crop_3772501982_0.png.png imagette224939451745915460/1745915051_4144857_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497662_0.png.png imagette224939451745915460/1745914932_4143616_1354179263_66a70ded3dba8b995a1a196d558011bf_rle_crop_3772497667_0.png.png imagette224939451745915460/1745915233_4147027_1354179868_4f1fdc2e6cadb199f0223e664f84c3dd_rle_crop_3772502069_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/3df270991d12cf19588dff7583b14123_58457387.png imagette224939451745915460 22493947 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=22493947 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354179863: '1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498791_0.png', 1354180142: '1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772502004_0.png', 1354180163: '1745915233_4147027_1354179924_6cf5b937a98d9a092c9f0e0d07fd1690_rle_crop_3772501973_0.png', 1354180259: '1745915380_4148790_1354179959_2b65bc0c9bfe02b1afb00c150b9d3442_rle_crop_3772504264_0.png', 1354180260: '1745915380_4148790_1354179957_007c006d680453685e08f659d1e63359_rle_crop_3772504274_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/4227d3910dae57909b9186d159321dfe_77626779.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2f67e50474991ae1f0f3c40a9d8d0977_40894256.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/bf18dfd41c5d218aefdc0e8afa769904_50328914.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/6a9c639389adf3f663360a2808db9b07_67317023.png change filename to text .imagette224939471745915461/ imagette224939471745915461/1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772502004_0.png.png imagette224939471745915461/1745915380_4148790_1354179959_2b65bc0c9bfe02b1afb00c150b9d3442_rle_crop_3772504264_0.png.png imagette224939471745915461/1745915233_4147027_1354179924_6cf5b937a98d9a092c9f0e0d07fd1690_rle_crop_3772501973_0.png.png imagette224939471745915461/1745915380_4148790_1354179957_007c006d680453685e08f659d1e63359_rle_crop_3772504274_0.png.png imagette224939471745915461/1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498791_0.png.png imagette224939481745915461/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a80e0bfb0a96d4a82544a2a461b59184_79496671.png imagette224939471745915461 22493948 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=22493948 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224939481745915461 22493940 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=22493940 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354179159: '1745914633_4140009_1354178730_bfbc2ced7de031c02d5d42dc6923364a_rle_crop_3772492362_0.png', 1354180138: '1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772502000_0.png', 1354180139: '1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772501999_0.png', 1354180159: '1745915233_4147027_1354179874_57e20028dc295f4a7a1cf631bdaf6200_rle_crop_3772502019_0.png', 1354180160: '1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502055_0.png', 1354180161: '1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502054_0.png', 1354180184: '1745915292_4147658_1354179878_93c631934fe2f31e4e244e7429a943fa_rle_crop_3772502214_0.png', 1354180232: '1745915353_4148248_1354180066_94fb71410567f75bb2534830e02aaf6c_rle_crop_3772502487_0.png', 1354180233: '1745915353_4148248_1354180066_94fb71410567f75bb2534830e02aaf6c_rle_crop_3772502491_0.png', 1354180252: '1745915380_4148790_1354180109_cbe3da635237448bc32d2d93e822e06b_rle_crop_3772504203_0.png', 1354180253: '1745915380_4148790_1354180109_cbe3da635237448bc32d2d93e822e06b_rle_crop_3772504206_0.png', 1354180255: '1745915380_4148790_1354179966_e84415020332ce77fa0ec6e416860e77_rle_crop_3772504242_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b1ac9ff871e7a013fbc0e486a6033491_70433290.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2a732945e1d189df44fcd196214b0e41_27749323.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7cb1ac3e7763cfd255c5b4b66b05ea87_746787.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/78c5c4ce9f00e9e3c99ebbeff9bdf9a8_73248357.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5159353d0ba06e597aaa28fad1651091_60222282.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/89aad2adfd049a712e6fc5a4d43ab9da_47319526.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/af787fa0b47be0f84c76dd832f2386a3_6755812.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d3bef9706f471a723acb2c8a08c4fa67_91572554.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/83599170ade82147b28240dcbfc2d048_18545632.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/429423ac47d8b8cc18b7ca9fe2ccb8c7_76119361.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e3caf0a2e200bdaaec6ef0ac914d5682_65505772.png change filename to text .imagette224939401745915461/ imagette224939401745915461/1745915380_4148790_1354180109_cbe3da635237448bc32d2d93e822e06b_rle_crop_3772504206_0.png.png imagette224939401745915461/1745915292_4147658_1354179878_93c631934fe2f31e4e244e7429a943fa_rle_crop_3772502214_0.png.png imagette224939401745915461/1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502055_0.png.png imagette224939401745915461/1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772501999_0.png.png imagette224939401745915461/1745915233_4147027_1354179874_57e20028dc295f4a7a1cf631bdaf6200_rle_crop_3772502019_0.png.png imagette224939401745915461/1745915353_4148248_1354180066_94fb71410567f75bb2534830e02aaf6c_rle_crop_3772502491_0.png.png imagette224939401745915461/1745915380_4148790_1354180109_cbe3da635237448bc32d2d93e822e06b_rle_crop_3772504203_0.png.png imagette224939401745915461/1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502054_0.png.png imagette224939401745915461/1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772502000_0.png.png imagette224939401745915461/1745915380_4148790_1354179966_e84415020332ce77fa0ec6e416860e77_rle_crop_3772504242_0.png.png imagette224939401745915461/1745915353_4148248_1354180066_94fb71410567f75bb2534830e02aaf6c_rle_crop_3772502487_0.png.png imagette224939401745915461/1745914633_4140009_1354178730_bfbc2ced7de031c02d5d42dc6923364a_rle_crop_3772492362_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2d8767ecd20ef1c99752270feb0bc4db_76239067.png imagette224939401745915461 22493944 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=22493944 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354179152: '1745914633_4140009_1354178690_8268f72048a298459a4057ee2a7b88ee_rle_crop_3772492371_0.png', 1354179153: '1745914633_4140009_1354178690_8268f72048a298459a4057ee2a7b88ee_rle_crop_3772492378_0.png', 1354179702: '1745914903_4137167_1354179200_ef601b07bca8b4458df9176777e6a8ed_rle_crop_3772497484_0.png', 1354179703: '1745914903_4137167_1354179200_ef601b07bca8b4458df9176777e6a8ed_rle_crop_3772497486_0.png', 1354179851: '1745914991_4144212_1354179310_bdb7678125ed732a4189983b37708a20_rle_crop_3772498706_0.png', 1354179852: '1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498788_0.png', 1354179942: '1745915111_4145716_1354179820_ca66a6311db7b0c02aaae40ca1db1bcc_rle_crop_3772499849_0.png', 1354180046: '1745915173_4146468_1354179781_9e93302032e832c18ae0bb94a724f2ad_rle_crop_3772500358_0.png', 1354180047: '1745915173_4146468_1354179781_9e93302032e832c18ae0bb94a724f2ad_rle_crop_3772500355_0.png', 1354180048: '1745915173_4146468_1354179764_56809f451bbd2031ecf533190cb92ece_rle_crop_3772500372_0.png', 1354180144: '1745915233_4147027_1354179877_ce5472446522cfa1aee5e19d0643fd99_rle_crop_3772501983_0.png', 1354180145: '1745915233_4147027_1354179866_66583c838ed691cbd006dfe9bd161b13_rle_crop_3772502149_0.png', 1354180146: '1745915233_4147027_1354179866_66583c838ed691cbd006dfe9bd161b13_rle_crop_3772502143_0.png', 1354180182: '1745915292_4147658_1354179878_93c631934fe2f31e4e244e7429a943fa_rle_crop_3772502215_0.png', 1354180247: '1745915380_4148790_1354179959_2b65bc0c9bfe02b1afb00c150b9d3442_rle_crop_3772504267_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5780fc40ffcd3e27e4173e44e83e37f6_98159239.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ecb85acf4f94fe9f582525a5c99b5da8_62972604.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/4231859375c073deddad6b24c6033c53_7759102.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/fb0ebde9e0684af31aaec3e29353ffef_6718928.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ff0cdfc74e1284e3ff1c214f8f3749ec_32926396.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ee331762928a297b5c2d50ebfdc9b267_18769063.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a68a28fc2875ceb2e71fda4a197a5d24_55841664.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/6187c64a7d3022fafd2462c0744e1d14_91688250.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/df0f7dc9975ca31aeeff230ce520afae_85315801.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f75ec8bbf12f5cf81ec1e7bf6c209fcd_72067597.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/900f8c915730b1dd255ca45eed93c869_77035098.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0f01571389261096f9215623ac6dcfba_11350242.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7093fc0d0489c5ba6c6225f613c0409d_91033649.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5ecd44bbe02b20a2b4b5c80dad0061ec_21317068.png change filename to text .imagette224939441745915462/ imagette224939441745915462/1745915380_4148790_1354179959_2b65bc0c9bfe02b1afb00c150b9d3442_rle_crop_3772504267_0.png.png imagette224939441745915462/1745915173_4146468_1354179781_9e93302032e832c18ae0bb94a724f2ad_rle_crop_3772500355_0.png.png imagette224939441745915462/1745915233_4147027_1354179866_66583c838ed691cbd006dfe9bd161b13_rle_crop_3772502149_0.png.png imagette224939441745915462/1745915173_4146468_1354179764_56809f451bbd2031ecf533190cb92ece_rle_crop_3772500372_0.png.png imagette224939441745915462/1745915111_4145716_1354179820_ca66a6311db7b0c02aaae40ca1db1bcc_rle_crop_3772499849_0.png.png imagette224939441745915462/1745914633_4140009_1354178690_8268f72048a298459a4057ee2a7b88ee_rle_crop_3772492378_0.png.png imagette224939441745915462/1745915173_4146468_1354179781_9e93302032e832c18ae0bb94a724f2ad_rle_crop_3772500358_0.png.png imagette224939441745915462/1745914991_4144212_1354179310_bdb7678125ed732a4189983b37708a20_rle_crop_3772498706_0.png.png imagette224939441745915462/1745914633_4140009_1354178690_8268f72048a298459a4057ee2a7b88ee_rle_crop_3772492371_0.png.png imagette224939441745915462/1745915233_4147027_1354179877_ce5472446522cfa1aee5e19d0643fd99_rle_crop_3772501983_0.png.png imagette224939441745915462/1745914903_4137167_1354179200_ef601b07bca8b4458df9176777e6a8ed_rle_crop_3772497484_0.png.png imagette224939441745915462/1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498788_0.png.png imagette224939441745915462/1745915292_4147658_1354179878_93c631934fe2f31e4e244e7429a943fa_rle_crop_3772502215_0.png.png imagette224939441745915462/1745915233_4147027_1354179866_66583c838ed691cbd006dfe9bd161b13_rle_crop_3772502143_0.png.png imagette224939441745915462/1745914903_4137167_1354179200_ef601b07bca8b4458df9176777e6a8ed_rle_crop_3772497486_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/565a35fae50ce7d20e6999332635e7de_23702266.png imagette224939441745915462 22493946 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=22493946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354179902: '1745915051_4144857_1354179313_21b91d734710d77cd35423c0a8c672cc_rle_crop_3772497632_0.png', 1354180251: '1745915380_4148790_1354179966_e84415020332ce77fa0ec6e416860e77_rle_crop_3772504244_0.png', 1354180230: '1745915353_4148248_1354180066_94fb71410567f75bb2534830e02aaf6c_rle_crop_3772502484_0.png', 1354180151: '1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502048_0.png', 1354180150: '1745915233_4147027_1354179874_57e20028dc295f4a7a1cf631bdaf6200_rle_crop_3772502016_0.png', 1354180149: '1745915233_4147027_1354179874_57e20028dc295f4a7a1cf631bdaf6200_rle_crop_3772502012_0.png', 1354180137: '1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772501997_0.png', 1354180049: '1745915173_4146468_1354179823_4450b84222283a8672ce76293bb8b1c3_rle_crop_3772500342_0.png', 1354179955: '1745915143_4143394_1354179783_566122c083d3c42ff4fcdb1b6a00331f_rle_crop_3772499972_0.png', 1354179948: '1745915111_4145716_1354179820_ca66a6311db7b0c02aaae40ca1db1bcc_rle_crop_3772499842_0.png', 1354179947: '1745915111_4145716_1354179820_ca66a6311db7b0c02aaae40ca1db1bcc_rle_crop_3772499850_0.png', 1354179904: '1745915051_4144857_1354179268_f35baf87d1b9a05d19d25788aac4bc31_rle_crop_3772497644_0.png', 1354179903: '1745915051_4144857_1354179313_21b91d734710d77cd35423c0a8c672cc_rle_crop_3772497631_0.png', 1354179156: '1745914633_4140009_1354178690_8268f72048a298459a4057ee2a7b88ee_rle_crop_3772492379_0.png', 1354179858: '1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498786_0.png', 1354179857: '1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498792_0.png', 1354179856: '1745914991_4144212_1354179302_5336089ad1ab5a477c40ab8a940321d6_rle_crop_3772498735_0.png', 1354179855: '1745914991_4144212_1354179302_5336089ad1ab5a477c40ab8a940321d6_rle_crop_3772498731_0.png', 1354179854: '1745914991_4144212_1354179310_bdb7678125ed732a4189983b37708a20_rle_crop_3772498704_0.png', 1354179853: '1745914991_4144212_1354179310_bdb7678125ed732a4189983b37708a20_rle_crop_3772498705_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/877129c120c869cc41af5b14de2eee66_28015557.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ba9edc6eebf48e164a78a59d55a72e35_15600405.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e65fd8815c5721950385cb808dabfa68_42052364.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b5b2561365193e0b0b2f2db586f11d95_98050359.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7dbf0aada7cd4c8517f85c3f59fefbfe_19679985.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/312a95cbcc38de8cba811f3b03cf4e83_5467847.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8c650e458ceea141fe313ce445febaba_34699591.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d193e29ca4e5279411c5ad3afb4e2b61_53837297.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2e18377d77bd80418e76313ac71b072a_54557272.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/11fa562e3fbd5e830f801b67b44b7da4_35847255.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/63cd911e88a3f8f1baf677520f2ac557_78101103.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/3c965978768b39fe143e855fb5a3f7fc_44396079.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/9de8a48c9fc9189b21bf821f598696e1_97024942.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ecb84f2b56bdc6be93d057f909bfb790_30325280.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d490329965c6bb73e6d9c1f984e91eca_95288191.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f83d746eb9c3f844ea8a3ec7b28f88b3_66240920.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/3691a9ef989b9d046d43de0ee8f6603d_85319697.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/747efa650e5343070d4e7496f753dae0_36622166.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/98f6b940eb95294693b310ad13142dad_84898214.png change filename to text .imagette224939461745915463/ imagette224939461745915463/1745915353_4148248_1354180066_94fb71410567f75bb2534830e02aaf6c_rle_crop_3772502484_0.png.png imagette224939461745915463/1745915051_4144857_1354179313_21b91d734710d77cd35423c0a8c672cc_rle_crop_3772497631_0.png.png imagette224939461745915463/1745915051_4144857_1354179268_f35baf87d1b9a05d19d25788aac4bc31_rle_crop_3772497644_0.png.png imagette224939461745915463/1745914633_4140009_1354178690_8268f72048a298459a4057ee2a7b88ee_rle_crop_3772492379_0.png.png imagette224939461745915463/1745915173_4146468_1354179823_4450b84222283a8672ce76293bb8b1c3_rle_crop_3772500342_0.png.png imagette224939461745915463/1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498792_0.png.png imagette224939461745915463/1745915111_4145716_1354179820_ca66a6311db7b0c02aaae40ca1db1bcc_rle_crop_3772499842_0.png.png imagette224939461745915463/1745915111_4145716_1354179820_ca66a6311db7b0c02aaae40ca1db1bcc_rle_crop_3772499850_0.png.png imagette224939461745915463/1745914991_4144212_1354179302_5336089ad1ab5a477c40ab8a940321d6_rle_crop_3772498735_0.png.png imagette224939461745915463/1745915261_4146023_1354179921_c13ff8d9996a3d5d58098efa7340aad7_rle_crop_3772501997_0.png.png imagette224939461745915463/1745915143_4143394_1354179783_566122c083d3c42ff4fcdb1b6a00331f_rle_crop_3772499972_0.png.png imagette224939461745915463/1745915233_4147027_1354179874_57e20028dc295f4a7a1cf631bdaf6200_rle_crop_3772502012_0.png.png imagette224939461745915463/1745915233_4147027_1354179874_57e20028dc295f4a7a1cf631bdaf6200_rle_crop_3772502016_0.png.png imagette224939461745915463/1745914991_4144212_1354179310_bdb7678125ed732a4189983b37708a20_rle_crop_3772498705_0.png.png imagette224939461745915463/1745915051_4144857_1354179313_21b91d734710d77cd35423c0a8c672cc_rle_crop_3772497632_0.png.png imagette224939461745915463/1745914991_4144212_1354179302_5336089ad1ab5a477c40ab8a940321d6_rle_crop_3772498731_0.png.png imagette224939461745915463/1745914991_4144212_1354179310_bdb7678125ed732a4189983b37708a20_rle_crop_3772498704_0.png.png imagette224939461745915463/1745915380_4148790_1354179966_e84415020332ce77fa0ec6e416860e77_rle_crop_3772504244_0.png.png imagette224939461745915463/1745914991_4144212_1354179298_3fe536011d30b4fc21a38748432d202f_rle_crop_3772498786_0.png.png imagette224939461745915463/1745915233_4147027_1354179871_b65eac65702c3235bf27d8080f68f115_rle_crop_3772502048_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/243c3f43938f254007e5162a6e919c24_84072058.png imagette224939461745915463 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22493912 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22493949,22493950,22493951,22493952,22493953,22493954,22493955,22493956,22493957,22493958,22493959,22493960?tags=autre_refus,papier,flou,Carton_brun,kraft,environnement,mal_croppe,Teint_Dans_La_Masse,cartonnette,Carton_gris,plastique,metal your option no_mail is active, we will not send the real mail to your client args[1354180248] : ('0.056363304887680585',) no score found for photo 1354180248 We are sending mail with results at report@fotonower.com args[1354180241] : ('0.056363304887680585',) no score found for photo 1354180241 We are sending mail with results at report@fotonower.com args[1354180216] : ('0.056363304887680585',) no score found for photo 1354180216 We are sending mail with results at report@fotonower.com args[1354180213] : ('0.056363304887680585',) no score found for photo 1354180213 We are sending mail with results at report@fotonower.com args[1354180210] : ('0.056363304887680585',) no score found for photo 1354180210 We are sending mail with results at report@fotonower.com args[1354180207] : ('0.056363304887680585',) no score found for photo 1354180207 We are sending mail with results at report@fotonower.com args[1354180181] : ('0.056363304887680585',) no score found for photo 1354180181 We are sending mail with results at report@fotonower.com args[1354180178] : ('0.056363304887680585',) no score found for photo 1354180178 We are sending mail with results at report@fotonower.com args[1354180175] : ('0.056363304887680585',) no score found for photo 1354180175 We are sending mail with results at report@fotonower.com args[1354180171] : ('0.056363304887680585',) no score found for photo 1354180171 We are sending mail with results at report@fotonower.com args[1354180168] : ('0.056363304887680585',) no score found for photo 1354180168 We are sending mail with results at report@fotonower.com args[1354180164] : ('0.056363304887680585',) no score found for photo 1354180164 We are sending mail with results at report@fotonower.com args[1354180109] : ('0.056363304887680585',) no score found for photo 1354180109 We are sending mail with results at report@fotonower.com args[1354180104] : ('0.056363304887680585',) no score found for photo 1354180104 We are sending mail with results at report@fotonower.com args[1354180096] : ('0.056363304887680585',) no score found for photo 1354180096 We are sending mail with results at report@fotonower.com args[1354180066] : ('0.056363304887680585',) no score found for photo 1354180066 We are sending mail with results at report@fotonower.com args[1354179977] : ('0.056363304887680585',) no score found for photo 1354179977 We are sending mail with results at report@fotonower.com args[1354179970] : ('0.056363304887680585',) no score found for photo 1354179970 We are sending mail with results at report@fotonower.com args[1354179966] : ('0.056363304887680585',) no score found for photo 1354179966 We are sending mail with results at report@fotonower.com args[1354179963] : ('0.056363304887680585',) no score found for photo 1354179963 We are sending mail with results at report@fotonower.com args[1354179959] : ('0.056363304887680585',) no score found for photo 1354179959 We are sending mail with results at report@fotonower.com args[1354179957] : ('0.056363304887680585',) no score found for photo 1354179957 We are sending mail with results at report@fotonower.com refus_total : 0.056363304887680585 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=22493912 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_P22493912_29-04-2025_10_30_59.pdf results_Auto_P22493912_29-04-2025_10_30_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_29-04-2025_10_30_59.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','22493912','results_Auto_P22493912_29-04-2025_10_30_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_29-04-2025_10_30_59.pdf','pdf','','0.37','0.056363304887680585') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22493912]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] map_info['map_portfolio_photo'] : {22493912: [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957, 1354179924, 1354179921, 1354179917, 1354179913, 1354179878, 1354179877, 1354179874, 1354179871, 1354179868, 1354179866, 1354179823, 1354179820, 1354179818, 1354179814, 1354179783, 1354179781, 1354179764, 1354179751, 1354179718, 1354179700, 1354179521, 1354179491, 1354179462, 1354179313, 1354179310, 1354179305, 1354179302, 1354179298, 1354179271, 1354179268, 1354179266, 1354179263, 1354179260, 1354179257, 1354179209, 1354179206, 1354179204, 1354179200, 1354179187, 1354179106, 1354179078, 1354179051, 1354179029, 1354179027, 1354179022, 1354178730, 1354178690, 1354178647]} final : False mtd_id 4302 list_pids : [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] 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, '2768434') ('4302', '22493912', '1354180248', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434') 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', '22493912', '1354180248', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434')] time used for this insertion : 0.01719498634338379 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.770666837692261 time spend to save output : 0.017737150192260742 total time spend for step 4 : 6.7884039878845215 step5:split_time_score Tue Apr 29 10:31:06 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 : ['22493912'] 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 : [('22493912',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22493912) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1354180241: {'path': 'temp/1745915459_1702901_1354180241_1bfc152ba99f78db10a4d8900877c54c.jpg', 'extension': 'jpg'}, 1354180248: {'path': 'temp/1745915459_1702901_1354180248_3d6c52e636d05b0d07a4a3d5051225f8.jpg', 'extension': 'jpg'}, 1354180164: {'path': 'temp/1745915459_1702901_1354180164_95a3985f5c9370f16ca10b7f83e54af6.jpg', 'extension': 'jpg'}, 1354180168: {'path': 'temp/1745915459_1702901_1354180168_a0e3b819d8e7aada50d4c0b7877bab2e.jpg', 'extension': 'jpg'}, 1354180171: {'path': 'temp/1745915459_1702901_1354180171_ef1ce2b334d32efc151bf82874849b9c.jpg', 'extension': 'jpg'}, 1354180175: {'path': 'temp/1745915459_1702901_1354180175_9243e63f29902d16f50a3d3e0f8703d0.jpg', 'extension': 'jpg'}, 1354180178: {'path': 'temp/1745915459_1702901_1354180178_417712754449aca45a3383cf1e969c29.jpg', 'extension': 'jpg'}, 1354179977: {'path': 'temp/1745915459_1702901_1354179977_fbc34ce16b1bee9df13d8bb8896e9f45.jpg', 'extension': 'jpg'}, 1354180066: {'path': 'temp/1745915459_1702901_1354180066_94fb71410567f75bb2534830e02aaf6c.jpg', 'extension': 'jpg'}, 1354180096: {'path': 'temp/1745915459_1702901_1354180096_62653c5b3eaccbe41563550c07675678.jpg', 'extension': 'jpg'}, 1354180104: {'path': 'temp/1745915459_1702901_1354180104_499174f15a9691cb17d424c5a99632d9.jpg', 'extension': 'jpg'}, 1354180109: {'path': 'temp/1745915459_1702901_1354180109_cbe3da635237448bc32d2d93e822e06b.jpg', 'extension': 'jpg'}, 1354179957: {'path': 'temp/1745915459_1702901_1354179957_007c006d680453685e08f659d1e63359.jpg', 'extension': 'jpg'}, 1354179959: {'path': 'temp/1745915459_1702901_1354179959_2b65bc0c9bfe02b1afb00c150b9d3442.jpg', 'extension': 'jpg'}, 1354179963: {'path': 'temp/1745915459_1702901_1354179963_e562d40a0e57716435ffe26d9186a7bf.jpg', 'extension': 'jpg'}, 1354179966: {'path': 'temp/1745915459_1702901_1354179966_e84415020332ce77fa0ec6e416860e77.jpg', 'extension': 'jpg'}, 1354179970: {'path': 'temp/1745915459_1702901_1354179970_0e08bc444dcbdb353564642b40b2bb87.jpg', 'extension': 'jpg'}, 1354180181: {'path': 'temp/1745915459_1702901_1354180181_cd11dee0e50059cc1f1ad86644da7b1c.jpg', 'extension': 'jpg'}, 1354180207: {'path': 'temp/1745915459_1702901_1354180207_3d670e2bfe99e7f44eb9206168fb5ca8.jpg', 'extension': 'jpg'}, 1354180210: {'path': 'temp/1745915459_1702901_1354180210_7e659a342560517d030cd2431ac16e2e.jpg', 'extension': 'jpg'}, 1354180213: {'path': 'temp/1745915459_1702901_1354180213_a3cde6ce22696f9aeb67c2ce22e54a4e.jpg', 'extension': 'jpg'}, 1354180216: {'path': 'temp/1745915459_1702901_1354180216_85e652a6a647c869ccec86af77200567.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 = 22493912; (('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 = 22493912 group by h (('10', 70),) 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=22493912 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 (22493912) 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 (22493912) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29042025 22493912 Nombre de photos uploadées : 70 / 23040 (0%) 29042025 22493912 Nombre de photos taguées (types de déchets): 0 / 70 (0%) 29042025 22493912 Nombre de photos taguées (volume) : 0 / 70 (0%) [{'photo_id': 1354178730, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/bfbc2ced7de031c02d5d42dc6923364a.jpg', 'username': None, 'uploaded_at': 1745914568, 'text': 'image_29042025_10_15_04_010150m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354178690, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8268f72048a298459a4057ee2a7b88ee.jpg', 'username': None, 'uploaded_at': 1745914568, 'text': 'image_29042025_10_15_14_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354178647, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/22feda69496d5f1ea2ceee7e54748e08.jpg', 'username': None, 'uploaded_at': 1745914568, 'text': 'image_29042025_10_15_24_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354179106, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/acba52f8066d647ca1e6bd6b16b10f30.jpg', 'username': None, 'uploaded_at': 1745914627, 'text': 'image_29042025_10_15_34_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 5.9604644775390625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ?????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022406578063964844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22493912, '2025-04-29' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1752875,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024272680282592773 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= 1752875 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1752875, 'dashboard_run_id': 1761764, 'mtr_portfolio_id': 22491637, 'dashboard_result_id': 10137832, '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_P22491637_29-04-2025_09_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22491655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22491656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22491657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22491658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22491659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22491660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22491661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22491662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22491663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22491664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22491665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22491666, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1761764, 'mtr_portfolio_id': 22492266, 'dashboard_result_id': 10137833, '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_P22492266_29-04-2025_10_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22492309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22492310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22492311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22492312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22492313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22492314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22492315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22492316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22492317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22492318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22492319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22492320, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1761764, 'mtr_portfolio_id': 22493217, 'dashboard_result_id': 10137834, '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_P22493217_29-04-2025_10_16_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493233, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1761764, 'mtr_portfolio_id': 22493912, 'dashboard_result_id': 10137835, '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_P22493912_29-04-2025_10_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493948, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22491637 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': 2768252, 'mtr_portfolio_id': 22491637, 'created_at': datetime.datetime(2025, 4, 29, 9, 48, 59), 'result': '0.03132452891766387', 'result_long': None, 'result_double': None}] Qualite : 0.03132452891766387 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22491637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22491637_29-04-2025_09_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22491637 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_P22491637_29-04-2025_09_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22491655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22491656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22491657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22491658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22491659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22491660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22491661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22491662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22491663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22491664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22491665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22491666, 'pht': 3726}}" where mtr_portfolio_id = 22491637 and dashboard_run_id = 1761764 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`=22491637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10137832, 0.03132452891766387, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22491637_29-04-2025_09_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22491655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22491656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22491657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22491658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22491659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22491660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22491661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22491662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22491663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22491664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22491665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22491666, '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 = 22492266 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': 2768299, 'mtr_portfolio_id': 22492266, 'created_at': datetime.datetime(2025, 4, 29, 10, 3), 'result': '0.03842426094241934', 'result_long': None, 'result_double': None}] Qualite : 0.03842426094241934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22492266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22492266_29-04-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22492266 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_P22492266_29-04-2025_10_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22492309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22492310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22492311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22492312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22492313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22492314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22492315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22492316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22492317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22492318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22492319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22492320, 'pht': 3726}}" where mtr_portfolio_id = 22492266 and dashboard_run_id = 1761764 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`=22492266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10137833, 0.03842426094241934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22492266_29-04-2025_10_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22492309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22492310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22492311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22492312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22492313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22492314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22492315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22492316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22492317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22492318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22492319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22492320, '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 = 22493217 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': 2768369, 'mtr_portfolio_id': 22493217, 'created_at': datetime.datetime(2025, 4, 29, 10, 16, 29), 'result': '0.056608444292085495', 'result_long': None, 'result_double': None}] Qualite : 0.056608444292085495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22493217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493217_29-04-2025_10_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22493217 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_P22493217_29-04-2025_10_16_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493233, 'pht': 3726}}" where mtr_portfolio_id = 22493217 and dashboard_run_id = 1761764 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`=22493217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10137834, 0.056608444292085495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493217_29-04-2025_10_16_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493233, '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 = 22493912 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': 2768434, 'mtr_portfolio_id': 22493912, 'created_at': datetime.datetime(2025, 4, 29, 10, 30, 58), 'result': '0.056363304887680585', 'result_long': None, 'result_double': None}] Qualite : 0.056363304887680585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22493912 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_29-04-2025_10_30_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22493912 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_P22493912_29-04-2025_10_30_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493948, 'pht': 3726}}" where mtr_portfolio_id = 22493912 and dashboard_run_id = 1761764 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`=22493912 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10137835, 0.056363304887680585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_29-04-2025_10_30_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493948, '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 (22491637,22492266,22493217,22493912) result : ((1354154266,), (1354154275,), (1354154279,), (1354154282,), (1354154284,), (1354154567,), (1354154596,), (1354154625,), (1354154653,), (1354154683,), (1354154819,), (1354154847,), (1354154872,), (1354154882,), (1354154888,), (1354154893,), (1354155164,), (1354155179,), (1354155262,), (1354155272,), (1354155289,), (1354155365,), (1354155368,), (1354155373,), (1354155379,), (1354155392,), (1354155679,), (1354155706,), (1354155734,), (1354155760,), (1354155787,), (1354156045,), (1354156097,), (1354156127,), (1354156165,), (1354156218,), (1354156716,), (1354156747,), (1354156802,), (1354156852,), (1354156880,), (1354157255,), (1354157288,), (1354157340,), (1354157385,), (1354157426,), (1354157520,), (1354158296,), (1354158346,), (1354158395,), (1354158503,), (1354158580,), (1354159144,), (1354159200,), (1354159251,), (1354159303,), (1354159365,), (1354160028,), (1354160056,), (1354160092,), (1354160142,), (1354160190,), (1354160794,), (1354160669,), (1354160704,), (1354160735,), (1354160763,), (1354161250,), (1354161340,), (1354161463,), (1354161530,), (1354161579,), (1354161991,), (1354162037,), (1354162090,), (1354162143,), (1354162193,), (1354162246,), (1354163409,), (1354163480,), (1354163553,), (1354163624,), (1354163732,), (1354163935,), (1354164682,), (1354164778,), (1354164838,), (1354164903,), (1354164945,), (1354165522,), (1354165615,), (1354165696,), (1354165779,), (1354165845,), (1354166310,), (1354166418,), (1354166515,), (1354166618,), (1354166697,), (1354166755,), (1354167029,), (1354167098,), (1354167175,), (1354167238,), (1354167291,), (1354167343,), (1354167678,), (1354167743,), (1354167771,), (1354167797,), (1354168156,), (1354168199,), (1354168256,), (1354168311,), (1354168364,), (1354168415,), (1354168785,), (1354168812,), (1354168841,), (1354169155,), (1354169161,), (1354169166,), (1354169170,), (1354169173,), (1354169176,), (1354169408,), (1354169460,), (1354169515,), (1354170863,), (1354170972,), (1354171060,), (1354171127,), (1354171209,), (1354171334,), (1354171590,), (1354171647,), (1354171720,), (1354171795,), (1354172587,), (1354172173,), (1354172254,), (1354172351,), (1354172430,), (1354172512,), (1354173239,), (1354173295,), (1354173352,), (1354173408,), (1354173485,), (1354174037,), (1354174113,), (1354174187,), (1354174279,), (1354174347,), (1354175019,), (1354175071,), (1354175078,), (1354175091,), (1354175277,), (1354175442,), (1354175786,), (1354175789,), (1354175791,), (1354175793,), (1354175900,), (1354176099,), (1354176194,), (1354176221,), (1354176251,), (1354176279,), (1354176307,), (1354176601,), (1354176655,), (1354176698,), (1354176746,), (1354176973,), (1354176977,), (1354176981,), (1354176983,), (1354177008,), (1354177034,), (1354177142,), (1354177145,), (1354177148,), (1354177208,), (1354177213,), (1354177253,), (1354177322,), (1354177674,), (1354177693,), (1354177808,), (1354177873,), (1354177876,), (1354177878,), (1354177880,), (1354177883,), (1354178013,), (1354178160,), (1354178188,), (1354178384,), (1354178463,), (1354178469,), (1354178478,), (1354178480,), (1354178492,), (1354178889,), (1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29042025': {'nb_upload': 70, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22493912]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] map_info['map_portfolio_photo'] : {22493912: [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957, 1354179924, 1354179921, 1354179917, 1354179913, 1354179878, 1354179877, 1354179874, 1354179871, 1354179868, 1354179866, 1354179823, 1354179820, 1354179818, 1354179814, 1354179783, 1354179781, 1354179764, 1354179751, 1354179718, 1354179700, 1354179521, 1354179491, 1354179462, 1354179313, 1354179310, 1354179305, 1354179302, 1354179298, 1354179271, 1354179268, 1354179266, 1354179263, 1354179260, 1354179257, 1354179209, 1354179206, 1354179204, 1354179200, 1354179187, 1354179106, 1354179078, 1354179051, 1354179029, 1354179027, 1354179022, 1354178730, 1354178690, 1354178647]} final : True mtd_id 4302 list_pids : [1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957] Looping around the photos to save general results len do output : 1 /22493912Didn'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, '2768434') ('4302', '22493912', '1354180248', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434') ('4302', None, None, None, None, None, None, None, '2768434') ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434') 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, '22493912', 'None', None, None, None, None, '2768434'), ('4302', '22493912', '1354180248', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180241', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180216', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180213', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180210', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180207', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180181', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180178', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180175', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180171', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180168', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180164', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180109', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180104', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180096', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354180066', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179977', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179970', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179966', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179963', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179959', None, None, None, None, None, '2768434'), ('4302', '22493912', '1354179957', None, None, None, None, None, '2768434')] time used for this insertion : 0.021593093872070312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.38697266578674316 time spend to save output : 0.021977901458740234 total time spend for step 5 : 0.4089505672454834 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 (2768434) 3.07user 2.54system 0:11.14elapsed 50%CPU (0avgtext+0avgdata 161324maxresident)k 2496inputs+21600outputs (27major+77575minor)pagefaults 0swaps