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 : 577598 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 (2614764) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2614764) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824472 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2614764'] with mtr_portfolio_ids : ['20824472'] and first list_photo_ids : [] new path : /proc/577598/ Name: python3 Umask: 0002 State: R (running) Tgid: 577598 Ngid: 0 Pid: 577598 PPid: 577597 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 577598 NSpid: 577598 NSpgid: 574913 NSsid: 574913 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98028 kB VmRSS: 98028 kB RssAnon: 59752 kB RssFile: 38276 kB RssShmem: 0 kB VmData: 865596 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: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 49 nonvoluntary_ctxt_switches: 116 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '577598', 'Ngid': '0', 'Pid': '577598', 'PPid': '577597', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '577598', 'NSpid': '577598', 'NSpgid': '574913', 'NSsid': '574913', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98028 kB', 'VmRSS': '98028 kB', 'RssAnon': '59752 kB', 'RssFile': '38276 kB', 'RssShmem': '0 kB', 'VmData': '865596 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': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '49', 'nonvoluntary_ctxt_switches': '116'} ('datou_batch_current', '577598', '1106848', '0', '1106848', '865596', '98028', b'', 'marlene', '2614764') 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 (20824472) 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 (2614764 ) ) 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 (20824472) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339674548, 'portfolio_id': 20824472}, {'photo_id': 1339674546, 'portfolio_id': 20824472}, {'photo_id': 1339674543, 'portfolio_id': 20824472}, {'photo_id': 1339674540, 'portfolio_id': 20824472}, {'photo_id': 1339674524, 'portfolio_id': 20824472}, {'photo_id': 1339674519, 'portfolio_id': 20824472}, {'photo_id': 1339674516, 'portfolio_id': 20824472}, {'photo_id': 1339674513, 'portfolio_id': 20824472}, {'photo_id': 1339674510, 'portfolio_id': 20824472}, {'photo_id': 1339674508, 'portfolio_id': 20824472}, {'photo_id': 1339674500, 'portfolio_id': 20824472}, {'photo_id': 1339674497, 'portfolio_id': 20824472}, {'photo_id': 1339674491, 'portfolio_id': 20824472}, {'photo_id': 1339674484, 'portfolio_id': 20824472}, {'photo_id': 1339674471, 'portfolio_id': 20824472}, {'photo_id': 1339674465, 'portfolio_id': 20824472}, {'photo_id': 1339674462, 'portfolio_id': 20824472}, {'photo_id': 1339674460, 'portfolio_id': 20824472}, {'photo_id': 1339674457, 'portfolio_id': 20824472}, {'photo_id': 1339674454, 'portfolio_id': 20824472}, {'photo_id': 1339674446, 'portfolio_id': 20824472}, {'photo_id': 1339674444, 'portfolio_id': 20824472}, {'photo_id': 1339674441, 'portfolio_id': 20824472}, {'photo_id': 1339674438, 'portfolio_id': 20824472}, {'photo_id': 1339674403, 'portfolio_id': 20824472}, {'photo_id': 1339674400, 'portfolio_id': 20824472}, {'photo_id': 1339674397, 'portfolio_id': 20824472}, {'photo_id': 1339674394, 'portfolio_id': 20824472}, {'photo_id': 1339674391, 'portfolio_id': 20824472}, {'photo_id': 1339674367, 'portfolio_id': 20824472}, {'photo_id': 1339674365, 'portfolio_id': 20824472}, {'photo_id': 1339674361, 'portfolio_id': 20824472}, {'photo_id': 1339674357, 'portfolio_id': 20824472}, {'photo_id': 1339674352, 'portfolio_id': 20824472}, {'photo_id': 1339674329, 'portfolio_id': 20824472}, {'photo_id': 1339674326, 'portfolio_id': 20824472}, {'photo_id': 1339674323, 'portfolio_id': 20824472}, {'photo_id': 1339674320, 'portfolio_id': 20824472}, {'photo_id': 1339674317, 'portfolio_id': 20824472}, {'photo_id': 1339674310, 'portfolio_id': 20824472}, {'photo_id': 1339674308, 'portfolio_id': 20824472}, {'photo_id': 1339674305, 'portfolio_id': 20824472}, {'photo_id': 1339674301, 'portfolio_id': 20824472}, {'photo_id': 1339674297, 'portfolio_id': 20824472}, {'photo_id': 1339674295, 'portfolio_id': 20824472}, {'photo_id': 1339674268, 'portfolio_id': 20824472}, {'photo_id': 1339674265, 'portfolio_id': 20824472}, {'photo_id': 1339674262, 'portfolio_id': 20824472}, {'photo_id': 1339674259, 'portfolio_id': 20824472}, {'photo_id': 1339674249, 'portfolio_id': 20824472}, {'photo_id': 1339674246, 'portfolio_id': 20824472}, {'photo_id': 1339674243, 'portfolio_id': 20824472}, {'photo_id': 1339674240, 'portfolio_id': 20824472}, {'photo_id': 1339674238, 'portfolio_id': 20824472}, {'photo_id': 1339674170, 'portfolio_id': 20824472}, {'photo_id': 1339674167, 'portfolio_id': 20824472}, {'photo_id': 1339674133, 'portfolio_id': 20824472}, {'photo_id': 1339674131, 'portfolio_id': 20824472}, {'photo_id': 1339674113, 'portfolio_id': 20824472}, {'photo_id': 1339673440, 'portfolio_id': 20824472}, {'photo_id': 1339673437, 'portfolio_id': 20824472}, {'photo_id': 1339673434, 'portfolio_id': 20824472}, {'photo_id': 1339673429, 'portfolio_id': 20824472}, {'photo_id': 1339673413, 'portfolio_id': 20824472}, {'photo_id': 1339673411, 'portfolio_id': 20824472}, {'photo_id': 1339673406, 'portfolio_id': 20824472}, {'photo_id': 1339673402, 'portfolio_id': 20824472}, {'photo_id': 1339673399, 'portfolio_id': 20824472}, {'photo_id': 1339673396, 'portfolio_id': 20824472}, {'photo_id': 1339673360, 'portfolio_id': 20824472}, {'photo_id': 1339673355, 'portfolio_id': 20824472}, {'photo_id': 1339673346, 'portfolio_id': 20824472}, {'photo_id': 1339673336, 'portfolio_id': 20824472}] map_portfolio_id_photo_id: {20824472: [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454, 1339674446, 1339674444, 1339674441, 1339674438, 1339674403, 1339674400, 1339674397, 1339674394, 1339674391, 1339674367, 1339674365, 1339674361, 1339674357, 1339674352, 1339674329, 1339674326, 1339674323, 1339674320, 1339674317, 1339674310, 1339674308, 1339674305, 1339674301, 1339674297, 1339674295, 1339674268, 1339674265, 1339674262, 1339674259, 1339674249, 1339674246, 1339674243, 1339674240, 1339674238, 1339674170, 1339674167, 1339674133, 1339674131, 1339674113, 1339673440, 1339673437, 1339673434, 1339673429, 1339673413, 1339673411, 1339673406, 1339673402, 1339673399, 1339673396, 1339673360, 1339673355, 1339673346, 1339673336]} ##### 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.01838397979736328 #### 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 Wed Feb 26 06:16: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 (20824472) 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 : 20824472 get user id for portfolio 20824472 get sub ptf for main ptf 20824472, type 3726 and hashtags ['papier', 'autre_refus', 'cartonnette', 'plastique', 'Carton_brun', 'metal', 'Carton_gris', 'environnement', 'kraft', 'mal_croppe', 'Teint_Dans_La_Masse', 'flou'] 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`=20824472 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre_refus','cartonnette','plastique','Carton_brun','metal','Carton_gris','environnement','kraft','mal_croppe','Teint_Dans_La_Masse','flou')) 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`=20824472 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre_refus','cartonnette','plastique','Carton_brun','metal','Carton_gris','environnement','kraft','mal_croppe','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 20824472, 'sub_port_id': 20824473, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460483, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'Carton_brun': {'main_port_id': 20824472, 'sub_port_id': 20824474, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460484, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'autre_refus': {'main_port_id': 20824472, 'sub_port_id': 20824475, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460485, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'Carton_gris': {'main_port_id': 20824472, 'sub_port_id': 20824476, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460486, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'kraft': {'main_port_id': 20824472, 'sub_port_id': 20824477, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460487, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'papier': {'main_port_id': 20824472, 'sub_port_id': 20824478, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460488, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'environnement': {'main_port_id': 20824472, 'sub_port_id': 20824479, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460489, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'cartonnette': {'main_port_id': 20824472, 'sub_port_id': 20824480, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460490, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'metal': {'main_port_id': 20824472, 'sub_port_id': 20824481, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460491, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20824472, 'sub_port_id': 20824482, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460492, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'mal_croppe': {'main_port_id': 20824472, 'sub_port_id': 20824483, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460493, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}, 'plastique': {'main_port_id': 20824472, 'sub_port_id': 20824484, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460494, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20824473 , 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=20824472 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 (20824473) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824474 , 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=20824472 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 (20824474) result : ((1339674217,), (1339674218,), (1339674232,), (1339674233,), (1339674234,), (1339674276,), (1339674277,), (1339674287,), (1339674337,), (1339674338,), (1339674380,), (1339674381,), (1339674388,), (1339674477,), (1339674478,), (1339674479,), (1339674494,), (1339674526,), (1339674527,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824475 , 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=20824472 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 (20824475) result : ((1339674224,), (1339674225,), (1339674226,), (1339674227,), (1339674273,), (1339674285,), (1339674332,), (1339674333,), (1339674334,), (1339674368,), (1339674470,), (1339674488,), (1339674523,), (1339674530,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824476 , 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=20824472 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 (20824476) result : ((1339674215,), (1339674216,), (1339674228,), (1339674229,), (1339674274,), (1339674275,), (1339674335,), (1339674371,), (1339674372,), (1339674373,), (1339674374,), (1339674375,), (1339674472,), (1339674473,), (1339674474,), (1339674490,), (1339674525,), (1339674532,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824477 , 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=20824472 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 (20824477) result : ((1339674343,), (1339674344,), (1339674387,), (1339674495,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824478 , 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=20824472 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 (20824478) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824479 , 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=20824472 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 (20824479) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824480 , 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=20824472 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 (20824480) result : ((1339674230,), (1339674286,), (1339674336,), (1339674376,), (1339674377,), (1339674378,), (1339674379,), (1339674384,), (1339674385,), (1339674386,), (1339674469,), (1339674476,), (1339674492,), (1339674533,), (1339674534,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824481 , 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=20824472 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 (20824481) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824482 , 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=20824472 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 (20824482) result : ((1339674210,), (1339674211,), (1339674212,), (1339674213,), (1339674214,), (1339674220,), (1339674221,), (1339674222,), (1339674223,), (1339674271,), (1339674272,), (1339674331,), (1339674467,), (1339674468,), (1339674486,), (1339674487,), (1339674521,), (1339674522,), (1339674528,), (1339674529,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824483 , 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=20824472 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 (20824483) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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 20824484 , 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=20824472 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 (20824484) result : ((1339674219,), (1339674278,), (1339674288,), (1339674289,), (1339674339,), (1339674340,), (1339674341,), (1339674342,), (1339674383,), (1339674390,), (1339674480,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20824472) result : ((1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) 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 (1339674500,1339674400) 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`=20824472 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre_refus','cartonnette','plastique','Carton_brun','metal','Carton_gris','environnement','kraft','mal_croppe','Teint_Dans_La_Masse','flou')) 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`=20824472 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre_refus','cartonnette','plastique','Carton_brun','metal','Carton_gris','environnement','kraft','mal_croppe','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 20824472, 'sub_port_id': 20824485, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460495, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'Carton_brun': {'main_port_id': 20824472, 'sub_port_id': 20824486, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460496, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'autre_refus': {'main_port_id': 20824472, 'sub_port_id': 20824487, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460497, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'Carton_gris': {'main_port_id': 20824472, 'sub_port_id': 20824488, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460498, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'kraft': {'main_port_id': 20824472, 'sub_port_id': 20824489, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460499, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'papier': {'main_port_id': 20824472, 'sub_port_id': 20824490, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460500, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'environnement': {'main_port_id': 20824472, 'sub_port_id': 20824491, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460501, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'cartonnette': {'main_port_id': 20824472, 'sub_port_id': 20824492, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460502, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'metal': {'main_port_id': 20824472, 'sub_port_id': 20824493, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460503, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20824472, 'sub_port_id': 20824494, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460504, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'mal_croppe': {'main_port_id': 20824472, 'sub_port_id': 20824495, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460505, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}, 'plastique': {'main_port_id': 20824472, 'sub_port_id': 20824496, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13460506, 'last_updated_at': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 6, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 6, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824485,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824473 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824486,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824474 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824487,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824475 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824488,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824476 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824489,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824477 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824490,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824478 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824491,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824479 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824492,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824480 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824493,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824481 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824494,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824482 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824495,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824483 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20824496,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20824484 lien utilise dans velours : https://www.fotonower.com/velours/20824485,20824486,20824487,20824488,20824489,20824490,20824491,20824492,20824493,20824494,20824495,20824496?tags=flou,Carton_brun,autre_refus,Carton_gris,kraft,papier,environnement,cartonnette,metal,Teint_Dans_La_Masse,mal_croppe,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20824472]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] map_info['map_portfolio_photo'] : {20824472: [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454, 1339674446, 1339674444, 1339674441, 1339674438, 1339674403, 1339674400, 1339674397, 1339674394, 1339674391, 1339674367, 1339674365, 1339674361, 1339674357, 1339674352, 1339674329, 1339674326, 1339674323, 1339674320, 1339674317, 1339674310, 1339674308, 1339674305, 1339674301, 1339674297, 1339674295, 1339674268, 1339674265, 1339674262, 1339674259, 1339674249, 1339674246, 1339674243, 1339674240, 1339674238, 1339674170, 1339674167, 1339674133, 1339674131, 1339674113, 1339673440, 1339673437, 1339673434, 1339673429, 1339673413, 1339673411, 1339673406, 1339673402, 1339673399, 1339673396, 1339673360, 1339673355, 1339673346, 1339673336]} final : False mtd_id 4302 list_pids : [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] Looping around the photos to save general results len do output : 1 /20824472. 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, '2614764') ('4302', '20824472', '1339674548', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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, '20824472', "{'flou': 20824473, 'Carton_brun': 20824474, 'autre_refus': 20824475, 'Carton_gris': 20824476, 'kraft': 20824477, 'papier': 20824478, 'environnement': 20824479, 'cartonnette': 20824480, 'metal': 20824481, 'Teint_Dans_La_Masse': 20824482, 'mal_croppe': 20824483, 'plastique': 20824484}", None, None, None, None, '2614764'), ('4302', '20824472', '1339674548', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764')] time used for this insertion : 0.01865363121032715 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5023436546325684 time spend to save output : 0.018987178802490234 total time spend for step 1 : 0.5213308334350586 step2:final Wed Feb 26 06:16: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 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 (20824472) 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 20824472 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339673360,1339673355,1339673346,1339673336,1339673413,1339673411,1339673406,1339673402,1339673399,1339673396,1339673440,1339673437,1339673434,1339673429,1339674170,1339674167,1339674133,1339674131,1339674113,1339674249,1339674246,1339674243,1339674240,1339674238,1339674268,1339674265,1339674262,1339674259,1339674310,1339674308,1339674305,1339674301,1339674297,1339674295,1339674329,1339674326,1339674323,1339674320,1339674317,1339674367,1339674365,1339674361,1339674357,1339674352,1339674403,1339674400,1339674397,1339674394,1339674391,1339674446,1339674444,1339674441,1339674438,1339674471,1339674465,1339674462,1339674460,1339674457,1339674454,1339674500,1339674497,1339674491,1339674484,1339674524,1339674519,1339674516,1339674513,1339674510,1339674508,1339674548,1339674546,1339674543,1339674540); 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([20824472]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} new output for save of step final : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] map_info['map_portfolio_photo'] : {20824472: [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454, 1339674446, 1339674444, 1339674441, 1339674438, 1339674403, 1339674400, 1339674397, 1339674394, 1339674391, 1339674367, 1339674365, 1339674361, 1339674357, 1339674352, 1339674329, 1339674326, 1339674323, 1339674320, 1339674317, 1339674310, 1339674308, 1339674305, 1339674301, 1339674297, 1339674295, 1339674268, 1339674265, 1339674262, 1339674259, 1339674249, 1339674246, 1339674243, 1339674240, 1339674238, 1339674170, 1339674167, 1339674133, 1339674131, 1339674113, 1339673440, 1339673437, 1339673434, 1339673429, 1339673413, 1339673411, 1339673406, 1339673402, 1339673399, 1339673396, 1339673360, 1339673355, 1339673346, 1339673336]} final : False mtd_id 4302 list_pids : [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] Looping around the photos to save general results len do output : 20 /1339674548.Didn't retrieve data . /1339674546.Didn't retrieve data . /1339674543.Didn't retrieve data . /1339674540.Didn't retrieve data . /1339674524.Didn't retrieve data . /1339674519.Didn't retrieve data . /1339674516.Didn't retrieve data . /1339674513.Didn't retrieve data . /1339674510.Didn't retrieve data . /1339674508.Didn't retrieve data . /1339674500.Didn't retrieve data . /1339674497.Didn't retrieve data . /1339674491.Didn't retrieve data . /1339674484.Didn't retrieve data . /1339674471.Didn't retrieve data . /1339674465.Didn't retrieve data . /1339674462.Didn't retrieve data . /1339674460.Didn't retrieve data . /1339674457.Didn't retrieve data . /1339674454.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, '2614764') ('4302', '20824472', '1339674548', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 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', '20824472', '1339674548', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674546', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674543', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674540', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674524', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674519', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674516', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674513', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674510', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674508', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674500', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674497', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674491', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674484', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674471', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674465', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674462', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674460', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674457', '0.0947731075359996', None, None, None, None, '2614764'), ('4302', '20824472', '1339674454', '0.0947731075359996', None, None, None, None, '2614764')] time used for this insertion : 0.0232851505279541 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07485008239746094 time spend to save output : 0.023961305618286133 total time spend for step 2 : 0.09881138801574707 step3:velours_tree Wed Feb 26 06:16: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 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 : {20824472: [{'flou': 20824473, 'Carton_brun': 20824474, 'autre_refus': 20824475, 'Carton_gris': 20824476, 'kraft': 20824477, 'papier': 20824478, 'environnement': 20824479, 'cartonnette': 20824480, 'metal': 20824481, 'Teint_Dans_La_Masse': 20824482, 'mal_croppe': 20824483, 'plastique': 20824484}]} input_args_next_step : {20824472: ()} output_args : {20824472: [{'flou': 20824473, 'Carton_brun': 20824474, 'autre_refus': 20824475, 'Carton_gris': 20824476, 'kraft': 20824477, 'papier': 20824478, 'environnement': 20824479, 'cartonnette': 20824480, 'metal': 20824481, 'Teint_Dans_La_Masse': 20824482, 'mal_croppe': 20824483, 'plastique': 20824484}]} args : 20824472 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 : ({'flou': 20824473, 'Carton_brun': 20824474, 'autre_refus': 20824475, 'Carton_gris': 20824476, 'kraft': 20824477, 'papier': 20824478, 'environnement': 20824479, 'cartonnette': 20824480, 'metal': 20824481, 'Teint_Dans_La_Masse': 20824482, 'mal_croppe': 20824483, 'plastique': 20824484},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20824472) 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([20824472]) 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.30258870124816895 time spend to save output : 3.8623809814453125e-05 total time spend for step 3 : 0.3026273250579834 step4:send_mail_cod Wed Feb 26 06:16: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 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 : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} input_args_next_step : {1339674548: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674548 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674546 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674543 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674540 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674524 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674519 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674516 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674513 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674510 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674508 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674500 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674497 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674491 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674484 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674471 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674465 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674462 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674460 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674457 depend.output_id : 0 input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ()} output_args : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',)} args : 1339674454 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 : {20824472: [{'flou': 20824473, 'Carton_brun': 20824474, 'autre_refus': 20824475, 'Carton_gris': 20824476, 'kraft': 20824477, 'papier': 20824478, 'environnement': 20824479, 'cartonnette': 20824480, 'metal': 20824481, 'Teint_Dans_La_Masse': 20824482, 'mal_croppe': 20824483, 'plastique': 20824484}]} input_args_next_step : {1339674548: ('0.0947731075359996',), 1339674546: ('0.0947731075359996',), 1339674543: ('0.0947731075359996',), 1339674540: ('0.0947731075359996',), 1339674524: ('0.0947731075359996',), 1339674519: ('0.0947731075359996',), 1339674516: ('0.0947731075359996',), 1339674513: ('0.0947731075359996',), 1339674510: ('0.0947731075359996',), 1339674508: ('0.0947731075359996',), 1339674500: ('0.0947731075359996',), 1339674497: ('0.0947731075359996',), 1339674491: ('0.0947731075359996',), 1339674484: ('0.0947731075359996',), 1339674471: ('0.0947731075359996',), 1339674465: ('0.0947731075359996',), 1339674462: ('0.0947731075359996',), 1339674460: ('0.0947731075359996',), 1339674457: ('0.0947731075359996',), 1339674454: ('0.0947731075359996',), 20824472: ()} output_args : {20824472: [{'flou': 20824473, 'Carton_brun': 20824474, 'autre_refus': 20824475, 'Carton_gris': 20824476, 'kraft': 20824477, 'papier': 20824478, 'environnement': 20824479, 'cartonnette': 20824480, 'metal': 20824481, 'Teint_Dans_La_Masse': 20824482, 'mal_croppe': 20824483, 'plastique': 20824484}]} args : 20824472 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 :21, first value : ('0.0947731075359996',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20824472) 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 (1339674548,1339674546,1339674543,1339674540,1339674524,1339674519,1339674516,1339674513,1339674510,1339674508,1339674500,1339674497,1339674491,1339674484,1339674471,1339674465,1339674462,1339674460,1339674457,1339674454) Found this number of photos: 20 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339674454 begin to download photo : 1339674471 begin to download photo : 1339674508 begin to download photo : 1339674524 download finish for photo 1339674508 begin to download photo : 1339674510 download finish for photo 1339674524 begin to download photo : 1339674540 download finish for photo 1339674471 begin to download photo : 1339674484 download finish for photo 1339674454 begin to download photo : 1339674457 download finish for photo 1339674540 begin to download photo : 1339674543 download finish for photo 1339674510 begin to download photo : 1339674513 download finish for photo 1339674457 begin to download photo : 1339674460 download finish for photo 1339674484 begin to download photo : 1339674491 download finish for photo 1339674513 begin to download photo : 1339674516 download finish for photo 1339674543 begin to download photo : 1339674546 download finish for photo 1339674491 begin to download photo : 1339674497 download finish for photo 1339674460 begin to download photo : 1339674462 download finish for photo 1339674546 begin to download photo : 1339674548 download finish for photo 1339674516 begin to download photo : 1339674519 download finish for photo 1339674497 begin to download photo : 1339674500 download finish for photo 1339674462 begin to download photo : 1339674465 download finish for photo 1339674548 download finish for photo 1339674500 download finish for photo 1339674519 download finish for photo 1339674465 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208244731740547018/ length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 results_Auto_P20824472_26-02-2025_06_16_58.pdf 20824473 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=20824473 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208244731740547018 20824475 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=20824475 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674224: '1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151192_0.png', 1339674225: '1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151209_0.png', 1339674226: '1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151218_0.png', 1339674227: '1740546272_2373150_1339673396_13ba9c2ee055d23a35433a3a72fc4150_rle_crop_3687151227_0.png', 1339674273: '1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151614_0.png', 1339674285: '1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151667_0.png', 1339674332: '1740546491_2377283_1339674268_2aa3f5a75c1a4bce2a755951d5cae20a_rle_crop_3687151947_0.png', 1339674333: '1740546491_2377283_1339674268_2aa3f5a75c1a4bce2a755951d5cae20a_rle_crop_3687151940_0.png', 1339674334: '1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151981_0.png', 1339674368: '1740546573_2378853_1339674297_9f111db93064324a8cc53a099e69eeca_rle_crop_3687152419_0.png', 1339674470: '1740546731_2381795_1339674394_799a0ec1a0bbd9c5641dae088a83f81d_rle_crop_3687152731_0.png', 1339674488: '1740546772_2382703_1339674357_990db33b37dddacad14827af2c32f404_rle_crop_3687152957_0.png', 1339674523: '1740546852_2385566_1339674454_0fa768dc110db329b6485e202a58eaf5_rle_crop_3687153284_0.png', 1339674530: '1740546873_2386012_1339674441_0216a894cb9ad2e9ffebbe43b52fed59_rle_crop_3687153321_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e659573cd6a8bb81aca7a462e67c1c5b_96290414.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c3c69e4d3c0b39c2bb32ef859423963c_6561639.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5fc7da2d318fd402976c13ccd764a7cf_15328122.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6cf7dec0671db4277e61bbe8b6784f7c_63391807.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a0eb8089212161647d6187c158167857_65156146.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f5227ea1929234dd29730f6eb86ebd8b_34188789.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3df8fc0cca19323d098cfa3606cb7362_92618069.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c52c814f3c06f7f6890aa4348ac63343_83076117.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1b16d964c6bda194fb3546adf71c4122_34690122.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/382616f1c58f13358d423a801c177c07_94789464.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ee2bf3b198e84939e4ab407bd53b463a_16007790.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a77b48a4b1e22e6dcb20070987c07fe5_64538931.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e8e58bd9866b2d7a89e0855abca42dec_82370850.png change filename to text .imagette208244751740547018/ imagette208244751740547018/1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151614_0.png.png imagette208244751740547018/1740546731_2381795_1339674394_799a0ec1a0bbd9c5641dae088a83f81d_rle_crop_3687152731_0.png.png imagette208244751740547018/1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151981_0.png.png imagette208244751740547018/1740546491_2377283_1339674268_2aa3f5a75c1a4bce2a755951d5cae20a_rle_crop_3687151947_0.png.png imagette208244751740547018/1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151209_0.png.png imagette208244751740547018/1740546272_2373150_1339673396_13ba9c2ee055d23a35433a3a72fc4150_rle_crop_3687151227_0.png.png imagette208244751740547018/1740546873_2386012_1339674441_0216a894cb9ad2e9ffebbe43b52fed59_rle_crop_3687153321_0.png.png imagette208244751740547018/1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151218_0.png.png imagette208244751740547018/1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151667_0.png.png imagette208244751740547018/1740546573_2378853_1339674297_9f111db93064324a8cc53a099e69eeca_rle_crop_3687152419_0.png.png imagette208244751740547018/1740546772_2382703_1339674357_990db33b37dddacad14827af2c32f404_rle_crop_3687152957_0.png.png imagette208244751740547018/1740546852_2385566_1339674454_0fa768dc110db329b6485e202a58eaf5_rle_crop_3687153284_0.png.png imagette208244751740547018/1740546491_2377283_1339674268_2aa3f5a75c1a4bce2a755951d5cae20a_rle_crop_3687151940_0.png.png imagette208244751740547018/1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151192_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f65da2484d4c78326020e7c469be826b_43465451.png imagette208244751740547018 20824477 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=20824477 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674343: '1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151988_0.png', 1339674344: '1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152004_0.png', 1339674387: '1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152381_0.png', 1339674495: '1740546772_2382703_1339674365_d058b7879bd7a040bc5acc9bcc5d7bbf_rle_crop_3687152925_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b5587dc91d531a66ac6f8850e9cef664_21995921.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1ba806a656b15e9a5589983f47d43a09_63828441.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e710f766179dafc17140840024cbfb1c_62933569.png change filename to text .imagette208244771740547020/ imagette208244771740547020/1740546772_2382703_1339674365_d058b7879bd7a040bc5acc9bcc5d7bbf_rle_crop_3687152925_0.png.png imagette208244771740547020/1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152004_0.png.png imagette208244771740547020/1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151988_0.png.png imagette208244771740547020/1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152381_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8ea18a308652fbb0ddbb51884d472f55_59201897.png imagette208244771740547020 20824480 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=20824480 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674230: '1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151214_0.png', 1339674286: '1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151672_0.png', 1339674336: '1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151984_0.png', 1339674376: '1740546573_2378853_1339674308_c4f51b8dac228bc0fb4b822b707bc24c_rle_crop_3687152364_0.png', 1339674377: '1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152379_0.png', 1339674378: '1740546573_2378853_1339674301_26f2bbe7425adf570e144e04fbbd235d_rle_crop_3687152409_0.png', 1339674379: '1740546573_2378853_1339674295_b41587b8406d03b94ed88e829a1c42de_rle_crop_3687152454_0.png', 1339674384: '1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152483_0.png', 1339674385: '1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152492_0.png', 1339674386: '1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152476_0.png', 1339674469: '1740546750_2382304_1339674367_8d5b9a0e1f299ecc674bf65e81f031b1_rle_crop_3687152781_0.png', 1339674476: '1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152756_0.png', 1339674492: '1740546772_2382703_1339674357_990db33b37dddacad14827af2c32f404_rle_crop_3687152960_0.png', 1339674533: '1740546873_2386012_1339674444_debb966e3829e5241a057670265a20e4_rle_crop_3687153311_0.png', 1339674534: '1740546873_2386012_1339674444_debb966e3829e5241a057670265a20e4_rle_crop_3687153310_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c18a32a48c530fc23e7ec156dbd33ed3_73358080.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/26e1f51de1144a9f386dd1a1700817d7_2297282.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/05943bee81116a07d6392ed76e739404_68944817.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0ad2586fb06b8fc26920c06104228e11_20848056.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/32fa8f23c9ed0c5cd7e9ee90af8f1706_10171099.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a944cf693e51fe9440b66174fc02290c_94582989.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9d891583d61efd1cf1342c0bc701973d_85554264.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/787daa348562f643958e7e14ee59d0db_33360341.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/426788b351cbb87d91b54472769709ce_79415804.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2815bd0fc04815513f29d7b4d0978378_47744768.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/14505359da60f06a37102147bc73113c_3563255.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c91a9bd8eb06d5a9660fcad6a15cd56a_45394318.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/768878179ecf1a22ea38cf05bda85488_13452433.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3e2bc897698742cd0bc0f21ba697fe62_34869079.png change filename to text .imagette208244801740547020/ imagette208244801740547020/1740546750_2382304_1339674367_8d5b9a0e1f299ecc674bf65e81f031b1_rle_crop_3687152781_0.png.png imagette208244801740547020/1740546573_2378853_1339674295_b41587b8406d03b94ed88e829a1c42de_rle_crop_3687152454_0.png.png imagette208244801740547020/1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151672_0.png.png imagette208244801740547020/1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151214_0.png.png imagette208244801740547020/1740546573_2378853_1339674301_26f2bbe7425adf570e144e04fbbd235d_rle_crop_3687152409_0.png.png imagette208244801740547020/1740546772_2382703_1339674357_990db33b37dddacad14827af2c32f404_rle_crop_3687152960_0.png.png imagette208244801740547020/1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152379_0.png.png imagette208244801740547020/1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152492_0.png.png imagette208244801740547020/1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152483_0.png.png imagette208244801740547020/1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152476_0.png.png imagette208244801740547020/1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151984_0.png.png imagette208244801740547020/1740546873_2386012_1339674444_debb966e3829e5241a057670265a20e4_rle_crop_3687153310_0.png.png imagette208244801740547020/1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152756_0.png.png imagette208244801740547020/1740546873_2386012_1339674444_debb966e3829e5241a057670265a20e4_rle_crop_3687153311_0.png.png imagette208244801740547020/1740546573_2378853_1339674308_c4f51b8dac228bc0fb4b822b707bc24c_rle_crop_3687152364_0.png.png imagette208244811740547021/ imagette208244831740547021/ wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/38647ed6a309c0daab7dde32564dda64_57655231.png imagette208244801740547020 20824481 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=20824481 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208244811740547021 20824483 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=20824483 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208244831740547021 20824484 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=20824484 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674219: '1740546253_2372741_1339673336_4f045c56a9cff22576a1d640e303ed8b_rle_crop_3687151160_0.png', 1339674278: '1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151612_0.png', 1339674288: '1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151669_0.png', 1339674289: '1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151678_0.png', 1339674339: '1740546491_2377283_1339674246_27caead0f4beba72665360ff29c08a1a_rle_crop_3687151956_0.png', 1339674340: '1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151979_0.png', 1339674341: '1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152007_0.png', 1339674342: '1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152010_0.png', 1339674383: '1740546573_2378853_1339674297_9f111db93064324a8cc53a099e69eeca_rle_crop_3687152425_0.png', 1339674390: '1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152489_0.png', 1339674480: '1740546731_2381795_1339674397_8ede20e6340da57c684435438a643940_rle_crop_3687152722_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4b5d86a1b8b5c2be84ec89ea298b5d03_14078614.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/38944b20a4fadff81558d36c1b929780_35714746.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cb198223b09c2e447c5698a93cc869d0_50650818.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c4fea5ae69e7b367a715a2fa2ba8a240_60789149.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/622577f51454f1ed3a4b4f42fe5c899a_59568097.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f51202c2c8ebe102b9cbe0096d2f4662_21493838.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/af516d6c42ef44533d00ed40d31943e7_45344731.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/53fb0d45c771e6cf268ffe743dc15d24_37875839.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c946104dc18945c7e69cdcbb1fee9dc3_16381118.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/49075be77ea82bd844c195e17e4f6fe8_38905259.png change filename to text .imagette208244841740547021/ imagette208244841740547021/1740546253_2372741_1339673336_4f045c56a9cff22576a1d640e303ed8b_rle_crop_3687151160_0.png.png imagette208244841740547021/1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151612_0.png.png imagette208244841740547021/1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152007_0.png.png imagette208244841740547021/1740546573_2378853_1339674297_9f111db93064324a8cc53a099e69eeca_rle_crop_3687152425_0.png.png imagette208244841740547021/1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152010_0.png.png imagette208244841740547021/1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151669_0.png.png imagette208244841740547021/1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151979_0.png.png imagette208244841740547021/1740546731_2381795_1339674397_8ede20e6340da57c684435438a643940_rle_crop_3687152722_0.png.png imagette208244841740547021/1740546592_2379164_1339674320_fe2a943633420bdfff327bf58c7b897b_rle_crop_3687152489_0.png.png imagette208244841740547021/1740546491_2377283_1339674246_27caead0f4beba72665360ff29c08a1a_rle_crop_3687151956_0.png.png imagette208244841740547021/1740546393_2375624_1339673437_2e47458209e0143efbf34e68ea4fa68c_rle_crop_3687151678_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aa6f4213fd64ebd7055615eb69d4ae2f_88732227.png imagette208244841740547021 20824474 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=20824474 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674338: '1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152014_0.png', 1339674527: '1740546852_2385566_1339674460_0cc6fe0f0b109370765a76707de424d5_rle_crop_3687153255_0.png', 1339674526: '1740546852_2385566_1339674462_644fb94c86e3d8344df2d88b2b9d4db6_rle_crop_3687153163_0.png', 1339674494: '1740546772_2382703_1339674357_990db33b37dddacad14827af2c32f404_rle_crop_3687152962_0.png', 1339674479: '1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152757_0.png', 1339674478: '1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152755_0.png', 1339674477: '1740546731_2381795_1339674394_799a0ec1a0bbd9c5641dae088a83f81d_rle_crop_3687152739_0.png', 1339674388: '1740546592_2379164_1339674317_a546eee587e1e80444dfeffb2c1960cd_rle_crop_3687152500_0.png', 1339674381: '1740546573_2378853_1339674301_26f2bbe7425adf570e144e04fbbd235d_rle_crop_3687152406_0.png', 1339674380: '1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152383_0.png', 1339674217: '1740546253_2372741_1339673413_9aeecf25b1e6930ed71bc9f53f4ecc94_rle_crop_3687150961_0.png', 1339674337: '1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151985_0.png', 1339674287: '1740546393_2375624_1339673429_b069347e295990d96f638e54576fd24f_rle_crop_3687151687_0.png', 1339674277: '1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151619_0.png', 1339674276: '1740546373_2375063_1339674133_a31f80ea65a125f96e473a034ef231ac_rle_crop_3687151597_0.png', 1339674234: '1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151219_0.png', 1339674233: '1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151215_0.png', 1339674232: '1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151199_0.png', 1339674218: '1740546253_2372741_1339673355_b1b893553d7f6390cd2bb420e6936337_rle_crop_3687151132_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/83a5f295ad9692c38c7d37115525e1a1_4075135.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a041217df55ce5cc8f6c037539064659_67869248.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aa3c67ed3c9b679ad4485ddb27bad8b3_20137414.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/48ff0f0af0c4cfcf9c389b912ae10c22_67420283.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/49b781bfd1f6167db71b37a80e34921a_57812718.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/737850c975f3976cd0c2815955a29613_95320433.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/72ef83ee4c8ead24de83d51070cce3c2_98150482.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c375943169312ff8e230813c09aab2ff_47273576.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/18143a072c188397e36e746a1b8f7520_56121039.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2718c495e251db9a4d5002a2e7e2dfa2_68028406.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cd30055223c7fc361ea900a43e78701f_40249752.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e1c135d111c4a604ed03658b398d5b08_65866438.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5f7f2f9753221565765c0bbd023ca722_76203259.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/16aad0304804929e7ce7d7c28fe483fe_77150151.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0ca36ae63c031178e724045ceb6d252a_38562327.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ddede7c6957797f5867fdb1feb44cf66_14937580.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/32234f763313646146c80f7732c4cfc4_32074864.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/509a3dc0f87c38755e8485c8495353b6_74618377.png change filename to text .imagette208244741740547021/ imagette208244741740547021/1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152755_0.png.png imagette208244741740547021/1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151215_0.png.png imagette208244741740547021/1740546573_2378853_1339674301_26f2bbe7425adf570e144e04fbbd235d_rle_crop_3687152406_0.png.png imagette208244741740547021/1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151619_0.png.png imagette208244741740547021/1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152014_0.png.png imagette208244741740547021/1740546852_2385566_1339674460_0cc6fe0f0b109370765a76707de424d5_rle_crop_3687153255_0.png.png imagette208244741740547021/1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152383_0.png.png imagette208244741740547021/1740546253_2372741_1339673413_9aeecf25b1e6930ed71bc9f53f4ecc94_rle_crop_3687150961_0.png.png imagette208244741740547021/1740546393_2375624_1339673429_b069347e295990d96f638e54576fd24f_rle_crop_3687151687_0.png.png imagette208244741740547021/1740546852_2385566_1339674462_644fb94c86e3d8344df2d88b2b9d4db6_rle_crop_3687153163_0.png.png imagette208244741740547021/1740546731_2381795_1339674394_799a0ec1a0bbd9c5641dae088a83f81d_rle_crop_3687152739_0.png.png imagette208244741740547021/1740546592_2379164_1339674317_a546eee587e1e80444dfeffb2c1960cd_rle_crop_3687152500_0.png.png imagette208244741740547021/1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152757_0.png.png imagette208244741740547021/1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151199_0.png.png imagette208244741740547021/1740546373_2375063_1339674133_a31f80ea65a125f96e473a034ef231ac_rle_crop_3687151597_0.png.png imagette208244741740547021/1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151219_0.png.png imagette208244741740547021/1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151985_0.png.png imagette208244741740547021/1740546772_2382703_1339674357_990db33b37dddacad14827af2c32f404_rle_crop_3687152962_0.png.png imagette208244741740547021/1740546253_2372741_1339673355_b1b893553d7f6390cd2bb420e6936337_rle_crop_3687151132_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e4fa2f263c61e2b2622f9a0a9dc49e55_46918458.png imagette208244741740547021 20824476 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=20824476 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674373: '1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152380_0.png', 1339674532: '1740546873_2386012_1339674444_debb966e3829e5241a057670265a20e4_rle_crop_3687153309_0.png', 1339674525: '1740546852_2385566_1339674462_644fb94c86e3d8344df2d88b2b9d4db6_rle_crop_3687153159_0.png', 1339674490: '1740546772_2382703_1339674403_18e31fc193e40ef99e3bc82bfba4c337_rle_crop_3687152918_0.png', 1339674474: '1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152763_0.png', 1339674473: '1740546731_2381795_1339674400_a28e57e09d3fa0ede7cbefb0519d0464_rle_crop_3687152711_0.png', 1339674472: '1740546731_2381795_1339674400_a28e57e09d3fa0ede7cbefb0519d0464_rle_crop_3687152715_0.png', 1339674375: '1740546573_2378853_1339674295_b41587b8406d03b94ed88e829a1c42de_rle_crop_3687152448_0.png', 1339674374: '1740546573_2378853_1339674295_b41587b8406d03b94ed88e829a1c42de_rle_crop_3687152455_0.png', 1339674215: '1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151113_0.png', 1339674372: '1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152378_0.png', 1339674371: '1740546573_2378853_1339674308_c4f51b8dac228bc0fb4b822b707bc24c_rle_crop_3687152366_0.png', 1339674335: '1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152011_0.png', 1339674275: '1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151621_0.png', 1339674274: '1740546373_2375063_1339674167_08216aff67fc86c2051b36f28a59a757_rle_crop_3687151482_0.png', 1339674229: '1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151204_0.png', 1339674228: '1740546272_2373150_1339673411_571e62dd38b08a14b53c3390a8642201_rle_crop_3687151169_0.png', 1339674216: '1740546253_2372741_1339673336_4f045c56a9cff22576a1d640e303ed8b_rle_crop_3687151158_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/90678a65482eacc191e83bdfe23ad7a6_38551908.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2f799f933eaee1d9a33e6d2d6f68460b_38066987.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3235426f433399eb511159e458d54658_15419822.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7298477e88f46cd088f50094beebac3c_56638401.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/35ff4e56c3fcf3689e10a15b59c0b8a2_89342374.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/45f0c1eb364f1ac573fb2c92aabbaef6_13069244.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1e4bfced52b3504a6298504faf9e8e9e_50287885.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/35461d934f09412eb58a1812dad2926f_34531810.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7c3bbb7255de46403bd3cfcdab4122ee_76906347.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/499f42815b468b409fb6153af0c73c8d_41651684.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/412dfd5af7c7b557c4a1759aef1d472e_56986886.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/363638c34416319dd60218c9dec43d99_60499487.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3443dc852dcbc872705a026586f0791c_18973235.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/47fb12cbde9436733160980045a4d5f2_94422873.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/918c113add46f5531a83ffa1c4b645ac_80765308.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ffa47d1c5ce37d35f4cda6cfedc4cc30_20180771.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/16fb83842bc96d251304b7e7ac40ec0d_35873299.png change filename to text .imagette208244761740547022/ imagette208244761740547022/1740546573_2378853_1339674295_b41587b8406d03b94ed88e829a1c42de_rle_crop_3687152455_0.png.png imagette208244761740547022/1740546272_2373150_1339673411_571e62dd38b08a14b53c3390a8642201_rle_crop_3687151169_0.png.png imagette208244761740547022/1740546253_2372741_1339673336_4f045c56a9cff22576a1d640e303ed8b_rle_crop_3687151158_0.png.png imagette208244761740547022/1740546573_2378853_1339674295_b41587b8406d03b94ed88e829a1c42de_rle_crop_3687152448_0.png.png imagette208244761740547022/1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152380_0.png.png imagette208244761740547022/1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151204_0.png.png imagette208244761740547022/1740546852_2385566_1339674462_644fb94c86e3d8344df2d88b2b9d4db6_rle_crop_3687153159_0.png.png imagette208244761740547022/1740546573_2378853_1339674305_fe92acb7369f02ff8a141b219e47e714_rle_crop_3687152378_0.png.png imagette208244761740547022/1740546731_2381795_1339674400_a28e57e09d3fa0ede7cbefb0519d0464_rle_crop_3687152715_0.png.png imagette208244761740547022/1740546491_2377283_1339674238_700dee291008cad6505f2a8b5be18fec_rle_crop_3687152011_0.png.png imagette208244761740547022/1740546731_2381795_1339674391_f363f8ac9d0391c557c2431cb608dc2a_rle_crop_3687152763_0.png.png imagette208244761740547022/1740546373_2375063_1339674167_08216aff67fc86c2051b36f28a59a757_rle_crop_3687151482_0.png.png imagette208244761740547022/1740546573_2378853_1339674308_c4f51b8dac228bc0fb4b822b707bc24c_rle_crop_3687152366_0.png.png imagette208244761740547022/1740546373_2375063_1339674131_93bec98bfaa765369b64c328c8a81f2c_rle_crop_3687151621_0.png.png imagette208244761740547022/1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151113_0.png.png imagette208244761740547022/1740546772_2382703_1339674403_18e31fc193e40ef99e3bc82bfba4c337_rle_crop_3687152918_0.png.png imagette208244761740547022/1740546873_2386012_1339674444_debb966e3829e5241a057670265a20e4_rle_crop_3687153309_0.png.png imagette208244761740547022/1740546731_2381795_1339674400_a28e57e09d3fa0ede7cbefb0519d0464_rle_crop_3687152711_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/187b13a7a5a9818cc254c27413e9f60b_56526295.png imagette208244761740547022 20824482 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=20824482 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339674272: '1740546373_2375063_1339674133_a31f80ea65a125f96e473a034ef231ac_rle_crop_3687151608_0.png', 1339674529: '1740546873_2386012_1339674441_0216a894cb9ad2e9ffebbe43b52fed59_rle_crop_3687153320_0.png', 1339674528: '1740546873_2386012_1339674441_0216a894cb9ad2e9ffebbe43b52fed59_rle_crop_3687153326_0.png', 1339674522: '1740546852_2385566_1339674454_0fa768dc110db329b6485e202a58eaf5_rle_crop_3687153289_0.png', 1339674521: '1740546852_2385566_1339674457_74ab9e59ba2d79d2629ca5fcdfeb3fb9_rle_crop_3687153272_0.png', 1339674487: '1740546772_2382703_1339674361_f77914229b353905ce0dfba9d22a1555_rle_crop_3687152949_0.png', 1339674486: '1740546772_2382703_1339674365_d058b7879bd7a040bc5acc9bcc5d7bbf_rle_crop_3687152932_0.png', 1339674468: '1740546731_2381795_1339674394_799a0ec1a0bbd9c5641dae088a83f81d_rle_crop_3687152740_0.png', 1339674467: '1740546731_2381795_1339674397_8ede20e6340da57c684435438a643940_rle_crop_3687152728_0.png', 1339674331: '1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151994_0.png', 1339674210: '1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151114_0.png', 1339674271: '1740546373_2375063_1339674167_08216aff67fc86c2051b36f28a59a757_rle_crop_3687151497_0.png', 1339674223: '1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151220_0.png', 1339674222: '1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151206_0.png', 1339674221: '1740546272_2373150_1339673406_7cb14927bec2dfe51746f73f3f0ce8d6_rle_crop_3687151183_0.png', 1339674220: '1740546272_2373150_1339673411_571e62dd38b08a14b53c3390a8642201_rle_crop_3687151171_0.png', 1339674214: '1740546253_2372741_1339673336_4f045c56a9cff22576a1d640e303ed8b_rle_crop_3687151166_0.png', 1339674213: '1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151119_0.png', 1339674212: '1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151115_0.png', 1339674211: '1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151120_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4b7e16eddc622813f4cc8ca110f8ba59_57566223.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e5c9b0cfee92203f32cf807d9c29f3c7_23738385.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f122966091cdcc08c0e340d2b2f5009f_72965428.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c09bce5a69e6bcf45fc655c072e6538a_76404520.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6f1d64e30601ac364224d10fe53926bb_1356825.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6251f0d0541ec2afa37f7cc8dd301e09_55581430.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ff848ae417abb02bb55774bc49421002_90914594.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c9f038a10edb843c1642e47c210eadee_72293169.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cc9abf73ec0d21f9f25f9e8952c76ebf_98449245.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9eed229aa157c32abd42ca001f95d8f0_54642373.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7d5afb50f62a8f04a140259fb06d8b00_63743758.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d29f00538b867a3eb420fd6bdb4520fa_58528159.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b4fd27eccd989b1c8cc6f7a94521c6dc_13352698.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1d051c45d139c84a2417cf3ffcbd5e72_13466910.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aae3cb925e2fc1d100debc053e13314b_35036870.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0bafa0da87f5f9993ddb977f3b77d1dc_29795984.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/74b3d82f9550fef0813c5be5c4796d1a_72113809.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9815ae0bfdf7e92c87cf140e960c04cd_81804248.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f2cf3b15993d8ddc77c3763fb13e9176_25781213.png change filename to text .imagette208244821740547023/ imagette208244821740547023/1740546731_2381795_1339674397_8ede20e6340da57c684435438a643940_rle_crop_3687152728_0.png.png imagette208244821740547023/1740546253_2372741_1339673336_4f045c56a9cff22576a1d640e303ed8b_rle_crop_3687151166_0.png.png imagette208244821740547023/1740546272_2373150_1339673406_7cb14927bec2dfe51746f73f3f0ce8d6_rle_crop_3687151183_0.png.png imagette208244821740547023/1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151114_0.png.png imagette208244821740547023/1740546772_2382703_1339674365_d058b7879bd7a040bc5acc9bcc5d7bbf_rle_crop_3687152932_0.png.png imagette208244821740547023/1740546272_2373150_1339673399_c29a62c85b95c903ce517fcc16c17003_rle_crop_3687151220_0.png.png imagette208244821740547023/1740546373_2375063_1339674133_a31f80ea65a125f96e473a034ef231ac_rle_crop_3687151608_0.png.png imagette208244821740547023/1740546852_2385566_1339674457_74ab9e59ba2d79d2629ca5fcdfeb3fb9_rle_crop_3687153272_0.png.png imagette208244821740547023/1740546491_2377283_1339674240_bf930785baa6540b1974965809605a2e_rle_crop_3687151994_0.png.png imagette208244821740547023/1740546272_2373150_1339673402_2de10eefdd74f832b6a96bb6e779f408_rle_crop_3687151206_0.png.png imagette208244821740547023/1740546272_2373150_1339673411_571e62dd38b08a14b53c3390a8642201_rle_crop_3687151171_0.png.png imagette208244821740547023/1740546873_2386012_1339674441_0216a894cb9ad2e9ffebbe43b52fed59_rle_crop_3687153326_0.png.png imagette208244821740547023/1740546731_2381795_1339674394_799a0ec1a0bbd9c5641dae088a83f81d_rle_crop_3687152740_0.png.png imagette208244821740547023/1740546373_2375063_1339674167_08216aff67fc86c2051b36f28a59a757_rle_crop_3687151497_0.png.png imagette208244821740547023/1740546873_2386012_1339674441_0216a894cb9ad2e9ffebbe43b52fed59_rle_crop_3687153320_0.png.png imagette208244821740547023/1740546772_2382703_1339674361_f77914229b353905ce0dfba9d22a1555_rle_crop_3687152949_0.png.png imagette208244821740547023/1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151120_0.png.png imagette208244821740547023/1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151119_0.png.png imagette208244821740547023/1740546852_2385566_1339674454_0fa768dc110db329b6485e202a58eaf5_rle_crop_3687153289_0.png.png imagette208244821740547023/1740546253_2372741_1339673360_866254096eda2c6a5bc6ceaa7ac04b54_rle_crop_3687151115_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9be006802c4292f2f783b95249bb90ec_2399658.png imagette208244821740547023 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20824472 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20824485,20824486,20824487,20824488,20824489,20824490,20824491,20824492,20824493,20824494,20824495,20824496?tags=flou,Carton_brun,autre_refus,Carton_gris,kraft,papier,environnement,cartonnette,metal,Teint_Dans_La_Masse,mal_croppe,plastique your option no_mail is active, we will not send the real mail to your client args[1339674548] : ('0.0947731075359996',) no score found for photo 1339674548 We are sending mail with results at report@fotonower.com args[1339674546] : ('0.0947731075359996',) no score found for photo 1339674546 We are sending mail with results at report@fotonower.com args[1339674543] : ('0.0947731075359996',) no score found for photo 1339674543 We are sending mail with results at report@fotonower.com args[1339674540] : ('0.0947731075359996',) no score found for photo 1339674540 We are sending mail with results at report@fotonower.com args[1339674524] : ('0.0947731075359996',) no score found for photo 1339674524 We are sending mail with results at report@fotonower.com args[1339674519] : ('0.0947731075359996',) no score found for photo 1339674519 We are sending mail with results at report@fotonower.com args[1339674516] : ('0.0947731075359996',) no score found for photo 1339674516 We are sending mail with results at report@fotonower.com args[1339674513] : ('0.0947731075359996',) no score found for photo 1339674513 We are sending mail with results at report@fotonower.com args[1339674510] : ('0.0947731075359996',) no score found for photo 1339674510 We are sending mail with results at report@fotonower.com args[1339674508] : ('0.0947731075359996',) no score found for photo 1339674508 We are sending mail with results at report@fotonower.com args[1339674500] : ('0.0947731075359996',) no score found for photo 1339674500 We are sending mail with results at report@fotonower.com args[1339674497] : ('0.0947731075359996',) no score found for photo 1339674497 We are sending mail with results at report@fotonower.com args[1339674491] : ('0.0947731075359996',) no score found for photo 1339674491 We are sending mail with results at report@fotonower.com args[1339674484] : ('0.0947731075359996',) no score found for photo 1339674484 We are sending mail with results at report@fotonower.com args[1339674471] : ('0.0947731075359996',) no score found for photo 1339674471 We are sending mail with results at report@fotonower.com args[1339674465] : ('0.0947731075359996',) no score found for photo 1339674465 We are sending mail with results at report@fotonower.com args[1339674462] : ('0.0947731075359996',) no score found for photo 1339674462 We are sending mail with results at report@fotonower.com args[1339674460] : ('0.0947731075359996',) no score found for photo 1339674460 We are sending mail with results at report@fotonower.com args[1339674457] : ('0.0947731075359996',) no score found for photo 1339674457 We are sending mail with results at report@fotonower.com args[1339674454] : ('0.0947731075359996',) no score found for photo 1339674454 We are sending mail with results at report@fotonower.com refus_total : 0.0947731075359996 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=20824472 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_P20824472_26-02-2025_06_16_58.pdf results_Auto_P20824472_26-02-2025_06_16_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_26-02-2025_06_16_58.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','20824472','results_Auto_P20824472_26-02-2025_06_16_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_26-02-2025_06_16_58.pdf','pdf','','0.5','0.0947731075359996') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20824472]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] map_info['map_portfolio_photo'] : {20824472: [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454, 1339674446, 1339674444, 1339674441, 1339674438, 1339674403, 1339674400, 1339674397, 1339674394, 1339674391, 1339674367, 1339674365, 1339674361, 1339674357, 1339674352, 1339674329, 1339674326, 1339674323, 1339674320, 1339674317, 1339674310, 1339674308, 1339674305, 1339674301, 1339674297, 1339674295, 1339674268, 1339674265, 1339674262, 1339674259, 1339674249, 1339674246, 1339674243, 1339674240, 1339674238, 1339674170, 1339674167, 1339674133, 1339674131, 1339674113, 1339673440, 1339673437, 1339673434, 1339673429, 1339673413, 1339673411, 1339673406, 1339673402, 1339673399, 1339673396, 1339673360, 1339673355, 1339673346, 1339673336]} final : False mtd_id 4302 list_pids : [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] 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, '2614764') ('4302', '20824472', '1339674548', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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', '20824472', '1339674548', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764')] time used for this insertion : 0.08480000495910645 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.566719055175781 time spend to save output : 0.08513808250427246 total time spend for step 4 : 8.651857137680054 step5:split_time_score Wed Feb 26 06:17:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20824472'] 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 : [('20824472',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20824472) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339674524: {'path': 'temp/1740547017_577598_1339674524_74ce7e7d530abd7f14e01593e14b238f.jpg', 'extension': 'jpg'}, 1339674540: {'path': 'temp/1740547017_577598_1339674540_ea0923721cd44d80801b9a1a992349d2.jpg', 'extension': 'jpg'}, 1339674543: {'path': 'temp/1740547017_577598_1339674543_01e1bc0b80d847d4df0df7fb01375f46.jpg', 'extension': 'jpg'}, 1339674546: {'path': 'temp/1740547017_577598_1339674546_8146879ad6608a4eafecda7d3473fb92.jpg', 'extension': 'jpg'}, 1339674548: {'path': 'temp/1740547017_577598_1339674548_0da43afa1165c5f0b53d5f446bbd1852.jpg', 'extension': 'jpg'}, 1339674471: {'path': 'temp/1740547017_577598_1339674471_04680b667be1204686cf727c3490fe3f.jpg', 'extension': 'jpg'}, 1339674484: {'path': 'temp/1740547017_577598_1339674484_94930c9b81473d96b42d9ba8f858af93.jpg', 'extension': 'jpg'}, 1339674491: {'path': 'temp/1740547017_577598_1339674491_17eb89e791ca726e80c5a929fba402af.jpg', 'extension': 'jpg'}, 1339674497: {'path': 'temp/1740547017_577598_1339674497_28f89761b5950d98bc842e6b03e6ef3f.jpg', 'extension': 'jpg'}, 1339674500: {'path': 'temp/1740547017_577598_1339674500_a808b50a716b26b8c0f66c31ade80a17.jpg', 'extension': 'jpg'}, 1339674508: {'path': 'temp/1740547017_577598_1339674508_dafa9cb21dcfbb23b723c972b667d2ba.jpg', 'extension': 'jpg'}, 1339674510: {'path': 'temp/1740547017_577598_1339674510_6f81f2af14545722935ead2fc202c30d.jpg', 'extension': 'jpg'}, 1339674513: {'path': 'temp/1740547017_577598_1339674513_4b25807e880f38fb16b6f50e561b909b.jpg', 'extension': 'jpg'}, 1339674516: {'path': 'temp/1740547017_577598_1339674516_fd03b1305132b72e80600fac2846d89a.jpg', 'extension': 'jpg'}, 1339674519: {'path': 'temp/1740547017_577598_1339674519_6d2d6f66e94c38840a9972544e89b422.jpg', 'extension': 'jpg'}, 1339674454: {'path': 'temp/1740547017_577598_1339674454_0fa768dc110db329b6485e202a58eaf5.jpg', 'extension': 'jpg'}, 1339674457: {'path': 'temp/1740547017_577598_1339674457_74ab9e59ba2d79d2629ca5fcdfeb3fb9.jpg', 'extension': 'jpg'}, 1339674460: {'path': 'temp/1740547017_577598_1339674460_0cc6fe0f0b109370765a76707de424d5.jpg', 'extension': 'jpg'}, 1339674462: {'path': 'temp/1740547017_577598_1339674462_644fb94c86e3d8344df2d88b2b9d4db6.jpg', 'extension': 'jpg'}, 1339674465: {'path': 'temp/1740547017_577598_1339674465_ddb55e438fa2eb91fa918bfa39dd9d63.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 = 20824472; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20824472 group by h (('06', 73),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20824472 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 (20824472) 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 (20824472) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20824472 Nombre de photos uploadées : 73 / 23040 (0%) 26022025 20824472 Nombre de photos taguées (types de déchets): 0 / 73 (0%) 26022025 20824472 Nombre de photos taguées (volume) : 0 / 73 (0%) [{'photo_id': 1339673360, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/866254096eda2c6a5bc6ceaa7ac04b54.jpg', 'username': None, 'uploaded_at': 1740546095, 'text': 'image_26022025_06_00_04_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339673355, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b1b893553d7f6390cd2bb420e6936337.jpg', 'username': None, 'uploaded_at': 1740546095, 'text': 'image_26022025_06_00_14_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339673346, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ae184fc55d33b762e72b38972681a64a.jpg', 'username': None, 'uploaded_at': 1740546095, 'text': 'image_26022025_06_00_24_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339673336, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4f045c56a9cff22576a1d640e303ed8b.jpg', 'username': None, 'uploaded_at': 1740546095, 'text': 'image_26022025_06_00_33_009128m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0032379627227783203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20824472, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.027666330337524414 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= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632495, 'mtr_portfolio_id': 20823623, 'dashboard_result_id': 9063706, '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_P20823623_26-02-2025_06_09_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632495, 'mtr_portfolio_id': 20823915, 'dashboard_result_id': 9063707, '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_P20823915_26-02-2025_06_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632495, 'mtr_portfolio_id': 20824472, 'dashboard_result_id': 9063708, '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_P20824472_26-02-2025_06_13_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, '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 = 20823623 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': 2614694, 'mtr_portfolio_id': 20823623, 'created_at': datetime.datetime(2025, 2, 26, 6, 9, 28), 'result': '0.09248779747633946', 'result_long': None, 'result_double': None}] Qualite : 0.09248779747633946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_26-02-2025_06_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823623 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_P20823623_26-02-2025_06_09_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}" where mtr_portfolio_id = 20823623 and dashboard_run_id = 1632495 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`=20823623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9063706, 0.09248779747633946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_26-02-2025_06_09_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, '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 = 20823915 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': 2614722, 'mtr_portfolio_id': 20823915, 'created_at': datetime.datetime(2025, 2, 26, 6, 5, 30), 'result': '0.08533351467970449', 'result_long': None, 'result_double': None}] Qualite : 0.08533351467970449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_26-02-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823915 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_P20823915_26-02-2025_06_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}" where mtr_portfolio_id = 20823915 and dashboard_run_id = 1632495 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`=20823915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9063707, 0.08533351467970449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_26-02-2025_06_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, '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 = 20824472 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': 2614764, 'mtr_portfolio_id': 20824472, 'created_at': datetime.datetime(2025, 2, 26, 6, 16, 57), 'result': '0.0947731075359996', 'result_long': None, 'result_double': None}] Qualite : 0.0947731075359996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20824472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_26-02-2025_06_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20824472 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_P20824472_26-02-2025_06_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}" where mtr_portfolio_id = 20824472 and dashboard_run_id = 1632495 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`=20824472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9063708, 0.0947731075359996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_26-02-2025_06_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, '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 (20823623,20823915,20824472) result : ((1339670672,), (1339670674,), (1339670677,), (1339670679,), (1339670699,), (1339670706,), (1339670709,), (1339670712,), (1339670729,), (1339670732,), (1339670735,), (1339670738,), (1339670777,), (1339670800,), (1339671343,), (1339671346,), (1339671349,), (1339671353,), (1339671361,), (1339671625,), (1339671628,), (1339671631,), (1339671633,), (1339671643,), (1339671651,), (1339671662,), (1339671665,), (1339671668,), (1339671671,), (1339671673,), (1339671690,), (1339671693,), (1339671695,), (1339671698,), (1339671701,), (1339671703,), (1339672083,), (1339672087,), (1339672091,), (1339672094,), (1339672101,), (1339672104,), (1339672107,), (1339672109,), (1339672112,), (1339672114,), (1339672121,), (1339672124,), (1339672127,), (1339672157,), (1339672136,), (1339672139,), (1339672141,), (1339672144,), (1339672148,), (1339672167,), (1339672169,), (1339672172,), (1339672174,), (1339672188,), (1339672191,), (1339672194,), (1339672197,), (1339672199,), (1339672203,), (1339672219,), (1339672223,), (1339672230,), (1339672237,), (1339672240,), (1339672284,), (1339672287,), (1339672290,), (1339672293,), (1339672301,), (1339672306,), (1339672354,), (1339672357,), (1339672360,), (1339672362,), (1339672371,), (1339672374,), (1339672376,), (1339672379,), (1339672411,), (1339672414,), (1339672417,), (1339672420,), (1339672423,), (1339672425,), (1339672451,), (1339672455,), (1339672457,), (1339672460,), (1339672576,), (1339672579,), (1339672583,), (1339672595,), (1339672665,), (1339672745,), (1339673187,), (1339673190,), (1339673222,), (1339673247,), (1339673250,), (1339673253,), (1339673282,), (1339673285,), (1339673308,), (1339673311,), (1339673313,), (1339673316,), (1339673318,), (1339673320,), (1339673325,), (1339673327,), (1339673329,), (1339673331,), (1339673363,), (1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 73, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20824472]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] map_info['map_portfolio_photo'] : {20824472: [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454, 1339674446, 1339674444, 1339674441, 1339674438, 1339674403, 1339674400, 1339674397, 1339674394, 1339674391, 1339674367, 1339674365, 1339674361, 1339674357, 1339674352, 1339674329, 1339674326, 1339674323, 1339674320, 1339674317, 1339674310, 1339674308, 1339674305, 1339674301, 1339674297, 1339674295, 1339674268, 1339674265, 1339674262, 1339674259, 1339674249, 1339674246, 1339674243, 1339674240, 1339674238, 1339674170, 1339674167, 1339674133, 1339674131, 1339674113, 1339673440, 1339673437, 1339673434, 1339673429, 1339673413, 1339673411, 1339673406, 1339673402, 1339673399, 1339673396, 1339673360, 1339673355, 1339673346, 1339673336]} final : True mtd_id 4302 list_pids : [1339674548, 1339674546, 1339674543, 1339674540, 1339674524, 1339674519, 1339674516, 1339674513, 1339674510, 1339674508, 1339674500, 1339674497, 1339674491, 1339674484, 1339674471, 1339674465, 1339674462, 1339674460, 1339674457, 1339674454] Looping around the photos to save general results len do output : 1 /20824472Didn'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, '2614764') ('4302', '20824472', '1339674548', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764') ('4302', None, None, None, None, None, None, None, '2614764') ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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, '20824472', 'None', None, None, None, None, '2614764'), ('4302', '20824472', '1339674548', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674546', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674543', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674540', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674524', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674519', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674516', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674513', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674510', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674508', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674500', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674497', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674491', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674484', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674471', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674465', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674462', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674460', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674457', None, None, None, None, None, '2614764'), ('4302', '20824472', '1339674454', None, None, None, None, None, '2614764')] time used for this insertion : 0.24511361122131348 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3174915313720703 time spend to save output : 0.24544382095336914 total time spend for step 5 : 0.5629353523254395 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 (2614764) 2.55user 2.67system 0:13.03elapsed 40%CPU (0avgtext+0avgdata 162080maxresident)k 632inputs+28176outputs (0major+75664minor)pagefaults 0swaps