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 : 3015704 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 (4116506) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4116506) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898557 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4116506'] with mtr_portfolio_ids : ['28898557'] and first list_photo_ids : [] new path : /proc/3015704/ Name: python3 Umask: 0002 State: R (running) Tgid: 3015704 Ngid: 0 Pid: 3015704 PPid: 3015703 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3015704 NSpid: 3015704 NSpgid: 3015216 NSsid: 3015216 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98060 kB VmRSS: 98060 kB RssAnon: 59904 kB RssFile: 38156 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 45 nonvoluntary_ctxt_switches: 109 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3015704', 'Ngid': '0', 'Pid': '3015704', 'PPid': '3015703', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3015704', 'NSpid': '3015704', 'NSpgid': '3015216', 'NSsid': '3015216', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98060 kB', 'VmRSS': '98060 kB', 'RssAnon': '59904 kB', 'RssFile': '38156 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '45', 'nonvoluntary_ctxt_switches': '109'} ('datou_batch_current', '3015704', '1106908', '0', '1106884', '865636', '98060', b'', 'marlene', '4116506') 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 (28898557) 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 (4116506 ) ) 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 (28898557) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1396154979, 'portfolio_id': 28898557}, {'photo_id': 1396154978, 'portfolio_id': 28898557}, {'photo_id': 1396154976, 'portfolio_id': 28898557}, {'photo_id': 1396154974, 'portfolio_id': 28898557}, {'photo_id': 1396154972, 'portfolio_id': 28898557}, {'photo_id': 1396154967, 'portfolio_id': 28898557}, {'photo_id': 1396154947, 'portfolio_id': 28898557}, {'photo_id': 1396154939, 'portfolio_id': 28898557}, {'photo_id': 1396154907, 'portfolio_id': 28898557}, {'photo_id': 1396154903, 'portfolio_id': 28898557}, {'photo_id': 1396154899, 'portfolio_id': 28898557}, {'photo_id': 1396154645, 'portfolio_id': 28898557}, {'photo_id': 1396154603, 'portfolio_id': 28898557}, {'photo_id': 1396154563, 'portfolio_id': 28898557}, {'photo_id': 1396154528, 'portfolio_id': 28898557}, {'photo_id': 1396154489, 'portfolio_id': 28898557}, {'photo_id': 1396154457, 'portfolio_id': 28898557}, {'photo_id': 1396154340, 'portfolio_id': 28898557}, {'photo_id': 1396154337, 'portfolio_id': 28898557}, {'photo_id': 1396154335, 'portfolio_id': 28898557}, {'photo_id': 1396154331, 'portfolio_id': 28898557}, {'photo_id': 1396154329, 'portfolio_id': 28898557}, {'photo_id': 1396154327, 'portfolio_id': 28898557}, {'photo_id': 1396154326, 'portfolio_id': 28898557}, {'photo_id': 1396154319, 'portfolio_id': 28898557}, {'photo_id': 1396154318, 'portfolio_id': 28898557}, {'photo_id': 1396154315, 'portfolio_id': 28898557}, {'photo_id': 1396154312, 'portfolio_id': 28898557}, {'photo_id': 1396154310, 'portfolio_id': 28898557}, {'photo_id': 1396154308, 'portfolio_id': 28898557}, {'photo_id': 1396154278, 'portfolio_id': 28898557}, {'photo_id': 1396154275, 'portfolio_id': 28898557}, {'photo_id': 1396154272, 'portfolio_id': 28898557}, {'photo_id': 1396154269, 'portfolio_id': 28898557}, {'photo_id': 1396154267, 'portfolio_id': 28898557}, {'photo_id': 1396154266, 'portfolio_id': 28898557}, {'photo_id': 1396154252, 'portfolio_id': 28898557}, {'photo_id': 1396154250, 'portfolio_id': 28898557}, {'photo_id': 1396154249, 'portfolio_id': 28898557}, {'photo_id': 1396154247, 'portfolio_id': 28898557}, {'photo_id': 1396154143, 'portfolio_id': 28898557}, {'photo_id': 1396154110, 'portfolio_id': 28898557}, {'photo_id': 1396154074, 'portfolio_id': 28898557}, {'photo_id': 1396154039, 'portfolio_id': 28898557}, {'photo_id': 1396154007, 'portfolio_id': 28898557}, {'photo_id': 1396154005, 'portfolio_id': 28898557}, {'photo_id': 1396153794, 'portfolio_id': 28898557}, {'photo_id': 1396153760, 'portfolio_id': 28898557}, {'photo_id': 1396153728, 'portfolio_id': 28898557}, {'photo_id': 1396153696, 'portfolio_id': 28898557}, {'photo_id': 1396153658, 'portfolio_id': 28898557}, {'photo_id': 1396153460, 'portfolio_id': 28898557}, {'photo_id': 1396152781, 'portfolio_id': 28898557}, {'photo_id': 1396152438, 'portfolio_id': 28898557}] map_portfolio_id_photo_id: {28898557: [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457, 1396154340, 1396154337, 1396154335, 1396154331, 1396154329, 1396154327, 1396154326, 1396154319, 1396154318, 1396154315, 1396154312, 1396154310, 1396154308, 1396154278, 1396154275, 1396154272, 1396154269, 1396154267, 1396154266, 1396154252, 1396154250, 1396154249, 1396154247, 1396154143, 1396154110, 1396154074, 1396154039, 1396154007, 1396154005, 1396153794, 1396153760, 1396153728, 1396153696, 1396153658, 1396153460, 1396152781, 1396152438]} ##### 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.017932891845703125 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Nov 26 00:14:28 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 (28898557) 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 : 28898557 get user id for portfolio 28898557 get sub ptf for main ptf 28898557, type 3726 and hashtags ['environnement', 'plastique', 'papier', 'kraft', 'Carton_gris', 'Teint_Dans_La_Masse', 'Carton_brun', 'flou', 'mal_croppe', 'metal', 'autre_refus', 'cartonnette'] 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`=28898557 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','papier','kraft','Carton_gris','Teint_Dans_La_Masse','Carton_brun','flou','mal_croppe','metal','autre_refus','cartonnette')) 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`=28898557 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','papier','kraft','Carton_gris','Teint_Dans_La_Masse','Carton_brun','flou','mal_croppe','metal','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28898557, 'sub_port_id': 28898574, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620348, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'cartonnette': {'main_port_id': 28898557, 'sub_port_id': 28898575, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620349, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'papier': {'main_port_id': 28898557, 'sub_port_id': 28898576, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620350, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'autre_refus': {'main_port_id': 28898557, 'sub_port_id': 28898577, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620351, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'Carton_gris': {'main_port_id': 28898557, 'sub_port_id': 28898578, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620352, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'flou': {'main_port_id': 28898557, 'sub_port_id': 28898579, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620353, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'metal': {'main_port_id': 28898557, 'sub_port_id': 28898580, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620354, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'mal_croppe': {'main_port_id': 28898557, 'sub_port_id': 28898581, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620355, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 28898557, 'sub_port_id': 28898582, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620356, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'Carton_brun': {'main_port_id': 28898557, 'sub_port_id': 28898583, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620357, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'plastique': {'main_port_id': 28898557, 'sub_port_id': 28898584, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620358, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}, 'kraft': {'main_port_id': 28898557, 'sub_port_id': 28898585, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620359, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28898574 , 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=28898557 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 (28898574) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898575 , 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=28898557 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 (28898575) result : ((1396154283,), (1396154302,), (1396154986,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898576 , 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=28898557 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 (28898576) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898577 , 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=28898557 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 (28898577) result : ((1396154294,), (1396154295,), (1396154296,), (1396154297,), (1396154369,), (1396154371,), (1396154373,), (1396154981,), (1396154982,), (1396154983,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898578 , 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=28898557 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 (28898578) result : ((1396154299,), (1396154300,), (1396154301,), (1396154379,), (1396154381,), (1396154388,), (1396154390,), (1396154393,), (1396154395,), (1396154984,), (1396154985,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898579 , 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=28898557 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 (28898579) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898580 , 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=28898557 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 (28898580) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898581 , 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=28898557 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 (28898581) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898582 , 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=28898557 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 (28898582) result : ((1396154280,), (1396154281,), (1396154293,), (1396154360,), (1396154362,), (1396154364,), (1396154366,), (1396154980,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898583 , 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=28898557 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 (28898583) result : ((1396154285,), (1396154303,), (1396154304,), (1396154392,), (1396154987,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898584 , 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=28898557 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 (28898584) result : ((1396154286,), (1396154287,), (1396154305,), (1396154306,), (1396154404,), (1396154406,), (1396154407,), (1396154409,), (1396154988,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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 28898585 , 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=28898557 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 (28898585) result : ((1396154422,), (1396154424,), (1396154426,), (1396154428,), (1396154430,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) 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`=28898557 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','papier','kraft','Carton_gris','Teint_Dans_La_Masse','Carton_brun','flou','mal_croppe','metal','autre_refus','cartonnette')) 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`=28898557 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','papier','kraft','Carton_gris','Teint_Dans_La_Masse','Carton_brun','flou','mal_croppe','metal','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28898557, 'sub_port_id': 28898587, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620360, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'cartonnette': {'main_port_id': 28898557, 'sub_port_id': 28898588, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620361, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'papier': {'main_port_id': 28898557, 'sub_port_id': 28898590, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620362, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'autre_refus': {'main_port_id': 28898557, 'sub_port_id': 28898591, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620363, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'Carton_gris': {'main_port_id': 28898557, 'sub_port_id': 28898592, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620364, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'flou': {'main_port_id': 28898557, 'sub_port_id': 28898594, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620365, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'metal': {'main_port_id': 28898557, 'sub_port_id': 28898595, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620366, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'mal_croppe': {'main_port_id': 28898557, 'sub_port_id': 28898596, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620367, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'Teint_Dans_La_Masse': {'main_port_id': 28898557, 'sub_port_id': 28898598, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620368, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'Carton_brun': {'main_port_id': 28898557, 'sub_port_id': 28898599, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620369, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'plastique': {'main_port_id': 28898557, 'sub_port_id': 28898600, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620370, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 5, 2), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}, 'kraft': {'main_port_id': 28898557, 'sub_port_id': 28898601, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19620371, 'last_updated_at': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 0, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 0, 5, 2)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898587,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898574 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898588,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898575 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898590,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898576 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898591,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898577 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898592,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898578 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898594,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898579 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898595,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898580 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898596,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898581 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898598,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898582 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898599,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898583 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898600,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898584 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28898601,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28898585 lien utilise dans velours : https://marlene.fotonower.com/velours/28898587,28898588,28898590,28898591,28898592,28898594,28898595,28898596,28898598,28898599,28898600,28898601?tags=environnement,cartonnette,papier,autre_refus,Carton_gris,flou,metal,mal_croppe,Teint_Dans_La_Masse,Carton_brun,plastique,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28898557]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] map_info['map_portfolio_photo'] : {28898557: [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457, 1396154340, 1396154337, 1396154335, 1396154331, 1396154329, 1396154327, 1396154326, 1396154319, 1396154318, 1396154315, 1396154312, 1396154310, 1396154308, 1396154278, 1396154275, 1396154272, 1396154269, 1396154267, 1396154266, 1396154252, 1396154250, 1396154249, 1396154247, 1396154143, 1396154110, 1396154074, 1396154039, 1396154007, 1396154005, 1396153794, 1396153760, 1396153728, 1396153696, 1396153658, 1396153460, 1396152781, 1396152438]} final : False mtd_id 4302 list_pids : [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] Looping around the photos to save general results len do output : 1 /28898557. 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, '4116506') ('4302', '28898557', '1396154979', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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, '28898557', "{'environnement': 28898574, 'cartonnette': 28898575, 'papier': 28898576, 'autre_refus': 28898577, 'Carton_gris': 28898578, 'flou': 28898579, 'metal': 28898580, 'mal_croppe': 28898581, 'Teint_Dans_La_Masse': 28898582, 'Carton_brun': 28898583, 'plastique': 28898584, 'kraft': 28898585}", None, None, None, None, '4116506'), ('4302', '28898557', '1396154979', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506')] time used for this insertion : 0.018872976303100586 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8985419273376465 time spend to save output : 0.019216537475585938 total time spend for step 1 : 1.9177584648132324 step2:final Wed Nov 26 00:14:30 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 (28898557) 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 28898557 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1396152438,1396152781,1396153460,1396153794,1396153760,1396153728,1396153696,1396153658,1396154143,1396154110,1396154074,1396154039,1396154007,1396154005,1396154252,1396154250,1396154249,1396154247,1396154278,1396154331,1396154275,1396154329,1396154272,1396154327,1396154269,1396154326,1396154267,1396154319,1396154266,1396154318,1396154315,1396154312,1396154310,1396154308,1396154340,1396154337,1396154335,1396154979,1396154645,1396154603,1396154978,1396154563,1396154976,1396154528,1396154974,1396154489,1396154972,1396154967,1396154457,1396154947,1396154939,1396154907,1396154903,1396154899); 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([28898557]) Inside saveOutput : final : False verbose : True original output for save of step final : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} new output for save of step final : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] map_info['map_portfolio_photo'] : {28898557: [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457, 1396154340, 1396154337, 1396154335, 1396154331, 1396154329, 1396154327, 1396154326, 1396154319, 1396154318, 1396154315, 1396154312, 1396154310, 1396154308, 1396154278, 1396154275, 1396154272, 1396154269, 1396154267, 1396154266, 1396154252, 1396154250, 1396154249, 1396154247, 1396154143, 1396154110, 1396154074, 1396154039, 1396154007, 1396154005, 1396153794, 1396153760, 1396153728, 1396153696, 1396153658, 1396153460, 1396152781, 1396152438]} final : False mtd_id 4302 list_pids : [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] Looping around the photos to save general results len do output : 17 /1396154979.Didn't retrieve data . /1396154978.Didn't retrieve data . /1396154976.Didn't retrieve data . /1396154974.Didn't retrieve data . /1396154972.Didn't retrieve data . /1396154967.Didn't retrieve data . /1396154947.Didn't retrieve data . /1396154939.Didn't retrieve data . /1396154907.Didn't retrieve data . /1396154903.Didn't retrieve data . /1396154899.Didn't retrieve data . /1396154645.Didn't retrieve data . /1396154603.Didn't retrieve data . /1396154563.Didn't retrieve data . /1396154528.Didn't retrieve data . /1396154489.Didn't retrieve data . /1396154457.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, '4116506') ('4302', '28898557', '1396154979', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 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', '28898557', '1396154979', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154978', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154976', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154974', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154972', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154967', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154947', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154939', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154907', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154903', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154899', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154645', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154603', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154563', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154528', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154489', '0.07173283467730496', None, None, None, None, '4116506'), ('4302', '28898557', '1396154457', '0.07173283467730496', None, None, None, None, '4116506')] time used for this insertion : 0.01732802391052246 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08101272583007812 time spend to save output : 0.018060684204101562 total time spend for step 2 : 0.09907341003417969 step3:velours_tree Wed Nov 26 00:14:30 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 : {28898557: [{'environnement': 28898574, 'cartonnette': 28898575, 'papier': 28898576, 'autre_refus': 28898577, 'Carton_gris': 28898578, 'flou': 28898579, 'metal': 28898580, 'mal_croppe': 28898581, 'Teint_Dans_La_Masse': 28898582, 'Carton_brun': 28898583, 'plastique': 28898584, 'kraft': 28898585}]} input_args_next_step : {28898557: ()} output_args : {28898557: [{'environnement': 28898574, 'cartonnette': 28898575, 'papier': 28898576, 'autre_refus': 28898577, 'Carton_gris': 28898578, 'flou': 28898579, 'metal': 28898580, 'mal_croppe': 28898581, 'Teint_Dans_La_Masse': 28898582, 'Carton_brun': 28898583, 'plastique': 28898584, 'kraft': 28898585}]} args : 28898557 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 : ({'environnement': 28898574, 'cartonnette': 28898575, 'papier': 28898576, 'autre_refus': 28898577, 'Carton_gris': 28898578, 'flou': 28898579, 'metal': 28898580, 'mal_croppe': 28898581, 'Teint_Dans_La_Masse': 28898582, 'Carton_brun': 28898583, 'plastique': 28898584, 'kraft': 28898585},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28898557) 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([28898557]) 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.30610156059265137 time spend to save output : 4.839897155761719e-05 total time spend for step 3 : 0.306149959564209 step4:send_mail_cod Wed Nov 26 00:14:30 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 : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} input_args_next_step : {1396154979: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154979 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154978 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154976 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154974 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154972 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154967 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154947 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154939 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154907 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154903 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154899 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154645 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154603 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154563 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154528 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154489 depend.output_id : 0 input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ()} output_args : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',)} args : 1396154457 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 : {28898557: [{'environnement': 28898574, 'cartonnette': 28898575, 'papier': 28898576, 'autre_refus': 28898577, 'Carton_gris': 28898578, 'flou': 28898579, 'metal': 28898580, 'mal_croppe': 28898581, 'Teint_Dans_La_Masse': 28898582, 'Carton_brun': 28898583, 'plastique': 28898584, 'kraft': 28898585}]} input_args_next_step : {1396154979: ('0.07173283467730496',), 1396154978: ('0.07173283467730496',), 1396154976: ('0.07173283467730496',), 1396154974: ('0.07173283467730496',), 1396154972: ('0.07173283467730496',), 1396154967: ('0.07173283467730496',), 1396154947: ('0.07173283467730496',), 1396154939: ('0.07173283467730496',), 1396154907: ('0.07173283467730496',), 1396154903: ('0.07173283467730496',), 1396154899: ('0.07173283467730496',), 1396154645: ('0.07173283467730496',), 1396154603: ('0.07173283467730496',), 1396154563: ('0.07173283467730496',), 1396154528: ('0.07173283467730496',), 1396154489: ('0.07173283467730496',), 1396154457: ('0.07173283467730496',), 28898557: ()} output_args : {28898557: [{'environnement': 28898574, 'cartonnette': 28898575, 'papier': 28898576, 'autre_refus': 28898577, 'Carton_gris': 28898578, 'flou': 28898579, 'metal': 28898580, 'mal_croppe': 28898581, 'Teint_Dans_La_Masse': 28898582, 'Carton_brun': 28898583, 'plastique': 28898584, 'kraft': 28898585}]} args : 28898557 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 :18, first value : ('0.07173283467730496',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28898557) 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 (1396154979,1396154978,1396154976,1396154974,1396154972,1396154967,1396154947,1396154939,1396154907,1396154903,1396154899,1396154645,1396154603,1396154563,1396154528,1396154489,1396154457) Found this number of photos: 17 ##### Call download_photos : nb_thread : 5 begin to download photo : 1396154457 begin to download photo : 1396154603 begin to download photo : 1396154907 begin to download photo : 1396154972 begin to download photo : 1396154979 download finish for photo 1396154979 download finish for photo 1396154907 begin to download photo : 1396154939 download finish for photo 1396154603 begin to download photo : 1396154645 download finish for photo 1396154457 begin to download photo : 1396154489 download finish for photo 1396154972 begin to download photo : 1396154974 download finish for photo 1396154645 begin to download photo : 1396154899 download finish for photo 1396154939 begin to download photo : 1396154947 download finish for photo 1396154974 begin to download photo : 1396154976 download finish for photo 1396154489 begin to download photo : 1396154528 download finish for photo 1396154528 begin to download photo : 1396154563 download finish for photo 1396154947 begin to download photo : 1396154967 download finish for photo 1396154976 begin to download photo : 1396154978 download finish for photo 1396154899 begin to download photo : 1396154903 download finish for photo 1396154967 download finish for photo 1396154978 download finish for photo 1396154903 download finish for photo 1396154563 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 results_Auto_P28898557_26-11-2025_00_14_31.pdf 28898575 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=28898575 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154283: '1764112145_2973909_1396154249_e0f7d2c73a8df1d6113c632f325488b1_rle_crop_4045485447_0.png', 1396154302: '1764112167_2974283_1396154110_834b210a01063988404e572b81420f6e_rle_crop_4045485630_0.png', 1396154986: '1764112406_2982256_1396154308_790039d5b6e0dfbb03303e89228bec74_rle_crop_4045492687_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/399356e428e7479b767b3242c9d241b4_24530753.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4f19684953cb1929fef50b711c01e18_34099933.png change filename to text .imagette288985751764112471/ imagette288985751764112471/1764112145_2973909_1396154249_e0f7d2c73a8df1d6113c632f325488b1_rle_crop_4045485447_0.png.png imagette288985751764112471/1764112406_2982256_1396154308_790039d5b6e0dfbb03303e89228bec74_rle_crop_4045492687_0.png.png imagette288985751764112471/1764112167_2974283_1396154110_834b210a01063988404e572b81420f6e_rle_crop_4045485630_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb2d8028409e17b35eb00ae8dc84842f_72168978.png imagette288985751764112471 28898577 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=28898577 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154294: '1764112167_2974283_1396154074_7b5344fd4fde420ef091f16fda5a48b4_rle_crop_4045485643_0.png', 1396154295: '1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485664_0.png', 1396154296: '1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485657_0.png', 1396154297: '1764112167_2974283_1396154007_fa2d883add9aca0447d5041231e63b8c_rle_crop_4045485669_0.png', 1396154369: '1764112267_2977297_1396154272_cf97783db08b96f7ade22563e911976d_rle_crop_4045490021_0.png', 1396154371: '1764112267_2977297_1396154272_cf97783db08b96f7ade22563e911976d_rle_crop_4045490028_0.png', 1396154373: '1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490054_0.png', 1396154981: '1764112406_2982256_1396154340_718f18365ae9efdb8e05ba3074e1c815_rle_crop_4045492636_0.png', 1396154982: '1764112406_2982256_1396154312_fed4efae56ce11adc9a6e0b234179dcc_rle_crop_4045492655_0.png', 1396154983: '1764112406_2982256_1396154310_8d2755a596eaf144372e596c8093abe5_rle_crop_4045492672_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfaad73e5b56fd6cc67a6a9ec14e766f_11801636.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/690d12c2dec5f8d0bb2b5be0080bbc50_95433397.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d31b2d5c49d281e1bd95215b115b64d1_17640221.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea0b05c290bbf04956886cdcb667d719_18505263.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec1530a8ebf105eb8786d3a723dfb4ab_59302937.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7bfed96b86a4f064cc216f2f92e3243a_84115593.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9797eec0998d60e64feb743dc736e56a_31397431.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/909e950af44b6e392745563e93d4c8b1_44245618.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b91cae3d7f0745c05b729516852d2909_67647838.png change filename to text .imagette288985771764112471/ imagette288985771764112471/1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485657_0.png.png imagette288985771764112471/1764112167_2974283_1396154007_fa2d883add9aca0447d5041231e63b8c_rle_crop_4045485669_0.png.png imagette288985771764112471/1764112167_2974283_1396154074_7b5344fd4fde420ef091f16fda5a48b4_rle_crop_4045485643_0.png.png imagette288985771764112471/1764112267_2977297_1396154272_cf97783db08b96f7ade22563e911976d_rle_crop_4045490021_0.png.png imagette288985771764112471/1764112267_2977297_1396154272_cf97783db08b96f7ade22563e911976d_rle_crop_4045490028_0.png.png imagette288985771764112471/1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490054_0.png.png imagette288985771764112471/1764112406_2982256_1396154310_8d2755a596eaf144372e596c8093abe5_rle_crop_4045492672_0.png.png imagette288985771764112471/1764112406_2982256_1396154312_fed4efae56ce11adc9a6e0b234179dcc_rle_crop_4045492655_0.png.png imagette288985771764112471/1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485664_0.png.png imagette288985771764112471/1764112406_2982256_1396154340_718f18365ae9efdb8e05ba3074e1c815_rle_crop_4045492636_0.png.png imagette288985791764112472/ imagette288985801764112472/ imagette288985811764112472/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/213e38e9395c3677abf7e6e7ab6c6d24_15884417.png imagette288985771764112471 28898579 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=28898579 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette288985791764112472 28898580 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=28898580 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette288985801764112472 28898581 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=28898581 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette288985811764112472 28898584 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=28898584 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154286: '1764112145_2973909_1396154250_1d83ab03d7e5678d780a7f30837251cd_rle_crop_4045485426_0.png', 1396154287: '1764112145_2973909_1396154249_e0f7d2c73a8df1d6113c632f325488b1_rle_crop_4045485450_0.png', 1396154305: '1764112167_2974283_1396154252_85b33a2d69d1b5c0c7d050cea64091a1_rle_crop_4045485616_0.png', 1396154306: '1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485659_0.png', 1396154404: '1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489986_0.png', 1396154406: '1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490040_0.png', 1396154407: '1764112267_2977297_1396154272_cf97783db08b96f7ade22563e911976d_rle_crop_4045490025_0.png', 1396154409: '1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490032_0.png', 1396154988: '1764112406_2982256_1396154340_718f18365ae9efdb8e05ba3074e1c815_rle_crop_4045492642_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91a56766e47e7bc4229b30cbac6078aa_84107894.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae8b7d4b67b78df23918dca1690f4f59_53462001.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a55258684a8cc9db562441be837ed533_75779611.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a57b1ae51dfa6e59b3b325a5cb4983b9_61146114.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87503fbef617885dc3591cb876b331cd_75623695.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1788ab3609530abbc446cd58c629346f_63187843.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c811be22c5ecdbc84bd3d8cfa3956d1e_43773440.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/407652e54c0dba45597c77369724ca77_85963374.png change filename to text .imagette288985841764112472/ imagette288985841764112472/1764112145_2973909_1396154249_e0f7d2c73a8df1d6113c632f325488b1_rle_crop_4045485450_0.png.png imagette288985841764112472/1764112267_2977297_1396154272_cf97783db08b96f7ade22563e911976d_rle_crop_4045490025_0.png.png imagette288985841764112472/1764112406_2982256_1396154340_718f18365ae9efdb8e05ba3074e1c815_rle_crop_4045492642_0.png.png imagette288985841764112472/1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490040_0.png.png imagette288985841764112472/1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489986_0.png.png imagette288985841764112472/1764112145_2973909_1396154250_1d83ab03d7e5678d780a7f30837251cd_rle_crop_4045485426_0.png.png imagette288985841764112472/1764112167_2974283_1396154252_85b33a2d69d1b5c0c7d050cea64091a1_rle_crop_4045485616_0.png.png imagette288985841764112472/1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485659_0.png.png imagette288985841764112472/1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490032_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4a0d64eeb9f3f4f4892e796f5598afd_39951181.png imagette288985841764112472 28898585 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=28898585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154422: '1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490058_0.png', 1396154424: '1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490055_0.png', 1396154426: '1764112267_2977297_1396154267_6cb78d628fa09d359aec74751172d635_rle_crop_4045490090_0.png', 1396154428: '1764112267_2977297_1396154267_6cb78d628fa09d359aec74751172d635_rle_crop_4045490091_0.png', 1396154430: '1764112267_2977297_1396154266_261ebfc548ceb8a36368e20e454e42f9_rle_crop_4045490102_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a16b28a6d08b1779ae0f7c6d487fe962_53329723.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d66fea5585f65252f92232b4d3fd623_23235193.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/724c9c98c3f9c16b8a24da7189fe67e4_91067427.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b45d98d0cd60331810dfc6e59fd2f1a1_81315241.png change filename to text .imagette288985851764112473/ imagette288985851764112473/1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490058_0.png.png imagette288985851764112473/1764112267_2977297_1396154267_6cb78d628fa09d359aec74751172d635_rle_crop_4045490091_0.png.png imagette288985851764112473/1764112267_2977297_1396154266_261ebfc548ceb8a36368e20e454e42f9_rle_crop_4045490102_0.png.png imagette288985851764112473/1764112267_2977297_1396154267_6cb78d628fa09d359aec74751172d635_rle_crop_4045490090_0.png.png imagette288985851764112473/1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490055_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6111e00075481ca33c205be92934ecf9_35731114.png imagette288985851764112473 28898578 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=28898578 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154299: '1764112167_2974283_1396154110_834b210a01063988404e572b81420f6e_rle_crop_4045485628_0.png', 1396154300: '1764112167_2974283_1396154074_7b5344fd4fde420ef091f16fda5a48b4_rle_crop_4045485642_0.png', 1396154301: '1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485658_0.png', 1396154379: '1764112285_2977706_1396153728_a6a090993ff0013cd61889c34057388c_rle_crop_4045490008_0.png', 1396154381: '1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490037_0.png', 1396154388: '1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490056_0.png', 1396154390: '1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490061_0.png', 1396154393: '1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490052_0.png', 1396154395: '1764112267_2977297_1396154267_6cb78d628fa09d359aec74751172d635_rle_crop_4045490087_0.png', 1396154984: '1764112406_2982256_1396154340_718f18365ae9efdb8e05ba3074e1c815_rle_crop_4045492650_0.png', 1396154985: '1764112406_2982256_1396154308_790039d5b6e0dfbb03303e89228bec74_rle_crop_4045492689_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20349c48a68d8965511d7ddf27bc86c0_11372712.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c2e8f1e5c9875786129764b20d180a9_5302624.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45a3cb546f9ae8143485ff3d5efe671e_79567973.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccbc75e81831ef26ec34c2d0a44b5810_91982880.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0e8d2d69cda24decb5c42f0895bea543_93363558.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e864414fc7b04f96539d77f1c84f86bb_29405548.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a99ac6c1593694a09a3fa2c9d55c234d_81359428.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f99d762829a3b56aa35d3152bd95bc8a_94879738.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4786e8b09aebdabe106397ba961c548f_22747220.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/969b1800e0a0ffad1d93cd96c32c8a65_63134385.png change filename to text .imagette288985781764112473/ imagette288985781764112473/1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490052_0.png.png imagette288985781764112473/1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490061_0.png.png imagette288985781764112473/1764112285_2977706_1396153728_a6a090993ff0013cd61889c34057388c_rle_crop_4045490008_0.png.png imagette288985781764112473/1764112267_2977297_1396154267_6cb78d628fa09d359aec74751172d635_rle_crop_4045490087_0.png.png imagette288985781764112473/1764112167_2974283_1396154074_7b5344fd4fde420ef091f16fda5a48b4_rle_crop_4045485642_0.png.png imagette288985781764112473/1764112167_2974283_1396154110_834b210a01063988404e572b81420f6e_rle_crop_4045485628_0.png.png imagette288985781764112473/1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490037_0.png.png imagette288985781764112473/1764112267_2977297_1396154269_1bebf735f3becd0beb8445781559418f_rle_crop_4045490056_0.png.png imagette288985781764112473/1764112167_2974283_1396154039_c5f2f50164e25797fa09662d5ee051b6_rle_crop_4045485658_0.png.png imagette288985781764112473/1764112406_2982256_1396154308_790039d5b6e0dfbb03303e89228bec74_rle_crop_4045492689_0.png.png imagette288985781764112473/1764112406_2982256_1396154340_718f18365ae9efdb8e05ba3074e1c815_rle_crop_4045492650_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/68cfa422a21f6af9e6cd88cfc31d2267_57951711.png imagette288985781764112473 28898582 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=28898582 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154280: '1764112145_2973909_1396154250_1d83ab03d7e5678d780a7f30837251cd_rle_crop_4045485427_0.png', 1396154281: '1764112145_2973909_1396154250_1d83ab03d7e5678d780a7f30837251cd_rle_crop_4045485432_0.png', 1396154293: '1764112167_2974283_1396154074_7b5344fd4fde420ef091f16fda5a48b4_rle_crop_4045485648_0.png', 1396154360: '1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489981_0.png', 1396154362: '1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489978_0.png', 1396154364: '1764112285_2977706_1396153728_a6a090993ff0013cd61889c34057388c_rle_crop_4045490011_0.png', 1396154366: '1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490035_0.png', 1396154980: '1764112406_2982256_1396154312_fed4efae56ce11adc9a6e0b234179dcc_rle_crop_4045492656_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2850b4ed7176e13f9c133619aaf2063_32516737.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a143f0ed3310404e5e917949ed55ac2b_23445075.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dcc41044033802456a6b2bd9e92834c0_12230172.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f1342fdaa7ca1ad44dae824c22cbf0b_35061069.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7eed6d2d4b4235e661250effe88c0167_9181179.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29b22ac425c7012fd0459d757ae05854_50640667.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d2ef7600cfeb6030973f4b3f27fc9c14_21446857.png change filename to text .imagette288985821764112474/ imagette288985821764112474/1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489978_0.png.png imagette288985821764112474/1764112285_2977706_1396153728_a6a090993ff0013cd61889c34057388c_rle_crop_4045490011_0.png.png imagette288985821764112474/1764112145_2973909_1396154250_1d83ab03d7e5678d780a7f30837251cd_rle_crop_4045485427_0.png.png imagette288985821764112474/1764112285_2977706_1396153696_aad79eb7a5195faf07ddffd8a0255a85_rle_crop_4045490035_0.png.png imagette288985821764112474/1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489981_0.png.png imagette288985821764112474/1764112145_2973909_1396154250_1d83ab03d7e5678d780a7f30837251cd_rle_crop_4045485432_0.png.png imagette288985821764112474/1764112167_2974283_1396154074_7b5344fd4fde420ef091f16fda5a48b4_rle_crop_4045485648_0.png.png imagette288985821764112474/1764112406_2982256_1396154312_fed4efae56ce11adc9a6e0b234179dcc_rle_crop_4045492656_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06a1aac1243f8927b9d3938470cf358f_50258048.png imagette288985821764112474 28898583 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=28898583 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396154285: '1764112145_2973909_1396154249_e0f7d2c73a8df1d6113c632f325488b1_rle_crop_4045485443_0.png', 1396154303: '1764112167_2974283_1396154007_fa2d883add9aca0447d5041231e63b8c_rle_crop_4045485671_0.png', 1396154304: '1764112167_2974283_1396154007_fa2d883add9aca0447d5041231e63b8c_rle_crop_4045485674_0.png', 1396154392: '1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489977_0.png', 1396154987: '1764112406_2982256_1396154308_790039d5b6e0dfbb03303e89228bec74_rle_crop_4045492684_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/409404b6002ab24724ce0c62a13d36a8_70259774.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d4f21bd7b5f5d5cbea0307e13c4ff41_13741184.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8e2e268d2f4860ffa7eb7e91b3cbd4a_37793435.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5e7b44a8e9e0e1701165c1936e21f4f_38002560.png change filename to text .imagette288985831764112475/ imagette288985831764112475/1764112285_2977706_1396154143_6dc9d34fc296bd33861f6438d68af192_rle_crop_4045489977_0.png.png imagette288985831764112475/1764112406_2982256_1396154308_790039d5b6e0dfbb03303e89228bec74_rle_crop_4045492684_0.png.png imagette288985831764112475/1764112167_2974283_1396154007_fa2d883add9aca0447d5041231e63b8c_rle_crop_4045485674_0.png.png imagette288985831764112475/1764112167_2974283_1396154007_fa2d883add9aca0447d5041231e63b8c_rle_crop_4045485671_0.png.png imagette288985831764112475/1764112145_2973909_1396154249_e0f7d2c73a8df1d6113c632f325488b1_rle_crop_4045485443_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3af74b4523002222f076834b0935f38_55894890.png imagette288985831764112475 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28898557 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28898587,28898588,28898590,28898591,28898592,28898594,28898595,28898596,28898598,28898599,28898600,28898601?tags=environnement,cartonnette,papier,autre_refus,Carton_gris,flou,metal,mal_croppe,Teint_Dans_La_Masse,Carton_brun,plastique,kraft your option no_mail is active, we will not send the real mail to your client args[1396154979] : ('0.07173283467730496',) no score found for photo 1396154979 We are sending mail with results at report@fotonower.com args[1396154978] : ('0.07173283467730496',) no score found for photo 1396154978 We are sending mail with results at report@fotonower.com args[1396154976] : ('0.07173283467730496',) no score found for photo 1396154976 We are sending mail with results at report@fotonower.com args[1396154974] : ('0.07173283467730496',) no score found for photo 1396154974 We are sending mail with results at report@fotonower.com args[1396154972] : ('0.07173283467730496',) no score found for photo 1396154972 We are sending mail with results at report@fotonower.com args[1396154967] : ('0.07173283467730496',) no score found for photo 1396154967 We are sending mail with results at report@fotonower.com args[1396154947] : ('0.07173283467730496',) no score found for photo 1396154947 We are sending mail with results at report@fotonower.com args[1396154939] : ('0.07173283467730496',) no score found for photo 1396154939 We are sending mail with results at report@fotonower.com args[1396154907] : ('0.07173283467730496',) no score found for photo 1396154907 We are sending mail with results at report@fotonower.com args[1396154903] : ('0.07173283467730496',) no score found for photo 1396154903 We are sending mail with results at report@fotonower.com args[1396154899] : ('0.07173283467730496',) no score found for photo 1396154899 We are sending mail with results at report@fotonower.com args[1396154645] : ('0.07173283467730496',) no score found for photo 1396154645 We are sending mail with results at report@fotonower.com args[1396154603] : ('0.07173283467730496',) no score found for photo 1396154603 We are sending mail with results at report@fotonower.com args[1396154563] : ('0.07173283467730496',) no score found for photo 1396154563 We are sending mail with results at report@fotonower.com args[1396154528] : ('0.07173283467730496',) no score found for photo 1396154528 We are sending mail with results at report@fotonower.com args[1396154489] : ('0.07173283467730496',) no score found for photo 1396154489 We are sending mail with results at report@fotonower.com args[1396154457] : ('0.07173283467730496',) no score found for photo 1396154457 We are sending mail with results at report@fotonower.com refus_total : 0.07173283467730496 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=28898557 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_P28898557_26-11-2025_00_14_31.pdf results_Auto_P28898557_26-11-2025_00_14_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_26-11-2025_00_14_31.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','28898557','results_Auto_P28898557_26-11-2025_00_14_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_26-11-2025_00_14_31.pdf','pdf','','0.27','0.07173283467730496') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28898557]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] map_info['map_portfolio_photo'] : {28898557: [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457, 1396154340, 1396154337, 1396154335, 1396154331, 1396154329, 1396154327, 1396154326, 1396154319, 1396154318, 1396154315, 1396154312, 1396154310, 1396154308, 1396154278, 1396154275, 1396154272, 1396154269, 1396154267, 1396154266, 1396154252, 1396154250, 1396154249, 1396154247, 1396154143, 1396154110, 1396154074, 1396154039, 1396154007, 1396154005, 1396153794, 1396153760, 1396153728, 1396153696, 1396153658, 1396153460, 1396152781, 1396152438]} final : False mtd_id 4302 list_pids : [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] 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, '4116506') ('4302', '28898557', '1396154979', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 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', '28898557', '1396154979', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506')] time used for this insertion : 0.019877910614013672 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.486165285110474 time spend to save output : 0.020210742950439453 total time spend for step 4 : 6.506376028060913 step5:split_time_score Wed Nov 26 00:14: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 : ['28898557'] 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 : [('28898557',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28898557) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1396154979: {'path': 'temp/1764112470_3015704_1396154979_b048ff693abc39cdd8ffa45293ecef2d.jpg', 'extension': 'jpg'}, 1396154907: {'path': 'temp/1764112470_3015704_1396154907_18efacd397e981cb00b2413db468f8d3.jpg', 'extension': 'jpg'}, 1396154939: {'path': 'temp/1764112470_3015704_1396154939_95fe87b58e241c1c8301406d41a4db1f.jpg', 'extension': 'jpg'}, 1396154947: {'path': 'temp/1764112470_3015704_1396154947_c9fac09cb4682bea35b624135b2723e0.jpg', 'extension': 'jpg'}, 1396154967: {'path': 'temp/1764112470_3015704_1396154967_c36c9f68e80d9b29508bda787defb5b8.jpg', 'extension': 'jpg'}, 1396154972: {'path': 'temp/1764112470_3015704_1396154972_17a31eb732f5c70c3b25d9f868b2c10b.jpg', 'extension': 'jpg'}, 1396154974: {'path': 'temp/1764112470_3015704_1396154974_ed6e38b047063c40f9aa36aa978e2546.jpg', 'extension': 'jpg'}, 1396154976: {'path': 'temp/1764112470_3015704_1396154976_78ad56faa5b5aa887bb826433660428b.jpg', 'extension': 'jpg'}, 1396154978: {'path': 'temp/1764112470_3015704_1396154978_292af630a16f631f9b782d43beaeb4a8.jpg', 'extension': 'jpg'}, 1396154603: {'path': 'temp/1764112470_3015704_1396154603_57164be04d24e199f851d47a42014547.jpg', 'extension': 'jpg'}, 1396154645: {'path': 'temp/1764112470_3015704_1396154645_3dd9a1f911dfdbd295d4c9f0f85b948f.jpg', 'extension': 'jpg'}, 1396154899: {'path': 'temp/1764112470_3015704_1396154899_4583efb994313cdfb4789d024f1ef413.jpg', 'extension': 'jpg'}, 1396154903: {'path': 'temp/1764112470_3015704_1396154903_e8b0700109b04221d9e96418890dbeda.jpg', 'extension': 'jpg'}, 1396154457: {'path': 'temp/1764112470_3015704_1396154457_178aa94b965f45ce19d6bd18c256e81e.jpg', 'extension': 'jpg'}, 1396154489: {'path': 'temp/1764112470_3015704_1396154489_dd9d125abf74edec05179d70cb515979.jpg', 'extension': 'jpg'}, 1396154528: {'path': 'temp/1764112470_3015704_1396154528_4bedb2a8e1a8f55f3c4a403af322c628.jpg', 'extension': 'jpg'}, 1396154563: {'path': 'temp/1764112470_3015704_1396154563_c11edc7f1b1b210dbc891d0ea50f501b.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 = 28898557; (('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 = 28898557 group by h (('00', 54),) 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=28898557 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 (28898557) 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 (28898557) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26112025 28898557 Nombre de photos uploadées : 54 / 23040 (0%) 26112025 28898557 Nombre de photos taguées (types de déchets): 0 / 54 (0%) 26112025 28898557 Nombre de photos taguées (volume) : 0 / 54 (0%) [{'photo_id': 1396152438, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d21792d66f18be6d1cd6ee83c21e53d6.jpg', 'username': None, 'uploaded_at': 1764111793, 'text': 'image_26112025_00_01_15_10137.jpg'}, {'photo_id': 1396152781, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/adc8095ab4b5658bd0660d8d97e7cc8f.jpg', 'username': None, 'uploaded_at': 1764111847, 'text': 'image_26112025_00_02_54_10134.jpg'}, {'photo_id': 1396153460, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/531ed8c599c7b3c3f2d9b8f656f325eb.jpg', 'username': None, 'uploaded_at': 1764111907, 'text': 'image_26112025_00_03_04_10146.jpg'}, {'photo_id': 1396153794, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5951a6dfc038e08047ce402ca1602c83.jpg', 'username': None, 'uploaded_at': 1764111968, 'text': 'image_26112025_00_04_55_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019562244415283203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 218, 28898557, '2025-11-26' ) 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-26' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2645022,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24356484413146973 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= 2645022 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2645022, 'dashboard_run_id': 2652008, 'mtr_portfolio_id': 28898557, 'dashboard_result_id': 17724995, '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_P28898557_26-11-2025_00_12_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28898574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28898575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28898576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28898577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28898578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28898579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28898580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28898581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28898582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28898583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28898584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28898585, '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 = 28898557 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': 4116506, 'mtr_portfolio_id': 28898557, 'created_at': datetime.datetime(2025, 11, 26, 0, 14, 30), 'result': '0.07173283467730496', 'result_long': None, 'result_double': None}] Qualite : 0.07173283467730496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28898557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_26-11-2025_00_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28898557 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_P28898557_26-11-2025_00_14_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28898574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28898575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28898576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28898577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28898578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28898579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28898580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28898581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28898582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28898583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28898584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28898585, 'pht': 3726}}" where mtr_portfolio_id = 28898557 and dashboard_run_id = 2652008 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`=28898557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17724995, 0.07173283467730496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_26-11-2025_00_14_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28898574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28898575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28898576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28898577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28898578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28898579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28898580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28898581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28898582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28898583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28898584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28898585, '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 (28898557) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26112025': {'nb_upload': 54, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28898557]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] map_info['map_portfolio_photo'] : {28898557: [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457, 1396154340, 1396154337, 1396154335, 1396154331, 1396154329, 1396154327, 1396154326, 1396154319, 1396154318, 1396154315, 1396154312, 1396154310, 1396154308, 1396154278, 1396154275, 1396154272, 1396154269, 1396154267, 1396154266, 1396154252, 1396154250, 1396154249, 1396154247, 1396154143, 1396154110, 1396154074, 1396154039, 1396154007, 1396154005, 1396153794, 1396153760, 1396153728, 1396153696, 1396153658, 1396153460, 1396152781, 1396152438]} final : True mtd_id 4302 list_pids : [1396154979, 1396154978, 1396154976, 1396154974, 1396154972, 1396154967, 1396154947, 1396154939, 1396154907, 1396154903, 1396154899, 1396154645, 1396154603, 1396154563, 1396154528, 1396154489, 1396154457] Looping around the photos to save general results len do output : 1 /28898557Didn'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, '4116506') ('4302', '28898557', '1396154979', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506') ('4302', None, None, None, None, None, None, None, '4116506') ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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, '28898557', 'None', None, None, None, None, '4116506'), ('4302', '28898557', '1396154979', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154978', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154976', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154974', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154972', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154967', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154947', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154939', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154907', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154903', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154899', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154645', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154603', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154563', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154528', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154489', None, None, None, None, None, '4116506'), ('4302', '28898557', '1396154457', None, None, None, None, None, '4116506')] time used for this insertion : 0.018270254135131836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4303770065307617 time spend to save output : 0.018549203872680664 total time spend for step 5 : 0.4489262104034424 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 (4116506) 2.52user 2.30system 0:12.15elapsed 39%CPU (0avgtext+0avgdata 160808maxresident)k 752inputs+16088outputs (3major+77220minor)pagefaults 0swaps