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 : 2676155 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 (4012870) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4012870) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281663 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4012870'] with mtr_portfolio_ids : ['28281663'] and first list_photo_ids : [] new path : /proc/2676155/ Name: python3 Umask: 0002 State: R (running) Tgid: 2676155 Ngid: 0 Pid: 2676155 PPid: 2676153 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2676155 NSpid: 2676155 NSpgid: 2675454 NSsid: 2675454 VmPeak: 1106912 kB VmSize: 1106888 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98928 kB VmRSS: 98928 kB RssAnon: 59896 kB RssFile: 39032 kB RssShmem: 0 kB VmData: 865640 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 564 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: 49 nonvoluntary_ctxt_switches: 162 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2676155', 'Ngid': '0', 'Pid': '2676155', 'PPid': '2676153', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2676155', 'NSpid': '2676155', 'NSpgid': '2675454', 'NSsid': '2675454', 'VmPeak': '1106912 kB', 'VmSize': '1106888 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98928 kB', 'VmRSS': '98928 kB', 'RssAnon': '59896 kB', 'RssFile': '39032 kB', 'RssShmem': '0 kB', 'VmData': '865640 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '564 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': '49', 'nonvoluntary_ctxt_switches': '162'} ('datou_batch_current', '2676155', '1106912', '0', '1106888', '865640', '98928', b'', 'marlene', '4012870') 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 (28281663) 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 (4012870 ) ) 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 (28281663) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1393025712, 'portfolio_id': 28281663}, {'photo_id': 1393025678, 'portfolio_id': 28281663}, {'photo_id': 1393025674, 'portfolio_id': 28281663}, {'photo_id': 1393025671, 'portfolio_id': 28281663}, {'photo_id': 1393025619, 'portfolio_id': 28281663}, {'photo_id': 1393025616, 'portfolio_id': 28281663}, {'photo_id': 1393025615, 'portfolio_id': 28281663}, {'photo_id': 1393025614, 'portfolio_id': 28281663}, {'photo_id': 1393025612, 'portfolio_id': 28281663}, {'photo_id': 1393025577, 'portfolio_id': 28281663}, {'photo_id': 1393025576, 'portfolio_id': 28281663}, {'photo_id': 1393025575, 'portfolio_id': 28281663}, {'photo_id': 1393025573, 'portfolio_id': 28281663}, {'photo_id': 1393025551, 'portfolio_id': 28281663}, {'photo_id': 1393025550, 'portfolio_id': 28281663}, {'photo_id': 1393025548, 'portfolio_id': 28281663}, {'photo_id': 1393025461, 'portfolio_id': 28281663}, {'photo_id': 1393025460, 'portfolio_id': 28281663}, {'photo_id': 1393025459, 'portfolio_id': 28281663}, {'photo_id': 1393025457, 'portfolio_id': 28281663}, {'photo_id': 1393025426, 'portfolio_id': 28281663}, {'photo_id': 1393025424, 'portfolio_id': 28281663}, {'photo_id': 1393025422, 'portfolio_id': 28281663}, {'photo_id': 1393025418, 'portfolio_id': 28281663}, {'photo_id': 1393025348, 'portfolio_id': 28281663}, {'photo_id': 1393025310, 'portfolio_id': 28281663}, {'photo_id': 1393025273, 'portfolio_id': 28281663}, {'photo_id': 1393025240, 'portfolio_id': 28281663}, {'photo_id': 1393024864, 'portfolio_id': 28281663}, {'photo_id': 1393024826, 'portfolio_id': 28281663}, {'photo_id': 1393024789, 'portfolio_id': 28281663}, {'photo_id': 1393024753, 'portfolio_id': 28281663}, {'photo_id': 1393024712, 'portfolio_id': 28281663}, {'photo_id': 1393024416, 'portfolio_id': 28281663}, {'photo_id': 1393024410, 'portfolio_id': 28281663}, {'photo_id': 1393024378, 'portfolio_id': 28281663}, {'photo_id': 1393024015, 'portfolio_id': 28281663}, {'photo_id': 1393023965, 'portfolio_id': 28281663}, {'photo_id': 1393023854, 'portfolio_id': 28281663}, {'photo_id': 1393023731, 'portfolio_id': 28281663}, {'photo_id': 1393023696, 'portfolio_id': 28281663}, {'photo_id': 1393023664, 'portfolio_id': 28281663}, {'photo_id': 1393023323, 'portfolio_id': 28281663}, {'photo_id': 1393023289, 'portfolio_id': 28281663}, {'photo_id': 1393023259, 'portfolio_id': 28281663}, {'photo_id': 1393023228, 'portfolio_id': 28281663}, {'photo_id': 1393023195, 'portfolio_id': 28281663}, {'photo_id': 1393023161, 'portfolio_id': 28281663}, {'photo_id': 1393022715, 'portfolio_id': 28281663}, {'photo_id': 1393022714, 'portfolio_id': 28281663}, {'photo_id': 1393022711, 'portfolio_id': 28281663}, {'photo_id': 1393022682, 'portfolio_id': 28281663}, {'photo_id': 1393022680, 'portfolio_id': 28281663}, {'photo_id': 1393022677, 'portfolio_id': 28281663}, {'photo_id': 1393022676, 'portfolio_id': 28281663}] map_portfolio_id_photo_id: {28281663: [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612, 1393025577, 1393025576, 1393025575, 1393025573, 1393025551, 1393025550, 1393025548, 1393025461, 1393025460, 1393025459, 1393025457, 1393025426, 1393025424, 1393025422, 1393025418, 1393025348, 1393025310, 1393025273, 1393025240, 1393024864, 1393024826, 1393024789, 1393024753, 1393024712, 1393024416, 1393024410, 1393024378, 1393024015, 1393023965, 1393023854, 1393023731, 1393023696, 1393023664, 1393023323, 1393023289, 1393023259, 1393023228, 1393023195, 1393023161, 1393022715, 1393022714, 1393022711, 1393022682, 1393022680, 1393022677, 1393022676]} ##### 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.01681661605834961 #### 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 Fri Nov 7 00:16:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28281663) 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 : 28281663 get user id for portfolio 28281663 get sub ptf for main ptf 28281663, type 3726 and hashtags ['autre_refus', 'Carton_gris', 'plastique', 'Teint_Dans_La_Masse', 'environnement', 'metal', 'mal_croppe', 'flou', 'kraft', 'cartonnette', 'Carton_brun', 'papier'] 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`=28281663 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','plastique','Teint_Dans_La_Masse','environnement','metal','mal_croppe','flou','kraft','cartonnette','Carton_brun','papier')) 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`=28281663 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','plastique','Teint_Dans_La_Masse','environnement','metal','mal_croppe','flou','kraft','cartonnette','Carton_brun','papier')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 28281663, 'sub_port_id': 28281664, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138830, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'Carton_brun': {'main_port_id': 28281663, 'sub_port_id': 28281665, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138831, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'environnement': {'main_port_id': 28281663, 'sub_port_id': 28281666, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138832, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'autre_refus': {'main_port_id': 28281663, 'sub_port_id': 28281667, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138833, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 28281663, 'sub_port_id': 28281668, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138834, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'Carton_gris': {'main_port_id': 28281663, 'sub_port_id': 28281669, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138835, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'plastique': {'main_port_id': 28281663, 'sub_port_id': 28281670, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138836, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'flou': {'main_port_id': 28281663, 'sub_port_id': 28281671, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138837, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'cartonnette': {'main_port_id': 28281663, 'sub_port_id': 28281672, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138838, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'kraft': {'main_port_id': 28281663, 'sub_port_id': 28281673, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138839, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'papier': {'main_port_id': 28281663, 'sub_port_id': 28281674, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138840, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}, 'metal': {'main_port_id': 28281663, 'sub_port_id': 28281675, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138841, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 6, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281664 , 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=28281663 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 (28281664) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281665 , 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=28281663 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 (28281665) result : ((1393023376,), (1393024008,), (1393024010,), (1393024012,), (1393024014,), (1393024451,), (1393025399,), (1393025400,), (1393025606,), (1393025696,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281666 , 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=28281663 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 (28281666) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281667 , 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=28281663 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 (28281667) result : ((1393023946,), (1393024536,), (1393024538,), (1393025377,), (1393025390,), (1393025391,), (1393025469,), (1393025705,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281668 , 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=28281663 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 (28281668) result : ((1393025375,), (1393025376,), (1393025582,), (1393025596,), (1393025597,), (1393025598,), (1393025690,), (1393025703,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281669 , 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=28281663 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 (28281669) result : ((1393023973,), (1393023975,), (1393023978,), (1393023980,), (1393023982,), (1393025392,), (1393025393,), (1393025471,), (1393025472,), (1393025473,), (1393025522,), (1393025706,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281670 , 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=28281663 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 (28281670) result : ((1393024025,), (1393025379,), (1393025477,), (1393025607,), (1393025608,), (1393025609,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281671 , 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=28281663 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 (28281671) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281672 , 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=28281663 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 (28281672) result : ((1393023992,), (1393025397,), (1393025398,), (1393025583,), (1393025599,), (1393025600,), (1393025601,), (1393025602,), (1393025603,), (1393025692,), (1393025693,), (1393025694,), (1393025707,), (1393025708,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281673 , 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=28281663 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 (28281673) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281674 , 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=28281663 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 (28281674) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28281675 , 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=28281663 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 (28281675) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=28281663 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','plastique','Teint_Dans_La_Masse','environnement','metal','mal_croppe','flou','kraft','cartonnette','Carton_brun','papier')) 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`=28281663 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','plastique','Teint_Dans_La_Masse','environnement','metal','mal_croppe','flou','kraft','cartonnette','Carton_brun','papier')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 28281663, 'sub_port_id': 28281676, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138842, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'Carton_brun': {'main_port_id': 28281663, 'sub_port_id': 28281677, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138843, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'environnement': {'main_port_id': 28281663, 'sub_port_id': 28281678, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138844, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'autre_refus': {'main_port_id': 28281663, 'sub_port_id': 28281679, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138845, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'Teint_Dans_La_Masse': {'main_port_id': 28281663, 'sub_port_id': 28281680, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138846, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'Carton_gris': {'main_port_id': 28281663, 'sub_port_id': 28281681, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138847, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'plastique': {'main_port_id': 28281663, 'sub_port_id': 28281682, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138848, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'flou': {'main_port_id': 28281663, 'sub_port_id': 28281683, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138849, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'cartonnette': {'main_port_id': 28281663, 'sub_port_id': 28281684, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138850, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'kraft': {'main_port_id': 28281663, 'sub_port_id': 28281685, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138851, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'papier': {'main_port_id': 28281663, 'sub_port_id': 28281686, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138852, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 7), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}, 'metal': {'main_port_id': 28281663, 'sub_port_id': 28281687, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19138853, 'last_updated_at': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 0, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 0, 7)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281676,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281664 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281677,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281665 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281678,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281666 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281679,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281667 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281680,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281668 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281681,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281669 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281682,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281670 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281683,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281671 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281684,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281672 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281685,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281673 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281686,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281674 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28281687,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28281675 lien utilise dans velours : https://marlene.fotonower.com/velours/28281676,28281677,28281678,28281679,28281680,28281681,28281682,28281683,28281684,28281685,28281686,28281687?tags=mal_croppe,Carton_brun,environnement,autre_refus,Teint_Dans_La_Masse,Carton_gris,plastique,flou,cartonnette,kraft,papier,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28281663]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] map_info['map_portfolio_photo'] : {28281663: [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612, 1393025577, 1393025576, 1393025575, 1393025573, 1393025551, 1393025550, 1393025548, 1393025461, 1393025460, 1393025459, 1393025457, 1393025426, 1393025424, 1393025422, 1393025418, 1393025348, 1393025310, 1393025273, 1393025240, 1393024864, 1393024826, 1393024789, 1393024753, 1393024712, 1393024416, 1393024410, 1393024378, 1393024015, 1393023965, 1393023854, 1393023731, 1393023696, 1393023664, 1393023323, 1393023289, 1393023259, 1393023228, 1393023195, 1393023161, 1393022715, 1393022714, 1393022711, 1393022682, 1393022680, 1393022677, 1393022676]} final : False mtd_id 4302 list_pids : [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] Looping around the photos to save general results len do output : 1 /28281663. 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, '4012870') ('4302', '28281663', '1393025712', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '28281663', "{'mal_croppe': 28281664, 'Carton_brun': 28281665, 'environnement': 28281666, 'autre_refus': 28281667, 'Teint_Dans_La_Masse': 28281668, 'Carton_gris': 28281669, 'plastique': 28281670, 'flou': 28281671, 'cartonnette': 28281672, 'kraft': 28281673, 'papier': 28281674, 'metal': 28281675}", None, None, None, None, '4012870'), ('4302', '28281663', '1393025712', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870')] time used for this insertion : 0.013714075088500977 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6287145614624023 time spend to save output : 0.013989686965942383 total time spend for step 1 : 1.6427042484283447 step2:final Fri Nov 7 00:16:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28281663) 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 28281663 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1393022682,1393022680,1393022677,1393022676,1393022715,1393022714,1393022711,1393023323,1393023289,1393023259,1393023228,1393023195,1393023161,1393023731,1393023696,1393023664,1393023854,1393024015,1393023965,1393024416,1393024410,1393024378,1393024864,1393024826,1393024789,1393024753,1393024712,1393025348,1393025310,1393025273,1393025240,1393025426,1393025424,1393025422,1393025418,1393025461,1393025460,1393025459,1393025551,1393025457,1393025550,1393025548,1393025577,1393025576,1393025575,1393025573,1393025619,1393025616,1393025615,1393025614,1393025612,1393025678,1393025674,1393025671,1393025712); 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([28281663]) Inside saveOutput : final : False verbose : True original output for save of step final : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} new output for save of step final : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] map_info['map_portfolio_photo'] : {28281663: [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612, 1393025577, 1393025576, 1393025575, 1393025573, 1393025551, 1393025550, 1393025548, 1393025461, 1393025460, 1393025459, 1393025457, 1393025426, 1393025424, 1393025422, 1393025418, 1393025348, 1393025310, 1393025273, 1393025240, 1393024864, 1393024826, 1393024789, 1393024753, 1393024712, 1393024416, 1393024410, 1393024378, 1393024015, 1393023965, 1393023854, 1393023731, 1393023696, 1393023664, 1393023323, 1393023289, 1393023259, 1393023228, 1393023195, 1393023161, 1393022715, 1393022714, 1393022711, 1393022682, 1393022680, 1393022677, 1393022676]} final : False mtd_id 4302 list_pids : [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] Looping around the photos to save general results len do output : 9 /1393025712.Didn't retrieve data . /1393025678.Didn't retrieve data . /1393025674.Didn't retrieve data . /1393025671.Didn't retrieve data . /1393025619.Didn't retrieve data . /1393025616.Didn't retrieve data . /1393025615.Didn't retrieve data . /1393025614.Didn't retrieve data . /1393025612.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, '4012870') ('4302', '28281663', '1393025712', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '28281663', '1393025712', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025678', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025674', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025671', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025619', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025616', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025615', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025614', '0.06994011922776774', None, None, None, None, '4012870'), ('4302', '28281663', '1393025612', '0.06994011922776774', None, None, None, None, '4012870')] time used for this insertion : 0.013542652130126953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06904053688049316 time spend to save output : 0.013892889022827148 total time spend for step 2 : 0.08293342590332031 step3:velours_tree Fri Nov 7 00:16:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {28281663: [{'mal_croppe': 28281664, 'Carton_brun': 28281665, 'environnement': 28281666, 'autre_refus': 28281667, 'Teint_Dans_La_Masse': 28281668, 'Carton_gris': 28281669, 'plastique': 28281670, 'flou': 28281671, 'cartonnette': 28281672, 'kraft': 28281673, 'papier': 28281674, 'metal': 28281675}]} input_args_next_step : {28281663: ()} output_args : {28281663: [{'mal_croppe': 28281664, 'Carton_brun': 28281665, 'environnement': 28281666, 'autre_refus': 28281667, 'Teint_Dans_La_Masse': 28281668, 'Carton_gris': 28281669, 'plastique': 28281670, 'flou': 28281671, 'cartonnette': 28281672, 'kraft': 28281673, 'papier': 28281674, 'metal': 28281675}]} args : 28281663 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 : ({'mal_croppe': 28281664, 'Carton_brun': 28281665, 'environnement': 28281666, 'autre_refus': 28281667, 'Teint_Dans_La_Masse': 28281668, 'Carton_gris': 28281669, 'plastique': 28281670, 'flou': 28281671, 'cartonnette': 28281672, 'kraft': 28281673, 'papier': 28281674, 'metal': 28281675},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28281663) 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([28281663]) 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.3300182819366455 time spend to save output : 8.416175842285156e-05 total time spend for step 3 : 0.33010244369506836 step4:send_mail_cod Fri Nov 7 00:16:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} input_args_next_step : {1393025712: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025712 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025678 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025674 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025671 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025619 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025616 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025615 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025614 depend.output_id : 0 input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ()} output_args : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',)} args : 1393025612 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 : {28281663: [{'mal_croppe': 28281664, 'Carton_brun': 28281665, 'environnement': 28281666, 'autre_refus': 28281667, 'Teint_Dans_La_Masse': 28281668, 'Carton_gris': 28281669, 'plastique': 28281670, 'flou': 28281671, 'cartonnette': 28281672, 'kraft': 28281673, 'papier': 28281674, 'metal': 28281675}]} input_args_next_step : {1393025712: ('0.06994011922776774',), 1393025678: ('0.06994011922776774',), 1393025674: ('0.06994011922776774',), 1393025671: ('0.06994011922776774',), 1393025619: ('0.06994011922776774',), 1393025616: ('0.06994011922776774',), 1393025615: ('0.06994011922776774',), 1393025614: ('0.06994011922776774',), 1393025612: ('0.06994011922776774',), 28281663: ()} output_args : {28281663: [{'mal_croppe': 28281664, 'Carton_brun': 28281665, 'environnement': 28281666, 'autre_refus': 28281667, 'Teint_Dans_La_Masse': 28281668, 'Carton_gris': 28281669, 'plastique': 28281670, 'flou': 28281671, 'cartonnette': 28281672, 'kraft': 28281673, 'papier': 28281674, 'metal': 28281675}]} args : 28281663 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 :10, first value : ('0.06994011922776774',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28281663) 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 (1393025712,1393025678,1393025674,1393025671,1393025619,1393025616,1393025615,1393025614,1393025612) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1393025612 begin to download photo : 1393025615 begin to download photo : 1393025619 begin to download photo : 1393025674 begin to download photo : 1393025712 download finish for photo 1393025619 begin to download photo : 1393025671 download finish for photo 1393025615 begin to download photo : 1393025616 download finish for photo 1393025712 download finish for photo 1393025612 begin to download photo : 1393025614 download finish for photo 1393025674 begin to download photo : 1393025678 download finish for photo 1393025616 download finish for photo 1393025671 download finish for photo 1393025614 download finish for photo 1393025678 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette282816641762470992/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P28281663_07-11-2025_00_16_32.pdf 28281664 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=28281664 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282816641762470992 28281667 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=28281667 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393023946: '1762470326_162957_1393023161_53b151592f3b5c9aab2397e70dd15c4e_rle_crop_4024186025_0.png', 1393024536: '1762470448_168492_1393023323_d0066f17273c5bda02669e340decede4_rle_crop_4024186985_0.png', 1393024538: '1762470448_168492_1393023323_d0066f17273c5bda02669e340decede4_rle_crop_4024186986_0.png', 1393025377: '1762470547_173419_1393024410_3f5e35670471f28b88d46078b75cdc1f_rle_crop_4024187357_0.png', 1393025390: '1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187472_0.png', 1393025391: '1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187475_0.png', 1393025469: '1762470667_179088_1393025418_815c4f09eddf97996ba28c5d4083ff60_rle_crop_4024188302_0.png', 1393025705: '1762470927_190109_1393025573_c3f89c3cd3703aa927e28cfe17c66bb6_rle_crop_4024189662_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/c90d7c14b11f8b18a109d31801374c17_32691575.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/3c07b16d9f6836fb42eb78f37da14425_28790272.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/9c5b03f0641a5c61497cee39d2a3b7f1_37052557.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d0d44d1b5d532504a921fdbce921ebf4_30965840.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/fa81e89b184aac358f35f3f47760b126_36836927.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4340fc9990aed0e4af1116886861f547_25320946.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/0206ac8f716e3cf8051715353e618d6b_20701580.png change filename to text .imagette282816671762470992/ imagette282816671762470992/1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187472_0.png.png imagette282816671762470992/1762470448_168492_1393023323_d0066f17273c5bda02669e340decede4_rle_crop_4024186985_0.png.png imagette282816671762470992/1762470547_173419_1393024410_3f5e35670471f28b88d46078b75cdc1f_rle_crop_4024187357_0.png.png imagette282816671762470992/1762470667_179088_1393025418_815c4f09eddf97996ba28c5d4083ff60_rle_crop_4024188302_0.png.png imagette282816671762470992/1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187475_0.png.png imagette282816671762470992/1762470448_168492_1393023323_d0066f17273c5bda02669e340decede4_rle_crop_4024186986_0.png.png imagette282816671762470992/1762470326_162957_1393023161_53b151592f3b5c9aab2397e70dd15c4e_rle_crop_4024186025_0.png.png imagette282816671762470992/1762470927_190109_1393025573_c3f89c3cd3703aa927e28cfe17c66bb6_rle_crop_4024189662_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7c41a827c57b1c56b95c8ba4f2489f40_14371687.png imagette282816671762470992 28281670 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=28281670 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393024025: '1762470326_162957_1393023195_39915d627279ede95b3ac6181940a598_rle_crop_4024186000_0.png', 1393025379: '1762470547_173419_1393024378_61ad5ad665768d1580a5efa41e61e481_rle_crop_4024187380_0.png', 1393025477: '1762470667_179088_1393025424_6ba3e9f70bb28c61482c472711e62363_rle_crop_4024188272_0.png', 1393025607: '1762470807_184940_1393025460_4fdb408fc04ae8eb918b168e00cc3d3f_rle_crop_4024189131_0.png', 1393025608: '1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189147_0.png', 1393025609: '1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189145_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d101fa14f7520bc03afbe0aa77f19148_46428032.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7ac9cbbecf45681906eadbe28534b473_76472415.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7131755a13ed2887dab36fdb94b2f6b4_60761252.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/9b2f9c2efede25a8d2fce4587e53e982_57986459.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/016cc772adfb835a9f7206471dc85a52_83234301.png change filename to text .imagette282816701762470992/ imagette282816701762470992/1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189147_0.png.png imagette282816701762470992/1762470667_179088_1393025424_6ba3e9f70bb28c61482c472711e62363_rle_crop_4024188272_0.png.png imagette282816701762470992/1762470326_162957_1393023195_39915d627279ede95b3ac6181940a598_rle_crop_4024186000_0.png.png imagette282816701762470992/1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189145_0.png.png imagette282816701762470992/1762470547_173419_1393024378_61ad5ad665768d1580a5efa41e61e481_rle_crop_4024187380_0.png.png imagette282816701762470992/1762470807_184940_1393025460_4fdb408fc04ae8eb918b168e00cc3d3f_rle_crop_4024189131_0.png.png imagette282816711762470993/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/06f0c2f2625f98f11ad23aaaffde55f2_47180322.png imagette282816701762470992 28281671 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=28281671 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282816711762470993 28281672 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=28281672 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393023992: '1762470326_162957_1393023289_31c5f6b7c473724df0fde166f9db4bb5_rle_crop_4024185956_0.png', 1393025397: '1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187473_0.png', 1393025398: '1762470566_173818_1393023965_77a093ca33abb2b505940c07f2e26e76_rle_crop_4024187485_0.png', 1393025583: '1762470785_184249_1393025550_c6096588e660688e0cb61e16ddb84499_rle_crop_4024188495_0.png', 1393025599: '1762470807_184940_1393025551_d62ee21a0be712ec6ba778aef9aa6859_rle_crop_4024189105_0.png', 1393025600: '1762470807_184940_1393025551_d62ee21a0be712ec6ba778aef9aa6859_rle_crop_4024189108_0.png', 1393025601: '1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189136_0.png', 1393025602: '1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189137_0.png', 1393025603: '1762470807_184940_1393025457_82fae0bf1cd1180ae96092f0ab832c46_rle_crop_4024189149_0.png', 1393025692: '1762470907_189773_1393025614_65cb7852114fcf8680bb3551eef6f4fb_rle_crop_4024189545_0.png', 1393025693: '1762470907_189773_1393025612_184053f2b937bacfbed48811cbdbe4fe_rle_crop_4024189560_0.png', 1393025694: '1762470907_189773_1393025612_184053f2b937bacfbed48811cbdbe4fe_rle_crop_4024189563_0.png', 1393025707: '1762470927_190109_1393025619_9055830c9e19cbe6645162be92788a67_rle_crop_4024189647_0.png', 1393025708: '1762470927_190109_1393025573_c3f89c3cd3703aa927e28cfe17c66bb6_rle_crop_4024189666_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/283653d14a1c69bbd73b753cb239788f_24123174.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/2017db9d511c1fdc9a1a68828148fcbb_74783077.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/c98f0f3a22f5ce9a2c39f5a8a7a689fc_92723226.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/79126c29db59b93a4be385b00baab80f_59121420.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/ca181dca273cf378f741a3adfb082987_25933888.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/e4236360d2d2599ce0e1bbc3230a1854_88977259.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/df07fa621d2eb5cce9189db0fc8d95d5_91337446.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/6e8a1553710982dae9e3e926432ca083_38510407.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/11b169929ff5375217d708aed772522a_89526825.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4796a96f609e9dcceccc6935b072f9d1_15668472.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/ed6f0d3b783b662ca01ea8fc7e0de729_44884483.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/e99ff539d9fcf63ac59ea495532bac58_41384261.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/b0b7994e8fd11536ab2e1d4f236083af_72340384.png change filename to text .imagette282816721762470993/ imagette282816721762470993/1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189137_0.png.png imagette282816721762470993/1762470907_189773_1393025614_65cb7852114fcf8680bb3551eef6f4fb_rle_crop_4024189545_0.png.png imagette282816721762470993/1762470807_184940_1393025457_82fae0bf1cd1180ae96092f0ab832c46_rle_crop_4024189149_0.png.png imagette282816721762470993/1762470927_190109_1393025573_c3f89c3cd3703aa927e28cfe17c66bb6_rle_crop_4024189666_0.png.png imagette282816721762470993/1762470907_189773_1393025612_184053f2b937bacfbed48811cbdbe4fe_rle_crop_4024189560_0.png.png imagette282816721762470993/1762470326_162957_1393023289_31c5f6b7c473724df0fde166f9db4bb5_rle_crop_4024185956_0.png.png imagette282816721762470993/1762470807_184940_1393025551_d62ee21a0be712ec6ba778aef9aa6859_rle_crop_4024189105_0.png.png imagette282816721762470993/1762470907_189773_1393025612_184053f2b937bacfbed48811cbdbe4fe_rle_crop_4024189563_0.png.png imagette282816721762470993/1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187473_0.png.png imagette282816721762470993/1762470785_184249_1393025550_c6096588e660688e0cb61e16ddb84499_rle_crop_4024188495_0.png.png imagette282816721762470993/1762470807_184940_1393025551_d62ee21a0be712ec6ba778aef9aa6859_rle_crop_4024189108_0.png.png imagette282816721762470993/1762470566_173818_1393023965_77a093ca33abb2b505940c07f2e26e76_rle_crop_4024187485_0.png.png imagette282816721762470993/1762470927_190109_1393025619_9055830c9e19cbe6645162be92788a67_rle_crop_4024189647_0.png.png imagette282816721762470993/1762470807_184940_1393025459_0c84445123b0b13bf1afe0da740ba760_rle_crop_4024189136_0.png.png imagette282816731762470994/ imagette282816751762470994/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/913355492976bc57232fdcfa4086d016_56967677.png imagette282816721762470993 28281673 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=28281673 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282816731762470994 28281675 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=28281675 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282816751762470994 28281665 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=28281665 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393023376: '1762470187_158875_1393022711_e70ab0b30037584f0f8e1168e43513c7_rle_crop_4024183494_0.png', 1393024008: '1762470326_162957_1393023731_f5fd49af7d02e3310c6432fd0b4d8325_rle_crop_4024185943_0.png', 1393024010: '1762470326_162957_1393023259_ba06f30b3cbcbab6a8b007aae2a1bfb7_rle_crop_4024185971_0.png', 1393024012: '1762470326_162957_1393023195_39915d627279ede95b3ac6181940a598_rle_crop_4024186014_0.png', 1393024014: '1762470326_162957_1393023161_53b151592f3b5c9aab2397e70dd15c4e_rle_crop_4024186027_0.png', 1393024451: '1762470427_167814_1393023854_d698d9b70fd9a2c17841f931040cc9ad_rle_crop_4024186383_0.png', 1393025399: '1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187474_0.png', 1393025400: '1762470566_173818_1393023965_77a093ca33abb2b505940c07f2e26e76_rle_crop_4024187487_0.png', 1393025606: '1762470807_184940_1393025457_82fae0bf1cd1180ae96092f0ab832c46_rle_crop_4024189154_0.png', 1393025696: '1762470907_189773_1393025612_184053f2b937bacfbed48811cbdbe4fe_rle_crop_4024189561_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/43b57fa4fd07fded57df9850b6a9fd69_41779897.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/f2ae78fb4ec7e2be3eb91f1bf366563e_61891781.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/b7a51c8680b23adbf8c9745408413826_35077490.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/2945f28f990377bed3d489d64a38e0eb_58842452.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/04bacdb9ffd55c6e9efbc06c72b82709_85300131.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/eb9ab1caa7df182933b7cb7a5ba445a9_77838539.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d5e2cbdeb0c164ea26430db1431ea401_51866757.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d35c9e3fa5f6a371a884b6472e868fa5_19443978.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/20078210ceabe65817af34da203f684e_82504550.png change filename to text .imagette282816651762470994/ imagette282816651762470994/1762470326_162957_1393023731_f5fd49af7d02e3310c6432fd0b4d8325_rle_crop_4024185943_0.png.png imagette282816651762470994/1762470187_158875_1393022711_e70ab0b30037584f0f8e1168e43513c7_rle_crop_4024183494_0.png.png imagette282816651762470994/1762470807_184940_1393025457_82fae0bf1cd1180ae96092f0ab832c46_rle_crop_4024189154_0.png.png imagette282816651762470994/1762470326_162957_1393023161_53b151592f3b5c9aab2397e70dd15c4e_rle_crop_4024186027_0.png.png imagette282816651762470994/1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187474_0.png.png imagette282816651762470994/1762470326_162957_1393023259_ba06f30b3cbcbab6a8b007aae2a1bfb7_rle_crop_4024185971_0.png.png imagette282816651762470994/1762470326_162957_1393023195_39915d627279ede95b3ac6181940a598_rle_crop_4024186014_0.png.png imagette282816651762470994/1762470566_173818_1393023965_77a093ca33abb2b505940c07f2e26e76_rle_crop_4024187487_0.png.png imagette282816651762470994/1762470427_167814_1393023854_d698d9b70fd9a2c17841f931040cc9ad_rle_crop_4024186383_0.png.png imagette282816651762470994/1762470907_189773_1393025612_184053f2b937bacfbed48811cbdbe4fe_rle_crop_4024189561_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/2cc1a28f6dd7e55583a6ff02039054c8_17186773.png imagette282816651762470994 28281668 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=28281668 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393025375: '1762470547_173419_1393024378_61ad5ad665768d1580a5efa41e61e481_rle_crop_4024187379_0.png', 1393025376: '1762470547_173419_1393024378_61ad5ad665768d1580a5efa41e61e481_rle_crop_4024187377_0.png', 1393025582: '1762470785_184249_1393025550_c6096588e660688e0cb61e16ddb84499_rle_crop_4024188496_0.png', 1393025596: '1762470807_184940_1393025551_d62ee21a0be712ec6ba778aef9aa6859_rle_crop_4024189110_0.png', 1393025597: '1762470807_184940_1393025460_4fdb408fc04ae8eb918b168e00cc3d3f_rle_crop_4024189124_0.png', 1393025598: '1762470807_184940_1393025457_82fae0bf1cd1180ae96092f0ab832c46_rle_crop_4024189150_0.png', 1393025690: '1762470907_189773_1393025614_65cb7852114fcf8680bb3551eef6f4fb_rle_crop_4024189547_0.png', 1393025703: '1762470927_190109_1393025573_c3f89c3cd3703aa927e28cfe17c66bb6_rle_crop_4024189672_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/377b311936c8f0cfad1fa333d2605545_8367948.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/233f592ed060ded20b5732ae7bae3828_87216029.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/73dfa2d43105eb913496f904d26a70c4_35114302.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/e7c1923e1a883d76ab12424413419bec_68427920.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/21af4b86645068fc8956b284168aa528_91532607.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d78d3b0d0317c761aea9f0a32c2943bf_55397944.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/707a2a49383ee987b6ab64ff65199011_14011867.png change filename to text .imagette282816681762470995/ imagette282816681762470995/1762470907_189773_1393025614_65cb7852114fcf8680bb3551eef6f4fb_rle_crop_4024189547_0.png.png imagette282816681762470995/1762470547_173419_1393024378_61ad5ad665768d1580a5efa41e61e481_rle_crop_4024187377_0.png.png imagette282816681762470995/1762470807_184940_1393025460_4fdb408fc04ae8eb918b168e00cc3d3f_rle_crop_4024189124_0.png.png imagette282816681762470995/1762470807_184940_1393025551_d62ee21a0be712ec6ba778aef9aa6859_rle_crop_4024189110_0.png.png imagette282816681762470995/1762470785_184249_1393025550_c6096588e660688e0cb61e16ddb84499_rle_crop_4024188496_0.png.png imagette282816681762470995/1762470807_184940_1393025457_82fae0bf1cd1180ae96092f0ab832c46_rle_crop_4024189150_0.png.png imagette282816681762470995/1762470547_173419_1393024378_61ad5ad665768d1580a5efa41e61e481_rle_crop_4024187379_0.png.png imagette282816681762470995/1762470927_190109_1393025573_c3f89c3cd3703aa927e28cfe17c66bb6_rle_crop_4024189672_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/001a107491c257a5123018d80349733c_28800919.png imagette282816681762470995 28281669 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=28281669 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393023973: '1762470326_162957_1393023289_31c5f6b7c473724df0fde166f9db4bb5_rle_crop_4024185954_0.png', 1393023975: '1762470326_162957_1393023259_ba06f30b3cbcbab6a8b007aae2a1bfb7_rle_crop_4024185973_0.png', 1393023978: '1762470326_162957_1393023228_f3d25fb6bcae8a6ebd67b9bf31f071b5_rle_crop_4024185983_0.png', 1393023980: '1762470326_162957_1393023228_f3d25fb6bcae8a6ebd67b9bf31f071b5_rle_crop_4024185986_0.png', 1393023982: '1762470326_162957_1393023195_39915d627279ede95b3ac6181940a598_rle_crop_4024186003_0.png', 1393025392: '1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187465_0.png', 1393025393: '1762470566_173818_1393023965_77a093ca33abb2b505940c07f2e26e76_rle_crop_4024187489_0.png', 1393025471: '1762470667_179088_1393025424_6ba3e9f70bb28c61482c472711e62363_rle_crop_4024188276_0.png', 1393025472: '1762470667_179088_1393025422_bad3803b6c7e90798f9460ff8dba1fb5_rle_crop_4024188292_0.png', 1393025473: '1762470667_179088_1393025418_815c4f09eddf97996ba28c5d4083ff60_rle_crop_4024188298_0.png', 1393025522: '1762470687_179440_1393025310_7024e78605df4239fa445bf2214857ba_rle_crop_4024188380_0.png', 1393025706: '1762470927_190109_1393025619_9055830c9e19cbe6645162be92788a67_rle_crop_4024189646_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/a9847cbe8b1aefc13924e1ef0ceb58ee_60562523.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/8eb1fb8b8c40a70f611057311c091ac0_79161331.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/f7888e6b5fb4af27a10c043e58a39e10_23485563.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/82ed354091e3fc2d88a2bd39444af459_96374591.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/a90024d834a8792fea57b8fbc7243053_623573.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/8b0befd61e27510848505a5e68e83209_16429739.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/45d376ea2ba414e7ffb89582c24af56c_81372518.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/b0d772ce8036034f34d733a998c272e4_56415590.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/e66690a2cbfa9633ce26cff671d73743_58231650.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/60ef860291203d9e56f66de8e6457c2c_81681069.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4d86abcd0758a74928d1d76558b446f0_85931857.png change filename to text .imagette282816691762470995/ imagette282816691762470995/1762470667_179088_1393025424_6ba3e9f70bb28c61482c472711e62363_rle_crop_4024188276_0.png.png imagette282816691762470995/1762470566_173818_1393024416_ad0d983569188019b904591b8042b018_rle_crop_4024187465_0.png.png imagette282816691762470995/1762470667_179088_1393025418_815c4f09eddf97996ba28c5d4083ff60_rle_crop_4024188298_0.png.png imagette282816691762470995/1762470667_179088_1393025422_bad3803b6c7e90798f9460ff8dba1fb5_rle_crop_4024188292_0.png.png imagette282816691762470995/1762470326_162957_1393023289_31c5f6b7c473724df0fde166f9db4bb5_rle_crop_4024185954_0.png.png imagette282816691762470995/1762470687_179440_1393025310_7024e78605df4239fa445bf2214857ba_rle_crop_4024188380_0.png.png imagette282816691762470995/1762470326_162957_1393023228_f3d25fb6bcae8a6ebd67b9bf31f071b5_rle_crop_4024185983_0.png.png imagette282816691762470995/1762470566_173818_1393023965_77a093ca33abb2b505940c07f2e26e76_rle_crop_4024187489_0.png.png imagette282816691762470995/1762470326_162957_1393023195_39915d627279ede95b3ac6181940a598_rle_crop_4024186003_0.png.png imagette282816691762470995/1762470927_190109_1393025619_9055830c9e19cbe6645162be92788a67_rle_crop_4024189646_0.png.png imagette282816691762470995/1762470326_162957_1393023228_f3d25fb6bcae8a6ebd67b9bf31f071b5_rle_crop_4024185986_0.png.png imagette282816691762470995/1762470326_162957_1393023259_ba06f30b3cbcbab6a8b007aae2a1bfb7_rle_crop_4024185973_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/fa060e1156ca3dd255e938febb549416_80955502.png imagette282816691762470995 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28281663 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28281676,28281677,28281678,28281679,28281680,28281681,28281682,28281683,28281684,28281685,28281686,28281687?tags=mal_croppe,Carton_brun,environnement,autre_refus,Teint_Dans_La_Masse,Carton_gris,plastique,flou,cartonnette,kraft,papier,metal your option no_mail is active, we will not send the real mail to your client args[1393025712] : ('0.06994011922776774',) no score found for photo 1393025712 We are sending mail with results at report@fotonower.com args[1393025678] : ('0.06994011922776774',) no score found for photo 1393025678 We are sending mail with results at report@fotonower.com args[1393025674] : ('0.06994011922776774',) no score found for photo 1393025674 We are sending mail with results at report@fotonower.com args[1393025671] : ('0.06994011922776774',) no score found for photo 1393025671 We are sending mail with results at report@fotonower.com args[1393025619] : ('0.06994011922776774',) no score found for photo 1393025619 We are sending mail with results at report@fotonower.com args[1393025616] : ('0.06994011922776774',) no score found for photo 1393025616 We are sending mail with results at report@fotonower.com args[1393025615] : ('0.06994011922776774',) no score found for photo 1393025615 We are sending mail with results at report@fotonower.com args[1393025614] : ('0.06994011922776774',) no score found for photo 1393025614 We are sending mail with results at report@fotonower.com args[1393025612] : ('0.06994011922776774',) no score found for photo 1393025612 We are sending mail with results at report@fotonower.com refus_total : 0.06994011922776774 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=28281663 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_P28281663_07-11-2025_00_16_32.pdf results_Auto_P28281663_07-11-2025_00_16_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_07-11-2025_00_16_32.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','28281663','results_Auto_P28281663_07-11-2025_00_16_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_07-11-2025_00_16_32.pdf','pdf','','0.26','0.06994011922776774') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28281663]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] map_info['map_portfolio_photo'] : {28281663: [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612, 1393025577, 1393025576, 1393025575, 1393025573, 1393025551, 1393025550, 1393025548, 1393025461, 1393025460, 1393025459, 1393025457, 1393025426, 1393025424, 1393025422, 1393025418, 1393025348, 1393025310, 1393025273, 1393025240, 1393024864, 1393024826, 1393024789, 1393024753, 1393024712, 1393024416, 1393024410, 1393024378, 1393024015, 1393023965, 1393023854, 1393023731, 1393023696, 1393023664, 1393023323, 1393023289, 1393023259, 1393023228, 1393023195, 1393023161, 1393022715, 1393022714, 1393022711, 1393022682, 1393022680, 1393022677, 1393022676]} final : False mtd_id 4302 list_pids : [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] 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, '4012870') ('4302', '28281663', '1393025712', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '28281663', '1393025712', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870')] time used for this insertion : 0.012664556503295898 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.975133419036865 time spend to save output : 0.012937307357788086 total time spend for step 4 : 5.988070726394653 step5:split_time_score Fri Nov 7 00:16:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['28281663'] 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 : [('28281663',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28281663) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1393025712: {'path': 'temp/1762470991_2676155_1393025712_2a6283da359d851653cfdec13b830094.jpg', 'extension': 'jpg'}, 1393025615: {'path': 'temp/1762470991_2676155_1393025615_70479dc8877fe19febeace9d13bc7888.jpg', 'extension': 'jpg'}, 1393025616: {'path': 'temp/1762470991_2676155_1393025616_4973b3e8c50414531e5faed2e64e08d9.jpg', 'extension': 'jpg'}, 1393025619: {'path': 'temp/1762470991_2676155_1393025619_9055830c9e19cbe6645162be92788a67.jpg', 'extension': 'jpg'}, 1393025671: {'path': 'temp/1762470991_2676155_1393025671_8d0e0b0aa130d6b28f9bca484dd03159.jpg', 'extension': 'jpg'}, 1393025612: {'path': 'temp/1762470991_2676155_1393025612_184053f2b937bacfbed48811cbdbe4fe.jpg', 'extension': 'jpg'}, 1393025614: {'path': 'temp/1762470991_2676155_1393025614_65cb7852114fcf8680bb3551eef6f4fb.jpg', 'extension': 'jpg'}, 1393025674: {'path': 'temp/1762470991_2676155_1393025674_1ed59b3d86a41eb4406522c1f959cca0.jpg', 'extension': 'jpg'}, 1393025678: {'path': 'temp/1762470991_2676155_1393025678_44a84084875c9d0e4b92ac7bde5367f9.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 = 28281663; (('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 = 28281663 group by h (('00', 55),) 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=28281663 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 (28281663) 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 (28281663) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07112025 28281663 Nombre de photos uploadées : 55 / 23040 (0%) 07112025 28281663 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 07112025 28281663 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1393022682, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/1546969381e368aaca665c10e12e9c51.jpg', 'username': None, 'uploaded_at': 1762470068, 'text': 'image_07112025_00_00_14_10169.jpg'}, {'photo_id': 1393022680, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/85d1219c068b601cea03465fbff00251.jpg', 'username': None, 'uploaded_at': 1762470068, 'text': 'image_07112025_00_00_24_10147.jpg'}, {'photo_id': 1393022677, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/21ed623f36ce4e781d50b2abd5444006.jpg', 'username': None, 'uploaded_at': 1762470068, 'text': 'image_07112025_00_00_34_10145.jpg'}, {'photo_id': 1393022676, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/a5804d5b17f34e33ddbf0beddebfa52d.jpg', 'username': None, 'uploaded_at': 1762470068, 'text': 'image_07112025_00_00_45_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002503633499145508 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 28281663, '2025-11-07' ) 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 = '2025-11-07' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2530111,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21787524223327637 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= 2530111 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2530111, 'dashboard_run_id': 2537524, 'mtr_portfolio_id': 28281663, 'dashboard_result_id': 16952382, '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_P28281663_07-11-2025_00_14_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28281671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281675, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28281663 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': 4012870, 'mtr_portfolio_id': 28281663, 'created_at': datetime.datetime(2025, 11, 7, 0, 16, 31), 'result': '0.06994011922776774', 'result_long': None, 'result_double': None}] Qualite : 0.06994011922776774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28281663 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_07-11-2025_00_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28281663 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_P28281663_07-11-2025_00_16_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28281671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281675, 'pht': 3726}}" where mtr_portfolio_id = 28281663 and dashboard_run_id = 2537524 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`=28281663 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952382, 0.06994011922776774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_07-11-2025_00_16_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28281671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281675, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28281663) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07112025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28281663]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] map_info['map_portfolio_photo'] : {28281663: [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612, 1393025577, 1393025576, 1393025575, 1393025573, 1393025551, 1393025550, 1393025548, 1393025461, 1393025460, 1393025459, 1393025457, 1393025426, 1393025424, 1393025422, 1393025418, 1393025348, 1393025310, 1393025273, 1393025240, 1393024864, 1393024826, 1393024789, 1393024753, 1393024712, 1393024416, 1393024410, 1393024378, 1393024015, 1393023965, 1393023854, 1393023731, 1393023696, 1393023664, 1393023323, 1393023289, 1393023259, 1393023228, 1393023195, 1393023161, 1393022715, 1393022714, 1393022711, 1393022682, 1393022680, 1393022677, 1393022676]} final : True mtd_id 4302 list_pids : [1393025712, 1393025678, 1393025674, 1393025671, 1393025619, 1393025616, 1393025615, 1393025614, 1393025612] Looping around the photos to save general results len do output : 1 /28281663Didn'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, '4012870') ('4302', '28281663', '1393025712', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870') ('4302', None, None, None, None, None, None, None, '4012870') ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '28281663', 'None', None, None, None, None, '4012870'), ('4302', '28281663', '1393025712', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025678', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025674', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025671', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025619', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025616', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025615', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025614', None, None, None, None, None, '4012870'), ('4302', '28281663', '1393025612', None, None, None, None, None, '4012870')] time used for this insertion : 0.018070220947265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3826742172241211 time spend to save output : 0.018301725387573242 total time spend for step 5 : 0.40097594261169434 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 (4012870) 2.61user 2.33system 0:12.48elapsed 39%CPU (0avgtext+0avgdata 166816maxresident)k 872inputs+14616outputs (13major+80440minor)pagefaults 0swaps