python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 953289 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 (3248151) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3248151) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702755 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3248151'] with mtr_portfolio_ids : ['24702755'] and first list_photo_ids : [] new path : /proc/953289/ Name: python3 Umask: 0002 State: R (running) Tgid: 953289 Ngid: 0 Pid: 953289 PPid: 953288 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 953289 NSpid: 953289 NSpgid: 952122 NSsid: 952122 VmPeak: 1106872 kB VmSize: 1106872 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99940 kB VmRSS: 99940 kB RssAnon: 59808 kB RssFile: 40132 kB RssShmem: 0 kB VmData: 865624 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 6/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 87 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '953289', 'Ngid': '0', 'Pid': '953289', 'PPid': '953288', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '953289', 'NSpid': '953289', 'NSpgid': '952122', 'NSsid': '952122', 'VmPeak': '1106872 kB', 'VmSize': '1106872 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99940 kB', 'VmRSS': '99940 kB', 'RssAnon': '59808 kB', 'RssFile': '40132 kB', 'RssShmem': '0 kB', 'VmData': '865624 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '6/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '87'} ('datou_batch_current', '953289', '1106872', '0', '1106872', '865624', '99940', b'', 'marlene', '3248151') 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 (24702755) 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 (3248151 ) ) 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 (24702755) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1371105400, 'portfolio_id': 24702755}, {'photo_id': 1371105398, 'portfolio_id': 24702755}, {'photo_id': 1371105394, 'portfolio_id': 24702755}, {'photo_id': 1371105390, 'portfolio_id': 24702755}, {'photo_id': 1371105386, 'portfolio_id': 24702755}, {'photo_id': 1371105382, 'portfolio_id': 24702755}, {'photo_id': 1371105360, 'portfolio_id': 24702755}, {'photo_id': 1371105357, 'portfolio_id': 24702755}, {'photo_id': 1371105354, 'portfolio_id': 24702755}, {'photo_id': 1371105352, 'portfolio_id': 24702755}, {'photo_id': 1371105350, 'portfolio_id': 24702755}, {'photo_id': 1371105336, 'portfolio_id': 24702755}, {'photo_id': 1371105326, 'portfolio_id': 24702755}, {'photo_id': 1371105323, 'portfolio_id': 24702755}, {'photo_id': 1371105319, 'portfolio_id': 24702755}, {'photo_id': 1371105316, 'portfolio_id': 24702755}, {'photo_id': 1371105311, 'portfolio_id': 24702755}, {'photo_id': 1371105308, 'portfolio_id': 24702755}, {'photo_id': 1371105276, 'portfolio_id': 24702755}, {'photo_id': 1371105274, 'portfolio_id': 24702755}, {'photo_id': 1371105271, 'portfolio_id': 24702755}, {'photo_id': 1371105268, 'portfolio_id': 24702755}, {'photo_id': 1371105258, 'portfolio_id': 24702755}, {'photo_id': 1371105244, 'portfolio_id': 24702755}, {'photo_id': 1371105234, 'portfolio_id': 24702755}, {'photo_id': 1371105231, 'portfolio_id': 24702755}, {'photo_id': 1371105227, 'portfolio_id': 24702755}, {'photo_id': 1371105224, 'portfolio_id': 24702755}, {'photo_id': 1371105220, 'portfolio_id': 24702755}, {'photo_id': 1371105216, 'portfolio_id': 24702755}, {'photo_id': 1371105195, 'portfolio_id': 24702755}, {'photo_id': 1371105194, 'portfolio_id': 24702755}, {'photo_id': 1371105191, 'portfolio_id': 24702755}, {'photo_id': 1371105189, 'portfolio_id': 24702755}, {'photo_id': 1371105177, 'portfolio_id': 24702755}, {'photo_id': 1371105163, 'portfolio_id': 24702755}, {'photo_id': 1371105153, 'portfolio_id': 24702755}, {'photo_id': 1371105150, 'portfolio_id': 24702755}, {'photo_id': 1371105146, 'portfolio_id': 24702755}, {'photo_id': 1371105141, 'portfolio_id': 24702755}, {'photo_id': 1371105135, 'portfolio_id': 24702755}, {'photo_id': 1371105131, 'portfolio_id': 24702755}, {'photo_id': 1371105111, 'portfolio_id': 24702755}, {'photo_id': 1371105110, 'portfolio_id': 24702755}, {'photo_id': 1371105108, 'portfolio_id': 24702755}, {'photo_id': 1371105106, 'portfolio_id': 24702755}, {'photo_id': 1371105103, 'portfolio_id': 24702755}, {'photo_id': 1371105095, 'portfolio_id': 24702755}, {'photo_id': 1371105082, 'portfolio_id': 24702755}, {'photo_id': 1371105076, 'portfolio_id': 24702755}, {'photo_id': 1371105069, 'portfolio_id': 24702755}, {'photo_id': 1371105066, 'portfolio_id': 24702755}, {'photo_id': 1371105063, 'portfolio_id': 24702755}, {'photo_id': 1371105058, 'portfolio_id': 24702755}, {'photo_id': 1371105041, 'portfolio_id': 24702755}, {'photo_id': 1371105039, 'portfolio_id': 24702755}, {'photo_id': 1371105034, 'portfolio_id': 24702755}, {'photo_id': 1371105029, 'portfolio_id': 24702755}, {'photo_id': 1371105025, 'portfolio_id': 24702755}, {'photo_id': 1371105016, 'portfolio_id': 24702755}] map_portfolio_id_photo_id: {24702755: [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336, 1371105326, 1371105323, 1371105319, 1371105316, 1371105311, 1371105308, 1371105276, 1371105274, 1371105271, 1371105268, 1371105258, 1371105244, 1371105234, 1371105231, 1371105227, 1371105224, 1371105220, 1371105216, 1371105195, 1371105194, 1371105191, 1371105189, 1371105177, 1371105163, 1371105153, 1371105150, 1371105146, 1371105141, 1371105135, 1371105131, 1371105111, 1371105110, 1371105108, 1371105106, 1371105103, 1371105095, 1371105082, 1371105076, 1371105069, 1371105066, 1371105063, 1371105058, 1371105041, 1371105039, 1371105034, 1371105029, 1371105025, 1371105016]} ##### 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.015996694564819336 #### 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 Jul 8 00:26:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24702755) 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 : 24702755 get user id for portfolio 24702755 get sub ptf for main ptf 24702755, type 3726 and hashtags ['Carton_gris', 'Carton_brun', 'autre_refus', 'plastique', 'mal_croppe', 'metal', 'environnement', 'papier', 'flou', 'cartonnette', 'Teint_Dans_La_Masse', '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`=24702755 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','autre_refus','plastique','mal_croppe','metal','environnement','papier','flou','cartonnette','Teint_Dans_La_Masse','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`=24702755 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','autre_refus','plastique','mal_croppe','metal','environnement','papier','flou','cartonnette','Teint_Dans_La_Masse','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 24702755, 'sub_port_id': 24702770, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609267, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'cartonnette': {'main_port_id': 24702755, 'sub_port_id': 24702771, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609268, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'environnement': {'main_port_id': 24702755, 'sub_port_id': 24702772, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609269, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'metal': {'main_port_id': 24702755, 'sub_port_id': 24702773, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609270, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'papier': {'main_port_id': 24702755, 'sub_port_id': 24702774, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609271, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'flou': {'main_port_id': 24702755, 'sub_port_id': 24702775, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609272, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'kraft': {'main_port_id': 24702755, 'sub_port_id': 24702776, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609273, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'Carton_brun': {'main_port_id': 24702755, 'sub_port_id': 24702777, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609274, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'autre_refus': {'main_port_id': 24702755, 'sub_port_id': 24702778, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609275, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'plastique': {'main_port_id': 24702755, 'sub_port_id': 24702779, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609276, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'mal_croppe': {'main_port_id': 24702755, 'sub_port_id': 24702780, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609277, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}, 'Carton_gris': {'main_port_id': 24702755, 'sub_port_id': 24702781, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609278, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 18, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24702770 , 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=24702755 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 (24702770) result : ((1371105164,), (1371105165,), (1371105166,), (1371105170,), (1371105171,), (1371105172,), (1371105173,), (1371105245,), (1371105246,), (1371105247,), (1371105248,), (1371105249,), (1371105282,), (1371105283,), (1371105337,), (1371105367,), (1371105368,), (1371105369,), (1371105418,), (1371105419,), (1371105420,), (1371105455,), (1371105456,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702771 , 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=24702755 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 (24702771) result : ((1371105181,), (1371105182,), (1371105183,), (1371105184,), (1371105185,), (1371105187,), (1371105259,), (1371105260,), (1371105261,), (1371105262,), (1371105263,), (1371105264,), (1371105290,), (1371105291,), (1371105293,), (1371105294,), (1371105295,), (1371105341,), (1371105376,), (1371105433,), (1371105434,), (1371105461,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702772 , 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=24702755 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 (24702772) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702773 , 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=24702755 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 (24702773) result : ((1371105175,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702774 , 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=24702755 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 (24702774) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702775 , 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=24702755 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 (24702775) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702776 , 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=24702755 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 (24702776) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702777 , 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=24702755 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 (24702777) result : ((1371105174,), (1371105188,), (1371105265,), (1371105266,), (1371105297,), (1371105298,), (1371105299,), (1371105300,), (1371105301,), (1371105343,), (1371105344,), (1371105345,), (1371105346,), (1371105347,), (1371105348,), (1371105377,), (1371105436,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702778 , 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=24702755 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 (24702778) result : ((1371105169,), (1371105422,), (1371105423,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702779 , 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=24702755 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 (24702779) result : ((1371105462,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702780 , 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=24702755 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 (24702780) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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 24702781 , 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=24702755 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 (24702781) result : ((1371105179,), (1371105180,), (1371105251,), (1371105252,), (1371105253,), (1371105254,), (1371105255,), (1371105286,), (1371105287,), (1371105288,), (1371105289,), (1371105339,), (1371105370,), (1371105371,), (1371105372,), (1371105373,), (1371105426,), (1371105427,), (1371105428,), (1371105429,), (1371105458,), (1371105459,), (1371105460,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702755) result : ((1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) 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 (1371105400) 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`=24702755 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','autre_refus','plastique','mal_croppe','metal','environnement','papier','flou','cartonnette','Teint_Dans_La_Masse','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`=24702755 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Carton_brun','autre_refus','plastique','mal_croppe','metal','environnement','papier','flou','cartonnette','Teint_Dans_La_Masse','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 24702755, 'sub_port_id': 24702782, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609279, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'cartonnette': {'main_port_id': 24702755, 'sub_port_id': 24702783, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609280, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'environnement': {'main_port_id': 24702755, 'sub_port_id': 24702784, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609281, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'metal': {'main_port_id': 24702755, 'sub_port_id': 24702785, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609282, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'papier': {'main_port_id': 24702755, 'sub_port_id': 24702786, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609283, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'flou': {'main_port_id': 24702755, 'sub_port_id': 24702787, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609284, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'kraft': {'main_port_id': 24702755, 'sub_port_id': 24702788, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609285, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'Carton_brun': {'main_port_id': 24702755, 'sub_port_id': 24702789, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609286, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'autre_refus': {'main_port_id': 24702755, 'sub_port_id': 24702790, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609287, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'plastique': {'main_port_id': 24702755, 'sub_port_id': 24702791, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609288, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'mal_croppe': {'main_port_id': 24702755, 'sub_port_id': 24702792, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609289, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 19), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}, 'Carton_gris': {'main_port_id': 24702755, 'sub_port_id': 24702793, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16609290, 'last_updated_at': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 8, 0, 24, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 8, 0, 19)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702782,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702770 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702783,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702771 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702784,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702772 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702785,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702773 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702786,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702774 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702787,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702775 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702788,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702776 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702789,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702777 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702790,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702778 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702791,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702779 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702792,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702780 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24702793,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24702781 lien utilise dans velours : https://www.fotonower.com/velours/24702782,24702783,24702784,24702785,24702786,24702787,24702788,24702789,24702790,24702791,24702792,24702793?tags=Teint_Dans_La_Masse,cartonnette,environnement,metal,papier,flou,kraft,Carton_brun,autre_refus,plastique,mal_croppe,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24702755]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] map_info['map_portfolio_photo'] : {24702755: [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336, 1371105326, 1371105323, 1371105319, 1371105316, 1371105311, 1371105308, 1371105276, 1371105274, 1371105271, 1371105268, 1371105258, 1371105244, 1371105234, 1371105231, 1371105227, 1371105224, 1371105220, 1371105216, 1371105195, 1371105194, 1371105191, 1371105189, 1371105177, 1371105163, 1371105153, 1371105150, 1371105146, 1371105141, 1371105135, 1371105131, 1371105111, 1371105110, 1371105108, 1371105106, 1371105103, 1371105095, 1371105082, 1371105076, 1371105069, 1371105066, 1371105063, 1371105058, 1371105041, 1371105039, 1371105034, 1371105029, 1371105025, 1371105016]} final : False mtd_id 4302 list_pids : [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] Looping around the photos to save general results len do output : 1 /24702755. 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, '3248151') ('4302', '24702755', '1371105400', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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, '24702755', "{'Teint_Dans_La_Masse': 24702770, 'cartonnette': 24702771, 'environnement': 24702772, 'metal': 24702773, 'papier': 24702774, 'flou': 24702775, 'kraft': 24702776, 'Carton_brun': 24702777, 'autre_refus': 24702778, 'plastique': 24702779, 'mal_croppe': 24702780, 'Carton_gris': 24702781}", None, None, None, None, '3248151'), ('4302', '24702755', '1371105400', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151')] time used for this insertion : 0.3136460781097412 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5734155178070068 time spend to save output : 0.3139655590057373 total time spend for step 1 : 0.8873810768127441 step2:final Tue Jul 8 00:26:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24702755) 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 24702755 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1371105041,1371105039,1371105034,1371105029,1371105025,1371105016,1371105082,1371105076,1371105069,1371105066,1371105063,1371105058,1371105111,1371105110,1371105108,1371105106,1371105103,1371105095,1371105153,1371105150,1371105146,1371105141,1371105135,1371105131,1371105195,1371105194,1371105191,1371105189,1371105177,1371105163,1371105234,1371105231,1371105227,1371105224,1371105220,1371105216,1371105276,1371105274,1371105271,1371105268,1371105258,1371105244,1371105326,1371105323,1371105319,1371105316,1371105311,1371105308,1371105360,1371105357,1371105354,1371105352,1371105350,1371105336,1371105400,1371105398,1371105394,1371105390,1371105386,1371105382); 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([24702755]) Inside saveOutput : final : False verbose : True original output for save of step final : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} new output for save of step final : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] map_info['map_portfolio_photo'] : {24702755: [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336, 1371105326, 1371105323, 1371105319, 1371105316, 1371105311, 1371105308, 1371105276, 1371105274, 1371105271, 1371105268, 1371105258, 1371105244, 1371105234, 1371105231, 1371105227, 1371105224, 1371105220, 1371105216, 1371105195, 1371105194, 1371105191, 1371105189, 1371105177, 1371105163, 1371105153, 1371105150, 1371105146, 1371105141, 1371105135, 1371105131, 1371105111, 1371105110, 1371105108, 1371105106, 1371105103, 1371105095, 1371105082, 1371105076, 1371105069, 1371105066, 1371105063, 1371105058, 1371105041, 1371105039, 1371105034, 1371105029, 1371105025, 1371105016]} final : False mtd_id 4302 list_pids : [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] Looping around the photos to save general results len do output : 12 /1371105400.Didn't retrieve data . /1371105398.Didn't retrieve data . /1371105394.Didn't retrieve data . /1371105390.Didn't retrieve data . /1371105386.Didn't retrieve data . /1371105382.Didn't retrieve data . /1371105360.Didn't retrieve data . /1371105357.Didn't retrieve data . /1371105354.Didn't retrieve data . /1371105352.Didn't retrieve data . /1371105350.Didn't retrieve data . /1371105336.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, '3248151') ('4302', '24702755', '1371105400', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '24702755', '1371105400', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105398', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105394', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105390', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105386', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105382', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105360', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105357', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105354', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105352', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105350', '0.024430470134254118', None, None, None, None, '3248151'), ('4302', '24702755', '1371105336', '0.024430470134254118', None, None, None, None, '3248151')] time used for this insertion : 0.044281721115112305 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.22703337669372559 time spend to save output : 0.04491019248962402 total time spend for step 2 : 0.2719435691833496 step3:velours_tree Tue Jul 8 00:26:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {24702755: [{'Teint_Dans_La_Masse': 24702770, 'cartonnette': 24702771, 'environnement': 24702772, 'metal': 24702773, 'papier': 24702774, 'flou': 24702775, 'kraft': 24702776, 'Carton_brun': 24702777, 'autre_refus': 24702778, 'plastique': 24702779, 'mal_croppe': 24702780, 'Carton_gris': 24702781}]} input_args_next_step : {24702755: ()} output_args : {24702755: [{'Teint_Dans_La_Masse': 24702770, 'cartonnette': 24702771, 'environnement': 24702772, 'metal': 24702773, 'papier': 24702774, 'flou': 24702775, 'kraft': 24702776, 'Carton_brun': 24702777, 'autre_refus': 24702778, 'plastique': 24702779, 'mal_croppe': 24702780, 'Carton_gris': 24702781}]} args : 24702755 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': 24702770, 'cartonnette': 24702771, 'environnement': 24702772, 'metal': 24702773, 'papier': 24702774, 'flou': 24702775, 'kraft': 24702776, 'Carton_brun': 24702777, 'autre_refus': 24702778, 'plastique': 24702779, 'mal_croppe': 24702780, 'Carton_gris': 24702781},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24702755) 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([24702755]) 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.2986302375793457 time spend to save output : 6.866455078125e-05 total time spend for step 3 : 0.29869890213012695 step4:send_mail_cod Tue Jul 8 00:26:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} input_args_next_step : {1371105400: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105400 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105398 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105394 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105390 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105386 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105382 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105360 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105357 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105354 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105352 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105350 depend.output_id : 0 input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ()} output_args : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',)} args : 1371105336 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 : {24702755: [{'Teint_Dans_La_Masse': 24702770, 'cartonnette': 24702771, 'environnement': 24702772, 'metal': 24702773, 'papier': 24702774, 'flou': 24702775, 'kraft': 24702776, 'Carton_brun': 24702777, 'autre_refus': 24702778, 'plastique': 24702779, 'mal_croppe': 24702780, 'Carton_gris': 24702781}]} input_args_next_step : {1371105400: ('0.024430470134254118',), 1371105398: ('0.024430470134254118',), 1371105394: ('0.024430470134254118',), 1371105390: ('0.024430470134254118',), 1371105386: ('0.024430470134254118',), 1371105382: ('0.024430470134254118',), 1371105360: ('0.024430470134254118',), 1371105357: ('0.024430470134254118',), 1371105354: ('0.024430470134254118',), 1371105352: ('0.024430470134254118',), 1371105350: ('0.024430470134254118',), 1371105336: ('0.024430470134254118',), 24702755: ()} output_args : {24702755: [{'Teint_Dans_La_Masse': 24702770, 'cartonnette': 24702771, 'environnement': 24702772, 'metal': 24702773, 'papier': 24702774, 'flou': 24702775, 'kraft': 24702776, 'Carton_brun': 24702777, 'autre_refus': 24702778, 'plastique': 24702779, 'mal_croppe': 24702780, 'Carton_gris': 24702781}]} args : 24702755 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 :13, first value : ('0.024430470134254118',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24702755) 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 (1371105400,1371105398,1371105394,1371105390,1371105386,1371105382,1371105360,1371105357,1371105354,1371105352,1371105350,1371105336) Found this number of photos: 12 ##### Call download_photos : nb_thread : 5 begin to download photo : 1371105336 begin to download photo : 1371105354 begin to download photo : 1371105382 begin to download photo : 1371105394 download finish for photo 1371105336 begin to download photo : 1371105350 download finish for photo 1371105394 begin to download photo : 1371105398 download finish for photo 1371105382 begin to download photo : 1371105386 download finish for photo 1371105350 begin to download photo : 1371105352 download finish for photo 1371105386 begin to download photo : 1371105390 download finish for photo 1371105398 begin to download photo : 1371105400 download finish for photo 1371105354 begin to download photo : 1371105357 download finish for photo 1371105352 download finish for photo 1371105390 download finish for photo 1371105357 begin to download photo : 1371105360 download finish for photo 1371105400 download finish for photo 1371105360 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 : 12 ; length of list_pids : 12 ; length of list_args : 12 results_Auto_P24702755_08-07-2025_00_26_59.pdf 24702771 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=24702771 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105264: '1751926884_3033786_1371105131_06453c0628b2dfa43cb61d1478dc9863_rle_crop_3875389278_0.png', 1371105461: '1751927165_1871682_1371105274_12b39e51d386bd9bd94b6239470dcc9a_rle_crop_3875392329_0.png', 1371105434: '1751927125_3039345_1371105311_b9ff9f3baca7636e52915593e311a21d_rle_crop_3875392140_0.png', 1371105433: '1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392111_0.png', 1371105376: '1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391882_0.png', 1371105341: '1751927005_3036539_1371105220_3051361343bfbd45c9cac034b9feda79_rle_crop_3875391785_0.png', 1371105295: '1751926925_1863650_1371105095_e28f998a6415daffa6ba653eb034cad9_rle_crop_3875389559_0.png', 1371105294: '1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389544_0.png', 1371105293: '1751926925_1863650_1371105106_dc6e0b99dcf5d37f9412ac231284c7a9_rle_crop_3875389528_0.png', 1371105291: '1751926925_1863650_1371105108_9f77b44c1884e1af3e1f055b2a811d41_rle_crop_3875389514_0.png', 1371105290: '1751926925_1863650_1371105111_2424facc8bcbe40f27e07f8f4a47947f_rle_crop_3875389488_0.png', 1371105181: '1751926765_1857240_1371105082_9be6d8aa4fbafcac3f940b5172c6ba0c_rle_crop_3875388583_0.png', 1371105263: '1751926884_3033786_1371105135_dd934c06bd06ec97dad30e5f87e22d98_rle_crop_3875389265_0.png', 1371105262: '1751926884_3033786_1371105141_4b1418050c8c7da49d693346d812b621_rle_crop_3875389249_0.png', 1371105261: '1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389231_0.png', 1371105260: '1751926884_3033786_1371105150_06abfe4ec31b047fa5227a84f8e913f5_rle_crop_3875389216_0.png', 1371105259: '1751926884_3033786_1371105153_ba646f4fb91647ea436541149dbc14dd_rle_crop_3875389201_0.png', 1371105187: '1751926765_1857240_1371105058_59b66f096766b4c6e3f04d1d5eaacb5c_rle_crop_3875388694_0.png', 1371105185: '1751926765_1857240_1371105063_c3ff9665774a0ac984c0dbe663d5bd6b_rle_crop_3875388681_0.png', 1371105184: '1751926765_1857240_1371105066_37c19a5abd55040731a6a6426a5c0d13_rle_crop_3875388655_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/ee8c0835200b2e19fac9923c9954d684_24516663.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/6a235ac99e953ec1a809c9d027edabd2_7656381.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/af95c820128e0096e3a487b63977f9b0_28358685.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/71b2cc8407c2c2f7bb781e71418b6a89_76693271.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/4a84a37b41f0a7b6eaecfd7263496836_30845304.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/0dd5a4bf8b9f888d0af7aa4425f7f473_78860215.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/f0d0691eefbf2ce97b9f19d0830a7283_35776167.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/f20c13f0b1ff900b2cf245f60dc81415_93529076.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/4d02ee41925b90832ba7d752a4afb2a4_76265942.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/ac0a4068269005413f8ca8dde684a6c0_27189510.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/73930b7d372f82e3ec711e70da899f51_22999491.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/2b5c21678064be6144123b5859457d0f_63088878.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/fb48e11f2ad7cbc09e8a03d66c2dbc6b_11543184.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/71c15979c23a8d72bb8bdac345093f3b_66500288.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/a8db5ae1b9e41ee9dc37c5c52b14724b_42448014.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/cd25337a70579ea99baf69b31cdf0d1c_4012217.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/fd056e7f071688e0f1ece79b9991b8e7_78866798.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/2de9014cf6fdd655de3ddfbb6e2ce0dd_19594614.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/701eccf8cee0d4e7237ae069efc7125a_95264034.png change filename to text .imagette247027711751927219/ imagette247027711751927219/1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391882_0.png.png imagette247027711751927219/1751926884_3033786_1371105131_06453c0628b2dfa43cb61d1478dc9863_rle_crop_3875389278_0.png.png imagette247027711751927219/1751926884_3033786_1371105153_ba646f4fb91647ea436541149dbc14dd_rle_crop_3875389201_0.png.png imagette247027711751927219/1751926925_1863650_1371105111_2424facc8bcbe40f27e07f8f4a47947f_rle_crop_3875389488_0.png.png imagette247027711751927219/1751926925_1863650_1371105108_9f77b44c1884e1af3e1f055b2a811d41_rle_crop_3875389514_0.png.png imagette247027711751927219/1751926765_1857240_1371105082_9be6d8aa4fbafcac3f940b5172c6ba0c_rle_crop_3875388583_0.png.png imagette247027711751927219/1751926765_1857240_1371105066_37c19a5abd55040731a6a6426a5c0d13_rle_crop_3875388655_0.png.png imagette247027711751927219/1751926765_1857240_1371105063_c3ff9665774a0ac984c0dbe663d5bd6b_rle_crop_3875388681_0.png.png imagette247027711751927219/1751927005_3036539_1371105220_3051361343bfbd45c9cac034b9feda79_rle_crop_3875391785_0.png.png imagette247027711751927219/1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392111_0.png.png imagette247027711751927219/1751927125_3039345_1371105311_b9ff9f3baca7636e52915593e311a21d_rle_crop_3875392140_0.png.png imagette247027711751927219/1751926925_1863650_1371105106_dc6e0b99dcf5d37f9412ac231284c7a9_rle_crop_3875389528_0.png.png imagette247027711751927219/1751926765_1857240_1371105058_59b66f096766b4c6e3f04d1d5eaacb5c_rle_crop_3875388694_0.png.png imagette247027711751927219/1751926884_3033786_1371105150_06abfe4ec31b047fa5227a84f8e913f5_rle_crop_3875389216_0.png.png imagette247027711751927219/1751926884_3033786_1371105141_4b1418050c8c7da49d693346d812b621_rle_crop_3875389249_0.png.png imagette247027711751927219/1751926925_1863650_1371105095_e28f998a6415daffa6ba653eb034cad9_rle_crop_3875389559_0.png.png imagette247027711751927219/1751926884_3033786_1371105135_dd934c06bd06ec97dad30e5f87e22d98_rle_crop_3875389265_0.png.png imagette247027711751927219/1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389231_0.png.png imagette247027711751927219/1751927165_1871682_1371105274_12b39e51d386bd9bd94b6239470dcc9a_rle_crop_3875392329_0.png.png imagette247027711751927219/1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389544_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/294e6f7d389adc11f8fe359b1cd3f916_24251294.png imagette247027711751927219 24702773 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=24702773 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105175: '1751926767_3030862_1371105039_e7dcfc589969ac86806a77d11e01d05d_rle_crop_3875388593_0.png'} change filename to text .imagette247027731751927220/ imagette247027731751927220/1751926767_3030862_1371105039_e7dcfc589969ac86806a77d11e01d05d_rle_crop_3875388593_0.png.png imagette247027751751927220/ imagette247027761751927220/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/02a772e5a42fb26c97b975be257e6147_96425186.png imagette247027731751927220 24702775 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=24702775 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247027751751927220 24702776 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=24702776 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247027761751927220 24702778 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=24702778 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105169: '1751926767_3030862_1371105016_a3943c10df502ec9fd750e929eb2d3df_rle_crop_3875388669_0.png', 1371105422: '1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392116_0.png', 1371105423: '1751927125_3039345_1371105308_780309e493d361bf84f1df3e4fb0ccb1_rle_crop_3875392162_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/9fcc838021a7f49ecfbfc2edd5cb88ea_98422788.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/33173e0edbf7749dd973985e44cb4202_66336270.png change filename to text .imagette247027781751927220/ imagette247027781751927220/1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392116_0.png.png imagette247027781751927220/1751927125_3039345_1371105308_780309e493d361bf84f1df3e4fb0ccb1_rle_crop_3875392162_0.png.png imagette247027781751927220/1751926767_3030862_1371105016_a3943c10df502ec9fd750e929eb2d3df_rle_crop_3875388669_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/d84ecfda9b98af1dd05da4624ee2a6c5_34080656.png imagette247027781751927220 24702779 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=24702779 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105462: '1751927165_1871682_1371105244_dab220080f3bb621c68d747cdbe6ec1d_rle_crop_3875392378_0.png'} change filename to text .imagette247027791751927220/ imagette247027791751927220/1751927165_1871682_1371105244_dab220080f3bb621c68d747cdbe6ec1d_rle_crop_3875392378_0.png.png imagette247027801751927220/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/dcd79474383fa3f87cf0c26dbb714d6e_59509807.png imagette247027791751927220 24702780 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=24702780 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247027801751927220 24702770 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=24702770 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105249: '1751926884_3033786_1371105131_06453c0628b2dfa43cb61d1478dc9863_rle_crop_3875389282_0.png', 1371105456: '1751927165_1871682_1371105258_47fce3b09518df2b56771342f16e98de_rle_crop_3875392365_0.png', 1371105455: '1751927165_1871682_1371105268_fa773e89d253a6a24ef3438f72762e16_rle_crop_3875392357_0.png', 1371105420: '1751927125_3039345_1371105316_0e34504f7e76e1af0eab8f0d9043d2f9_rle_crop_3875392132_0.png', 1371105419: '1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392115_0.png', 1371105418: '1751927125_3039345_1371105323_c0fdc07468140249882a0159e3512531_rle_crop_3875392105_0.png', 1371105369: '1751927046_1866517_1371105194_3925a2e1bbb2b153c278a5a619fb81e8_rle_crop_3875391905_0.png', 1371105368: '1751927046_1866517_1371105194_3925a2e1bbb2b153c278a5a619fb81e8_rle_crop_3875391902_0.png', 1371105367: '1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391888_0.png', 1371105337: '1751927005_3036539_1371105224_407f6a70472e25bd35b0824c96aa3fe5_rle_crop_3875391774_0.png', 1371105283: '1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389548_0.png', 1371105282: '1751926925_1863650_1371105110_542f32e772bf9ee05e31e1cd8db9c525_rle_crop_3875389503_0.png', 1371105164: '1751926767_3030862_1371105039_e7dcfc589969ac86806a77d11e01d05d_rle_crop_3875388591_0.png', 1371105248: '1751926884_3033786_1371105135_dd934c06bd06ec97dad30e5f87e22d98_rle_crop_3875389267_0.png', 1371105247: '1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389237_0.png', 1371105246: '1751926884_3033786_1371105150_06abfe4ec31b047fa5227a84f8e913f5_rle_crop_3875389219_0.png', 1371105245: '1751926884_3033786_1371105153_ba646f4fb91647ea436541149dbc14dd_rle_crop_3875389205_0.png', 1371105173: '1751926765_1857240_1371105063_c3ff9665774a0ac984c0dbe663d5bd6b_rle_crop_3875388683_0.png', 1371105172: '1751926765_1857240_1371105066_37c19a5abd55040731a6a6426a5c0d13_rle_crop_3875388658_0.png', 1371105171: '1751926765_1857240_1371105069_a7c6020b7e9bdfeea41e437f1086b914_rle_crop_3875388634_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/ab366b0bd223c77cac70e40880f172f9_92551687.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/243f6e95acefeef5c7a1d7ab7f979e9c_16917115.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/856b85421af246bafef48d5c0d633110_29396835.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/572bd94707d941a00dbca745bb365349_9257219.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/19ff67124b83a798ad722884eb3522d6_72270162.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/f9e34180da68cf178be1c4dff1b20994_25628252.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/5c3f015bb64e8f28c1885398abaf0283_93663012.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/aca254fd259f02eb3005f570a4134538_43146943.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/958e91e5a78b5887bfc4ebd744df51a7_41582572.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/ced04efa5fb091f516f71f8de31235b6_52213778.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/cf69b15b30a0104016a215f93b1be49c_95463879.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/082d55da828f13734f41ededbfaae16d_87726337.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/e9a5565434d8ec819c05ba2c540255b3_64508045.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/aa4095f70e24e152008c188ae91b4d33_34896646.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/328f73a135370564e634d4631fb24c75_52545354.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/cd2bfc4dd60bda3575e25707d3258ba3_98311443.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/d8f2e3b50da5674b18de5047072f9c77_84782588.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/0188e2ddb863ad4f3625b67f3d3efe3f_9236419.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/64c00df3af8d4a33974433b7c85f42ff_58402207.png change filename to text .imagette247027701751927220/ imagette247027701751927220/1751927046_1866517_1371105194_3925a2e1bbb2b153c278a5a619fb81e8_rle_crop_3875391905_0.png.png imagette247027701751927220/1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389237_0.png.png imagette247027701751927220/1751926884_3033786_1371105131_06453c0628b2dfa43cb61d1478dc9863_rle_crop_3875389282_0.png.png imagette247027701751927220/1751927125_3039345_1371105316_0e34504f7e76e1af0eab8f0d9043d2f9_rle_crop_3875392132_0.png.png imagette247027701751927220/1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391888_0.png.png imagette247027701751927220/1751926925_1863650_1371105110_542f32e772bf9ee05e31e1cd8db9c525_rle_crop_3875389503_0.png.png imagette247027701751927220/1751927125_3039345_1371105323_c0fdc07468140249882a0159e3512531_rle_crop_3875392105_0.png.png imagette247027701751927220/1751926884_3033786_1371105153_ba646f4fb91647ea436541149dbc14dd_rle_crop_3875389205_0.png.png imagette247027701751927220/1751926884_3033786_1371105150_06abfe4ec31b047fa5227a84f8e913f5_rle_crop_3875389219_0.png.png imagette247027701751927220/1751926765_1857240_1371105066_37c19a5abd55040731a6a6426a5c0d13_rle_crop_3875388658_0.png.png imagette247027701751927220/1751927046_1866517_1371105194_3925a2e1bbb2b153c278a5a619fb81e8_rle_crop_3875391902_0.png.png imagette247027701751927220/1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392115_0.png.png imagette247027701751927220/1751926765_1857240_1371105069_a7c6020b7e9bdfeea41e437f1086b914_rle_crop_3875388634_0.png.png imagette247027701751927220/1751927165_1871682_1371105258_47fce3b09518df2b56771342f16e98de_rle_crop_3875392365_0.png.png imagette247027701751927220/1751927165_1871682_1371105268_fa773e89d253a6a24ef3438f72762e16_rle_crop_3875392357_0.png.png imagette247027701751927220/1751926884_3033786_1371105135_dd934c06bd06ec97dad30e5f87e22d98_rle_crop_3875389267_0.png.png imagette247027701751927220/1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389548_0.png.png imagette247027701751927220/1751927005_3036539_1371105224_407f6a70472e25bd35b0824c96aa3fe5_rle_crop_3875391774_0.png.png imagette247027701751927220/1751926765_1857240_1371105063_c3ff9665774a0ac984c0dbe663d5bd6b_rle_crop_3875388683_0.png.png imagette247027701751927220/1751926767_3030862_1371105039_e7dcfc589969ac86806a77d11e01d05d_rle_crop_3875388591_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/0b8049998076503d22c73af1ceed6437_15541434.png imagette247027701751927220 24702777 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=24702777 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105301: '1751926925_1863650_1371105095_e28f998a6415daffa6ba653eb034cad9_rle_crop_3875389563_0.png', 1371105436: '1751927125_3039345_1371105311_b9ff9f3baca7636e52915593e311a21d_rle_crop_3875392149_0.png', 1371105377: '1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391889_0.png', 1371105348: '1751927005_3036539_1371105216_0b9287d34bc7ee81e8be2d97559e6812_rle_crop_3875391795_0.png', 1371105347: '1751927005_3036539_1371105216_0b9287d34bc7ee81e8be2d97559e6812_rle_crop_3875391793_0.png', 1371105346: '1751927005_3036539_1371105220_3051361343bfbd45c9cac034b9feda79_rle_crop_3875391786_0.png', 1371105345: '1751927005_3036539_1371105220_3051361343bfbd45c9cac034b9feda79_rle_crop_3875391784_0.png', 1371105344: '1751927005_3036539_1371105224_407f6a70472e25bd35b0824c96aa3fe5_rle_crop_3875391773_0.png', 1371105343: '1751927005_3036539_1371105227_53046fa98c26532ba7a00eeaa8242dd8_rle_crop_3875391758_0.png', 1371105174: '1751926767_3030862_1371105034_04c84cc1ec62f71232005de014dba535_rle_crop_3875388609_0.png', 1371105300: '1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389547_0.png', 1371105299: '1751926925_1863650_1371105106_dc6e0b99dcf5d37f9412ac231284c7a9_rle_crop_3875389533_0.png', 1371105298: '1751926925_1863650_1371105108_9f77b44c1884e1af3e1f055b2a811d41_rle_crop_3875389517_0.png', 1371105297: '1751926925_1863650_1371105110_542f32e772bf9ee05e31e1cd8db9c525_rle_crop_3875389502_0.png', 1371105266: '1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389232_0.png', 1371105265: '1751926884_3033786_1371105150_06abfe4ec31b047fa5227a84f8e913f5_rle_crop_3875389217_0.png', 1371105188: '1751926765_1857240_1371105058_59b66f096766b4c6e3f04d1d5eaacb5c_rle_crop_3875388697_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/9c3ea1cf373dbfe7b613ec33d1fb9b8d_92727182.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/acf990e054b63562ec55aa4f3985e062_5193133.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/176ac8c4a2f439f78eabd47e771f3e22_11017005.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/2c1392f0ccb6981688c645a03a9c2455_33266483.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/b6ec06ec1ada5de8678a2fe6993ada76_13103349.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/b8d3385929c269657a561cdde3fc80bf_20808962.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/22c80dbf8d49e252c9e204631c4b99d0_52553207.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/924e38a5396955f03f65125d9b86d159_19472336.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/4fb94d8af2baf738fd047e1de41c26e1_84437132.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/c6dc3caa4c2281c7ca829dfb55b097e9_52673237.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/535b856194ee386df0e71a0d6d582880_96512883.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/e7b30079550b6007e774a7a42f5f699c_39899926.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/c67ae3e2a9e8c4f2c64f73442ea3c08c_50380168.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/beac7591b2912d0b13e88fd8eaec0c51_84450653.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/69d095c1a3b5cddc54a0634b20714e91_36532812.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/056f7b6411c71584ba683c071989cb9d_74615857.png change filename to text .imagette247027771751927221/ imagette247027771751927221/1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389547_0.png.png imagette247027771751927221/1751926925_1863650_1371105108_9f77b44c1884e1af3e1f055b2a811d41_rle_crop_3875389517_0.png.png imagette247027771751927221/1751927005_3036539_1371105216_0b9287d34bc7ee81e8be2d97559e6812_rle_crop_3875391795_0.png.png imagette247027771751927221/1751926767_3030862_1371105034_04c84cc1ec62f71232005de014dba535_rle_crop_3875388609_0.png.png imagette247027771751927221/1751926765_1857240_1371105058_59b66f096766b4c6e3f04d1d5eaacb5c_rle_crop_3875388697_0.png.png imagette247027771751927221/1751927125_3039345_1371105311_b9ff9f3baca7636e52915593e311a21d_rle_crop_3875392149_0.png.png imagette247027771751927221/1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389232_0.png.png imagette247027771751927221/1751927005_3036539_1371105220_3051361343bfbd45c9cac034b9feda79_rle_crop_3875391786_0.png.png imagette247027771751927221/1751926925_1863650_1371105095_e28f998a6415daffa6ba653eb034cad9_rle_crop_3875389563_0.png.png imagette247027771751927221/1751927005_3036539_1371105227_53046fa98c26532ba7a00eeaa8242dd8_rle_crop_3875391758_0.png.png imagette247027771751927221/1751926925_1863650_1371105110_542f32e772bf9ee05e31e1cd8db9c525_rle_crop_3875389502_0.png.png imagette247027771751927221/1751927005_3036539_1371105216_0b9287d34bc7ee81e8be2d97559e6812_rle_crop_3875391793_0.png.png imagette247027771751927221/1751927005_3036539_1371105220_3051361343bfbd45c9cac034b9feda79_rle_crop_3875391784_0.png.png imagette247027771751927221/1751926925_1863650_1371105106_dc6e0b99dcf5d37f9412ac231284c7a9_rle_crop_3875389533_0.png.png imagette247027771751927221/1751926884_3033786_1371105150_06abfe4ec31b047fa5227a84f8e913f5_rle_crop_3875389217_0.png.png imagette247027771751927221/1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391889_0.png.png imagette247027771751927221/1751927005_3036539_1371105224_407f6a70472e25bd35b0824c96aa3fe5_rle_crop_3875391773_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/22830866391f1483ebcedfe5987a2a77_41510549.png imagette247027771751927221 24702781 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=24702781 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371105339: '1751927005_3036539_1371105224_407f6a70472e25bd35b0824c96aa3fe5_rle_crop_3875391766_0.png', 1371105460: '1751927165_1871682_1371105258_47fce3b09518df2b56771342f16e98de_rle_crop_3875392364_0.png', 1371105459: '1751927165_1871682_1371105268_fa773e89d253a6a24ef3438f72762e16_rle_crop_3875392351_0.png', 1371105458: '1751927165_1871682_1371105271_c567415662ac6cc69616c38440471748_rle_crop_3875392340_0.png', 1371105429: '1751927125_3039345_1371105316_0e34504f7e76e1af0eab8f0d9043d2f9_rle_crop_3875392129_0.png', 1371105428: '1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392109_0.png', 1371105427: '1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392117_0.png', 1371105426: '1751927125_3039345_1371105326_2f5a1c6971a48d2a30255aa72ff4314f_rle_crop_3875392092_0.png', 1371105373: '1751927046_1866517_1371105163_6a1e7c16ca03d62832d075833de653d3_rle_crop_3875391923_0.png', 1371105372: '1751927046_1866517_1371105177_efb34fa371b44a37ee8052fb7f3b1df0_rle_crop_3875391921_0.png', 1371105371: '1751927046_1866517_1371105189_3c3683453c013942988cef21191d5296_rle_crop_3875391917_0.png', 1371105370: '1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391891_0.png', 1371105179: '1751926765_1857240_1371105069_a7c6020b7e9bdfeea41e437f1086b914_rle_crop_3875388633_0.png', 1371105289: '1751926925_1863650_1371105095_e28f998a6415daffa6ba653eb034cad9_rle_crop_3875389566_0.png', 1371105288: '1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389550_0.png', 1371105287: '1751926925_1863650_1371105106_dc6e0b99dcf5d37f9412ac231284c7a9_rle_crop_3875389535_0.png', 1371105286: '1751926925_1863650_1371105108_9f77b44c1884e1af3e1f055b2a811d41_rle_crop_3875389520_0.png', 1371105255: '1751926884_3033786_1371105135_dd934c06bd06ec97dad30e5f87e22d98_rle_crop_3875389270_0.png', 1371105254: '1751926884_3033786_1371105141_4b1418050c8c7da49d693346d812b621_rle_crop_3875389254_0.png', 1371105253: '1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389239_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/6abd2f407bbe81009dd8befeeb164fed_59827432.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/9f104553c161ff46610bc8d4c2345a65_81811402.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/c981cd9f120f109f3545a309e159269a_35028023.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/d456dd75031415b0294f35b7a195d3f8_52473420.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/3019d61d6f91fff9216776be99afc900_43283135.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/f3ab69b466bf30da866221c8b4aa0a41_53562145.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/2cb305ea35b080b2c9880d2c2ea2815c_73462947.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/84cc7cf49cdd567e09aca9d432f84ab1_99441313.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/5286ff20e029193988530fae5aa48e88_48172227.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/096c7f10d22d3a48594abae3b301974b_29407599.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/75dcec9eb6f1961c6277777b73ecf896_33208921.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/368f2897367ac953f4ddf8ad6b8c6b3a_69403096.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/ef709afab3ddb16390581f5258aabee2_9220646.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/9a33f48853bbfae1ae715027cd8ee2f1_84300699.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/027323bab5eadef3c12cf45044d198e9_92047014.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/b42bc90db2558cd0a9ff82325ab97945_78410622.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/4b0b4423d329217e839eb654cf86171a_83803065.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/8f06d1a43585156dd6beb243234dc248_45224781.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/2534db80b97f583ae19917fc69ba5117_22566302.png change filename to text .imagette247027811751927222/ imagette247027811751927222/1751927165_1871682_1371105268_fa773e89d253a6a24ef3438f72762e16_rle_crop_3875392351_0.png.png imagette247027811751927222/1751927046_1866517_1371105189_3c3683453c013942988cef21191d5296_rle_crop_3875391917_0.png.png imagette247027811751927222/1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392117_0.png.png imagette247027811751927222/1751926925_1863650_1371105108_9f77b44c1884e1af3e1f055b2a811d41_rle_crop_3875389520_0.png.png imagette247027811751927222/1751927046_1866517_1371105195_1fd45c530272b49b2b50fcf70e94d025_rle_crop_3875391891_0.png.png imagette247027811751927222/1751927165_1871682_1371105271_c567415662ac6cc69616c38440471748_rle_crop_3875392340_0.png.png imagette247027811751927222/1751927125_3039345_1371105326_2f5a1c6971a48d2a30255aa72ff4314f_rle_crop_3875392092_0.png.png imagette247027811751927222/1751927046_1866517_1371105177_efb34fa371b44a37ee8052fb7f3b1df0_rle_crop_3875391921_0.png.png imagette247027811751927222/1751927125_3039345_1371105316_0e34504f7e76e1af0eab8f0d9043d2f9_rle_crop_3875392129_0.png.png imagette247027811751927222/1751926884_3033786_1371105141_4b1418050c8c7da49d693346d812b621_rle_crop_3875389254_0.png.png imagette247027811751927222/1751926925_1863650_1371105095_e28f998a6415daffa6ba653eb034cad9_rle_crop_3875389566_0.png.png imagette247027811751927222/1751927005_3036539_1371105224_407f6a70472e25bd35b0824c96aa3fe5_rle_crop_3875391766_0.png.png imagette247027811751927222/1751926765_1857240_1371105069_a7c6020b7e9bdfeea41e437f1086b914_rle_crop_3875388633_0.png.png imagette247027811751927222/1751927125_3039345_1371105319_5d278e6835f3357ff4d29c1410c444da_rle_crop_3875392109_0.png.png imagette247027811751927222/1751927165_1871682_1371105258_47fce3b09518df2b56771342f16e98de_rle_crop_3875392364_0.png.png imagette247027811751927222/1751926925_1863650_1371105103_0f503e0daec9e62e107b251ab96557a4_rle_crop_3875389550_0.png.png imagette247027811751927222/1751926925_1863650_1371105106_dc6e0b99dcf5d37f9412ac231284c7a9_rle_crop_3875389535_0.png.png imagette247027811751927222/1751927046_1866517_1371105163_6a1e7c16ca03d62832d075833de653d3_rle_crop_3875391923_0.png.png imagette247027811751927222/1751926884_3033786_1371105135_dd934c06bd06ec97dad30e5f87e22d98_rle_crop_3875389270_0.png.png imagette247027811751927222/1751926884_3033786_1371105146_b1f5ad49441589cda3d4053d1916d9bb_rle_crop_3875389239_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/19272d8475791038ab0750382aed4089_56421934.png imagette247027811751927222 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24702755 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24702782,24702783,24702784,24702785,24702786,24702787,24702788,24702789,24702790,24702791,24702792,24702793?tags=Teint_Dans_La_Masse,cartonnette,environnement,metal,papier,flou,kraft,Carton_brun,autre_refus,plastique,mal_croppe,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1371105400] : ('0.024430470134254118',) no score found for photo 1371105400 We are sending mail with results at report@fotonower.com args[1371105398] : ('0.024430470134254118',) no score found for photo 1371105398 We are sending mail with results at report@fotonower.com args[1371105394] : ('0.024430470134254118',) no score found for photo 1371105394 We are sending mail with results at report@fotonower.com args[1371105390] : ('0.024430470134254118',) no score found for photo 1371105390 We are sending mail with results at report@fotonower.com args[1371105386] : ('0.024430470134254118',) no score found for photo 1371105386 We are sending mail with results at report@fotonower.com args[1371105382] : ('0.024430470134254118',) no score found for photo 1371105382 We are sending mail with results at report@fotonower.com args[1371105360] : ('0.024430470134254118',) no score found for photo 1371105360 We are sending mail with results at report@fotonower.com args[1371105357] : ('0.024430470134254118',) no score found for photo 1371105357 We are sending mail with results at report@fotonower.com args[1371105354] : ('0.024430470134254118',) no score found for photo 1371105354 We are sending mail with results at report@fotonower.com args[1371105352] : ('0.024430470134254118',) no score found for photo 1371105352 We are sending mail with results at report@fotonower.com args[1371105350] : ('0.024430470134254118',) no score found for photo 1371105350 We are sending mail with results at report@fotonower.com args[1371105336] : ('0.024430470134254118',) no score found for photo 1371105336 We are sending mail with results at report@fotonower.com refus_total : 0.024430470134254118 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=24702755 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_P24702755_08-07-2025_00_26_59.pdf results_Auto_P24702755_08-07-2025_00_26_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24702755_08-07-2025_00_26_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','24702755','results_Auto_P24702755_08-07-2025_00_26_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24702755_08-07-2025_00_26_59.pdf','pdf','','0.26','0.024430470134254118') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24702755]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] map_info['map_portfolio_photo'] : {24702755: [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336, 1371105326, 1371105323, 1371105319, 1371105316, 1371105311, 1371105308, 1371105276, 1371105274, 1371105271, 1371105268, 1371105258, 1371105244, 1371105234, 1371105231, 1371105227, 1371105224, 1371105220, 1371105216, 1371105195, 1371105194, 1371105191, 1371105189, 1371105177, 1371105163, 1371105153, 1371105150, 1371105146, 1371105141, 1371105135, 1371105131, 1371105111, 1371105110, 1371105108, 1371105106, 1371105103, 1371105095, 1371105082, 1371105076, 1371105069, 1371105066, 1371105063, 1371105058, 1371105041, 1371105039, 1371105034, 1371105029, 1371105025, 1371105016]} final : False mtd_id 4302 list_pids : [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] 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, '3248151') ('4302', '24702755', '1371105400', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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', '24702755', '1371105400', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151')] time used for this insertion : 0.01686692237854004 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.433183670043945 time spend to save output : 0.017089366912841797 total time spend for step 4 : 6.450273036956787 step5:split_time_score Tue Jul 8 00:27:05 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 : ['24702755'] 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 : [('24702755',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24702755) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1371105336: {'path': 'temp/1751927218_953289_1371105336_e354f87afae92d7d1b53dfb86594edcf.jpg', 'extension': 'jpg'}, 1371105350: {'path': 'temp/1751927218_953289_1371105350_a255ade1dc770f4e0a8415af12ece7a8.jpg', 'extension': 'jpg'}, 1371105352: {'path': 'temp/1751927218_953289_1371105352_ab830a28ad4d95f0e9dcfebffa32f9d2.jpg', 'extension': 'jpg'}, 1371105382: {'path': 'temp/1751927218_953289_1371105382_17ac06e7ac46951c58ce60370440ecd7.jpg', 'extension': 'jpg'}, 1371105386: {'path': 'temp/1751927218_953289_1371105386_bc6850a91a367fd5e9e4c0cac4ec5e0e.jpg', 'extension': 'jpg'}, 1371105390: {'path': 'temp/1751927218_953289_1371105390_da2c822563ed3900262ba5d9b78fa608.jpg', 'extension': 'jpg'}, 1371105394: {'path': 'temp/1751927218_953289_1371105394_b0697f9e4a1524548c6fcadf0dc0ce47.jpg', 'extension': 'jpg'}, 1371105398: {'path': 'temp/1751927218_953289_1371105398_30154bf664e007f3dfe6a1f6f0bf7b05.jpg', 'extension': 'jpg'}, 1371105400: {'path': 'temp/1751927218_953289_1371105400_233829f9526d09645bd969c11fda7f2b.jpg', 'extension': 'jpg'}, 1371105354: {'path': 'temp/1751927218_953289_1371105354_04e8ed213f36f8c8eeb1f43ec5cd1fed.jpg', 'extension': 'jpg'}, 1371105357: {'path': 'temp/1751927218_953289_1371105357_b49473d906b5d9fb4f7367bed128c3d7.jpg', 'extension': 'jpg'}, 1371105360: {'path': 'temp/1751927218_953289_1371105360_a76133456408ea1cec7d123ff41c32cc.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 = 24702755; (('arc_en_ciel_jrm_live',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 24702755 group by h (('00', 60),) 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=24702755 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 (24702755) 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 (24702755) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08072025 24702755 Nombre de photos uploadées : 60 / 23040 (0%) 08072025 24702755 Nombre de photos taguées (types de déchets): 0 / 60 (0%) 08072025 24702755 Nombre de photos taguées (volume) : 0 / 60 (0%) [{'photo_id': 1371105041, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/ee9def955570f6b62940513a0d923a89.jpg', 'username': None, 'uploaded_at': 1751926563, 'text': 'image_08072025_00_15_04_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1371105039, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/e7dcfc589969ac86806a77d11e01d05d.jpg', 'username': None, 'uploaded_at': 1751926563, 'text': 'image_08072025_00_15_14_010134m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1371105034, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/04c84cc1ec62f71232005de014dba535.jpg', 'username': None, 'uploaded_at': 1751926563, 'text': 'image_08072025_00_15_24_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1371105029, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/8/9933d004049e5c7de220d1f14e8708ba.jpg', 'username': None, 'uploaded_at': 1751926563, 'text': 'image_08072025_00_15_33_009126m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002579212188720703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 24702755, '2025-07-08' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1960361,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022565364837646484 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= 1960361 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1960361, 'dashboard_run_id': 1967848, 'mtr_portfolio_id': 24702229, 'dashboard_result_id': 12255034, '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_P24702229_08-07-2025_00_16_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24702291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24702292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24702293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24702294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24702295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24702296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24702297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24702298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24702299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24702300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24702301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24702302, 'pht': 3726}}"}, {'dashboat_entry_day': 1960361, 'dashboard_run_id': 1967848, 'mtr_portfolio_id': 24702755, 'dashboard_result_id': 12255035, '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_P24702755_08-07-2025_00_24_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24702770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24702771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24702772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24702773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24702774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24702775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24702776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24702777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24702778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24702779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24702780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24702781, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24702229 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': 3248100, 'mtr_portfolio_id': 24702229, 'created_at': datetime.datetime(2025, 7, 8, 0, 16, 29), 'result': '0.03432764518805383', 'result_long': None, 'result_double': None}] Qualite : 0.03432764518805383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24702229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24702229_08-07-2025_00_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24702229 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_P24702229_08-07-2025_00_16_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24702291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24702292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24702293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24702294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24702295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24702296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24702297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24702298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24702299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24702300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24702301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24702302, 'pht': 3726}}" where mtr_portfolio_id = 24702229 and dashboard_run_id = 1967848 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`=24702229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12255034, 0.03432764518805383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24702229_08-07-2025_00_16_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24702291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24702292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24702293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24702294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24702295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24702296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24702297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24702298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24702299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24702300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24702301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24702302, '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 = 24702755 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': 3248151, 'mtr_portfolio_id': 24702755, 'created_at': datetime.datetime(2025, 7, 8, 0, 26, 58), 'result': '0.024430470134254118', 'result_long': None, 'result_double': None}] Qualite : 0.024430470134254118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24702755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24702755_08-07-2025_00_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24702755 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_P24702755_08-07-2025_00_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24702770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24702771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24702772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24702773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24702774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24702775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24702776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24702777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24702778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24702779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24702780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24702781, 'pht': 3726}}" where mtr_portfolio_id = 24702755 and dashboard_run_id = 1967848 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`=24702755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12255035, 0.024430470134254118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24702755_08-07-2025_00_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24702770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24702771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24702772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24702773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24702774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24702775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24702776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24702777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24702778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24702779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24702780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24702781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24702229,24702755) result : ((1371103946,), (1371103951,), (1371103984,), (1371103989,), (1371103998,), (1371104125,), (1371104160,), (1371104195,), (1371104223,), (1371104232,), (1371104236,), (1371104398,), (1371104404,), (1371104407,), (1371104408,), (1371104411,), (1371104414,), (1371104420,), (1371104422,), (1371104424,), (1371104427,), (1371104430,), (1371104432,), (1371104435,), (1371104437,), (1371104440,), (1371104443,), (1371104445,), (1371104449,), (1371104484,), (1371104486,), (1371104489,), (1371104496,), (1371104533,), (1371104536,), (1371104541,), (1371104546,), (1371104549,), (1371104578,), (1371104613,), (1371104634,), (1371104648,), (1371104658,), (1371104662,), (1371104667,), (1371104671,), (1371104674,), (1371104686,), (1371104690,), (1371104695,), (1371104701,), (1371104711,), (1371104713,), (1371104734,), (1371104740,), (1371104745,), (1371104750,), (1371104753,), (1371104754,), (1371104789,), (1371104792,), (1371104795,), (1371104798,), (1371104800,), (1371104803,), (1371104825,), (1371104831,), (1371104833,), (1371104835,), (1371104837,), (1371104845,), (1371104874,), (1371104891,), (1371104896,), (1371104899,), (1371104902,), (1371104920,), (1371104959,), (1371104970,), (1371104973,), (1371104977,), (1371104980,), (1371104982,), (1371104990,), (1371104994,), (1371104999,), (1371105001,), (1371105004,), (1371105006,), (1371105016,), (1371105025,), (1371105029,), (1371105034,), (1371105039,), (1371105041,), (1371105058,), (1371105063,), (1371105066,), (1371105069,), (1371105076,), (1371105082,), (1371105095,), (1371105103,), (1371105106,), (1371105108,), (1371105110,), (1371105111,), (1371105131,), (1371105135,), (1371105141,), (1371105146,), (1371105150,), (1371105153,), (1371105163,), (1371105177,), (1371105189,), (1371105191,), (1371105194,), (1371105195,), (1371105216,), (1371105220,), (1371105224,), (1371105227,), (1371105231,), (1371105234,), (1371105244,), (1371105258,), (1371105268,), (1371105271,), (1371105274,), (1371105276,), (1371105308,), (1371105311,), (1371105316,), (1371105319,), (1371105323,), (1371105326,), (1371105336,), (1371105350,), (1371105352,), (1371105354,), (1371105357,), (1371105360,), (1371105382,), (1371105386,), (1371105390,), (1371105394,), (1371105398,), (1371105400,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08072025': {'nb_upload': 60, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24702755]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] map_info['map_portfolio_photo'] : {24702755: [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336, 1371105326, 1371105323, 1371105319, 1371105316, 1371105311, 1371105308, 1371105276, 1371105274, 1371105271, 1371105268, 1371105258, 1371105244, 1371105234, 1371105231, 1371105227, 1371105224, 1371105220, 1371105216, 1371105195, 1371105194, 1371105191, 1371105189, 1371105177, 1371105163, 1371105153, 1371105150, 1371105146, 1371105141, 1371105135, 1371105131, 1371105111, 1371105110, 1371105108, 1371105106, 1371105103, 1371105095, 1371105082, 1371105076, 1371105069, 1371105066, 1371105063, 1371105058, 1371105041, 1371105039, 1371105034, 1371105029, 1371105025, 1371105016]} final : True mtd_id 4302 list_pids : [1371105400, 1371105398, 1371105394, 1371105390, 1371105386, 1371105382, 1371105360, 1371105357, 1371105354, 1371105352, 1371105350, 1371105336] Looping around the photos to save general results len do output : 1 /24702755Didn'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, '3248151') ('4302', '24702755', '1371105400', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151') ('4302', None, None, None, None, None, None, None, '3248151') ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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, '24702755', 'None', None, None, None, None, '3248151'), ('4302', '24702755', '1371105400', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105398', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105394', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105390', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105386', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105382', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105360', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105357', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105354', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105352', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105350', None, None, None, None, None, '3248151'), ('4302', '24702755', '1371105336', None, None, None, None, None, '3248151')] time used for this insertion : 0.014718055725097656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.22098946571350098 time spend to save output : 0.014986515045166016 total time spend for step 5 : 0.235975980758667 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 (3248151) 2.18user 2.40system 0:09.77elapsed 46%CPU (0avgtext+0avgdata 160692maxresident)k 272inputs+12080outputs (9major+64168minor)pagefaults 0swaps