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 : 1989607 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 (2747189) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2747189) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289161 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2747189'] with mtr_portfolio_ids : ['22289161'] and first list_photo_ids : [] new path : /proc/1989607/ Name: python3 Umask: 0002 State: R (running) Tgid: 1989607 Ngid: 0 Pid: 1989607 PPid: 1989606 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1989607 NSpid: 1989607 NSpgid: 1985307 NSsid: 1985307 VmPeak: 1106940 kB VmSize: 1106940 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99492 kB VmRSS: 99492 kB RssAnon: 59784 kB RssFile: 39708 kB RssShmem: 0 kB VmData: 865688 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 53 nonvoluntary_ctxt_switches: 100 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1989607', 'Ngid': '0', 'Pid': '1989607', 'PPid': '1989606', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1989607', 'NSpid': '1989607', 'NSpgid': '1985307', 'NSsid': '1985307', 'VmPeak': '1106940 kB', 'VmSize': '1106940 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99492 kB', 'VmRSS': '99492 kB', 'RssAnon': '59784 kB', 'RssFile': '39708 kB', 'RssShmem': '0 kB', 'VmData': '865688 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '53', 'nonvoluntary_ctxt_switches': '100'} ('datou_batch_current', '1989607', '1106940', '0', '1106940', '865688', '99492', b'', 'marlene', '2747189') 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 (22289161) 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 (2747189 ) ) 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 (22289161) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1352546611, 'portfolio_id': 22289161}, {'photo_id': 1352546418, 'portfolio_id': 22289161}, {'photo_id': 1352546410, 'portfolio_id': 22289161}, {'photo_id': 1352546404, 'portfolio_id': 22289161}, {'photo_id': 1352546398, 'portfolio_id': 22289161}, {'photo_id': 1352546380, 'portfolio_id': 22289161}, {'photo_id': 1352546235, 'portfolio_id': 22289161}, {'photo_id': 1352546230, 'portfolio_id': 22289161}, {'photo_id': 1352546220, 'portfolio_id': 22289161}, {'photo_id': 1352546213, 'portfolio_id': 22289161}, {'photo_id': 1352546209, 'portfolio_id': 22289161}, {'photo_id': 1352546205, 'portfolio_id': 22289161}, {'photo_id': 1352546137, 'portfolio_id': 22289161}, {'photo_id': 1352546132, 'portfolio_id': 22289161}, {'photo_id': 1352546118, 'portfolio_id': 22289161}, {'photo_id': 1352546107, 'portfolio_id': 22289161}, {'photo_id': 1352546065, 'portfolio_id': 22289161}, {'photo_id': 1352546059, 'portfolio_id': 22289161}, {'photo_id': 1352546057, 'portfolio_id': 22289161}, {'photo_id': 1352546051, 'portfolio_id': 22289161}, {'photo_id': 1352546048, 'portfolio_id': 22289161}, {'photo_id': 1352546046, 'portfolio_id': 22289161}, {'photo_id': 1352545877, 'portfolio_id': 22289161}, {'photo_id': 1352545874, 'portfolio_id': 22289161}, {'photo_id': 1352545869, 'portfolio_id': 22289161}, {'photo_id': 1352545866, 'portfolio_id': 22289161}, {'photo_id': 1352545860, 'portfolio_id': 22289161}, {'photo_id': 1352545845, 'portfolio_id': 22289161}, {'photo_id': 1352545742, 'portfolio_id': 22289161}, {'photo_id': 1352545736, 'portfolio_id': 22289161}, {'photo_id': 1352545731, 'portfolio_id': 22289161}, {'photo_id': 1352545725, 'portfolio_id': 22289161}, {'photo_id': 1352545695, 'portfolio_id': 22289161}, {'photo_id': 1352545691, 'portfolio_id': 22289161}, {'photo_id': 1352545684, 'portfolio_id': 22289161}, {'photo_id': 1352545681, 'portfolio_id': 22289161}, {'photo_id': 1352545678, 'portfolio_id': 22289161}, {'photo_id': 1352545675, 'portfolio_id': 22289161}, {'photo_id': 1352545515, 'portfolio_id': 22289161}, {'photo_id': 1352545508, 'portfolio_id': 22289161}, {'photo_id': 1352545504, 'portfolio_id': 22289161}, {'photo_id': 1352545500, 'portfolio_id': 22289161}, {'photo_id': 1352545353, 'portfolio_id': 22289161}, {'photo_id': 1352545347, 'portfolio_id': 22289161}, {'photo_id': 1352545343, 'portfolio_id': 22289161}, {'photo_id': 1352545322, 'portfolio_id': 22289161}, {'photo_id': 1352545301, 'portfolio_id': 22289161}, {'photo_id': 1352545201, 'portfolio_id': 22289161}, {'photo_id': 1352544789, 'portfolio_id': 22289161}, {'photo_id': 1352544784, 'portfolio_id': 22289161}, {'photo_id': 1352544780, 'portfolio_id': 22289161}, {'photo_id': 1352544776, 'portfolio_id': 22289161}, {'photo_id': 1352544773, 'portfolio_id': 22289161}, {'photo_id': 1352544087, 'portfolio_id': 22289161}, {'photo_id': 1352544044, 'portfolio_id': 22289161}, {'photo_id': 1352543734, 'portfolio_id': 22289161}, {'photo_id': 1352543707, 'portfolio_id': 22289161}, {'photo_id': 1352543679, 'portfolio_id': 22289161}, {'photo_id': 1352543651, 'portfolio_id': 22289161}, {'photo_id': 1352543622, 'portfolio_id': 22289161}, {'photo_id': 1352542592, 'portfolio_id': 22289161}, {'photo_id': 1352542587, 'portfolio_id': 22289161}, {'photo_id': 1352542581, 'portfolio_id': 22289161}, {'photo_id': 1352542577, 'portfolio_id': 22289161}, {'photo_id': 1352542564, 'portfolio_id': 22289161}, {'photo_id': 1352542536, 'portfolio_id': 22289161}, {'photo_id': 1352542248, 'portfolio_id': 22289161}, {'photo_id': 1352542206, 'portfolio_id': 22289161}, {'photo_id': 1352542177, 'portfolio_id': 22289161}, {'photo_id': 1352542047, 'portfolio_id': 22289161}, {'photo_id': 1352542025, 'portfolio_id': 22289161}, {'photo_id': 1352542003, 'portfolio_id': 22289161}, {'photo_id': 1352541987, 'portfolio_id': 22289161}] map_portfolio_id_photo_id: {22289161: [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046, 1352545877, 1352545874, 1352545869, 1352545866, 1352545860, 1352545845, 1352545742, 1352545736, 1352545731, 1352545725, 1352545695, 1352545691, 1352545684, 1352545681, 1352545678, 1352545675, 1352545515, 1352545508, 1352545504, 1352545500, 1352545353, 1352545347, 1352545343, 1352545322, 1352545301, 1352545201, 1352544789, 1352544784, 1352544780, 1352544776, 1352544773, 1352544087, 1352544044, 1352543734, 1352543707, 1352543679, 1352543651, 1352543622, 1352542592, 1352542587, 1352542581, 1352542577, 1352542564, 1352542536, 1352542248, 1352542206, 1352542177, 1352542047, 1352542025, 1352542003, 1352541987]} ##### 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.018981456756591797 #### 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 22 08:18: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 (22289161) 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 : 22289161 get user id for portfolio 22289161 get sub ptf for main ptf 22289161, type 3726 and hashtags ['plastique', 'cartonnette', 'Carton_gris', 'flou', 'autre_refus', 'Carton_brun', 'Teint_Dans_La_Masse', 'metal', 'mal_croppe', 'environnement', 'papier', 'kraft'] 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`=22289161 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','flou','autre_refus','Carton_brun','Teint_Dans_La_Masse','metal','mal_croppe','environnement','papier','kraft')) 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`=22289161 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','flou','autre_refus','Carton_brun','Teint_Dans_La_Masse','metal','mal_croppe','environnement','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22289161, 'sub_port_id': 22289186, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752559, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'kraft': {'main_port_id': 22289161, 'sub_port_id': 22289187, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752560, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'metal': {'main_port_id': 22289161, 'sub_port_id': 22289188, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752561, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'autre_refus': {'main_port_id': 22289161, 'sub_port_id': 22289189, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752562, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'mal_croppe': {'main_port_id': 22289161, 'sub_port_id': 22289190, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752563, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'Carton_gris': {'main_port_id': 22289161, 'sub_port_id': 22289191, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752564, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'cartonnette': {'main_port_id': 22289161, 'sub_port_id': 22289192, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752565, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'flou': {'main_port_id': 22289161, 'sub_port_id': 22289193, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752566, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'Carton_brun': {'main_port_id': 22289161, 'sub_port_id': 22289194, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752567, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'papier': {'main_port_id': 22289161, 'sub_port_id': 22289195, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752568, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'plastique': {'main_port_id': 22289161, 'sub_port_id': 22289196, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752569, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}, 'environnement': {'main_port_id': 22289161, 'sub_port_id': 22289197, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752570, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22289186 , 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=22289161 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 (22289186) result : ((1352543982,), (1352543983,), (1352543984,), (1352546053,), (1352546108,), (1352546185,), (1352546186,), (1352546215,), (1352546251,), (1352546748,), (1352546749,), (1352546750,), (1352546751,), (1352546752,), (1352547100,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289187 , 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=22289161 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 (22289187) result : ((1352546229,), (1352546777,), (1352546779,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289188 , 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=22289161 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 (22289188) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289189 , 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=22289161 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 (22289189) result : ((1352544485,), (1352545663,), (1352545815,), (1352546187,), (1352546188,), (1352546189,), (1352546216,), (1352546217,), (1352546218,), (1352546219,), (1352546221,), (1352546517,), (1352546753,), (1352546756,), (1352546757,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289190 , 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=22289161 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 (22289190) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289191 , 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=22289161 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 (22289191) result : ((1352543992,), (1352543993,), (1352545664,), (1352545823,), (1352546111,), (1352546112,), (1352546223,), (1352546224,), (1352546760,), (1352546761,), (1352546762,), (1352546767,), (1352546768,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289192 , 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=22289161 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 (22289192) result : ((1352544000,), (1352545719,), (1352545825,), (1352546113,), (1352546114,), (1352546115,), (1352546116,), (1352546190,), (1352546191,), (1352546192,), (1352546225,), (1352546252,), (1352546771,), (1352547101,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289193 , 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=22289161 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 (22289193) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289194 , 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=22289161 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 (22289194) result : ((1352544005,), (1352544531,), (1352546056,), (1352546121,), (1352546122,), (1352546123,), (1352546124,), (1352546125,), (1352546195,), (1352546196,), (1352546197,), (1352546198,), (1352546199,), (1352546254,), (1352546764,), (1352546774,), (1352547104,), (1352547105,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289195 , 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=22289161 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 (22289195) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289196 , 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=22289161 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 (22289196) result : ((1352544593,), (1352546127,), (1352546128,), (1352546129,), (1352546130,), (1352546200,), (1352546256,), (1352546769,), (1352546770,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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 22289197 , 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=22289161 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 (22289197) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22289161) result : ((1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,)) 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 (1352545500) 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`=22289161 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','flou','autre_refus','Carton_brun','Teint_Dans_La_Masse','metal','mal_croppe','environnement','papier','kraft')) 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`=22289161 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','flou','autre_refus','Carton_brun','Teint_Dans_La_Masse','metal','mal_croppe','environnement','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22289161, 'sub_port_id': 22289198, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752571, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'kraft': {'main_port_id': 22289161, 'sub_port_id': 22289199, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752572, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'metal': {'main_port_id': 22289161, 'sub_port_id': 22289200, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752573, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'autre_refus': {'main_port_id': 22289161, 'sub_port_id': 22289201, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752574, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'mal_croppe': {'main_port_id': 22289161, 'sub_port_id': 22289202, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752575, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'Carton_gris': {'main_port_id': 22289161, 'sub_port_id': 22289203, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752576, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'cartonnette': {'main_port_id': 22289161, 'sub_port_id': 22289204, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752577, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'flou': {'main_port_id': 22289161, 'sub_port_id': 22289205, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752578, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'Carton_brun': {'main_port_id': 22289161, 'sub_port_id': 22289206, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752579, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'papier': {'main_port_id': 22289161, 'sub_port_id': 22289207, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752580, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'plastique': {'main_port_id': 22289161, 'sub_port_id': 22289208, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752581, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}, 'environnement': {'main_port_id': 22289161, 'sub_port_id': 22289209, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14752582, 'last_updated_at': datetime.datetime(2025, 4, 22, 8, 12, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 8, 12, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 8, 5, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289198,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289186 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289199,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289187 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289200,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289188 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289201,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289189 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289202,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289190 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289203,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289191 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289204,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289192 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289205,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289193 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289206,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289194 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289207,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289195 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289208,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289196 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22289209,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22289197 lien utilise dans velours : https://www.fotonower.com/velours/22289198,22289199,22289200,22289201,22289202,22289203,22289204,22289205,22289206,22289207,22289208,22289209?tags=Teint_Dans_La_Masse,kraft,metal,autre_refus,mal_croppe,Carton_gris,cartonnette,flou,Carton_brun,papier,plastique,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22289161]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] map_info['map_portfolio_photo'] : {22289161: [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046, 1352545877, 1352545874, 1352545869, 1352545866, 1352545860, 1352545845, 1352545742, 1352545736, 1352545731, 1352545725, 1352545695, 1352545691, 1352545684, 1352545681, 1352545678, 1352545675, 1352545515, 1352545508, 1352545504, 1352545500, 1352545353, 1352545347, 1352545343, 1352545322, 1352545301, 1352545201, 1352544789, 1352544784, 1352544780, 1352544776, 1352544773, 1352544087, 1352544044, 1352543734, 1352543707, 1352543679, 1352543651, 1352543622, 1352542592, 1352542587, 1352542581, 1352542577, 1352542564, 1352542536, 1352542248, 1352542206, 1352542177, 1352542047, 1352542025, 1352542003, 1352541987]} final : False mtd_id 4302 list_pids : [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] Looping around the photos to save general results len do output : 1 /22289161. 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, '2747189') ('4302', '22289161', '1352546611', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189') 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, '22289161', "{'Teint_Dans_La_Masse': 22289186, 'kraft': 22289187, 'metal': 22289188, 'autre_refus': 22289189, 'mal_croppe': 22289190, 'Carton_gris': 22289191, 'cartonnette': 22289192, 'flou': 22289193, 'Carton_brun': 22289194, 'papier': 22289195, 'plastique': 22289196, 'environnement': 22289197}", None, None, None, None, '2747189'), ('4302', '22289161', '1352546611', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189')] time used for this insertion : 0.01986074447631836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7445933818817139 time spend to save output : 0.0202176570892334 total time spend for step 1 : 0.7648110389709473 step2:final Tue Apr 22 08:18:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22289161) 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 22289161 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1352542047,1352542025,1352542003,1352541987,1352542248,1352542206,1352542177,1352542592,1352542587,1352542581,1352542577,1352542564,1352542536,1352543734,1352543707,1352543679,1352543651,1352543622,1352544087,1352544044,1352544789,1352544784,1352544780,1352544776,1352544773,1352545353,1352545347,1352545343,1352545322,1352545301,1352545201,1352545515,1352545508,1352545504,1352545500,1352545695,1352545691,1352545684,1352545681,1352545678,1352545675,1352545742,1352545736,1352545731,1352545725,1352545877,1352545874,1352545869,1352545866,1352545860,1352545845,1352546065,1352546059,1352546057,1352546051,1352546048,1352546046,1352546137,1352546132,1352546118,1352546107,1352546235,1352546230,1352546220,1352546213,1352546209,1352546205,1352546418,1352546410,1352546404,1352546398,1352546380,1352546611); 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([22289161]) Inside saveOutput : final : False verbose : True original output for save of step final : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} new output for save of step final : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] map_info['map_portfolio_photo'] : {22289161: [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046, 1352545877, 1352545874, 1352545869, 1352545866, 1352545860, 1352545845, 1352545742, 1352545736, 1352545731, 1352545725, 1352545695, 1352545691, 1352545684, 1352545681, 1352545678, 1352545675, 1352545515, 1352545508, 1352545504, 1352545500, 1352545353, 1352545347, 1352545343, 1352545322, 1352545301, 1352545201, 1352544789, 1352544784, 1352544780, 1352544776, 1352544773, 1352544087, 1352544044, 1352543734, 1352543707, 1352543679, 1352543651, 1352543622, 1352542592, 1352542587, 1352542581, 1352542577, 1352542564, 1352542536, 1352542248, 1352542206, 1352542177, 1352542047, 1352542025, 1352542003, 1352541987]} final : False mtd_id 4302 list_pids : [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] Looping around the photos to save general results len do output : 22 /1352546611.Didn't retrieve data . /1352546418.Didn't retrieve data . /1352546410.Didn't retrieve data . /1352546404.Didn't retrieve data . /1352546398.Didn't retrieve data . /1352546380.Didn't retrieve data . /1352546235.Didn't retrieve data . /1352546230.Didn't retrieve data . /1352546220.Didn't retrieve data . /1352546213.Didn't retrieve data . /1352546209.Didn't retrieve data . /1352546205.Didn't retrieve data . /1352546137.Didn't retrieve data . /1352546132.Didn't retrieve data . /1352546118.Didn't retrieve data . /1352546107.Didn't retrieve data . /1352546065.Didn't retrieve data . /1352546059.Didn't retrieve data . /1352546057.Didn't retrieve data . /1352546051.Didn't retrieve data . /1352546048.Didn't retrieve data . /1352546046.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, '2747189') ('4302', '22289161', '1352546611', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189') 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', '22289161', '1352546611', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546418', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546410', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546404', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546398', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546380', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546235', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546230', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546220', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546213', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546209', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546205', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546137', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546132', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546118', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546107', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546065', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546059', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546057', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546051', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546048', '0.059532425882459834', None, None, None, None, '2747189'), ('4302', '22289161', '1352546046', '0.059532425882459834', None, None, None, None, '2747189')] time used for this insertion : 0.017409086227416992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07767152786254883 time spend to save output : 0.018316984176635742 total time spend for step 2 : 0.09598851203918457 step3:velours_tree Tue Apr 22 08:18:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22289161: [{'Teint_Dans_La_Masse': 22289186, 'kraft': 22289187, 'metal': 22289188, 'autre_refus': 22289189, 'mal_croppe': 22289190, 'Carton_gris': 22289191, 'cartonnette': 22289192, 'flou': 22289193, 'Carton_brun': 22289194, 'papier': 22289195, 'plastique': 22289196, 'environnement': 22289197}]} input_args_next_step : {22289161: ()} output_args : {22289161: [{'Teint_Dans_La_Masse': 22289186, 'kraft': 22289187, 'metal': 22289188, 'autre_refus': 22289189, 'mal_croppe': 22289190, 'Carton_gris': 22289191, 'cartonnette': 22289192, 'flou': 22289193, 'Carton_brun': 22289194, 'papier': 22289195, 'plastique': 22289196, 'environnement': 22289197}]} args : 22289161 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 : ({'Teint_Dans_La_Masse': 22289186, 'kraft': 22289187, 'metal': 22289188, 'autre_refus': 22289189, 'mal_croppe': 22289190, 'Carton_gris': 22289191, 'cartonnette': 22289192, 'flou': 22289193, 'Carton_brun': 22289194, 'papier': 22289195, 'plastique': 22289196, 'environnement': 22289197},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22289161) 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([22289161]) 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.3481323719024658 time spend to save output : 5.4836273193359375e-05 total time spend for step 3 : 0.3481872081756592 step4:send_mail_cod Tue Apr 22 08:18: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 : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} input_args_next_step : {1352546611: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546611 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546418 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546410 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546404 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546398 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546380 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546235 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546230 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546220 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546213 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546209 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546205 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546137 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546132 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546118 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546107 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546065 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546059 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546057 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546051 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546048 depend.output_id : 0 input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ()} output_args : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',)} args : 1352546046 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 : {22289161: [{'Teint_Dans_La_Masse': 22289186, 'kraft': 22289187, 'metal': 22289188, 'autre_refus': 22289189, 'mal_croppe': 22289190, 'Carton_gris': 22289191, 'cartonnette': 22289192, 'flou': 22289193, 'Carton_brun': 22289194, 'papier': 22289195, 'plastique': 22289196, 'environnement': 22289197}]} input_args_next_step : {1352546611: ('0.059532425882459834',), 1352546418: ('0.059532425882459834',), 1352546410: ('0.059532425882459834',), 1352546404: ('0.059532425882459834',), 1352546398: ('0.059532425882459834',), 1352546380: ('0.059532425882459834',), 1352546235: ('0.059532425882459834',), 1352546230: ('0.059532425882459834',), 1352546220: ('0.059532425882459834',), 1352546213: ('0.059532425882459834',), 1352546209: ('0.059532425882459834',), 1352546205: ('0.059532425882459834',), 1352546137: ('0.059532425882459834',), 1352546132: ('0.059532425882459834',), 1352546118: ('0.059532425882459834',), 1352546107: ('0.059532425882459834',), 1352546065: ('0.059532425882459834',), 1352546059: ('0.059532425882459834',), 1352546057: ('0.059532425882459834',), 1352546051: ('0.059532425882459834',), 1352546048: ('0.059532425882459834',), 1352546046: ('0.059532425882459834',), 22289161: ()} output_args : {22289161: [{'Teint_Dans_La_Masse': 22289186, 'kraft': 22289187, 'metal': 22289188, 'autre_refus': 22289189, 'mal_croppe': 22289190, 'Carton_gris': 22289191, 'cartonnette': 22289192, 'flou': 22289193, 'Carton_brun': 22289194, 'papier': 22289195, 'plastique': 22289196, 'environnement': 22289197}]} args : 22289161 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.059532425882459834',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22289161) 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 (1352546611,1352546418,1352546410,1352546404,1352546398,1352546380,1352546235,1352546230,1352546220,1352546213,1352546209,1352546205,1352546137,1352546132,1352546118,1352546107,1352546065,1352546059,1352546057,1352546051,1352546048,1352546046) Found this number of photos: 22 ##### Call download_photos : nb_thread : 5 begin to download photo : 1352546046 begin to download photo : 1352546065 begin to download photo : 1352546205 begin to download photo : 1352546235 begin to download photo : 1352546418 download finish for photo 1352546235 begin to download photo : 1352546380 download finish for photo 1352546046 begin to download photo : 1352546048 download finish for photo 1352546205 begin to download photo : 1352546209 download finish for photo 1352546065 begin to download photo : 1352546107 download finish for photo 1352546418 begin to download photo : 1352546611 download finish for photo 1352546611 download finish for photo 1352546209 begin to download photo : 1352546213 download finish for photo 1352546107 begin to download photo : 1352546118 download finish for photo 1352546380 begin to download photo : 1352546398 download finish for photo 1352546048 begin to download photo : 1352546051 download finish for photo 1352546118 begin to download photo : 1352546132 download finish for photo 1352546398 begin to download photo : 1352546404 download finish for photo 1352546051 begin to download photo : 1352546057 download finish for photo 1352546213 begin to download photo : 1352546220 download finish for photo 1352546132 begin to download photo : 1352546137 download finish for photo 1352546404 begin to download photo : 1352546410 download finish for photo 1352546057 begin to download photo : 1352546059 download finish for photo 1352546220 begin to download photo : 1352546230 download finish for photo 1352546137 download finish for photo 1352546410 download finish for photo 1352546059 download finish for photo 1352546230 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_P22289161_22-04-2025_08_19_00.pdf 22289187 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=22289187 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352546229: '1745302422_659817_1352545860_2f5a403862221d46488bae9996250408_rle_crop_3762612087_0.png', 1352546777: '1745302541_660375_1352546059_bcbabcbc39d169be060f70f3783ab244_rle_crop_3762615085_0.png', 1352546779: '1745302541_660375_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1_rle_crop_3762615426_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/38eda4148c9449549a542b5e20807f7a_98338069.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/58f7a7e8c0699c7ab88b2e293ecaa109_66346148.png change filename to text .imagette222891871745302740/ imagette222891871745302740/1745302422_659817_1352545860_2f5a403862221d46488bae9996250408_rle_crop_3762612087_0.png.png imagette222891871745302740/1745302541_660375_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1_rle_crop_3762615426_0.png.png imagette222891871745302740/1745302541_660375_1352546059_bcbabcbc39d169be060f70f3783ab244_rle_crop_3762615085_0.png.png imagette222891881745302740/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/64ab8cb97c2694115d25772045eb1dc5_65419768.png imagette222891871745302740 22289188 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=22289188 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222891881745302740 22289189 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=22289189 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352544485: '1745301911_2898415_1352542177_740868ddf921480246dad082c81348d3_rle_crop_3762605022_0.png', 1352545663: '1745302093_2900581_1352544784_10c143160a2a04a6f36d7bc04fc9b83f_rle_crop_3762605811_0.png', 1352545815: '1745302212_2902132_1352543679_c120ecb9e28643cd6951199fc4abc765_rle_crop_3762608894_0.png', 1352546187: '1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611841_0.png', 1352546188: '1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612006_0.png', 1352546189: '1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612023_0.png', 1352546216: '1745302422_659817_1352545869_bde2727319944406a2c7e67c3796f41d_rle_crop_3762612066_0.png', 1352546217: '1745302422_659817_1352545869_bde2727319944406a2c7e67c3796f41d_rle_crop_3762612062_0.png', 1352546218: '1745302422_659817_1352545866_67deba72233aab0cded55c762e4d80ae_rle_crop_3762612074_0.png', 1352546219: '1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612104_0.png', 1352546221: '1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612103_0.png', 1352546517: '1745302513_2905773_1352546107_94462ee017f23118f272d28881a979da_rle_crop_3762614664_0.png', 1352546753: '1745302573_2906684_1352542564_fa4a78d8ba80ddb39adb8dbfaa4238cb_rle_crop_3762615414_0.png', 1352546756: '1745302541_660375_1352546051_38e4e4b241d7c3d10a33dbf80bb9994c_rle_crop_3762615121_0.png', 1352546757: '1745302541_660375_1352546051_38e4e4b241d7c3d10a33dbf80bb9994c_rle_crop_3762615117_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/673a43dc4a586824758550f1ebbb4ddb_35240794.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/eabc3753b693551258e1c7f6806aacb7_26198683.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/3a79a61617e187fdc02b19c0fd9e8a0a_70189689.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/058420c7700c763e8da4b6ea0271a8a0_2487272.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1c497dbe3594bbb4cdbfccc7d261b3eb_76545839.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f692f5dcfd8b3dafaeb2c9e1d5353801_60030529.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/0049b702f8e3561a061bdfa8782a2dae_2518036.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/03b3b56bfc7c1c2d771798091607f94c_75628648.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/56da9648cda65e6e2f81ce95fe99a68c_25738835.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4ff1beda425a930da90d43623be70456_96326334.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/dbec428269d091518efafb2baa0461be_51609752.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/7f66ae7cc8fe5f5304c1fad99c254571_46945759.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/44e0ed0e511e1d81d33dc5a8d24294d5_21863476.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9f8c20e6e312663b6209c53d2f714042_37000373.png change filename to text .imagette222891891745302740/ imagette222891891745302740/1745302422_659817_1352545869_bde2727319944406a2c7e67c3796f41d_rle_crop_3762612066_0.png.png imagette222891891745302740/1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612104_0.png.png imagette222891891745302740/1745302422_659817_1352545869_bde2727319944406a2c7e67c3796f41d_rle_crop_3762612062_0.png.png imagette222891891745302740/1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612023_0.png.png imagette222891891745302740/1745302541_660375_1352546051_38e4e4b241d7c3d10a33dbf80bb9994c_rle_crop_3762615121_0.png.png imagette222891891745302740/1745302212_2902132_1352543679_c120ecb9e28643cd6951199fc4abc765_rle_crop_3762608894_0.png.png imagette222891891745302740/1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611841_0.png.png imagette222891891745302740/1745301911_2898415_1352542177_740868ddf921480246dad082c81348d3_rle_crop_3762605022_0.png.png imagette222891891745302740/1745302541_660375_1352546051_38e4e4b241d7c3d10a33dbf80bb9994c_rle_crop_3762615117_0.png.png imagette222891891745302740/1745302422_659817_1352545866_67deba72233aab0cded55c762e4d80ae_rle_crop_3762612074_0.png.png imagette222891891745302740/1745302573_2906684_1352542564_fa4a78d8ba80ddb39adb8dbfaa4238cb_rle_crop_3762615414_0.png.png imagette222891891745302740/1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612006_0.png.png imagette222891891745302740/1745302093_2900581_1352544784_10c143160a2a04a6f36d7bc04fc9b83f_rle_crop_3762605811_0.png.png imagette222891891745302740/1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612103_0.png.png imagette222891891745302740/1745302513_2905773_1352546107_94462ee017f23118f272d28881a979da_rle_crop_3762614664_0.png.png imagette222891901745302741/ wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8c2fce07334e98e6c1eebc4ce75d8d54_67899105.png imagette222891891745302740 22289190 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=22289190 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222891901745302741 22289192 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=22289192 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352544000: '1745301852_2897820_1352542025_03568da4425befaf978eef0b271a5808_rle_crop_3762604622_0.png', 1352545719: '1745302152_2901338_1352544044_90932901e3dc26392d403813043c516f_rle_crop_3762608357_0.png', 1352545825: '1745302212_2902132_1352543707_e404758e733d6b2a4750bdaf856d3d63_rle_crop_3762608672_0.png', 1352546113: '1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611583_0.png', 1352546114: '1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611575_0.png', 1352546115: '1745302332_2903671_1352545681_2f4458f0bea0203625fb5ff20dc1b9ea_rle_crop_3762611597_0.png', 1352546116: '1745302332_2903671_1352545678_32e48e526a1f89699e54822bf10b26de_rle_crop_3762611620_0.png', 1352546190: '1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611840_0.png', 1352546191: '1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612001_0.png', 1352546192: '1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612017_0.png', 1352546225: '1745302422_659817_1352545860_2f5a403862221d46488bae9996250408_rle_crop_3762612089_0.png', 1352546252: '1745302453_2905077_1352545508_cd37b6d378800bd5622a370d3c177001_rle_crop_3762612445_0.png', 1352546771: '1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615164_0.png', 1352547101: '1745302692_2908234_1352546404_b40a7ce8abf3302f18318a4f646e218a_rle_crop_3762617046_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9e5ebc536e108c96903858df857d121a_98059758.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/51af4cefeeb18a156a94fb685df97e1b_59560599.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9905a6b9487c6ea9eeac2c8378d6a44d_42531996.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/14a8f671658248ff68ddb7d210cd572c_66496128.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ac228ef1566c74e58c190379f83bcd1b_29211572.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1dd06eb08376e3fb8b586c8113437fc5_4869187.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/cfd329e4e341938a8661b35f19980e98_41176184.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e3fc4a85b8dab2f0085916c82e1b82a8_38559661.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/847490c72e2123aa5087c53068b455cc_766295.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a2395cadc4e0f2613d3ae2e2baa057ed_95123327.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/de50428d140744dda3c4668a00af2a3c_4061828.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/49bf9dd02071b01e71558a58adfb68e0_50038613.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/acd4f8aff20f628a2e2b53e518f77035_25749625.png change filename to text .imagette222891921745302741/ imagette222891921745302741/1745302422_659817_1352545860_2f5a403862221d46488bae9996250408_rle_crop_3762612089_0.png.png imagette222891921745302741/1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611583_0.png.png imagette222891921745302741/1745301852_2897820_1352542025_03568da4425befaf978eef0b271a5808_rle_crop_3762604622_0.png.png imagette222891921745302741/1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615164_0.png.png imagette222891921745302741/1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611840_0.png.png imagette222891921745302741/1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612017_0.png.png imagette222891921745302741/1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611575_0.png.png imagette222891921745302741/1745302332_2903671_1352545678_32e48e526a1f89699e54822bf10b26de_rle_crop_3762611620_0.png.png imagette222891921745302741/1745302212_2902132_1352543707_e404758e733d6b2a4750bdaf856d3d63_rle_crop_3762608672_0.png.png imagette222891921745302741/1745302332_2903671_1352545681_2f4458f0bea0203625fb5ff20dc1b9ea_rle_crop_3762611597_0.png.png imagette222891921745302741/1745302692_2908234_1352546404_b40a7ce8abf3302f18318a4f646e218a_rle_crop_3762617046_0.png.png imagette222891921745302741/1745302152_2901338_1352544044_90932901e3dc26392d403813043c516f_rle_crop_3762608357_0.png.png imagette222891921745302741/1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612001_0.png.png imagette222891921745302741/1745302453_2905077_1352545508_cd37b6d378800bd5622a370d3c177001_rle_crop_3762612445_0.png.png imagette222891931745302742/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b6fd8b0c77b6e827fff8799d84e0c794_49081236.png imagette222891921745302741 22289193 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=22289193 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222891931745302742 22289196 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=22289196 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352544593: '1745301911_2898415_1352542206_1410cc4d95779a7ad3b0a9a74bc7eb24_rle_crop_3762605001_0.png', 1352546127: '1745302332_2903671_1352545742_6042676d750ac3b1288b0a0d00f61398_rle_crop_3762611550_0.png', 1352546128: '1745302332_2903671_1352545681_2f4458f0bea0203625fb5ff20dc1b9ea_rle_crop_3762611600_0.png', 1352546129: '1745302332_2903671_1352545678_32e48e526a1f89699e54822bf10b26de_rle_crop_3762611626_0.png', 1352546130: '1745302332_2903671_1352545675_31deb05945379b89ec9ee71c0c84e990_rle_crop_3762611645_0.png', 1352546200: '1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612025_0.png', 1352546256: '1745302453_2905077_1352545508_cd37b6d378800bd5622a370d3c177001_rle_crop_3762612449_0.png', 1352546769: '1745302573_2906684_1352542581_e269c967c5ac434995054fcbbd56d0da_rle_crop_3762615141_0.png', 1352546770: '1745302573_2906684_1352542536_aa6575589d250300d0f51ebfc1641932_rle_crop_3762615446_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8eb91884a1de58b4ae9657a45e7d00a0_19306684.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4102f6987080a955504f1b1b5d92769c_29987215.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6c29d87fdf26f6078b7a82e81d5ec3bd_46493637.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/89977f55c535a9ca814db177ff9a557f_36047099.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/7c00901b3b612a5a2b49400ae0597570_51815276.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b2660f182ecfd916d684d9aba01e3a3c_34650692.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/362e643af82b46810f29c92f7a6d5f10_89533032.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b2095b1f0f8a43035d903c73b6117001_25433416.png change filename to text .imagette222891961745302742/ imagette222891961745302742/1745302453_2905077_1352545508_cd37b6d378800bd5622a370d3c177001_rle_crop_3762612449_0.png.png imagette222891961745302742/1745302332_2903671_1352545675_31deb05945379b89ec9ee71c0c84e990_rle_crop_3762611645_0.png.png imagette222891961745302742/1745302332_2903671_1352545742_6042676d750ac3b1288b0a0d00f61398_rle_crop_3762611550_0.png.png imagette222891961745302742/1745302332_2903671_1352545681_2f4458f0bea0203625fb5ff20dc1b9ea_rle_crop_3762611600_0.png.png imagette222891961745302742/1745301911_2898415_1352542206_1410cc4d95779a7ad3b0a9a74bc7eb24_rle_crop_3762605001_0.png.png imagette222891961745302742/1745302573_2906684_1352542581_e269c967c5ac434995054fcbbd56d0da_rle_crop_3762615141_0.png.png imagette222891961745302742/1745302332_2903671_1352545678_32e48e526a1f89699e54822bf10b26de_rle_crop_3762611626_0.png.png imagette222891961745302742/1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612025_0.png.png imagette222891961745302742/1745302573_2906684_1352542536_aa6575589d250300d0f51ebfc1641932_rle_crop_3762615446_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9207e0fbf378f960b09c1fad87637da2_64632355.png imagette222891961745302742 22289186 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=22289186 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352543982: '1745301852_2897820_1352542025_03568da4425befaf978eef0b271a5808_rle_crop_3762604626_0.png', 1352543983: '1745301852_2897820_1352542003_0c2ed8279b51b12f862173f1b1b73e74_rle_crop_3762604691_0.png', 1352543984: '1745301852_2897820_1352541987_75cf07fe1a2ac04d9aec4b57ac3487c0_rle_crop_3762604699_0.png', 1352546053: '1745302309_656119_1352545731_a923a53bd3648d73cd1fcfb8be304ea3_rle_crop_3762611132_0.png', 1352546108: '1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611580_0.png', 1352546185: '1745302390_2904403_1352545515_c41c1e8ad8fda70e5c482ba2b9937944_rle_crop_3762611820_0.png', 1352546186: '1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612024_0.png', 1352546215: '1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612109_0.png', 1352546251: '1745302453_2905077_1352545508_cd37b6d378800bd5622a370d3c177001_rle_crop_3762612448_0.png', 1352546748: '1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615176_0.png', 1352546749: '1745302573_2906684_1352542577_63d03ebe629fb5e2820125498113e262_rle_crop_3762615155_0.png', 1352546750: '1745302573_2906684_1352542564_fa4a78d8ba80ddb39adb8dbfaa4238cb_rle_crop_3762615416_0.png', 1352546751: '1745302573_2906684_1352542536_aa6575589d250300d0f51ebfc1641932_rle_crop_3762615447_0.png', 1352546752: '1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615174_0.png', 1352547100: '1745302692_2908234_1352546410_daa5ac0dabf08dd718e56a1fafe215c5_rle_crop_3762617039_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d74c566b76cd1e64007d26db019ac913_50840386.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/cd146d00a375f05dfef354e06b869013_24660396.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/3ac78fbed530b08b8ded5513428aac25_23971789.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c17da3037aa8ac898151d2834d5ef006_59878402.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/50381fcdefae687a699636e82b953bc5_71938102.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/370fe4b60c07d75512b262a3dbc7f6e7_58961304.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/89622841c78b78cf3ba3c18661ca1f0c_98067594.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e6c36d2319958e70833a9df88e28cb47_64768908.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/73c7b6a0a579a24af234f3c4f2678a2f_99671989.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/0a6220d1a0b659002612c06b6ecefe67_38595642.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d506112c5aef264223d1416df189fa38_79571043.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9ced37713da6582e379259c08bff65bf_78597710.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bfaec64aaeb96945c4294f54f572e6f4_14056474.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b9d41bf8443f1d4da3004d529d9ee28d_66344285.png change filename to text .imagette222891861745302742/ imagette222891861745302742/1745302390_2904403_1352545301_09aa3d762e4d48c8ab098e6c82971e0d_rle_crop_3762612024_0.png.png imagette222891861745302742/1745302453_2905077_1352545508_cd37b6d378800bd5622a370d3c177001_rle_crop_3762612448_0.png.png imagette222891861745302742/1745302309_656119_1352545731_a923a53bd3648d73cd1fcfb8be304ea3_rle_crop_3762611132_0.png.png imagette222891861745302742/1745301852_2897820_1352542025_03568da4425befaf978eef0b271a5808_rle_crop_3762604626_0.png.png imagette222891861745302742/1745302692_2908234_1352546410_daa5ac0dabf08dd718e56a1fafe215c5_rle_crop_3762617039_0.png.png imagette222891861745302742/1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615176_0.png.png imagette222891861745302742/1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615174_0.png.png imagette222891861745302742/1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611580_0.png.png imagette222891861745302742/1745301852_2897820_1352542003_0c2ed8279b51b12f862173f1b1b73e74_rle_crop_3762604691_0.png.png imagette222891861745302742/1745302573_2906684_1352542536_aa6575589d250300d0f51ebfc1641932_rle_crop_3762615447_0.png.png imagette222891861745302742/1745301852_2897820_1352541987_75cf07fe1a2ac04d9aec4b57ac3487c0_rle_crop_3762604699_0.png.png imagette222891861745302742/1745302573_2906684_1352542577_63d03ebe629fb5e2820125498113e262_rle_crop_3762615155_0.png.png imagette222891861745302742/1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612109_0.png.png imagette222891861745302742/1745302390_2904403_1352545515_c41c1e8ad8fda70e5c482ba2b9937944_rle_crop_3762611820_0.png.png imagette222891861745302742/1745302573_2906684_1352542564_fa4a78d8ba80ddb39adb8dbfaa4238cb_rle_crop_3762615416_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4884af0dbb203f65f7db9deb9821cf24_47639555.png imagette222891861745302742 22289191 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=22289191 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352543992: '1745301852_2897820_1352542003_0c2ed8279b51b12f862173f1b1b73e74_rle_crop_3762604681_0.png', 1352543993: '1745301852_2897820_1352542003_0c2ed8279b51b12f862173f1b1b73e74_rle_crop_3762604686_0.png', 1352545664: '1745302093_2900581_1352544773_714d01f5f6c9eb92d65f643d48065dac_rle_crop_3762605839_0.png', 1352545823: '1745302212_2902132_1352543679_c120ecb9e28643cd6951199fc4abc765_rle_crop_3762608892_0.png', 1352546111: '1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611577_0.png', 1352546112: '1745302332_2903671_1352545681_2f4458f0bea0203625fb5ff20dc1b9ea_rle_crop_3762611605_0.png', 1352546223: '1745302422_659817_1352545866_67deba72233aab0cded55c762e4d80ae_rle_crop_3762612078_0.png', 1352546224: '1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612106_0.png', 1352546760: '1745302573_2906684_1352542581_e269c967c5ac434995054fcbbd56d0da_rle_crop_3762615136_0.png', 1352546761: '1745302573_2906684_1352542577_63d03ebe629fb5e2820125498113e262_rle_crop_3762615148_0.png', 1352546762: '1745302573_2906684_1352542577_63d03ebe629fb5e2820125498113e262_rle_crop_3762615154_0.png', 1352546767: '1745302541_660375_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1_rle_crop_3762615425_0.png', 1352546768: '1745302541_660375_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1_rle_crop_3762615427_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/843adc614e4aac3fe9b286a8dc40c076_72440588.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d22e568b57fc71fcae0ab103b3c6f408_64575173.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/12f2b753f77d0c94b1d108d6ed6fea4f_43906674.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a7d8bd7a776075fc4c8a436d62c877a3_58371993.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2d40bd3206628cc54c43265499b64da3_43870077.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4d4aa91758440e416b1e4b304121018b_21295881.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/56027776a5c504398801b554154841bc_29384539.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c001531ffbe7966bf9f7c156f4c28e91_63348976.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4fa3ccac82e00f5e356168e3c655a5f9_25230441.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e3c0d400915c3e56d5065484694ff42a_68894023.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/86d82618887427bf035704896e0b65bd_6672721.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1d3b19af3f24a5c1ec4b4be1eb892b1d_25520492.png change filename to text .imagette222891911745302743/ imagette222891911745302743/1745302541_660375_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1_rle_crop_3762615425_0.png.png imagette222891911745302743/1745302212_2902132_1352543679_c120ecb9e28643cd6951199fc4abc765_rle_crop_3762608892_0.png.png imagette222891911745302743/1745302541_660375_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1_rle_crop_3762615427_0.png.png imagette222891911745302743/1745302422_659817_1352545845_677142dc87d8fca90f18909c00dc4aa8_rle_crop_3762612106_0.png.png imagette222891911745302743/1745302573_2906684_1352542577_63d03ebe629fb5e2820125498113e262_rle_crop_3762615148_0.png.png imagette222891911745302743/1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611577_0.png.png imagette222891911745302743/1745302573_2906684_1352542577_63d03ebe629fb5e2820125498113e262_rle_crop_3762615154_0.png.png imagette222891911745302743/1745302422_659817_1352545866_67deba72233aab0cded55c762e4d80ae_rle_crop_3762612078_0.png.png imagette222891911745302743/1745301852_2897820_1352542003_0c2ed8279b51b12f862173f1b1b73e74_rle_crop_3762604681_0.png.png imagette222891911745302743/1745302093_2900581_1352544773_714d01f5f6c9eb92d65f643d48065dac_rle_crop_3762605839_0.png.png imagette222891911745302743/1745302573_2906684_1352542581_e269c967c5ac434995054fcbbd56d0da_rle_crop_3762615136_0.png.png imagette222891911745302743/1745302332_2903671_1352545681_2f4458f0bea0203625fb5ff20dc1b9ea_rle_crop_3762611605_0.png.png imagette222891911745302743/1745301852_2897820_1352542003_0c2ed8279b51b12f862173f1b1b73e74_rle_crop_3762604686_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f6694af3b3de179f05ab3f3c21f2c90c_34735790.png imagette222891911745302743 22289194 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=22289194 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352546196: '1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611845_0.png', 1352547105: '1745302692_2908234_1352546398_c1d5e23fe83a0a0a82a69f0ad7b99780_rle_crop_3762617065_0.png', 1352547104: '1745302692_2908234_1352546404_b40a7ce8abf3302f18318a4f646e218a_rle_crop_3762617056_0.png', 1352546774: '1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615172_0.png', 1352546764: '1745302573_2906684_1352542581_e269c967c5ac434995054fcbbd56d0da_rle_crop_3762615135_0.png', 1352546254: '1745302453_2905077_1352545500_70f10f909b459d661a3290095c437a9e_rle_crop_3762612489_0.png', 1352546199: '1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612011_0.png', 1352546198: '1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612008_0.png', 1352546197: '1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611843_0.png', 1352544005: '1745301852_2897820_1352541987_75cf07fe1a2ac04d9aec4b57ac3487c0_rle_crop_3762604705_0.png', 1352546195: '1745302390_2904403_1352545347_97b03c14f2944bd39cedcd1333802bef_rle_crop_3762611829_0.png', 1352546125: '1745302332_2903671_1352545675_31deb05945379b89ec9ee71c0c84e990_rle_crop_3762611641_0.png', 1352546124: '1745302332_2903671_1352545678_32e48e526a1f89699e54822bf10b26de_rle_crop_3762611625_0.png', 1352546123: '1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611581_0.png', 1352546122: '1745302332_2903671_1352545691_e704432fb33d2611a76382af7de83b3c_rle_crop_3762611566_0.png', 1352546121: '1745302332_2903671_1352545742_6042676d750ac3b1288b0a0d00f61398_rle_crop_3762611551_0.png', 1352546056: '1745302309_656119_1352545736_ee4981966eec719c157f246a95d352ad_rle_crop_3762611117_0.png', 1352544531: '1745301911_2898415_1352542177_740868ddf921480246dad082c81348d3_rle_crop_3762605021_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ac29858994b1726c65dbd4e1332f7d1b_33136817.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/459b2ea479156591267dfc821d79ba5e_13861711.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ac26ce0a0be67b08a6007eb94142bc1d_81236177.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/614b8ae02195b2a21c2297d01ec8516d_42082970.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1d270d1bb1bd5df47d3253045005b5b9_41099287.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/7ff7f00c8141adba8be87a112e9e176a_34351352.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6ec6014d4146830e723cc292a7e4c134_83160330.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/38cb788b8b47c39f28d2861ef47d0714_46389336.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/5ddc89d843b81d11a66ddd6a156283fe_76847365.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6681ecf2f1131944dbad7952aa799115_14295811.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6adb816628629bb7005f338cc997438f_4285856.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b06e7732394f93657f541856d43e3dff_25652838.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e590f49b811882c0527fcc4e2e7c7df8_27769589.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/62400b97c31aef9c790af300a49a784a_73593506.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6e755853150c79ba201b46e7afd5c8ed_48737272.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/92ccd3ab9f21b401782ef77efe54af07_826020.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a7ef33383c58deadb8d49119a1fd296f_35243826.png change filename to text .imagette222891941745302744/ imagette222891941745302744/1745302453_2905077_1352545500_70f10f909b459d661a3290095c437a9e_rle_crop_3762612489_0.png.png imagette222891941745302744/1745302309_656119_1352545736_ee4981966eec719c157f246a95d352ad_rle_crop_3762611117_0.png.png imagette222891941745302744/1745302573_2906684_1352542581_e269c967c5ac434995054fcbbd56d0da_rle_crop_3762615135_0.png.png imagette222891941745302744/1745302390_2904403_1352545347_97b03c14f2944bd39cedcd1333802bef_rle_crop_3762611829_0.png.png imagette222891941745302744/1745301911_2898415_1352542177_740868ddf921480246dad082c81348d3_rle_crop_3762605021_0.png.png imagette222891941745302744/1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611845_0.png.png imagette222891941745302744/1745302332_2903671_1352545684_494ba042924dfb92c9517a03b24e727b_rle_crop_3762611581_0.png.png imagette222891941745302744/1745302390_2904403_1352545343_226df9236f98fd3a3d61c447db596299_rle_crop_3762611843_0.png.png imagette222891941745302744/1745302332_2903671_1352545691_e704432fb33d2611a76382af7de83b3c_rle_crop_3762611566_0.png.png imagette222891941745302744/1745302692_2908234_1352546398_c1d5e23fe83a0a0a82a69f0ad7b99780_rle_crop_3762617065_0.png.png imagette222891941745302744/1745302332_2903671_1352545678_32e48e526a1f89699e54822bf10b26de_rle_crop_3762611625_0.png.png imagette222891941745302744/1745302692_2908234_1352546404_b40a7ce8abf3302f18318a4f646e218a_rle_crop_3762617056_0.png.png imagette222891941745302744/1745302332_2903671_1352545742_6042676d750ac3b1288b0a0d00f61398_rle_crop_3762611551_0.png.png imagette222891941745302744/1745302332_2903671_1352545675_31deb05945379b89ec9ee71c0c84e990_rle_crop_3762611641_0.png.png imagette222891941745302744/1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612008_0.png.png imagette222891941745302744/1745301852_2897820_1352541987_75cf07fe1a2ac04d9aec4b57ac3487c0_rle_crop_3762604705_0.png.png imagette222891941745302744/1745302541_660375_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853_rle_crop_3762615172_0.png.png imagette222891941745302744/1745302390_2904403_1352545322_b32568101bdf34120b0b67261c34474b_rle_crop_3762612011_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/dbacd2a51ecddeb8cc942b3af393e8ed_10699506.png imagette222891941745302744 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22289161 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22289198,22289199,22289200,22289201,22289202,22289203,22289204,22289205,22289206,22289207,22289208,22289209?tags=Teint_Dans_La_Masse,kraft,metal,autre_refus,mal_croppe,Carton_gris,cartonnette,flou,Carton_brun,papier,plastique,environnement your option no_mail is active, we will not send the real mail to your client args[1352546611] : ('0.059532425882459834',) no score found for photo 1352546611 We are sending mail with results at report@fotonower.com args[1352546418] : ('0.059532425882459834',) no score found for photo 1352546418 We are sending mail with results at report@fotonower.com args[1352546410] : ('0.059532425882459834',) no score found for photo 1352546410 We are sending mail with results at report@fotonower.com args[1352546404] : ('0.059532425882459834',) no score found for photo 1352546404 We are sending mail with results at report@fotonower.com args[1352546398] : ('0.059532425882459834',) no score found for photo 1352546398 We are sending mail with results at report@fotonower.com args[1352546380] : ('0.059532425882459834',) no score found for photo 1352546380 We are sending mail with results at report@fotonower.com args[1352546235] : ('0.059532425882459834',) no score found for photo 1352546235 We are sending mail with results at report@fotonower.com args[1352546230] : ('0.059532425882459834',) no score found for photo 1352546230 We are sending mail with results at report@fotonower.com args[1352546220] : ('0.059532425882459834',) no score found for photo 1352546220 We are sending mail with results at report@fotonower.com args[1352546213] : ('0.059532425882459834',) no score found for photo 1352546213 We are sending mail with results at report@fotonower.com args[1352546209] : ('0.059532425882459834',) no score found for photo 1352546209 We are sending mail with results at report@fotonower.com args[1352546205] : ('0.059532425882459834',) no score found for photo 1352546205 We are sending mail with results at report@fotonower.com args[1352546137] : ('0.059532425882459834',) no score found for photo 1352546137 We are sending mail with results at report@fotonower.com args[1352546132] : ('0.059532425882459834',) no score found for photo 1352546132 We are sending mail with results at report@fotonower.com args[1352546118] : ('0.059532425882459834',) no score found for photo 1352546118 We are sending mail with results at report@fotonower.com args[1352546107] : ('0.059532425882459834',) no score found for photo 1352546107 We are sending mail with results at report@fotonower.com args[1352546065] : ('0.059532425882459834',) no score found for photo 1352546065 We are sending mail with results at report@fotonower.com args[1352546059] : ('0.059532425882459834',) no score found for photo 1352546059 We are sending mail with results at report@fotonower.com args[1352546057] : ('0.059532425882459834',) no score found for photo 1352546057 We are sending mail with results at report@fotonower.com args[1352546051] : ('0.059532425882459834',) no score found for photo 1352546051 We are sending mail with results at report@fotonower.com args[1352546048] : ('0.059532425882459834',) no score found for photo 1352546048 We are sending mail with results at report@fotonower.com args[1352546046] : ('0.059532425882459834',) no score found for photo 1352546046 We are sending mail with results at report@fotonower.com refus_total : 0.059532425882459834 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=22289161 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_P22289161_22-04-2025_08_19_00.pdf results_Auto_P22289161_22-04-2025_08_19_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22289161','results_Auto_P22289161_22-04-2025_08_19_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf','pdf','','0.54','0.059532425882459834') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22289161]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] map_info['map_portfolio_photo'] : {22289161: [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046, 1352545877, 1352545874, 1352545869, 1352545866, 1352545860, 1352545845, 1352545742, 1352545736, 1352545731, 1352545725, 1352545695, 1352545691, 1352545684, 1352545681, 1352545678, 1352545675, 1352545515, 1352545508, 1352545504, 1352545500, 1352545353, 1352545347, 1352545343, 1352545322, 1352545301, 1352545201, 1352544789, 1352544784, 1352544780, 1352544776, 1352544773, 1352544087, 1352544044, 1352543734, 1352543707, 1352543679, 1352543651, 1352543622, 1352542592, 1352542587, 1352542581, 1352542577, 1352542564, 1352542536, 1352542248, 1352542206, 1352542177, 1352542047, 1352542025, 1352542003, 1352541987]} final : False mtd_id 4302 list_pids : [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] 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, '2747189') ('4302', '22289161', '1352546611', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189') 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', '22289161', '1352546611', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189')] time used for this insertion : 0.018093109130859375 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.508279323577881 time spend to save output : 0.01844000816345215 total time spend for step 4 : 7.526719331741333 step5:split_time_score Tue Apr 22 08:19:07 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 : ['22289161'] 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 : [('22289161',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22289161) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1352546418: {'path': 'temp/1745302739_1989607_1352546418_2f0d56e2fd5566542f2bd7cf88674d9a.jpg', 'extension': 'jpg'}, 1352546611: {'path': 'temp/1745302739_1989607_1352546611_1b89dbf0ed0b998a2f8600a001861672.jpg', 'extension': 'jpg'}, 1352546065: {'path': 'temp/1745302739_1989607_1352546065_43bce437cb82ce446270ea5a87cc956c.jpg', 'extension': 'jpg'}, 1352546107: {'path': 'temp/1745302739_1989607_1352546107_94462ee017f23118f272d28881a979da.jpg', 'extension': 'jpg'}, 1352546118: {'path': 'temp/1745302739_1989607_1352546118_6f514c0f75d8f31c9b5ebacb7fcc4b69.jpg', 'extension': 'jpg'}, 1352546132: {'path': 'temp/1745302739_1989607_1352546132_05603316c7dd5d8caef0c12f57be0d74.jpg', 'extension': 'jpg'}, 1352546137: {'path': 'temp/1745302739_1989607_1352546137_8147dc5c89ee640e6393cc590e1b8551.jpg', 'extension': 'jpg'}, 1352546235: {'path': 'temp/1745302739_1989607_1352546235_a455ef456ca8b0c5c0f66749e8429e83.jpg', 'extension': 'jpg'}, 1352546380: {'path': 'temp/1745302739_1989607_1352546380_3948066003bd3cf6d858c7b14effc624.jpg', 'extension': 'jpg'}, 1352546398: {'path': 'temp/1745302739_1989607_1352546398_c1d5e23fe83a0a0a82a69f0ad7b99780.jpg', 'extension': 'jpg'}, 1352546404: {'path': 'temp/1745302739_1989607_1352546404_b40a7ce8abf3302f18318a4f646e218a.jpg', 'extension': 'jpg'}, 1352546410: {'path': 'temp/1745302739_1989607_1352546410_daa5ac0dabf08dd718e56a1fafe215c5.jpg', 'extension': 'jpg'}, 1352546046: {'path': 'temp/1745302739_1989607_1352546046_b863ffe476db5cdd14eb9bc53d7e34e1.jpg', 'extension': 'jpg'}, 1352546048: {'path': 'temp/1745302739_1989607_1352546048_612dabf8c4ce6aa46b8b03cc10bf9853.jpg', 'extension': 'jpg'}, 1352546051: {'path': 'temp/1745302739_1989607_1352546051_38e4e4b241d7c3d10a33dbf80bb9994c.jpg', 'extension': 'jpg'}, 1352546057: {'path': 'temp/1745302739_1989607_1352546057_3503c85bcb5d9b3c5f4b8a502add0c06.jpg', 'extension': 'jpg'}, 1352546059: {'path': 'temp/1745302739_1989607_1352546059_bcbabcbc39d169be060f70f3783ab244.jpg', 'extension': 'jpg'}, 1352546205: {'path': 'temp/1745302739_1989607_1352546205_fa89d2b4ffbf2822a8cddf6d86a74dd8.jpg', 'extension': 'jpg'}, 1352546209: {'path': 'temp/1745302739_1989607_1352546209_4abaf8dd1032b1d9b4f5b73552a3d031.jpg', 'extension': 'jpg'}, 1352546213: {'path': 'temp/1745302739_1989607_1352546213_87d92674bed97e0b9458cfbf1ec281e3.jpg', 'extension': 'jpg'}, 1352546220: {'path': 'temp/1745302739_1989607_1352546220_2def5f13d500b875462fe3c0350a4670.jpg', 'extension': 'jpg'}, 1352546230: {'path': 'temp/1745302739_1989607_1352546230_a00a3ea177ede0e6ce70caa443e099d2.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 = 22289161; (('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 = 22289161 group by h (('08', 73),) 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=22289161 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 (22289161) 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 (22289161) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22042025 22289161 Nombre de photos uploadées : 73 / 23040 (0%) 22042025 22289161 Nombre de photos taguées (types de déchets): 0 / 73 (0%) 22042025 22289161 Nombre de photos taguées (volume) : 0 / 73 (0%) [{'photo_id': 1352542047, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/cadaf5bf02c1eae6ed808d3a8b9668bb.jpg', 'username': None, 'uploaded_at': 1745301667, 'text': 'image_22042025_08_00_14_010250m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1352542025, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/03568da4425befaf978eef0b271a5808.jpg', 'username': None, 'uploaded_at': 1745301667, 'text': 'image_22042025_08_00_24_010141m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1352542003, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/0c2ed8279b51b12f862173f1b1b73e74.jpg', 'username': None, 'uploaded_at': 1745301667, 'text': 'image_22042025_08_00_34_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1352541987, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/75cf07fe1a2ac04d9aec4b57ac3487c0.jpg', 'username': None, 'uploaded_at': 1745301667, 'text': 'image_22042025_08_00_44_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003190755844116211 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22289161, '2025-04-22' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1735821,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.021796226501464844 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= 1735821 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1735821, 'dashboard_run_id': 1744138, 'mtr_portfolio_id': 22288002, 'dashboard_result_id': 10017621, '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_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1744138, 'mtr_portfolio_id': 22288420, 'dashboard_result_id': 10017622, '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_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1744138, 'mtr_portfolio_id': 22289161, 'dashboard_result_id': 10017623, '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_P22289161_22-04-2025_08_12_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1744138, 'mtr_portfolio_id': 22289960, 'dashboard_result_id': 10017624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22288002 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': 2747082, 'mtr_portfolio_id': 22288002, 'created_at': datetime.datetime(2025, 4, 22, 7, 48, 58), 'result': '0.06754364275022666', 'result_long': None, 'result_double': None}] Qualite : 0.06754364275022666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288002 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_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}" where mtr_portfolio_id = 22288002 and dashboard_run_id = 1744138 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`=22288002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10017621, 0.06754364275022666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, '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 = 22288420 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': 2747116, 'mtr_portfolio_id': 22288420, 'created_at': datetime.datetime(2025, 4, 22, 8, 3), 'result': '0.04869240453567159', 'result_long': None, 'result_double': None}] Qualite : 0.04869240453567159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288420 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_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}" where mtr_portfolio_id = 22288420 and dashboard_run_id = 1744138 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`=22288420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10017622, 0.04869240453567159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, '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 = 22289161 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': 2747189, 'mtr_portfolio_id': 22289161, 'created_at': datetime.datetime(2025, 4, 22, 8, 18, 59), 'result': '0.059532425882459834', 'result_long': None, 'result_double': None}] Qualite : 0.059532425882459834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289161 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_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}" where mtr_portfolio_id = 22289161 and dashboard_run_id = 1744138 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`=22289161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10017623, 0.059532425882459834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, '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 = 22289960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22289960 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289960 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%22289960%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 22289960 and dashboard_run_id = 1744138 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22288002,22288420,22289161,22289960) result : ((1352537146,), (1352537151,), (1352537155,), (1352537203,), (1352537205,), (1352537207,), (1352537209,), (1352537213,), (1352537217,), (1352537254,), (1352537257,), (1352537261,), (1352537265,), (1352537267,), (1352537272,), (1352537306,), (1352537310,), (1352537314,), (1352537317,), (1352537417,), (1352537429,), (1352537436,), (1352537444,), (1352537447,), (1352537460,), (1352537692,), (1352537694,), (1352537698,), (1352537705,), (1352537767,), (1352537769,), (1352537772,), (1352537775,), (1352537779,), (1352537783,), (1352537849,), (1352537859,), (1352537866,), (1352537870,), (1352537880,), (1352537889,), (1352538050,), (1352538054,), (1352538057,), (1352538060,), (1352538108,), (1352538112,), (1352538116,), (1352538117,), (1352538121,), (1352538125,), (1352538169,), (1352538178,), (1352538194,), (1352538197,), (1352538201,), (1352538269,), (1352538305,), (1352538309,), (1352538314,), (1352538335,), (1352538349,), (1352538505,), (1352538524,), (1352538551,), (1352538603,), (1352538844,), (1352538945,), (1352538949,), (1352538962,), (1352538967,), (1352538973,), (1352539224,), (1352539249,), (1352539251,), (1352539253,), (1352539256,), (1352539334,), (1352539302,), (1352539311,), (1352539321,), (1352539328,), (1352539332,), (1352539586,), (1352539587,), (1352539589,), (1352539591,), (1352539595,), (1352539656,), (1352539658,), (1352539661,), (1352539664,), (1352539804,), (1352539810,), (1352539817,), (1352539820,), (1352539899,), (1352539902,), (1352539920,), (1352539927,), (1352539939,), (1352539945,), (1352540043,), (1352540044,), (1352540045,), (1352540048,), (1352540148,), (1352540150,), (1352540153,), (1352540156,), (1352540159,), (1352540220,), (1352540221,), (1352540222,), (1352540224,), (1352540227,), (1352540266,), (1352540268,), (1352540271,), (1352540274,), (1352540365,), (1352540391,), (1352540405,), (1352540407,), (1352540409,), (1352540412,), (1352540497,), (1352540499,), (1352540502,), (1352540505,), (1352540610,), (1352540617,), (1352540622,), (1352540642,), (1352540662,), (1352540674,), (1352540743,), (1352540751,), (1352540756,), (1352540760,), (1352540766,), (1352540772,), (1352541696,), (1352541727,), (1352541759,), (1352541834,), (1352542058,), (1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,), (1352546559,), (1352546581,), (1352546773,), (1352546782,), (1352546787,), (1352546799,), (1352546828,), (1352546916,), (1352546936,), (1352546946,), (1352546951,), (1352546953,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22042025': {'nb_upload': 73, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22289161]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] map_info['map_portfolio_photo'] : {22289161: [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046, 1352545877, 1352545874, 1352545869, 1352545866, 1352545860, 1352545845, 1352545742, 1352545736, 1352545731, 1352545725, 1352545695, 1352545691, 1352545684, 1352545681, 1352545678, 1352545675, 1352545515, 1352545508, 1352545504, 1352545500, 1352545353, 1352545347, 1352545343, 1352545322, 1352545301, 1352545201, 1352544789, 1352544784, 1352544780, 1352544776, 1352544773, 1352544087, 1352544044, 1352543734, 1352543707, 1352543679, 1352543651, 1352543622, 1352542592, 1352542587, 1352542581, 1352542577, 1352542564, 1352542536, 1352542248, 1352542206, 1352542177, 1352542047, 1352542025, 1352542003, 1352541987]} final : True mtd_id 4302 list_pids : [1352546611, 1352546418, 1352546410, 1352546404, 1352546398, 1352546380, 1352546235, 1352546230, 1352546220, 1352546213, 1352546209, 1352546205, 1352546137, 1352546132, 1352546118, 1352546107, 1352546065, 1352546059, 1352546057, 1352546051, 1352546048, 1352546046] Looping around the photos to save general results len do output : 1 /22289161Didn'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, '2747189') ('4302', '22289161', '1352546611', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189') ('4302', None, None, None, None, None, None, None, '2747189') ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189') 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, '22289161', 'None', None, None, None, None, '2747189'), ('4302', '22289161', '1352546611', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546418', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546410', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546404', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546398', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546380', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546235', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546230', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546220', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546213', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546209', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546205', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546137', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546132', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546118', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546107', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546065', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546059', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546057', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546051', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546048', None, None, None, None, None, '2747189'), ('4302', '22289161', '1352546046', None, None, None, None, None, '2747189')] time used for this insertion : 0.4569063186645508 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1174259185791016 time spend to save output : 0.45728611946105957 total time spend for step 5 : 1.5747120380401611 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 (2747189) 2.75user 2.73system 0:13.11elapsed 41%CPU (0avgtext+0avgdata 169036maxresident)k 29008inputs+30048outputs (127major+79763minor)pagefaults 0swaps