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 : 2716960 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 (4306252) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4306252) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913958 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4306252'] with mtr_portfolio_ids : ['29913958'] and first list_photo_ids : [] new path : /proc/2716960/ Name: python3 Umask: 0002 State: R (running) Tgid: 2716960 Ngid: 0 Pid: 2716960 PPid: 2716959 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2716960 NSpid: 2716960 NSpgid: 2715655 NSsid: 2715655 VmPeak: 1113496 kB VmSize: 1113496 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104208 kB VmRSS: 104208 kB RssAnon: 66288 kB RssFile: 37920 kB RssShmem: 0 kB VmData: 872224 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 46 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2716960', 'Ngid': '0', 'Pid': '2716960', 'PPid': '2716959', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2716960', 'NSpid': '2716960', 'NSpgid': '2715655', 'NSsid': '2715655', 'VmPeak': '1113496 kB', 'VmSize': '1113496 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104208 kB', 'VmRSS': '104208 kB', 'RssAnon': '66288 kB', 'RssFile': '37920 kB', 'RssShmem': '0 kB', 'VmData': '872224 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '46', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '2716960', '1113496', '0', '1113496', '872224', '104208', b'', 'marlene', '4306252') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29913958) 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 (4306252 ) ) 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 (29913958) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402239685, 'portfolio_id': 29913958}, {'photo_id': 1402239683, 'portfolio_id': 29913958}, {'photo_id': 1402239671, 'portfolio_id': 29913958}, {'photo_id': 1402239669, 'portfolio_id': 29913958}, {'photo_id': 1402239633, 'portfolio_id': 29913958}, {'photo_id': 1402239630, 'portfolio_id': 29913958}, {'photo_id': 1402239627, 'portfolio_id': 29913958}, {'photo_id': 1402239598, 'portfolio_id': 29913958}, {'photo_id': 1402239596, 'portfolio_id': 29913958}, {'photo_id': 1402239594, 'portfolio_id': 29913958}, {'photo_id': 1402239593, 'portfolio_id': 29913958}, {'photo_id': 1402239033, 'portfolio_id': 29913958}, {'photo_id': 1402239009, 'portfolio_id': 29913958}, {'photo_id': 1402239005, 'portfolio_id': 29913958}, {'photo_id': 1402239002, 'portfolio_id': 29913958}, {'photo_id': 1402239000, 'portfolio_id': 29913958}, {'photo_id': 1402238978, 'portfolio_id': 29913958}, {'photo_id': 1402238976, 'portfolio_id': 29913958}, {'photo_id': 1402238972, 'portfolio_id': 29913958}, {'photo_id': 1402238969, 'portfolio_id': 29913958}, {'photo_id': 1402238967, 'portfolio_id': 29913958}, {'photo_id': 1402238965, 'portfolio_id': 29913958}, {'photo_id': 1402238826, 'portfolio_id': 29913958}, {'photo_id': 1402238824, 'portfolio_id': 29913958}, {'photo_id': 1402238823, 'portfolio_id': 29913958}, {'photo_id': 1402238256, 'portfolio_id': 29913958}, {'photo_id': 1402238221, 'portfolio_id': 29913958}, {'photo_id': 1402238216, 'portfolio_id': 29913958}, {'photo_id': 1402238212, 'portfolio_id': 29913958}, {'photo_id': 1402238211, 'portfolio_id': 29913958}, {'photo_id': 1402237834, 'portfolio_id': 29913958}, {'photo_id': 1402237767, 'portfolio_id': 29913958}, {'photo_id': 1402237703, 'portfolio_id': 29913958}, {'photo_id': 1402237699, 'portfolio_id': 29913958}, {'photo_id': 1402237698, 'portfolio_id': 29913958}, {'photo_id': 1402237143, 'portfolio_id': 29913958}, {'photo_id': 1402237041, 'portfolio_id': 29913958}, {'photo_id': 1402236942, 'portfolio_id': 29913958}, {'photo_id': 1402236672, 'portfolio_id': 29913958}, {'photo_id': 1402236666, 'portfolio_id': 29913958}, {'photo_id': 1402236656, 'portfolio_id': 29913958}, {'photo_id': 1402236654, 'portfolio_id': 29913958}, {'photo_id': 1402236653, 'portfolio_id': 29913958}, {'photo_id': 1402236652, 'portfolio_id': 29913958}, {'photo_id': 1402236651, 'portfolio_id': 29913958}, {'photo_id': 1402236650, 'portfolio_id': 29913958}, {'photo_id': 1402236616, 'portfolio_id': 29913958}, {'photo_id': 1402236615, 'portfolio_id': 29913958}, {'photo_id': 1402236614, 'portfolio_id': 29913958}, {'photo_id': 1402236613, 'portfolio_id': 29913958}, {'photo_id': 1402236596, 'portfolio_id': 29913958}, {'photo_id': 1402236592, 'portfolio_id': 29913958}, {'photo_id': 1402236588, 'portfolio_id': 29913958}, {'photo_id': 1402236585, 'portfolio_id': 29913958}, {'photo_id': 1402236583, 'portfolio_id': 29913958}, {'photo_id': 1402236561, 'portfolio_id': 29913958}, {'photo_id': 1402236524, 'portfolio_id': 29913958}] map_portfolio_id_photo_id: {29913958: [1402239685, 1402239683, 1402239671, 1402239669, 1402239633, 1402239630, 1402239627, 1402239598, 1402239596, 1402239594, 1402239593, 1402239033, 1402239009, 1402239005, 1402239002, 1402239000, 1402238978, 1402238976, 1402238972, 1402238969, 1402238967, 1402238965, 1402238826, 1402238824, 1402238823, 1402238256, 1402238221, 1402238216, 1402238212, 1402238211, 1402237834, 1402237767, 1402237703, 1402237699, 1402237698, 1402237143, 1402237041, 1402236942, 1402236672, 1402236666, 1402236656, 1402236654, 1402236653, 1402236652, 1402236651, 1402236650, 1402236616, 1402236615, 1402236614, 1402236613, 1402236596, 1402236592, 1402236588, 1402236585, 1402236583, 1402236561, 1402236524]} ##### 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.01892828941345215 #### 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 Sat Jan 3 00:32:58 2026 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 (29913958) 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 : 29913958 get user id for portfolio 29913958 get sub ptf for main ptf 29913958, type 3726 and hashtags ['cartonnette', 'flou', 'metal', 'kraft', 'Teint_Dans_La_Masse', 'Carton_gris', 'autre_refus', 'environnement', 'mal_croppe', 'plastique', 'papier', 'Carton_brun'] 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`=29913958 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','metal','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','environnement','mal_croppe','plastique','papier','Carton_brun')) 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`=29913958 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','metal','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','environnement','mal_croppe','plastique','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 29913958, 'sub_port_id': 29913964, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466539, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'autre_refus': {'main_port_id': 29913958, 'sub_port_id': 29913965, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466540, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'metal': {'main_port_id': 29913958, 'sub_port_id': 29913966, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466541, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 29913958, 'sub_port_id': 29913967, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466542, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'environnement': {'main_port_id': 29913958, 'sub_port_id': 29913968, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466543, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'kraft': {'main_port_id': 29913958, 'sub_port_id': 29913969, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466544, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'cartonnette': {'main_port_id': 29913958, 'sub_port_id': 29913970, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466545, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'plastique': {'main_port_id': 29913958, 'sub_port_id': 29913971, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466546, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'flou': {'main_port_id': 29913958, 'sub_port_id': 29913972, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466547, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'Carton_brun': {'main_port_id': 29913958, 'sub_port_id': 29913973, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466548, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'mal_croppe': {'main_port_id': 29913958, 'sub_port_id': 29913974, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466549, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}, 'Carton_gris': {'main_port_id': 29913958, 'sub_port_id': 29913975, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466550, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29913964 , 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=29913958 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 (29913964) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913965 , 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=29913958 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 (29913965) result : ((1402236608,), (1402236692,), (1402236696,), (1402238001,), (1402238950,), (1402238951,), (1402238952,), (1402239379,), (1402239383,), (1402239608,), (1402239609,), (1402239610,), (1402239611,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913966 , 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=29913958 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 (29913966) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913967 , 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=29913958 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 (29913967) result : ((1402238945,), (1402238946,), (1402238947,), (1402238948,), (1402238949,), (1402239056,), (1402239057,), (1402239343,), (1402239347,), (1402239607,), (1402239619,), (1402239673,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913968 , 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=29913958 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 (29913968) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913969 , 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=29913958 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 (29913969) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913970 , 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=29913958 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 (29913970) result : ((1402236762,), (1402236766,), (1402236770,), (1402236774,), (1402238956,), (1402238957,), (1402239473,), (1402239475,), (1402239476,), (1402239477,), (1402239478,), (1402239479,), (1402239615,), (1402239616,), (1402239675,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913971 , 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=29913958 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 (29913971) result : ((1402236834,), (1402236838,), (1402236842,), (1402238034,), (1402238036,), (1402238038,), (1402238962,), (1402238963,), (1402238964,), (1402239622,), (1402239623,), (1402239624,), (1402239678,), (1402239679,), (1402239680,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913972 , 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=29913958 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 (29913972) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913973 , 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=29913958 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 (29913973) result : ((1402236797,), (1402238020,), (1402238022,), (1402238958,), (1402238959,), (1402238960,), (1402238961,), (1402239480,), (1402239481,), (1402239482,), (1402239617,), (1402239676,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913974 , 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=29913958 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 (29913974) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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 29913975 , 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=29913958 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 (29913975) result : ((1402236718,), (1402238010,), (1402238083,), (1402238953,), (1402238954,), (1402239058,), (1402239411,), (1402239415,), (1402239613,), (1402239614,), (1402239620,), (1402239621,), (1402239674,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913958) result : ((1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,)) 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 (1402239000) 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`=29913958 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','metal','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','environnement','mal_croppe','plastique','papier','Carton_brun')) 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`=29913958 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','metal','kraft','Teint_Dans_La_Masse','Carton_gris','autre_refus','environnement','mal_croppe','plastique','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 29913958, 'sub_port_id': 29913976, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466551, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'autre_refus': {'main_port_id': 29913958, 'sub_port_id': 29913977, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466552, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'metal': {'main_port_id': 29913958, 'sub_port_id': 29913978, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466553, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 29913958, 'sub_port_id': 29913979, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466554, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'environnement': {'main_port_id': 29913958, 'sub_port_id': 29913980, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466555, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'kraft': {'main_port_id': 29913958, 'sub_port_id': 29913981, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466556, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'cartonnette': {'main_port_id': 29913958, 'sub_port_id': 29913982, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466557, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'plastique': {'main_port_id': 29913958, 'sub_port_id': 29913983, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466558, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'flou': {'main_port_id': 29913958, 'sub_port_id': 29913984, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466559, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'Carton_brun': {'main_port_id': 29913958, 'sub_port_id': 29913985, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466560, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'mal_croppe': {'main_port_id': 29913958, 'sub_port_id': 29913986, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466561, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 17, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}, 'Carton_gris': {'main_port_id': 29913958, 'sub_port_id': 29913987, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20466562, 'last_updated_at': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 0, 30, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 0, 17, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913976,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913964 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913977,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913965 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913978,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913966 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913979,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913967 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913980,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913968 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913981,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913969 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913982,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913970 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913983,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913971 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913984,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913972 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913985,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913973 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913986,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913974 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29913987,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29913975 lien utilise dans velours : https://marlene.fotonower.com/velours/29913976,29913977,29913978,29913979,29913980,29913981,29913982,29913983,29913984,29913985,29913986,29913987?tags=papier,autre_refus,metal,Teint_Dans_La_Masse,environnement,kraft,cartonnette,plastique,flou,Carton_brun,mal_croppe,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29913958]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402239685, 1402239683, 1402239671, 1402239669] map_info['map_portfolio_photo'] : {29913958: [1402239685, 1402239683, 1402239671, 1402239669, 1402239633, 1402239630, 1402239627, 1402239598, 1402239596, 1402239594, 1402239593, 1402239033, 1402239009, 1402239005, 1402239002, 1402239000, 1402238978, 1402238976, 1402238972, 1402238969, 1402238967, 1402238965, 1402238826, 1402238824, 1402238823, 1402238256, 1402238221, 1402238216, 1402238212, 1402238211, 1402237834, 1402237767, 1402237703, 1402237699, 1402237698, 1402237143, 1402237041, 1402236942, 1402236672, 1402236666, 1402236656, 1402236654, 1402236653, 1402236652, 1402236651, 1402236650, 1402236616, 1402236615, 1402236614, 1402236613, 1402236596, 1402236592, 1402236588, 1402236585, 1402236583, 1402236561, 1402236524]} final : False mtd_id 4302 list_pids : [1402239685, 1402239683, 1402239671, 1402239669] Looping around the photos to save general results len do output : 1 /29913958. 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, '4306252') ('4302', '29913958', '1402239685', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 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, '29913958', "{'papier': 29913964, 'autre_refus': 29913965, 'metal': 29913966, 'Teint_Dans_La_Masse': 29913967, 'environnement': 29913968, 'kraft': 29913969, 'cartonnette': 29913970, 'plastique': 29913971, 'flou': 29913972, 'Carton_brun': 29913973, 'mal_croppe': 29913974, 'Carton_gris': 29913975}", None, None, None, None, '4306252'), ('4302', '29913958', '1402239685', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252')] time used for this insertion : 0.014845132827758789 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5563428401947021 time spend to save output : 0.015058040618896484 total time spend for step 1 : 0.5714008808135986 step2:final Sat Jan 3 00:32:58 2026 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 (29913958) 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 29913958 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402236561,1402236524,1402236596,1402236592,1402236588,1402236585,1402236583,1402236616,1402236672,1402236615,1402236666,1402236614,1402236656,1402236654,1402236613,1402236653,1402236652,1402236651,1402236650,1402237143,1402237041,1402236942,1402237834,1402237767,1402237703,1402237699,1402237698,1402238256,1402238221,1402238216,1402238212,1402238211,1402238826,1402238824,1402238823,1402238978,1402238976,1402238972,1402238969,1402238967,1402238965,1402239009,1402239005,1402239002,1402239000,1402239033,1402239598,1402239596,1402239594,1402239593,1402239633,1402239685,1402239630,1402239683,1402239627,1402239671,1402239669); 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([29913958]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} new output for save of step final : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} [1402239685, 1402239683, 1402239671, 1402239669] map_info['map_portfolio_photo'] : {29913958: [1402239685, 1402239683, 1402239671, 1402239669, 1402239633, 1402239630, 1402239627, 1402239598, 1402239596, 1402239594, 1402239593, 1402239033, 1402239009, 1402239005, 1402239002, 1402239000, 1402238978, 1402238976, 1402238972, 1402238969, 1402238967, 1402238965, 1402238826, 1402238824, 1402238823, 1402238256, 1402238221, 1402238216, 1402238212, 1402238211, 1402237834, 1402237767, 1402237703, 1402237699, 1402237698, 1402237143, 1402237041, 1402236942, 1402236672, 1402236666, 1402236656, 1402236654, 1402236653, 1402236652, 1402236651, 1402236650, 1402236616, 1402236615, 1402236614, 1402236613, 1402236596, 1402236592, 1402236588, 1402236585, 1402236583, 1402236561, 1402236524]} final : False mtd_id 4302 list_pids : [1402239685, 1402239683, 1402239671, 1402239669] Looping around the photos to save general results len do output : 4 /1402239685.Didn't retrieve data . /1402239683.Didn't retrieve data . /1402239671.Didn't retrieve data . /1402239669.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, '4306252') ('4302', '29913958', '1402239685', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29913958', '1402239685', '0.05184228848625997', None, None, None, None, '4306252'), ('4302', '29913958', '1402239683', '0.05184228848625997', None, None, None, None, '4306252'), ('4302', '29913958', '1402239671', '0.05184228848625997', None, None, None, None, '4306252'), ('4302', '29913958', '1402239669', '0.05184228848625997', None, None, None, None, '4306252')] time used for this insertion : 0.01460886001586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08607792854309082 time spend to save output : 0.014875650405883789 total time spend for step 2 : 0.10095357894897461 step3:velours_tree Sat Jan 3 00:32:58 2026 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 : {29913958: [{'papier': 29913964, 'autre_refus': 29913965, 'metal': 29913966, 'Teint_Dans_La_Masse': 29913967, 'environnement': 29913968, 'kraft': 29913969, 'cartonnette': 29913970, 'plastique': 29913971, 'flou': 29913972, 'Carton_brun': 29913973, 'mal_croppe': 29913974, 'Carton_gris': 29913975}]} input_args_next_step : {29913958: ()} output_args : {29913958: [{'papier': 29913964, 'autre_refus': 29913965, 'metal': 29913966, 'Teint_Dans_La_Masse': 29913967, 'environnement': 29913968, 'kraft': 29913969, 'cartonnette': 29913970, 'plastique': 29913971, 'flou': 29913972, 'Carton_brun': 29913973, 'mal_croppe': 29913974, 'Carton_gris': 29913975}]} args : 29913958 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 : ({'papier': 29913964, 'autre_refus': 29913965, 'metal': 29913966, 'Teint_Dans_La_Masse': 29913967, 'environnement': 29913968, 'kraft': 29913969, 'cartonnette': 29913970, 'plastique': 29913971, 'flou': 29913972, 'Carton_brun': 29913973, 'mal_croppe': 29913974, 'Carton_gris': 29913975},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29913958) 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([29913958]) 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.24285173416137695 time spend to save output : 4.5299530029296875e-05 total time spend for step 3 : 0.24289703369140625 step4:send_mail_cod Sat Jan 3 00:32:58 2026 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 : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} input_args_next_step : {1402239685: ()} output_args : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} args : 1402239685 depend.output_id : 0 input_args_next_step : {1402239685: ('0.05184228848625997',), 1402239683: ()} output_args : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} args : 1402239683 depend.output_id : 0 input_args_next_step : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ()} output_args : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} args : 1402239671 depend.output_id : 0 input_args_next_step : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ()} output_args : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',)} args : 1402239669 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 : {29913958: [{'papier': 29913964, 'autre_refus': 29913965, 'metal': 29913966, 'Teint_Dans_La_Masse': 29913967, 'environnement': 29913968, 'kraft': 29913969, 'cartonnette': 29913970, 'plastique': 29913971, 'flou': 29913972, 'Carton_brun': 29913973, 'mal_croppe': 29913974, 'Carton_gris': 29913975}]} input_args_next_step : {1402239685: ('0.05184228848625997',), 1402239683: ('0.05184228848625997',), 1402239671: ('0.05184228848625997',), 1402239669: ('0.05184228848625997',), 29913958: ()} output_args : {29913958: [{'papier': 29913964, 'autre_refus': 29913965, 'metal': 29913966, 'Teint_Dans_La_Masse': 29913967, 'environnement': 29913968, 'kraft': 29913969, 'cartonnette': 29913970, 'plastique': 29913971, 'flou': 29913972, 'Carton_brun': 29913973, 'mal_croppe': 29913974, 'Carton_gris': 29913975}]} args : 29913958 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 :5, first value : ('0.05184228848625997',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29913958) 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_view ph WHERE photo_id IN (1402239685,1402239683,1402239671,1402239669) Found this number of photos: 4 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402239669 begin to download photo : 1402239671 begin to download photo : 1402239683 begin to download photo : 1402239685 download finish for photo 1402239669 download finish for photo 1402239685 download finish for photo 1402239683 download finish for photo 1402239671 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 4 ; length of list_pids : 4 ; length of list_args : 4 results_Auto_P29913958_03-01-2026_00_32_59.pdf 29913965 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913965 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402236608: '1767395846_790792_1402236524_5f754baebe0aec5d13b41380255f839d_rle_crop_4089130860_0.png', 1402236692: '1767395967_797807_1402236615_71a3f5bd185878a3cd7924343ee69b68_rle_crop_4089133929_0.png', 1402236696: '1767395967_797807_1402236615_71a3f5bd185878a3cd7924343ee69b68_rle_crop_4089133927_0.png', 1402238001: '1767396066_803085_1402236616_42bbf0c616ced1c36fcab9dd14cbf877_rle_crop_4089136823_0.png', 1402238950: '1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141705_0.png', 1402238951: '1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141713_0.png', 1402238952: '1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141714_0.png', 1402239379: '1767396445_819114_1402238972_3823d9421cec6dc600133c96f6fa5db2_rle_crop_4089147673_0.png', 1402239383: '1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147713_0.png', 1402239608: '1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152220_0.png', 1402239609: '1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152225_0.png', 1402239610: '1767396545_824585_1402238212_52f545a6595fc6dbb86648e5bca87014_rle_crop_4089152260_0.png', 1402239611: '1767396545_824585_1402238211_6028e48defa7d20a03d63d629fdb29b4_rle_crop_4089152278_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c9df49b634dd15455d046ccc03f1b6f0_57594452.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c3944a49b8e1103ee7f76a5a43ed934a_20375044.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/2ca95c04d3de8754d69a0bd1cfad6ea7_96594137.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/5936e213e4a907a40131dc29f8814478_45812624.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/4473ac364a64945eba4bb6c2ecde42b6_23846934.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c66992751170151408bc1f1eb0f6db01_64062061.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/160c2e542c9d0dcd73513cc026c04ab0_5180924.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/46c703927b1cc774477d87d2322be1fb_81892484.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a5d1948f3547dc3de4fcce9c2916339c_62219779.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/72b717abb2cb12db813f8fc96a7fac05_13562668.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/cf617c768e354ea041c443efec4b77dd_75510622.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/0e60a4d380f84ef95a5637f3ce7f74aa_57393786.png change filename to text .imagette299139651767396779/ imagette299139651767396779/1767395846_790792_1402236524_5f754baebe0aec5d13b41380255f839d_rle_crop_4089130860_0.png.png imagette299139651767396779/1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152220_0.png.png imagette299139651767396779/1767395967_797807_1402236615_71a3f5bd185878a3cd7924343ee69b68_rle_crop_4089133927_0.png.png imagette299139651767396779/1767396545_824585_1402238212_52f545a6595fc6dbb86648e5bca87014_rle_crop_4089152260_0.png.png imagette299139651767396779/1767396066_803085_1402236616_42bbf0c616ced1c36fcab9dd14cbf877_rle_crop_4089136823_0.png.png imagette299139651767396779/1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141705_0.png.png imagette299139651767396779/1767396445_819114_1402238972_3823d9421cec6dc600133c96f6fa5db2_rle_crop_4089147673_0.png.png imagette299139651767396779/1767396545_824585_1402238211_6028e48defa7d20a03d63d629fdb29b4_rle_crop_4089152278_0.png.png imagette299139651767396779/1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152225_0.png.png imagette299139651767396779/1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141714_0.png.png imagette299139651767396779/1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147713_0.png.png imagette299139651767396779/1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141713_0.png.png imagette299139651767396779/1767395967_797807_1402236615_71a3f5bd185878a3cd7924343ee69b68_rle_crop_4089133929_0.png.png imagette299139661767396779/ imagette299139691767396779/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/f63c101b017931b6f684cd78a2eb54d7_18873762.png imagette299139651767396779 29913966 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913966 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299139661767396779 29913969 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913969 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299139691767396779 29913970 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913970 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402236762: '1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133956_0.png', 1402236766: '1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133944_0.png', 1402236770: '1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133952_0.png', 1402236774: '1767395967_797807_1402236613_59579d59bbd0fba397c3d94de0f1a02d_rle_crop_4089133964_0.png', 1402238956: '1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141717_0.png', 1402238957: '1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141737_0.png', 1402239473: '1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147651_0.png', 1402239475: '1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147657_0.png', 1402239476: '1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147701_0.png', 1402239477: '1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147697_0.png', 1402239478: '1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147709_0.png', 1402239479: '1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147721_0.png', 1402239615: '1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152219_0.png', 1402239616: '1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152218_0.png', 1402239675: '1767396666_830234_1402236650_1f577a0734715ca6bf485dc5ffc3d675_rle_crop_4089154861_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/459e4ade34be00cd081a849726e659d4_52639645.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/1402da8f5f43b0c027bfaf64d35c9178_70588243.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d445daf0b18d3d6e56d13a5f24abed05_60963791.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/1b70e850747c619bcbd71c6831fd7a7e_53976736.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/faf06495a626ad3f60454be3b9a64cb5_1098267.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/75048627c3d03011fcac9c45dfcb98a6_7380043.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c22faf72d65d919280d52c1bd1d5729f_69077904.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/703bb5cece17e6f03600b7b1426a11f6_75737543.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d1642ea4aa44a56570edf5e0129c002f_28401003.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a2435047619ce4e8882bbe8fca43e53c_91208857.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/df87fbb25a064e55b942ecd920ade7cd_73057771.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/f30c91fbe35124c13ede2fc6aa86901b_27986996.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/83a92f88639c15f6440cda171eca6369_48394259.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/b57d96e830730c5bcb383f9e26879f9c_43561696.png change filename to text .imagette299139701767396780/ imagette299139701767396780/1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133944_0.png.png imagette299139701767396780/1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147657_0.png.png imagette299139701767396780/1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147651_0.png.png imagette299139701767396780/1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147721_0.png.png imagette299139701767396780/1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152219_0.png.png imagette299139701767396780/1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133952_0.png.png imagette299139701767396780/1767395967_797807_1402236613_59579d59bbd0fba397c3d94de0f1a02d_rle_crop_4089133964_0.png.png imagette299139701767396780/1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147697_0.png.png imagette299139701767396780/1767396666_830234_1402236650_1f577a0734715ca6bf485dc5ffc3d675_rle_crop_4089154861_0.png.png imagette299139701767396780/1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133956_0.png.png imagette299139701767396780/1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147709_0.png.png imagette299139701767396780/1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147701_0.png.png imagette299139701767396780/1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141717_0.png.png imagette299139701767396780/1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152218_0.png.png imagette299139701767396780/1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141737_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/b8b66d4724ab9a35d7406b9a7bdf0646_39043230.png imagette299139701767396780 29913971 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913971 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402236834: '1767395967_797807_1402236615_71a3f5bd185878a3cd7924343ee69b68_rle_crop_4089133926_0.png', 1402236838: '1767395967_797807_1402236613_59579d59bbd0fba397c3d94de0f1a02d_rle_crop_4089133966_0.png', 1402236842: '1767395967_797807_1402236613_59579d59bbd0fba397c3d94de0f1a02d_rle_crop_4089133970_0.png', 1402238034: '1767396066_803085_1402236592_87fe993507ba8fce2d565c307cb4aa00_rle_crop_4089136839_0.png', 1402238036: '1767396066_803085_1402236588_dc2648bc860cd003fcae6e3a032f7103_rle_crop_4089137445_0.png', 1402238038: '1767396066_803085_1402236588_dc2648bc860cd003fcae6e3a032f7103_rle_crop_4089137452_0.png', 1402238962: '1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141693_0.png', 1402238963: '1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141703_0.png', 1402238964: '1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141715_0.png', 1402239622: '1767396565_825055_1402239002_26190637a44bc029ed22be2bbc6b2afb_rle_crop_4089152433_0.png', 1402239623: '1767396565_825055_1402239002_26190637a44bc029ed22be2bbc6b2afb_rle_crop_4089152434_0.png', 1402239624: '1767396565_825055_1402239000_d1097b830d8c92d30547b81f21d6197c_rle_crop_4089152445_0.png', 1402239678: '1767396666_830234_1402236652_2ffe188e10d0a1d97b4089da7717cbe2_rle_crop_4089154836_0.png', 1402239679: '1767396666_830234_1402236652_2ffe188e10d0a1d97b4089da7717cbe2_rle_crop_4089154829_0.png', 1402239680: '1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154853_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/de08a9a9ac3b180d97450753a051278e_69148514.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/bc6846e5d0f384aed936ca639bd4a02b_93265267.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/febb07b55d2b63d732df115e7f26d9d5_57582533.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/e158d44173f9c77f75aa84b071999b64_67675721.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ed519c9c781cde2b007e55cc255cbfee_97382086.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/1e8e2fa56cc234826e006f6550977170_94006653.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/8ffa5e1622624b75893492656fb843ad_84887350.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ca62c7b2e4e732eddec22267824e6e1b_56314821.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/4541d05965d8b0eca13ae7d14997f95e_20551852.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/b2015bcafff93f16fb32e7e116b1cc42_13003375.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/26327a9118d14f866a65c83175a59c77_52497284.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/0f67a26d95c49e589b534cecaa583325_81125631.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/f2dbe8c411638115d44f3acd279432df_66737152.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/2a36508a18592c89e397ba2690879fe7_47426512.png change filename to text .imagette299139711767396781/ imagette299139711767396781/1767396565_825055_1402239002_26190637a44bc029ed22be2bbc6b2afb_rle_crop_4089152433_0.png.png imagette299139711767396781/1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141693_0.png.png imagette299139711767396781/1767396565_825055_1402239000_d1097b830d8c92d30547b81f21d6197c_rle_crop_4089152445_0.png.png imagette299139711767396781/1767396666_830234_1402236652_2ffe188e10d0a1d97b4089da7717cbe2_rle_crop_4089154829_0.png.png imagette299139711767396781/1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141715_0.png.png imagette299139711767396781/1767395967_797807_1402236613_59579d59bbd0fba397c3d94de0f1a02d_rle_crop_4089133970_0.png.png imagette299139711767396781/1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141703_0.png.png imagette299139711767396781/1767395967_797807_1402236613_59579d59bbd0fba397c3d94de0f1a02d_rle_crop_4089133966_0.png.png imagette299139711767396781/1767395967_797807_1402236615_71a3f5bd185878a3cd7924343ee69b68_rle_crop_4089133926_0.png.png imagette299139711767396781/1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154853_0.png.png imagette299139711767396781/1767396565_825055_1402239002_26190637a44bc029ed22be2bbc6b2afb_rle_crop_4089152434_0.png.png imagette299139711767396781/1767396066_803085_1402236592_87fe993507ba8fce2d565c307cb4aa00_rle_crop_4089136839_0.png.png imagette299139711767396781/1767396066_803085_1402236588_dc2648bc860cd003fcae6e3a032f7103_rle_crop_4089137445_0.png.png imagette299139711767396781/1767396066_803085_1402236588_dc2648bc860cd003fcae6e3a032f7103_rle_crop_4089137452_0.png.png imagette299139711767396781/1767396666_830234_1402236652_2ffe188e10d0a1d97b4089da7717cbe2_rle_crop_4089154836_0.png.png imagette299139721767396782/ imagette299139741767396782/ wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/9cd0d27557505b3fb28d6c1e723150a0_18067726.png imagette299139711767396781 29913972 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299139721767396782 29913974 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913974 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299139741767396782 29913967 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913967 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402238945: '1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141685_0.png', 1402238946: '1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141702_0.png', 1402238947: '1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141721_0.png', 1402238948: '1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141732_0.png', 1402238949: '1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141739_0.png', 1402239056: '1767396427_818687_1402238256_b46960e47a647ee1b70140cca0bcf3d5_rle_crop_4089147482_0.png', 1402239057: '1767396427_818687_1402238256_b46960e47a647ee1b70140cca0bcf3d5_rle_crop_4089147475_0.png', 1402239343: '1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147658_0.png', 1402239347: '1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147700_0.png', 1402239607: '1767396545_824585_1402238221_e75dd9701578b9873f33ee0f0c19d5fc_rle_crop_4089152235_0.png', 1402239619: '1767396565_825055_1402239033_63289abfc836599cfb7a53fd9a6cbafe_rle_crop_4089152403_0.png', 1402239673: '1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154856_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/169a960203cb08771973e74d1259a6ea_51482605.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/7b5e17d17a0b0defa319dca329d6e3d5_94583199.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/220fe0a34e85ea86ab42e522a92fe9ce_41319078.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/2472ef155748fdf512f5c51002c83605_30808713.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/86b6beef2c6de90468f39712e629f643_22249079.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/cc3e9dc1f38b6eccc7d843d38678ab01_99364555.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/bd9803eb7457bd8ec7e94bb493fc87f3_65826052.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/85aef4232749c6be6d311e38773b19bc_1832207.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c838b18d79704deea8a9df2ca198c6ed_4054707.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/8a5b4f19940b9948f4e609351457e644_2341491.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/5d5f59f019c0e965cb50b3a6d51270c5_83093142.png change filename to text .imagette299139671767396782/ imagette299139671767396782/1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147658_0.png.png imagette299139671767396782/1767396565_825055_1402239033_63289abfc836599cfb7a53fd9a6cbafe_rle_crop_4089152403_0.png.png imagette299139671767396782/1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141721_0.png.png imagette299139671767396782/1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141739_0.png.png imagette299139671767396782/1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141702_0.png.png imagette299139671767396782/1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154856_0.png.png imagette299139671767396782/1767396545_824585_1402238221_e75dd9701578b9873f33ee0f0c19d5fc_rle_crop_4089152235_0.png.png imagette299139671767396782/1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147700_0.png.png imagette299139671767396782/1767396427_818687_1402238256_b46960e47a647ee1b70140cca0bcf3d5_rle_crop_4089147482_0.png.png imagette299139671767396782/1767396427_818687_1402238256_b46960e47a647ee1b70140cca0bcf3d5_rle_crop_4089147475_0.png.png imagette299139671767396782/1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141685_0.png.png imagette299139671767396782/1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141732_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/efc176e8b0e45914864682778f3b1b67_91791973.png imagette299139671767396782 29913973 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913973 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402236797: '1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133951_0.png', 1402238020: '1767396066_803085_1402236592_87fe993507ba8fce2d565c307cb4aa00_rle_crop_4089136838_0.png', 1402238022: '1767396066_803085_1402236588_dc2648bc860cd003fcae6e3a032f7103_rle_crop_4089137449_0.png', 1402238958: '1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141680_0.png', 1402238959: '1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141701_0.png', 1402238960: '1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141719_0.png', 1402238961: '1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141734_0.png', 1402239480: '1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147656_0.png', 1402239481: '1767396445_819114_1402238976_c37802872f1b956f925e715bd9fbd54a_rle_crop_4089147666_0.png', 1402239482: '1767396445_819114_1402238972_3823d9421cec6dc600133c96f6fa5db2_rle_crop_4089147676_0.png', 1402239617: '1767396545_824585_1402238221_e75dd9701578b9873f33ee0f0c19d5fc_rle_crop_4089152236_0.png', 1402239676: '1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154845_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/17c98e90751aa3042f496597ea90fbe5_63415365.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/1a39051d06fa9a025278def1129986c5_83512999.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6428e9c8ed2c72ab3c5f26dee30a70e9_294635.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d554352b37614eec2437bbba5cf60fde_2071531.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ddd424dedee2d765933a07dfdf908c86_75727368.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/e07910129bb273d7ff5271732377e110_58399769.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ab88f3319dd7ab4126466e21d92b18b5_61140232.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/156721357ee4907f507162fb2a5bd831_69274682.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/9dd825b21ccaa1d0cb13eea0207be66b_19437444.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a3efc5a3863adb85b7091caf1cb32ddb_38186234.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/202934757a26993044b25a77c5e1505b_63768492.png change filename to text .imagette299139731767396783/ imagette299139731767396783/1767396445_819114_1402238972_3823d9421cec6dc600133c96f6fa5db2_rle_crop_4089147676_0.png.png imagette299139731767396783/1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141680_0.png.png imagette299139731767396783/1767396066_803085_1402236592_87fe993507ba8fce2d565c307cb4aa00_rle_crop_4089136838_0.png.png imagette299139731767396783/1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154845_0.png.png imagette299139731767396783/1767396545_824585_1402238221_e75dd9701578b9873f33ee0f0c19d5fc_rle_crop_4089152236_0.png.png imagette299139731767396783/1767396066_803085_1402236588_dc2648bc860cd003fcae6e3a032f7103_rle_crop_4089137449_0.png.png imagette299139731767396783/1767396207_809499_1402237699_6a0dd457b9d3eab3432b30d3fc6b7e97_rle_crop_4089141719_0.png.png imagette299139731767396783/1767396445_819114_1402239009_762c29c98e198d7280387a0e5cb14ef6_rle_crop_4089147656_0.png.png imagette299139731767396783/1767396207_809499_1402237698_26fa751965b93cfde76c6b01b201b456_rle_crop_4089141734_0.png.png imagette299139731767396783/1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133951_0.png.png imagette299139731767396783/1767396445_819114_1402238976_c37802872f1b956f925e715bd9fbd54a_rle_crop_4089147666_0.png.png imagette299139731767396783/1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141701_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/787018c568d248bbc5f994069ffef3ff_68598841.png imagette299139731767396783 29913975 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913975 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402236718: '1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133950_0.png', 1402238010: '1767396066_803085_1402236616_42bbf0c616ced1c36fcab9dd14cbf877_rle_crop_4089136820_0.png', 1402238083: '1767396085_803556_1402237041_0e8b1bd47cc3c13e78915c29fccdde1a_rle_crop_4089137533_0.png', 1402238953: '1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141687_0.png', 1402238954: '1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141699_0.png', 1402239058: '1767396427_818687_1402238256_b46960e47a647ee1b70140cca0bcf3d5_rle_crop_4089147477_0.png', 1402239411: '1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147698_0.png', 1402239415: '1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147712_0.png', 1402239613: '1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152226_0.png', 1402239614: '1767396545_824585_1402238221_e75dd9701578b9873f33ee0f0c19d5fc_rle_crop_4089152234_0.png', 1402239620: '1767396565_825055_1402239005_45b84e62348c74f437b43197ca22da45_rle_crop_4089152418_0.png', 1402239621: '1767396565_825055_1402239002_26190637a44bc029ed22be2bbc6b2afb_rle_crop_4089152430_0.png', 1402239674: '1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154843_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d3f5940521c308e95884d5fb174bea88_85429515.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/24d51c870697ab4d0eeca923cd9cac90_40145460.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/f46e64e8dc68c187a478795a4c01d6c9_7799737.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/b2a57c24c3b12d63b44b10633531a14f_53301898.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/00508c483911214cd5d3de40421d0de2_67232826.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c7c5fe4435eb748c67d35802a6bd95ee_73615833.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/536036e875edaa3d6f71ae544ae44928_23482629.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a6864a0c9e28ba1a8965912122dd01a8_93991672.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/5d95d45146fdd81ae73e5764124cd642_22962917.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6d744c796fb6606dbe49c2895a404dd0_71885119.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/e21a5b598929cdafb6bc7dc0086e6216_9810277.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/1a0876479eccdb85b484889ca2d5823a_90832658.png change filename to text .imagette299139751767396784/ imagette299139751767396784/1767396445_819114_1402238967_2be607ceee9e31ce2d9d339e48cf26ca_rle_crop_4089147698_0.png.png imagette299139751767396784/1767396207_809499_1402237767_349fb5ba0617dcd16d10a07f04d49d90_rle_crop_4089141687_0.png.png imagette299139751767396784/1767396207_809499_1402237703_a37e008f1453b1e27b87c6f356e4fb22_rle_crop_4089141699_0.png.png imagette299139751767396784/1767396545_824585_1402238221_e75dd9701578b9873f33ee0f0c19d5fc_rle_crop_4089152234_0.png.png imagette299139751767396784/1767396545_824585_1402238826_1c57a5b3aaaba66cfb184feb84e04d2e_rle_crop_4089152226_0.png.png imagette299139751767396784/1767396666_830234_1402236651_88b76abaef97ea862480747a24aaf0f9_rle_crop_4089154843_0.png.png imagette299139751767396784/1767396066_803085_1402236616_42bbf0c616ced1c36fcab9dd14cbf877_rle_crop_4089136820_0.png.png imagette299139751767396784/1767396565_825055_1402239005_45b84e62348c74f437b43197ca22da45_rle_crop_4089152418_0.png.png imagette299139751767396784/1767396565_825055_1402239002_26190637a44bc029ed22be2bbc6b2afb_rle_crop_4089152430_0.png.png imagette299139751767396784/1767395967_797807_1402236614_fc2d670897c2a473f38ba71342d71dd6_rle_crop_4089133950_0.png.png imagette299139751767396784/1767396085_803556_1402237041_0e8b1bd47cc3c13e78915c29fccdde1a_rle_crop_4089137533_0.png.png imagette299139751767396784/1767396427_818687_1402238256_b46960e47a647ee1b70140cca0bcf3d5_rle_crop_4089147477_0.png.png imagette299139751767396784/1767396445_819114_1402238965_b90bed7be20a68501052e11fb3b65f34_rle_crop_4089147712_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/f07705668db2ef249235f7e4ce9231eb_60376517.png imagette299139751767396784 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29913958 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29913976,29913977,29913978,29913979,29913980,29913981,29913982,29913983,29913984,29913985,29913986,29913987?tags=papier,autre_refus,metal,Teint_Dans_La_Masse,environnement,kraft,cartonnette,plastique,flou,Carton_brun,mal_croppe,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1402239685] : ('0.05184228848625997',) no score found for photo 1402239685 We are sending mail with results at report@fotonower.com args[1402239683] : ('0.05184228848625997',) no score found for photo 1402239683 We are sending mail with results at report@fotonower.com args[1402239671] : ('0.05184228848625997',) no score found for photo 1402239671 We are sending mail with results at report@fotonower.com args[1402239669] : ('0.05184228848625997',) no score found for photo 1402239669 We are sending mail with results at report@fotonower.com refus_total : 0.05184228848625997 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913958 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_P29913958_03-01-2026_00_32_59.pdf results_Auto_P29913958_03-01-2026_00_32_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913958_03-01-2026_00_32_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29913958','results_Auto_P29913958_03-01-2026_00_32_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913958_03-01-2026_00_32_59.pdf','pdf','','0.27','0.05184228848625997') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29913958]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402239685, 1402239683, 1402239671, 1402239669] map_info['map_portfolio_photo'] : {29913958: [1402239685, 1402239683, 1402239671, 1402239669, 1402239633, 1402239630, 1402239627, 1402239598, 1402239596, 1402239594, 1402239593, 1402239033, 1402239009, 1402239005, 1402239002, 1402239000, 1402238978, 1402238976, 1402238972, 1402238969, 1402238967, 1402238965, 1402238826, 1402238824, 1402238823, 1402238256, 1402238221, 1402238216, 1402238212, 1402238211, 1402237834, 1402237767, 1402237703, 1402237699, 1402237698, 1402237143, 1402237041, 1402236942, 1402236672, 1402236666, 1402236656, 1402236654, 1402236653, 1402236652, 1402236651, 1402236650, 1402236616, 1402236615, 1402236614, 1402236613, 1402236596, 1402236592, 1402236588, 1402236585, 1402236583, 1402236561, 1402236524]} final : False mtd_id 4302 list_pids : [1402239685, 1402239683, 1402239671, 1402239669] 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, '4306252') ('4302', '29913958', '1402239685', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 4 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', '29913958', '1402239685', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252')] time used for this insertion : 0.014827966690063477 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.281510829925537 time spend to save output : 0.014989614486694336 total time spend for step 4 : 7.2965004444122314 step5:split_time_score Sat Jan 3 00:33:06 2026 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 : ['29913958'] 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 : [('29913958',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29913958) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402239669: {'path': 'temp/1767396778_2716960_1402239669_86b0f5622c9d48e658c851045024416f.jpg', 'extension': 'jpg'}, 1402239685: {'path': 'temp/1767396778_2716960_1402239685_5705927958e93c79836f66a3cf705964.jpg', 'extension': 'jpg'}, 1402239683: {'path': 'temp/1767396778_2716960_1402239683_c81a5eb5fea9c3bd4d29849b8a1d7109.jpg', 'extension': 'jpg'}, 1402239671: {'path': 'temp/1767396778_2716960_1402239671_06340a3a965bd641009f74afb24813dc.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 = 29913958; (('arc_en_ciel_jrm_live',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29913958 group by h (('00', 57),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29913958 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 (29913958) 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 (29913958) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03012026 29913958 Nombre de photos uploadées : 57 / 23040 (0%) 03012026 29913958 Nombre de photos taguées (types de déchets): 0 / 57 (0%) 03012026 29913958 Nombre de photos taguées (volume) : 0 / 57 (0%) [{'photo_id': 1402236561, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/b78bdc13d6f451e105bfdcd22290d42f.jpg', 'username': None, 'uploaded_at': 1767395767, 'text': 'image_03012026_00_15_24_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402236524, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/5f754baebe0aec5d13b41380255f839d.jpg', 'username': None, 'uploaded_at': 1767395767, 'text': 'image_03012026_00_15_34_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402236596, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ef0da9d3ccd481d98aa20b42ae327df9.jpg', 'username': None, 'uploaded_at': 1767395832, 'text': 'image_03012026_00_15_54_9125.jpg'}, {'photo_id': 1402236592, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/87fe993507ba8fce2d565c307cb4aa00.jpg', 'username': None, 'uploaded_at': 1767395832, 'text': 'image_03012026_00_16_04_010165m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002480745315551758 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 29913958, '2026-01-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 218 and date = '2026-01-03' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2836292,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2466423511505127 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= 2836292 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2836292, 'dashboard_run_id': 2842876, 'mtr_portfolio_id': 29913124, 'dashboard_result_id': 18979126, '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_P29913124_03-01-2026_00_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29913138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913145, 'pht': 3726}}"}, {'dashboat_entry_day': 2836292, 'dashboard_run_id': 2842876, 'mtr_portfolio_id': 29913958, 'dashboard_result_id': 18979127, '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_P29913958_03-01-2026_00_31_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29913964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913975, 'pht': 3726}}"}, {'dashboat_entry_day': 2836292, 'dashboard_run_id': 2842876, 'mtr_portfolio_id': 29914803, 'dashboard_result_id': 18979128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29913124 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': 4306191, 'mtr_portfolio_id': 29913124, 'created_at': datetime.datetime(2026, 1, 3, 0, 16, 58), 'result': '0.0642702348306247', 'result_long': None, 'result_double': None}] Qualite : 0.0642702348306247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29913124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913124_03-01-2026_00_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29913124 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_P29913124_03-01-2026_00_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29913138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913145, 'pht': 3726}}" where mtr_portfolio_id = 29913124 and dashboard_run_id = 2842876 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`=29913124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18979126, 0.0642702348306247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913124_03-01-2026_00_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29913138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913145, '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 = 29913958 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': 4306252, 'mtr_portfolio_id': 29913958, 'created_at': datetime.datetime(2026, 1, 3, 0, 32, 58), 'result': '0.05184228848625997', 'result_long': None, 'result_double': None}] Qualite : 0.05184228848625997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29913958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913958_03-01-2026_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29913958 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_P29913958_03-01-2026_00_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29913964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913975, 'pht': 3726}}" where mtr_portfolio_id = 29913958 and dashboard_run_id = 2842876 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`=29913958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18979127, 0.05184228848625997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913958_03-01-2026_00_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29913964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913975, '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 = 29914803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29914803 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29914803 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%29914803%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29914803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 29914803 and dashboard_run_id = 2842876 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913124,29913958,29914803) result : ((1402228294,), (1402228382,), (1402228471,), (1402229404,), (1402229452,), (1402230130,), (1402230175,), (1402230209,), (1402230339,), (1402230340,), (1402230342,), (1402230344,), (1402230668,), (1402230700,), (1402230731,), (1402230762,), (1402230812,), (1402230844,), (1402231598,), (1402231686,), (1402231810,), (1402231929,), (1402231968,), (1402232703,), (1402232707,), (1402232795,), (1402232935,), (1402233056,), (1402233356,), (1402233357,), (1402233358,), (1402233360,), (1402233364,), (1402233377,), (1402233383,), (1402233385,), (1402233396,), (1402233595,), (1402233619,), (1402233640,), (1402233673,), (1402233711,), (1402233999,), (1402234034,), (1402234066,), (1402234068,), (1402234400,), (1402234449,), (1402234473,), (1402234486,), (1402234542,), (1402234584,), (1402236149,), (1402236152,), (1402236568,), (1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,), (1402239659,), (1402239661,), (1402239663,), (1402239666,), (1402239742,), (1402239846,), (1402239953,), (1402239962,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03012026': {'nb_upload': 57, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29913958]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402239685, 1402239683, 1402239671, 1402239669] map_info['map_portfolio_photo'] : {29913958: [1402239685, 1402239683, 1402239671, 1402239669, 1402239633, 1402239630, 1402239627, 1402239598, 1402239596, 1402239594, 1402239593, 1402239033, 1402239009, 1402239005, 1402239002, 1402239000, 1402238978, 1402238976, 1402238972, 1402238969, 1402238967, 1402238965, 1402238826, 1402238824, 1402238823, 1402238256, 1402238221, 1402238216, 1402238212, 1402238211, 1402237834, 1402237767, 1402237703, 1402237699, 1402237698, 1402237143, 1402237041, 1402236942, 1402236672, 1402236666, 1402236656, 1402236654, 1402236653, 1402236652, 1402236651, 1402236650, 1402236616, 1402236615, 1402236614, 1402236613, 1402236596, 1402236592, 1402236588, 1402236585, 1402236583, 1402236561, 1402236524]} final : True mtd_id 4302 list_pids : [1402239685, 1402239683, 1402239671, 1402239669] Looping around the photos to save general results len do output : 1 /29913958Didn'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, '4306252') ('4302', '29913958', '1402239685', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252') ('4302', None, None, None, None, None, None, None, '4306252') ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 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, '29913958', 'None', None, None, None, None, '4306252'), ('4302', '29913958', '1402239685', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239683', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239671', None, None, None, None, None, '4306252'), ('4302', '29913958', '1402239669', None, None, None, None, None, '4306252')] time used for this insertion : 0.015227317810058594 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8646762371063232 time spend to save output : 0.015443801879882812 total time spend for step 5 : 1.880120038986206 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 (4306252) 2.00user 2.43system 0:13.20elapsed 33%CPU (0avgtext+0avgdata 164256maxresident)k 176inputs+13800outputs (2major+66944minor)pagefaults 0swaps