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 : 2313828 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 (2558120) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2558120) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287423 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2558120'] with mtr_portfolio_ids : ['20287423'] and first list_photo_ids : [] new path : /proc/2313828/ Name: python3 Umask: 0002 State: R (running) Tgid: 2313828 Ngid: 0 Pid: 2313828 PPid: 2313827 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2313828 NSpid: 2313828 NSpgid: 2310398 NSsid: 2310398 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97680 kB VmRSS: 97680 kB RssAnon: 59756 kB RssFile: 37924 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 82 nonvoluntary_ctxt_switches: 315 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2313828', 'Ngid': '0', 'Pid': '2313828', 'PPid': '2313827', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2313828', 'NSpid': '2313828', 'NSpgid': '2310398', 'NSsid': '2310398', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97680 kB', 'VmRSS': '97680 kB', 'RssAnon': '59756 kB', 'RssFile': '37924 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '82', 'nonvoluntary_ctxt_switches': '315'} ('datou_batch_current', '2313828', '1106840', '0', '1106840', '865592', '97680', b'', 'marlene', '2558120') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (20287423) 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 (2558120 ) ) 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 (20287423) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1335132379, 'portfolio_id': 20287423}, {'photo_id': 1335132226, 'portfolio_id': 20287423}, {'photo_id': 1335132206, 'portfolio_id': 20287423}, {'photo_id': 1335132202, 'portfolio_id': 20287423}, {'photo_id': 1335131130, 'portfolio_id': 20287423}, {'photo_id': 1335131124, 'portfolio_id': 20287423}, {'photo_id': 1335131116, 'portfolio_id': 20287423}, {'photo_id': 1335131112, 'portfolio_id': 20287423}, {'photo_id': 1335131109, 'portfolio_id': 20287423}, {'photo_id': 1335130978, 'portfolio_id': 20287423}, {'photo_id': 1335130976, 'portfolio_id': 20287423}, {'photo_id': 1335130974, 'portfolio_id': 20287423}, {'photo_id': 1335130858, 'portfolio_id': 20287423}, {'photo_id': 1335130855, 'portfolio_id': 20287423}, {'photo_id': 1335130852, 'portfolio_id': 20287423}, {'photo_id': 1335130850, 'portfolio_id': 20287423}, {'photo_id': 1335130848, 'portfolio_id': 20287423}, {'photo_id': 1335130800, 'portfolio_id': 20287423}, {'photo_id': 1335130798, 'portfolio_id': 20287423}, {'photo_id': 1335130797, 'portfolio_id': 20287423}, {'photo_id': 1335130796, 'portfolio_id': 20287423}, {'photo_id': 1335130795, 'portfolio_id': 20287423}, {'photo_id': 1335130794, 'portfolio_id': 20287423}, {'photo_id': 1335130751, 'portfolio_id': 20287423}, {'photo_id': 1335130750, 'portfolio_id': 20287423}, {'photo_id': 1335130749, 'portfolio_id': 20287423}, {'photo_id': 1335130748, 'portfolio_id': 20287423}, {'photo_id': 1335130696, 'portfolio_id': 20287423}, {'photo_id': 1335130629, 'portfolio_id': 20287423}, {'photo_id': 1335130568, 'portfolio_id': 20287423}, {'photo_id': 1335130555, 'portfolio_id': 20287423}, {'photo_id': 1335130537, 'portfolio_id': 20287423}, {'photo_id': 1335130510, 'portfolio_id': 20287423}, {'photo_id': 1335130270, 'portfolio_id': 20287423}, {'photo_id': 1335130233, 'portfolio_id': 20287423}, {'photo_id': 1335130226, 'portfolio_id': 20287423}, {'photo_id': 1335129772, 'portfolio_id': 20287423}, {'photo_id': 1335129697, 'portfolio_id': 20287423}, {'photo_id': 1335129664, 'portfolio_id': 20287423}, {'photo_id': 1335129648, 'portfolio_id': 20287423}, {'photo_id': 1335129647, 'portfolio_id': 20287423}, {'photo_id': 1335129596, 'portfolio_id': 20287423}, {'photo_id': 1335129239, 'portfolio_id': 20287423}, {'photo_id': 1335129174, 'portfolio_id': 20287423}, {'photo_id': 1335129097, 'portfolio_id': 20287423}, {'photo_id': 1335129036, 'portfolio_id': 20287423}, {'photo_id': 1335128972, 'portfolio_id': 20287423}, {'photo_id': 1335128900, 'portfolio_id': 20287423}, {'photo_id': 1335128485, 'portfolio_id': 20287423}, {'photo_id': 1335128466, 'portfolio_id': 20287423}, {'photo_id': 1335128464, 'portfolio_id': 20287423}, {'photo_id': 1335128280, 'portfolio_id': 20287423}, {'photo_id': 1335128253, 'portfolio_id': 20287423}, {'photo_id': 1335128214, 'portfolio_id': 20287423}, {'photo_id': 1335128138, 'portfolio_id': 20287423}, {'photo_id': 1335128121, 'portfolio_id': 20287423}, {'photo_id': 1335127955, 'portfolio_id': 20287423}, {'photo_id': 1335127951, 'portfolio_id': 20287423}, {'photo_id': 1335127947, 'portfolio_id': 20287423}] map_portfolio_id_photo_id: {20287423: [1335132379, 1335132226, 1335132206, 1335132202, 1335131130, 1335131124, 1335131116, 1335131112, 1335131109, 1335130978, 1335130976, 1335130974, 1335130858, 1335130855, 1335130852, 1335130850, 1335130848, 1335130800, 1335130798, 1335130797, 1335130796, 1335130795, 1335130794, 1335130751, 1335130750, 1335130749, 1335130748, 1335130696, 1335130629, 1335130568, 1335130555, 1335130537, 1335130510, 1335130270, 1335130233, 1335130226, 1335129772, 1335129697, 1335129664, 1335129648, 1335129647, 1335129596, 1335129239, 1335129174, 1335129097, 1335129036, 1335128972, 1335128900, 1335128485, 1335128466, 1335128464, 1335128280, 1335128253, 1335128214, 1335128138, 1335128121, 1335127955, 1335127951, 1335127947]} ##### 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.01917266845703125 #### 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 Thu Feb 6 06:02:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20287423) 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 : 20287423 get user id for portfolio 20287423 get sub ptf for main ptf 20287423, type 3726 and hashtags ['plastique', 'Carton_brun', 'autre_refus', 'metal', 'mal_croppe', 'Carton_gris', 'environnement', 'Teint_Dans_La_Masse', 'flou', 'kraft', 'papier', '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`=20287423 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','autre_refus','metal','mal_croppe','Carton_gris','environnement','Teint_Dans_La_Masse','flou','kraft','papier','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`=20287423 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','autre_refus','metal','mal_croppe','Carton_gris','environnement','Teint_Dans_La_Masse','flou','kraft','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20287423, 'sub_port_id': 20287430, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978751, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'flou': {'main_port_id': 20287423, 'sub_port_id': 20287431, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978752, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'metal': {'main_port_id': 20287423, 'sub_port_id': 20287432, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978753, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'autre_refus': {'main_port_id': 20287423, 'sub_port_id': 20287433, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978754, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'kraft': {'main_port_id': 20287423, 'sub_port_id': 20287434, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978755, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'papier': {'main_port_id': 20287423, 'sub_port_id': 20287435, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978756, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'plastique': {'main_port_id': 20287423, 'sub_port_id': 20287436, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978757, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'Carton_brun': {'main_port_id': 20287423, 'sub_port_id': 20287437, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978758, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'mal_croppe': {'main_port_id': 20287423, 'sub_port_id': 20287438, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978759, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'environnement': {'main_port_id': 20287423, 'sub_port_id': 20287439, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978760, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'cartonnette': {'main_port_id': 20287423, 'sub_port_id': 20287440, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978761, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}, 'Carton_gris': {'main_port_id': 20287423, 'sub_port_id': 20287441, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978762, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287430 , 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=20287423 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 (20287430) result : ((1335129321,), (1335129322,), (1335129323,), (1335130532,), (1335130546,), (1335130547,), (1335130549,), (1335130762,), (1335130763,), (1335131012,), (1335131013,), (1335131125,), (1335131126,), (1335131205,), (1335131206,), (1335131246,), (1335131247,), (1335131249,), (1335131259,), (1335131263,), (1335131264,), (1335131266,), (1335131267,), (1335131269,), (1335131976,), (1335131977,), (1335132061,), (1335132062,), (1335132262,), (1335132263,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287431 , 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=20287423 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 (20287431) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287432 , 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=20287423 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 (20287432) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287433 , 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=20287423 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 (20287433) result : ((1335130536,), (1335130564,), (1335130764,), (1335131014,), (1335131127,), (1335131207,), (1335131980,), (1335132090,), (1335132091,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287434 , 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=20287423 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 (20287434) result : ((1335131020,), (1335131141,), (1335131227,), (1335131301,), (1335131303,), (1335131304,), (1335131374,), (1335131375,), (1335132150,), (1335132188,), (1335132271,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287435 , 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=20287423 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 (20287435) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287436 , 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=20287423 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 (20287436) result : ((1335130613,), (1335131019,), (1335131106,), (1335131107,), (1335131140,), (1335131224,), (1335131225,), (1335131270,), (1335131352,), (1335131354,), (1335131915,), (1335131916,), (1335132126,), (1335132128,), (1335132185,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287437 , 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=20287423 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 (20287437) result : ((1335129329,), (1335129330,), (1335130569,), (1335130571,), (1335131016,), (1335131136,), (1335131137,), (1335131138,), (1335131217,), (1335131218,), (1335131219,), (1335131220,), (1335131258,), (1335131262,), (1335131318,), (1335131321,), (1335131322,), (1335131324,), (1335131325,), (1335131327,), (1335131328,), (1335131330,), (1335132081,), (1335132082,), (1335132084,), (1335132085,), (1335132182,), (1335132183,), (1335132184,), (1335132269,), (1335132270,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287438 , 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=20287423 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 (20287438) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287439 , 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=20287423 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 (20287439) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287440 , 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=20287423 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 (20287440) result : ((1335129325,), (1335129326,), (1335130540,), (1335130541,), (1335130542,), (1335130543,), (1335130544,), (1335130545,), (1335130565,), (1335130566,), (1335130777,), (1335130778,), (1335130779,), (1335130780,), (1335130782,), (1335130783,), (1335131134,), (1335131135,), (1335131215,), (1335131216,), (1335131294,), (1335131296,), (1335132057,), (1335132059,), (1335132170,), (1335132172,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20287441 , 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=20287423 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 (20287441) result : ((1335130538,), (1335130539,), (1335130768,), (1335130769,), (1335130770,), (1335131015,), (1335131131,), (1335131132,), (1335131210,), (1335131211,), (1335131212,), (1335131213,), (1335131251,), (1335131252,), (1335131253,), (1335131254,), (1335131255,), (1335132027,), (1335132029,), (1335132030,), (1335132031,), (1335132033,), (1335132136,), (1335132138,), (1335132264,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20287423) result : ((1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) 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 (1335130800,1335128900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20287423 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','autre_refus','metal','mal_croppe','Carton_gris','environnement','Teint_Dans_La_Masse','flou','kraft','papier','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`=20287423 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','autre_refus','metal','mal_croppe','Carton_gris','environnement','Teint_Dans_La_Masse','flou','kraft','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20287423, 'sub_port_id': 20287442, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978763, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'flou': {'main_port_id': 20287423, 'sub_port_id': 20287443, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978764, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'metal': {'main_port_id': 20287423, 'sub_port_id': 20287444, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978765, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'autre_refus': {'main_port_id': 20287423, 'sub_port_id': 20287445, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978766, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'kraft': {'main_port_id': 20287423, 'sub_port_id': 20287446, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978767, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'papier': {'main_port_id': 20287423, 'sub_port_id': 20287447, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978768, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'plastique': {'main_port_id': 20287423, 'sub_port_id': 20287448, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978769, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'Carton_brun': {'main_port_id': 20287423, 'sub_port_id': 20287449, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978770, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'mal_croppe': {'main_port_id': 20287423, 'sub_port_id': 20287450, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978771, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'environnement': {'main_port_id': 20287423, 'sub_port_id': 20287451, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978772, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'cartonnette': {'main_port_id': 20287423, 'sub_port_id': 20287452, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978773, 'last_updated_at': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 5, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}, 'Carton_gris': {'main_port_id': 20287423, 'sub_port_id': 20287453, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12978774, 'last_updated_at': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 6, 6, 0, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 6, 5, 49)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287442,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287430 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287443,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287431 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287444,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287432 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287445,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287433 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287446,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287434 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287447,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287435 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287448,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287436 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287449,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287437 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287450,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287438 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287451,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287439 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287452,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287440 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20287453,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20287441 lien utilise dans velours : https://www.fotonower.com/velours/20287442,20287443,20287444,20287445,20287446,20287447,20287448,20287449,20287450,20287451,20287452,20287453?tags=Teint_Dans_La_Masse,flou,metal,autre_refus,kraft,papier,plastique,Carton_brun,mal_croppe,environnement,cartonnette,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20287423]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335132379] map_info['map_portfolio_photo'] : {20287423: [1335132379, 1335132226, 1335132206, 1335132202, 1335131130, 1335131124, 1335131116, 1335131112, 1335131109, 1335130978, 1335130976, 1335130974, 1335130858, 1335130855, 1335130852, 1335130850, 1335130848, 1335130800, 1335130798, 1335130797, 1335130796, 1335130795, 1335130794, 1335130751, 1335130750, 1335130749, 1335130748, 1335130696, 1335130629, 1335130568, 1335130555, 1335130537, 1335130510, 1335130270, 1335130233, 1335130226, 1335129772, 1335129697, 1335129664, 1335129648, 1335129647, 1335129596, 1335129239, 1335129174, 1335129097, 1335129036, 1335128972, 1335128900, 1335128485, 1335128466, 1335128464, 1335128280, 1335128253, 1335128214, 1335128138, 1335128121, 1335127955, 1335127951, 1335127947]} final : False mtd_id 4302 list_pids : [1335132379] Looping around the photos to save general results len do output : 1 /20287423. 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, '2558120') ('4302', '20287423', '1335132379', None, None, None, None, None, '2558120') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '20287423', "{'Teint_Dans_La_Masse': 20287430, 'flou': 20287431, 'metal': 20287432, 'autre_refus': 20287433, 'kraft': 20287434, 'papier': 20287435, 'plastique': 20287436, 'Carton_brun': 20287437, 'mal_croppe': 20287438, 'environnement': 20287439, 'cartonnette': 20287440, 'Carton_gris': 20287441}", None, None, None, None, '2558120'), ('4302', '20287423', '1335132379', None, None, None, None, None, '2558120')] time used for this insertion : 0.014861345291137695 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4331202507019043 time spend to save output : 0.015049219131469727 total time spend for step 1 : 0.448169469833374 step2:final Thu Feb 6 06:02:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20287423) 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 20287423 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1335127955,1335127951,1335127947,1335128280,1335128253,1335128214,1335128138,1335128121,1335128485,1335128466,1335128464,1335129239,1335129174,1335129097,1335129036,1335128972,1335128900,1335129772,1335129697,1335129664,1335129648,1335129647,1335129596,1335130270,1335130233,1335130226,1335130696,1335130629,1335130568,1335130555,1335130537,1335130510,1335130751,1335130750,1335130749,1335130748,1335130800,1335130798,1335130797,1335130796,1335130795,1335130794,1335130858,1335130855,1335130852,1335130850,1335130848,1335130978,1335130976,1335130974,1335131130,1335131124,1335131116,1335131112,1335131109,1335132226,1335132206,1335132202,1335132379); 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([20287423]) Inside saveOutput : final : False verbose : True original output for save of step final : {1335132379: ('0.05066019743638997',)} new output for save of step final : {1335132379: ('0.05066019743638997',)} [1335132379] map_info['map_portfolio_photo'] : {20287423: [1335132379, 1335132226, 1335132206, 1335132202, 1335131130, 1335131124, 1335131116, 1335131112, 1335131109, 1335130978, 1335130976, 1335130974, 1335130858, 1335130855, 1335130852, 1335130850, 1335130848, 1335130800, 1335130798, 1335130797, 1335130796, 1335130795, 1335130794, 1335130751, 1335130750, 1335130749, 1335130748, 1335130696, 1335130629, 1335130568, 1335130555, 1335130537, 1335130510, 1335130270, 1335130233, 1335130226, 1335129772, 1335129697, 1335129664, 1335129648, 1335129647, 1335129596, 1335129239, 1335129174, 1335129097, 1335129036, 1335128972, 1335128900, 1335128485, 1335128466, 1335128464, 1335128280, 1335128253, 1335128214, 1335128138, 1335128121, 1335127955, 1335127951, 1335127947]} final : False mtd_id 4302 list_pids : [1335132379] Looping around the photos to save general results len do output : 1 /1335132379.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, '2558120') ('4302', '20287423', '1335132379', None, None, None, None, None, '2558120') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '20287423', '1335132379', '0.05066019743638997', None, None, None, None, '2558120')] time used for this insertion : 0.012874364852905273 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0719454288482666 time spend to save output : 0.013008832931518555 total time spend for step 2 : 0.08495426177978516 step3:velours_tree Thu Feb 6 06:02:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20287423: [{'Teint_Dans_La_Masse': 20287430, 'flou': 20287431, 'metal': 20287432, 'autre_refus': 20287433, 'kraft': 20287434, 'papier': 20287435, 'plastique': 20287436, 'Carton_brun': 20287437, 'mal_croppe': 20287438, 'environnement': 20287439, 'cartonnette': 20287440, 'Carton_gris': 20287441}]} input_args_next_step : {20287423: ()} output_args : {20287423: [{'Teint_Dans_La_Masse': 20287430, 'flou': 20287431, 'metal': 20287432, 'autre_refus': 20287433, 'kraft': 20287434, 'papier': 20287435, 'plastique': 20287436, 'Carton_brun': 20287437, 'mal_croppe': 20287438, 'environnement': 20287439, 'cartonnette': 20287440, 'Carton_gris': 20287441}]} args : 20287423 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 20287430, 'flou': 20287431, 'metal': 20287432, 'autre_refus': 20287433, 'kraft': 20287434, 'papier': 20287435, 'plastique': 20287436, 'Carton_brun': 20287437, 'mal_croppe': 20287438, 'environnement': 20287439, 'cartonnette': 20287440, 'Carton_gris': 20287441},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20287423) 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([20287423]) 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.5385310649871826 time spend to save output : 5.626678466796875e-05 total time spend for step 3 : 0.5385873317718506 step4:send_mail_cod Thu Feb 6 06:02:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1335132379: ('0.05066019743638997',)} input_args_next_step : {1335132379: ()} output_args : {1335132379: ('0.05066019743638997',)} args : 1335132379 depend.output_id : 0 complete output_args for input 3 : {20287423: [{'Teint_Dans_La_Masse': 20287430, 'flou': 20287431, 'metal': 20287432, 'autre_refus': 20287433, 'kraft': 20287434, 'papier': 20287435, 'plastique': 20287436, 'Carton_brun': 20287437, 'mal_croppe': 20287438, 'environnement': 20287439, 'cartonnette': 20287440, 'Carton_gris': 20287441}]} input_args_next_step : {1335132379: ('0.05066019743638997',), 20287423: ()} output_args : {20287423: [{'Teint_Dans_La_Masse': 20287430, 'flou': 20287431, 'metal': 20287432, 'autre_refus': 20287433, 'kraft': 20287434, 'papier': 20287435, 'plastique': 20287436, 'Carton_brun': 20287437, 'mal_croppe': 20287438, 'environnement': 20287439, 'cartonnette': 20287440, 'Carton_gris': 20287441}]} args : 20287423 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 :2, first value : ('0.05066019743638997',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20287423) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1335132379) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1335132379 download finish for photo 1335132379 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette202874311738818178/ imagette202874321738818178/ length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P20287423_06-02-2025_06_02_58.pdf 20287431 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287431 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette202874311738818178 20287432 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287432 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette202874321738818178 20287433 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287433 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335130536: '1738817434_3012690_1335128485_935cf416afff84a8fe0a4ea8e0a5e67c_rle_crop_3657222079_0.png', 1335130564: '1738817452_3012870_1335128280_f3358b780d4d2686f2f0a6bd382f943b_rle_crop_3657222656_0.png', 1335130764: '1738817513_3013591_1335128485_935cf416afff84a8fe0a4ea8e0a5e67c_rle_crop_3657222079_0.png', 1335131014: '1738817734_3021687_1335130749_8d26e06c3b63b5b1db004615e3374d6c_rle_crop_3657227746_0.png', 1335131127: '1738817754_3021821_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228300_0.png', 1335131207: '1738817792_3022856_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231382_0.png', 1335131980: '1738817893_3024192_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231382_0.png', 1335132090: '1738817912_3024484_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657234676_0.png', 1335132091: '1738817912_3024484_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228300_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/8029cd807121620fe0d3ab47b82697e6_29887948.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b8fdf840604b34b0df68c4c9008a16d3_57119054.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/8029cd807121620fe0d3ab47b82697e6_69272619.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/e79b2b1a24dbc24584dbeb4df37eb597_86740827.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/2c1fe81b793eebfa4a81f7c28a7af282_63043631.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/89e61c848840719d26b51b3221069dc6_52431396.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/89e61c848840719d26b51b3221069dc6_51677829.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a4d794ef1a8a96dc9aaa5c592f92cd97_79921470.png change filename to text .imagette202874331738818178/ imagette202874331738818178/1738817434_3012690_1335128485_935cf416afff84a8fe0a4ea8e0a5e67c_rle_crop_3657222079_0.png.png imagette202874331738818178/1738817912_3024484_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657234676_0.png.png imagette202874331738818178/1738817513_3013591_1335128485_935cf416afff84a8fe0a4ea8e0a5e67c_rle_crop_3657222079_0.png.png imagette202874331738818178/1738817893_3024192_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231382_0.png.png imagette202874331738818178/1738817452_3012870_1335128280_f3358b780d4d2686f2f0a6bd382f943b_rle_crop_3657222656_0.png.png imagette202874331738818178/1738817734_3021687_1335130749_8d26e06c3b63b5b1db004615e3374d6c_rle_crop_3657227746_0.png.png imagette202874331738818178/1738817912_3024484_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228300_0.png.png imagette202874331738818178/1738817754_3021821_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228300_0.png.png imagette202874331738818178/1738817792_3022856_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231382_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/2c1fe81b793eebfa4a81f7c28a7af282_85049948.png imagette202874331738818178 20287434 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287434 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335131020: '1738817734_3021687_1335130748_1fc855ce19705785603046cf7d755232_rle_crop_3657227778_0.png', 1335131141: '1738817754_3021821_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227989_0.png', 1335131227: '1738817792_3022856_1335130510_f26fce6ac9195ae0a2d6921430a91cdc_rle_crop_3657233754_0.png', 1335131301: '1738817834_3023386_1335130796_b9fd52b7d153920d08dc6891ff063251_rle_crop_3657233844_0.png', 1335131303: '1738817834_3023386_1335130795_1de4645f9e068ae49eddfa239d9e941b_rle_crop_3657233881_0.png', 1335131304: '1738817834_3023386_1335130794_f010b596b4a2ecdcbbc0fd557f9199a1_rle_crop_3657234134_0.png', 1335131374: '1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233904_0.png', 1335131375: '1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233897_0.png', 1335132150: '1738817893_3024192_1335130510_f26fce6ac9195ae0a2d6921430a91cdc_rle_crop_3657233754_0.png', 1335132188: '1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227989_0.png', 1335132271: '1738817955_3024914_1335131109_81bcdb7e82d25ef86649bc3424ffad61_rle_crop_3657234852_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ae59998a84f2d923a74ae45b2542c3fc_16635743.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/e35573e13740d5a4fa93e12114d5a4a5_60814852.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3c18fca1532ca3fa8ab631160ae8714c_83499080.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/384309ed9c5e520abd6f3e1f5dc3148a_55711877.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/53cb044d40d1e7969c25a996f8fe74ba_10588263.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/eb3f375e705bad8f3369a2f4d4ca319c_21263491.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/eb289a188c735aa12ba6ee387633d5dd_97896565.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/93dd8070aaa5a2ea21e009d1f46a4c03_53393275.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3c18fca1532ca3fa8ab631160ae8714c_52624860.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/e35573e13740d5a4fa93e12114d5a4a5_33261804.png change filename to text .imagette202874341738818179/ imagette202874341738818179/1738817754_3021821_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227989_0.png.png imagette202874341738818179/1738817955_3024914_1335131109_81bcdb7e82d25ef86649bc3424ffad61_rle_crop_3657234852_0.png.png imagette202874341738818179/1738817834_3023386_1335130796_b9fd52b7d153920d08dc6891ff063251_rle_crop_3657233844_0.png.png imagette202874341738818179/1738817734_3021687_1335130748_1fc855ce19705785603046cf7d755232_rle_crop_3657227778_0.png.png imagette202874341738818179/1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233904_0.png.png imagette202874341738818179/1738817834_3023386_1335130794_f010b596b4a2ecdcbbc0fd557f9199a1_rle_crop_3657234134_0.png.png imagette202874341738818179/1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227989_0.png.png imagette202874341738818179/1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233897_0.png.png imagette202874341738818179/1738817792_3022856_1335130510_f26fce6ac9195ae0a2d6921430a91cdc_rle_crop_3657233754_0.png.png imagette202874341738818179/1738817834_3023386_1335130795_1de4645f9e068ae49eddfa239d9e941b_rle_crop_3657233881_0.png.png imagette202874341738818179/1738817893_3024192_1335130510_f26fce6ac9195ae0a2d6921430a91cdc_rle_crop_3657233754_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b03dab9ccc93768f37bef8f2c4cd4012_54981992.png imagette202874341738818179 20287436 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287436 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335130613: '1738817452_3012870_1335127951_917ee7d2c0eb5ab10b730ffb8966a078_rle_crop_3657222730_0.png', 1335131019: '1738817734_3021687_1335130748_1fc855ce19705785603046cf7d755232_rle_crop_3657227782_0.png', 1335131106: '1738817772_3022097_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_rle_crop_3657228291_0.png', 1335131107: '1738817772_3022097_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_rle_crop_3657228296_0.png', 1335131140: '1738817754_3021821_1335129596_fe45e84e213aa8c86ed3eb339534fee8_rle_crop_3657229117_0.png', 1335131224: '1738817792_3022856_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231383_0.png', 1335131225: '1738817792_3022856_1335130568_6fd872df10989d989826dc561df538d5_rle_crop_3657231425_0.png', 1335131270: '1738817834_3023386_1335130794_f010b596b4a2ecdcbbc0fd557f9199a1_rle_crop_3657234133_0.png', 1335131352: '1738817853_3023630_1335130978_728067604c4b1233015a065610060410_rle_crop_3657233834_0.png', 1335131354: '1738817853_3023630_1335130855_b6dad8a91bf0cac51fb10529fe68a383_rle_crop_3657233862_0.png', 1335131915: '1738817935_3024692_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_bib_crop_3657228291_0.jpg', 1335131916: '1738817935_3024692_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_rle_crop_3657228296_0.png', 1335132126: '1738817893_3024192_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231383_0.png', 1335132128: '1738817893_3024192_1335130568_6fd872df10989d989826dc561df538d5_rle_crop_3657231425_0.png', 1335132185: '1738817912_3024484_1335129596_fe45e84e213aa8c86ed3eb339534fee8_rle_crop_3657229117_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/fb025beb2a2be9dcff2ac0616f3779e8_25566852.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/2336593294a6f5fbd823bf3364f50027_46170144.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b47078e2a80e81f2b5b4847489d6d4e3_55879570.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a2dad3190ef3a3805e97f2cda811ca67_23801296.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/0c9517e4f151e791ff4108c1a025a267_25051807.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/594816de33a89d153de30d65999a4208_22312655.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c4a81bfe5ec3503951baf6392743a5db_66506557.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/32ceb7f7542a8ff7cb3e0e671624d6be_30894560.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/2e47981fb956b7c1050bdf4e150f3aa7_60903511.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a9cb45f1e4b02b0d42c2b5228dcfc906_29288531.png change filename to text .wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ae1940dc31302e8ddfb988bed648bd42_92479518.jpg change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a2dad3190ef3a3805e97f2cda811ca67_10102435.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/594816de33a89d153de30d65999a4208_63007638.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c4a81bfe5ec3503951baf6392743a5db_74934171.png change filename to text .imagette202874361738818180/ imagette202874361738818180/1738817734_3021687_1335130748_1fc855ce19705785603046cf7d755232_rle_crop_3657227782_0.png.png imagette202874361738818180/1738817792_3022856_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231383_0.png.png imagette202874361738818180/1738817935_3024692_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_rle_crop_3657228296_0.png.png imagette202874361738818180/1738817935_3024692_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_bib_crop_3657228291_0.jpg.jpg imagette202874361738818180/1738817754_3021821_1335129596_fe45e84e213aa8c86ed3eb339534fee8_rle_crop_3657229117_0.png.png imagette202874361738818180/1738817853_3023630_1335130855_b6dad8a91bf0cac51fb10529fe68a383_rle_crop_3657233862_0.png.png imagette202874361738818180/1738817912_3024484_1335129596_fe45e84e213aa8c86ed3eb339534fee8_rle_crop_3657229117_0.png.png imagette202874361738818180/1738817772_3022097_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_rle_crop_3657228291_0.png.png imagette202874361738818180/1738817834_3023386_1335130794_f010b596b4a2ecdcbbc0fd557f9199a1_rle_crop_3657234133_0.png.png imagette202874361738818180/1738817772_3022097_1335130226_36207df3aa70a0d105a17fb4eb87bbf6_rle_crop_3657228296_0.png.png imagette202874361738818180/1738817792_3022856_1335130568_6fd872df10989d989826dc561df538d5_rle_crop_3657231425_0.png.png imagette202874361738818180/1738817853_3023630_1335130978_728067604c4b1233015a065610060410_rle_crop_3657233834_0.png.png imagette202874361738818180/1738817893_3024192_1335130568_6fd872df10989d989826dc561df538d5_rle_crop_3657231425_0.png.png imagette202874361738818180/1738817452_3012870_1335127951_917ee7d2c0eb5ab10b730ffb8966a078_rle_crop_3657222730_0.png.png imagette202874361738818180/1738817893_3024192_1335130629_cccb4677a681cfa2af16d124c7129c85_rle_crop_3657231383_0.png.png imagette202874381738818181/ wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/0c9517e4f151e791ff4108c1a025a267_71212858.png imagette202874361738818180 20287438 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287438 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette202874381738818181 20287440 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287440 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335130780: '1738817513_3013591_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222676_0.png', 1335132172: '1738817912_3024484_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228603_0.png', 1335132170: '1738817912_3024484_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228602_0.png', 1335132059: '1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231686_0.png', 1335132057: '1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231171_0.png', 1335131296: '1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234190_0.png', 1335131294: '1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234156_0.png', 1335131216: '1738817792_3022856_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231686_0.png', 1335131215: '1738817792_3022856_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231171_0.png', 1335131135: '1738817754_3021821_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228603_0.png', 1335131134: '1738817754_3021821_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228602_0.png', 1335130783: '1738817513_3013591_1335128121_57cfc5aedd8ed3f4aaf38003e1bfbc46_rle_crop_3657222756_0.png', 1335130782: '1738817513_3013591_1335128138_4a439862239fced2d4739d4b8619370d_rle_crop_3657222718_0.png', 1335129325: '1738817274_3005495_1335127955_0bc082f1fc5b07324dcf286062eb7a30_rle_crop_3657221148_0.png', 1335130779: '1738817513_3013591_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222677_0.png', 1335130778: '1738817513_3013591_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222679_0.png', 1335130777: '1738817513_3013591_1335128253_02be693dfcbbf86e295ce5a4a4facb73_rle_crop_3657222289_0.png', 1335130566: '1738817452_3012870_1335127951_917ee7d2c0eb5ab10b730ffb8966a078_rle_crop_3657221181_0.png', 1335130565: '1738817452_3012870_1335127955_0bc082f1fc5b07324dcf286062eb7a30_rle_crop_3657221148_0.png', 1335130545: '1738817434_3012690_1335128121_57cfc5aedd8ed3f4aaf38003e1bfbc46_rle_crop_3657222756_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/612a1598847cb0140e4d0af7726dc7ef_77092526.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/48d202ecd6f1df2cf87c67e00ff819fa_86313362.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/034c363dc336e95aaf11052036cbe9d4_99126985.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d41c835ab60db49253b16eb1ef3223b6_42324768.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/cfafecaaf23004d62ff482be0d63383c_43600938.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/585faef5ac7d3d696e8b070f00098b85_66877778.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/079b5440174badb44f7f23648b393935_84270903.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d41c835ab60db49253b16eb1ef3223b6_85042101.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7ac8389ab1e2d981d4a54ebab2f04c9e_45547265.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/48d202ecd6f1df2cf87c67e00ff819fa_79862603.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/034c363dc336e95aaf11052036cbe9d4_17706339.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ba3dd855df2e209924137a36cf7b1038_41432113.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/bd47b19a33481081936e555a422d6fe6_43080167.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a324671cfe2f79260cabce3c80e6e98a_17534072.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/97da878b0b9f78172b3641e1c5e5a76c_1537081.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/6b83a971ded52a36ebc968ba7acd0a34_15469900.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d66a6d1591317b0e7404d032042e4cf4_28465499.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/dd1c0cd74fb7d02dff03a729b14be696_48223126.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a324671cfe2f79260cabce3c80e6e98a_61596015.png change filename to text .imagette202874401738818181/ imagette202874401738818181/1738817513_3013591_1335128253_02be693dfcbbf86e295ce5a4a4facb73_rle_crop_3657222289_0.png.png imagette202874401738818181/1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234190_0.png.png imagette202874401738818181/1738817792_3022856_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231171_0.png.png imagette202874401738818181/1738817754_3021821_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228603_0.png.png imagette202874401738818181/1738817912_3024484_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228602_0.png.png imagette202874401738818181/1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234156_0.png.png imagette202874401738818181/1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231171_0.png.png imagette202874401738818181/1738817434_3012690_1335128121_57cfc5aedd8ed3f4aaf38003e1bfbc46_rle_crop_3657222756_0.png.png imagette202874401738818181/1738817452_3012870_1335127951_917ee7d2c0eb5ab10b730ffb8966a078_rle_crop_3657221181_0.png.png imagette202874401738818181/1738817912_3024484_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228603_0.png.png imagette202874401738818181/1738817513_3013591_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222676_0.png.png imagette202874401738818181/1738817452_3012870_1335127955_0bc082f1fc5b07324dcf286062eb7a30_rle_crop_3657221148_0.png.png imagette202874401738818181/1738817754_3021821_1335129648_d9b21c8de3789fd259c13f0c42fb2d16_rle_crop_3657228602_0.png.png imagette202874401738818181/1738817513_3013591_1335128138_4a439862239fced2d4739d4b8619370d_rle_crop_3657222718_0.png.png imagette202874401738818181/1738817792_3022856_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231686_0.png.png imagette202874401738818181/1738817274_3005495_1335127955_0bc082f1fc5b07324dcf286062eb7a30_rle_crop_3657221148_0.png.png imagette202874401738818181/1738817513_3013591_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222677_0.png.png imagette202874401738818181/1738817513_3013591_1335128121_57cfc5aedd8ed3f4aaf38003e1bfbc46_rle_crop_3657222756_0.png.png imagette202874401738818181/1738817513_3013591_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222679_0.png.png imagette202874401738818181/1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231686_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ba3dd855df2e209924137a36cf7b1038_3568187.png imagette202874401738818181 20287430 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287430 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335131246: '1738817834_3023386_1335130858_2a11a7a536eb576bcbc7ee0575d99da4_rle_crop_3657233784_0.png', 1335132263: '1738817955_3024914_1335131109_81bcdb7e82d25ef86649bc3424ffad61_rle_crop_3657234853_0.png', 1335132262: '1738817955_3024914_1335131112_8e08e6251c9875627a30e04767b7de2f_rle_crop_3657234835_0.png', 1335132062: '1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227995_0.png', 1335132061: '1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227997_0.png', 1335131977: '1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231672_0.png', 1335131976: '1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231177_0.png', 1335131269: '1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234193_0.png', 1335131267: '1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234163_0.png', 1335131266: '1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234159_0.png', 1335131264: '1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233902_0.png', 1335131263: '1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233911_0.png', 1335131259: '1738817853_3023630_1335130978_728067604c4b1233015a065610060410_rle_crop_3657233828_0.png', 1335131249: '1738817834_3023386_1335130796_b9fd52b7d153920d08dc6891ff063251_rle_crop_3657233850_0.png', 1335131247: '1738817834_3023386_1335130796_b9fd52b7d153920d08dc6891ff063251_rle_crop_3657233846_0.png', 1335129321: '1738817274_3005495_1335127955_0bc082f1fc5b07324dcf286062eb7a30_rle_crop_3657221160_0.png', 1335131206: '1738817792_3022856_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231672_0.png', 1335131205: '1738817792_3022856_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231177_0.png', 1335131126: '1738817754_3021821_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227995_0.png', 1335131125: '1738817754_3021821_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227997_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/e5646ea3ed153329e3d66b3f4e241175_97397562.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/23462aaffc990aa09ec182df6b1e78b3_65837190.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f51b2060f88fd374bb56acdf3093c448_82794784.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/83571915a7cbe6833bdbf3dfa988259e_23834079.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7b75625ce3d46089c3c1a47b6365753a_2505695.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f01a8ae1874dd4458f2e73d640d1720f_96625723.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3ab3ae9d7c7a3cb6f66b2a8a28f8ef77_68914949.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/fc3d217acca03bc566300d8501e65f4d_598166.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/75d8bc6f24385e9d29a012ec28e74986_69227962.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/1ed14e35600d2cf2e09d979869879295_89645697.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ba240de4a01ed3a997434ce708ac10a3_80640746.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/885ceaf6749ade1eed1b127c41f0311c_89952166.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/8088d8cc2b4fa34731af6ac1dc6e2cd9_96697099.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3acecd4d2d3caa8577e488aa1bfd8772_18569448.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/72eb8b5dfd1d157ac87149d708989421_15147247.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/10f087db440c329a2e21b265673bd135_7225189.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f01a8ae1874dd4458f2e73d640d1720f_4771456.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3ab3ae9d7c7a3cb6f66b2a8a28f8ef77_29056740.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/83571915a7cbe6833bdbf3dfa988259e_76693539.png change filename to text .imagette202874301738818182/ imagette202874301738818182/1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234159_0.png.png imagette202874301738818182/1738817834_3023386_1335130858_2a11a7a536eb576bcbc7ee0575d99da4_rle_crop_3657233784_0.png.png imagette202874301738818182/1738817853_3023630_1335130978_728067604c4b1233015a065610060410_rle_crop_3657233828_0.png.png imagette202874301738818182/1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233911_0.png.png imagette202874301738818182/1738817754_3021821_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227997_0.png.png imagette202874301738818182/1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234193_0.png.png imagette202874301738818182/1738817853_3023630_1335130852_3b6ad01bbc9794c29c32ad873c46b38c_rle_crop_3657233902_0.png.png imagette202874301738818182/1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227995_0.png.png imagette202874301738818182/1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234163_0.png.png imagette202874301738818182/1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227997_0.png.png imagette202874301738818182/1738817955_3024914_1335131112_8e08e6251c9875627a30e04767b7de2f_rle_crop_3657234835_0.png.png imagette202874301738818182/1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231177_0.png.png imagette202874301738818182/1738817792_3022856_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231177_0.png.png imagette202874301738818182/1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231672_0.png.png imagette202874301738818182/1738817274_3005495_1335127955_0bc082f1fc5b07324dcf286062eb7a30_rle_crop_3657221160_0.png.png imagette202874301738818182/1738817792_3022856_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231672_0.png.png imagette202874301738818182/1738817955_3024914_1335131109_81bcdb7e82d25ef86649bc3424ffad61_rle_crop_3657234853_0.png.png imagette202874301738818182/1738817834_3023386_1335130796_b9fd52b7d153920d08dc6891ff063251_rle_crop_3657233850_0.png.png imagette202874301738818182/1738817834_3023386_1335130796_b9fd52b7d153920d08dc6891ff063251_rle_crop_3657233846_0.png.png imagette202874301738818182/1738817754_3021821_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227995_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7b75625ce3d46089c3c1a47b6365753a_81430537.png imagette202874301738818182 20287437 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287437 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335131321: '1738817853_3023630_1335130855_b6dad8a91bf0cac51fb10529fe68a383_rle_crop_3657233864_0.png', 1335132270: '1738817955_3024914_1335131112_8e08e6251c9875627a30e04767b7de2f_rle_crop_3657234832_0.png', 1335132269: '1738817955_3024914_1335131116_c1def0193c060d03bf063fbf779656c7_rle_crop_3657234812_0.png', 1335132184: '1738817912_3024484_1335129647_272e11b2e566ecd67aa7674e944115d0_rle_crop_3657228821_0.png', 1335132183: '1738817912_3024484_1335129697_669d1964d4b31ef4404176b0cc3aa4d7_rle_crop_3657228279_0.png', 1335132182: '1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227999_0.png', 1335132085: '1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231688_0.png', 1335132084: '1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231668_0.png', 1335132082: '1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231669_0.png', 1335132081: '1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231172_0.png', 1335131330: '1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234188_0.png', 1335131328: '1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234189_0.png', 1335131327: '1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234160_0.png', 1335131325: '1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234161_0.png', 1335131324: '1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234154_0.png', 1335131322: '1738817853_3023630_1335130855_b6dad8a91bf0cac51fb10529fe68a383_rle_crop_3657233863_0.png', 1335129329: '1738817274_3005495_1335127951_917ee7d2c0eb5ab10b730ffb8966a078_rle_crop_3657221184_0.png', 1335131318: '1738817853_3023630_1335130978_728067604c4b1233015a065610060410_rle_crop_3657233829_0.png', 1335131262: '1738817834_3023386_1335130798_b934d7d1531361c550dd6c4fbe98d869_rle_crop_3657233805_0.png', 1335131258: '1738817834_3023386_1335130798_b934d7d1531361c550dd6c4fbe98d869_rle_crop_3657233804_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/204ccbf83be2a0381662c6cbea174b96_34673511.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f13974800fcc882abe836da6003870b5_27899642.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/af9f65d7fc9960ac01f867d8cb9a758d_60335459.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/605d9f03ac8b88758ddb502713700044_43514852.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b3bc9faa675a385f281b6ddc6439957a_63529319.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ad1bd680ee227d131c13e1ad0ad2fa09_56672351.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/779eae5ca715f718a74bee2e464d9ffa_65063537.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/ff9160bcaadb1d638968517bd410b427_11826225.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/378f5a9fd96a87c63f69e64108250212_49672700.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/18dff8d8bc2032516f4053b8633e1769_42826616.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/3a27916a919f9b3a13ad50c1056796f2_53971144.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/422a14d3f1c213fdba2e96fda0607b1b_81550321.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/b64b6d90a9b6eca566116b7cf0925461_83871920.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/fdcce194952b4be9a366de84df410ac6_92565686.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/de381c70f6f6a51a02ec6c155474bbd6_4470001.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/75e864063deb789811b185b4c7b8bd33_67475360.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/5c5df08278f34e41e0d55898521143b6_99059566.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/72b5b33661e13f809bfd880b738a5d02_23364612.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/6fb60974901d4627a3695f2e31102bce_10776043.png change filename to text .imagette202874371738818183/ imagette202874371738818183/1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231669_0.png.png imagette202874371738818183/1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234160_0.png.png imagette202874371738818183/1738817834_3023386_1335130798_b934d7d1531361c550dd6c4fbe98d869_rle_crop_3657233805_0.png.png imagette202874371738818183/1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231688_0.png.png imagette202874371738818183/1738817912_3024484_1335130270_9e960049c8c968703defeb342ee798eb_rle_crop_3657227999_0.png.png imagette202874371738818183/1738817955_3024914_1335131116_c1def0193c060d03bf063fbf779656c7_rle_crop_3657234812_0.png.png imagette202874371738818183/1738817853_3023630_1335130855_b6dad8a91bf0cac51fb10529fe68a383_rle_crop_3657233863_0.png.png imagette202874371738818183/1738817912_3024484_1335129647_272e11b2e566ecd67aa7674e944115d0_rle_crop_3657228821_0.png.png imagette202874371738818183/1738817955_3024914_1335131112_8e08e6251c9875627a30e04767b7de2f_rle_crop_3657234832_0.png.png imagette202874371738818183/1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231668_0.png.png imagette202874371738818183/1738817853_3023630_1335130978_728067604c4b1233015a065610060410_rle_crop_3657233829_0.png.png imagette202874371738818183/1738817274_3005495_1335127951_917ee7d2c0eb5ab10b730ffb8966a078_rle_crop_3657221184_0.png.png imagette202874371738818183/1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234189_0.png.png imagette202874371738818183/1738817912_3024484_1335129697_669d1964d4b31ef4404176b0cc3aa4d7_rle_crop_3657228279_0.png.png imagette202874371738818183/1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234161_0.png.png imagette202874371738818183/1738817853_3023630_1335130850_10aa99bfa05848e8e67cd891c27f9483_rle_crop_3657234154_0.png.png imagette202874371738818183/1738817853_3023630_1335130848_4263b8d47bde335b8ec012fb04e3a3ee_rle_crop_3657234188_0.png.png imagette202874371738818183/1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231172_0.png.png imagette202874371738818183/1738817853_3023630_1335130855_b6dad8a91bf0cac51fb10529fe68a383_rle_crop_3657233864_0.png.png imagette202874371738818183/1738817834_3023386_1335130798_b934d7d1531361c550dd6c4fbe98d869_rle_crop_3657233804_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d1afdd03aec7209efa21fbf8b62af4ec_87115502.png imagette202874371738818183 20287441 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287441 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335131251: '1738817834_3023386_1335130858_2a11a7a536eb576bcbc7ee0575d99da4_rle_crop_3657233770_0.png', 1335132264: '1738817955_3024914_1335131124_fbe30b837c5c9219077bf7509826c4e4_rle_crop_3657234798_0.png', 1335132138: '1738817912_3024484_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228307_0.png', 1335132136: '1738817912_3024484_1335129697_669d1964d4b31ef4404176b0cc3aa4d7_rle_crop_3657228276_0.png', 1335132033: '1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231692_0.png', 1335132031: '1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231695_0.png', 1335132030: '1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231667_0.png', 1335132029: '1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_bib_crop_3657231170_0.jpg', 1335132027: '1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657234448_0.png', 1335131255: '1738817834_3023386_1335130794_f010b596b4a2ecdcbbc0fd557f9199a1_rle_crop_3657234130_0.png', 1335131254: '1738817834_3023386_1335130795_1de4645f9e068ae49eddfa239d9e941b_rle_crop_3657233883_0.png', 1335131253: '1738817834_3023386_1335130797_31ed9e57435077210931e3ff8281ddac_rle_crop_3657233810_0.png', 1335131252: '1738817834_3023386_1335130858_2a11a7a536eb576bcbc7ee0575d99da4_rle_crop_3657233772_0.png', 1335130538: '1738817434_3012690_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222673_0.png', 1335131213: '1738817792_3022856_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231692_0.png', 1335131212: '1738817792_3022856_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231695_0.png', 1335131211: '1738817792_3022856_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231667_0.png', 1335131210: '1738817792_3022856_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231170_0.png', 1335131132: '1738817754_3021821_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228307_0.png', 1335131131: '1738817754_3021821_1335129697_669d1964d4b31ef4404176b0cc3aa4d7_rle_crop_3657228276_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/5c957732be83a939bf8986c27f6850f5_16468522.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/dda16947e4b886bdadf53fdf884f9c92_78854065.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/5ba79eb88a81328cbeaed84ceec8400a_96574922.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7fe1c6e2e8ae6c6cfdb334f5294d2dd9_39804435.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/54825bd74ee3a64244591719a2b3551a_87659924.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/1ac0332eca218f61ba52eb8002abf820_38369695.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c5615a272769c4590bbd6a21e4f230d8_89967385.png change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d336ad21fd16bffd501a3ddbb31bd291_84348531.jpg change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c5c379eb4f52bbba54a5aae11024054b_21642984.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7fc10c6c982cd091c0a9d8f0add9d814_55273649.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d93a1e420ed464f6bde5387bd86b8624_11383598.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/d79dde1a047c09d90a3c41acabe9bcfb_11704865.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/fb32e66e5f060722f4ce9e5051b73b46_43400132.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/4931294d9b2a9cd96d1ee156189c2095_51462344.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/54825bd74ee3a64244591719a2b3551a_28241655.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/1ac0332eca218f61ba52eb8002abf820_9516989.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/c5615a272769c4590bbd6a21e4f230d8_95876194.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/4513dbb62981816eca4efcd4a41c92c0_4413047.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/5ba79eb88a81328cbeaed84ceec8400a_48170385.png change filename to text .imagette202874411738818184/ imagette202874411738818184/1738817955_3024914_1335131124_fbe30b837c5c9219077bf7509826c4e4_rle_crop_3657234798_0.png.png imagette202874411738818184/1738817754_3021821_1335129697_669d1964d4b31ef4404176b0cc3aa4d7_rle_crop_3657228276_0.png.png imagette202874411738818184/1738817434_3012690_1335128214_66b545e59112c123b3134b05c348bbde_rle_crop_3657222673_0.png.png imagette202874411738818184/1738817754_3021821_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228307_0.png.png imagette202874411738818184/1738817792_3022856_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231692_0.png.png imagette202874411738818184/1738817792_3022856_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231695_0.png.png imagette202874411738818184/1738817912_3024484_1335129664_d31c7004484ff27251626e23fca22055_rle_crop_3657228307_0.png.png imagette202874411738818184/1738817834_3023386_1335130794_f010b596b4a2ecdcbbc0fd557f9199a1_rle_crop_3657234130_0.png.png imagette202874411738818184/1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231692_0.png.png imagette202874411738818184/1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_bib_crop_3657231170_0.jpg.jpg imagette202874411738818184/1738817834_3023386_1335130795_1de4645f9e068ae49eddfa239d9e941b_rle_crop_3657233883_0.png.png imagette202874411738818184/1738817792_3022856_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657231170_0.png.png imagette202874411738818184/1738817834_3023386_1335130858_2a11a7a536eb576bcbc7ee0575d99da4_rle_crop_3657233772_0.png.png imagette202874411738818184/1738817893_3024192_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231667_0.png.png imagette202874411738818184/1738817834_3023386_1335130797_31ed9e57435077210931e3ff8281ddac_rle_crop_3657233810_0.png.png imagette202874411738818184/1738817912_3024484_1335129697_669d1964d4b31ef4404176b0cc3aa4d7_rle_crop_3657228276_0.png.png imagette202874411738818184/1738817893_3024192_1335130537_a0928810a3729797011b72228181cb55_rle_crop_3657231695_0.png.png imagette202874411738818184/1738817893_3024192_1335130751_d33a976f09af731060b28c8a1096cb0d_rle_crop_3657234448_0.png.png imagette202874411738818184/1738817792_3022856_1335130555_1790d77f9911d850a860ea3d878b8757_rle_crop_3657231667_0.png.png imagette202874411738818184/1738817834_3023386_1335130858_2a11a7a536eb576bcbc7ee0575d99da4_rle_crop_3657233770_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/7fe1c6e2e8ae6c6cfdb334f5294d2dd9_18689856.png imagette202874411738818184 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20287423 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20287442,20287443,20287444,20287445,20287446,20287447,20287448,20287449,20287450,20287451,20287452,20287453?tags=Teint_Dans_La_Masse,flou,metal,autre_refus,kraft,papier,plastique,Carton_brun,mal_croppe,environnement,cartonnette,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1335132379] : ('0.05066019743638997',) no score found for photo 1335132379 apple ('0.05066019743638997',) We are sending mail with results at report@fotonower.com refus_total : 0.05066019743638997 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287423 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_P20287423_06-02-2025_06_02_58.pdf results_Auto_P20287423_06-02-2025_06_02_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20287423','results_Auto_P20287423_06-02-2025_06_02_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf','pdf','','0.31','0.05066019743638997') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20287423]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335132379] map_info['map_portfolio_photo'] : {20287423: [1335132379, 1335132226, 1335132206, 1335132202, 1335131130, 1335131124, 1335131116, 1335131112, 1335131109, 1335130978, 1335130976, 1335130974, 1335130858, 1335130855, 1335130852, 1335130850, 1335130848, 1335130800, 1335130798, 1335130797, 1335130796, 1335130795, 1335130794, 1335130751, 1335130750, 1335130749, 1335130748, 1335130696, 1335130629, 1335130568, 1335130555, 1335130537, 1335130510, 1335130270, 1335130233, 1335130226, 1335129772, 1335129697, 1335129664, 1335129648, 1335129647, 1335129596, 1335129239, 1335129174, 1335129097, 1335129036, 1335128972, 1335128900, 1335128485, 1335128466, 1335128464, 1335128280, 1335128253, 1335128214, 1335128138, 1335128121, 1335127955, 1335127951, 1335127947]} final : False mtd_id 4302 list_pids : [1335132379] 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, '2558120') ('4302', '20287423', '1335132379', None, None, None, None, None, '2558120') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '20287423', '1335132379', None, None, None, None, None, '2558120')] time used for this insertion : 0.011857271194458008 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.214424133300781 time spend to save output : 0.012058496475219727 total time spend for step 4 : 13.226482629776001 step5:split_time_score Thu Feb 6 06:03:11 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 : ['20287423'] 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 : [('20287423',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20287423) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1335132379: {'path': 'temp/1738818178_2313828_1335132379_2f0d547ab0ef965652d2d5d6644bd366.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 = 20287423; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20287423 group by h (('05', 59),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20287423 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 (20287423) 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 (20287423) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06022025 20287423 Nombre de photos uploadées : 59 / 23040 (0%) 06022025 20287423 Nombre de photos taguées (types de déchets): 0 / 59 (0%) 06022025 20287423 Nombre de photos taguées (volume) : 0 / 59 (0%) [{'photo_id': 1335127955, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/0bc082f1fc5b07324dcf286062eb7a30.jpg', 'username': None, 'uploaded_at': 1738817167, 'text': 'image_06022025_05_45_13_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335127951, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/917ee7d2c0eb5ab10b730ffb8966a078.jpg', 'username': None, 'uploaded_at': 1738817167, 'text': 'image_06022025_05_45_24_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335127947, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/e60147add2028f056032bd9502073e85.jpg', 'username': None, 'uploaded_at': 1738817167, 'text': 'image_06022025_05_45_34_010142m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1335128280, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/f3358b780d4d2686f2f0a6bd382f943b.jpg', 'username': None, 'uploaded_at': 1738817227, 'text': 'image_06022025_05_45_44_010148m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0027387142181396484 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20287423, '2025-02-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1581747,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.030308246612548828 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= 1581747 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1581747, 'dashboard_run_id': 1589834, 'mtr_portfolio_id': 20286533, 'dashboard_result_id': 8731013, '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_P20286533_06-02-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1589834, 'mtr_portfolio_id': 20286862, 'dashboard_result_id': 8731014, '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_P20286862_06-02-2025_05_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1589834, 'mtr_portfolio_id': 20287423, 'dashboard_result_id': 8731015, '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_P20287423_06-02-2025_06_00_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, '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 = 20286533 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': 2558063, 'mtr_portfolio_id': 20286533, 'created_at': datetime.datetime(2025, 2, 6, 5, 35, 29), 'result': '0.046791189441601384', 'result_long': None, 'result_double': None}] Qualite : 0.046791189441601384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_06-02-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286533 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_P20286533_06-02-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}" where mtr_portfolio_id = 20286533 and dashboard_run_id = 1589834 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`=20286533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8731013, 0.046791189441601384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_06-02-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20286862 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': 2558064, 'mtr_portfolio_id': 20286862, 'created_at': datetime.datetime(2025, 2, 6, 5, 47), 'result': '0.03997582434087976', 'result_long': None, 'result_double': None}] Qualite : 0.03997582434087976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286862 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_06-02-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286862 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_P20286862_06-02-2025_05_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}" where mtr_portfolio_id = 20286862 and dashboard_run_id = 1589834 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`=20286862 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8731014, 0.03997582434087976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_06-02-2025_05_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20287423 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': 2558120, 'mtr_portfolio_id': 20287423, 'created_at': datetime.datetime(2025, 2, 6, 6, 2, 57), 'result': '0.05066019743638997', 'result_long': None, 'result_double': None}] Qualite : 0.05066019743638997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20287423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20287423 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_P20287423_06-02-2025_06_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, 'pht': 3726}}" where mtr_portfolio_id = 20287423 and dashboard_run_id = 1589834 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`=20287423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8731015, 0.05066019743638997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, '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 (20286533,20286862,20287423) result : ((1335122526,), (1335122790,), (1335122793,), (1335122796,), (1335122851,), (1335122862,), (1335122965,), (1335122970,), (1335122972,), (1335122974,), (1335122977,), (1335122994,), (1335123001,), (1335123106,), (1335123130,), (1335123150,), (1335123151,), (1335123154,), (1335123157,), (1335123171,), (1335123173,), (1335123175,), (1335123191,), (1335123194,), (1335123197,), (1335123331,), (1335123360,), (1335123363,), (1335123364,), (1335123603,), (1335123605,), (1335123607,), (1335123609,), (1335123692,), (1335123695,), (1335123697,), (1335123699,), (1335123719,), (1335123723,), (1335123755,), (1335123821,), (1335123828,), (1335123830,), (1335123857,), (1335123861,), (1335123868,), (1335123872,), (1335123874,), (1335123877,), (1335123911,), (1335123917,), (1335123919,), (1335123921,), (1335123939,), (1335123941,), (1335123943,), (1335123945,), (1335123949,), (1335123951,), (1335123963,), (1335123965,), (1335123967,), (1335123981,), (1335123996,), (1335123999,), (1335124124,), (1335124126,), (1335124128,), (1335124130,), (1335124226,), (1335124206,), (1335124208,), (1335124210,), (1335124213,), (1335124215,), (1335124273,), (1335124280,), (1335124287,), (1335124290,), (1335124453,), (1335124455,), (1335124456,), (1335124457,), (1335124463,), (1335124465,), (1335124768,), (1335124769,), (1335124774,), (1335124792,), (1335124806,), (1335124808,), (1335125183,), (1335125188,), (1335125300,), (1335125306,), (1335125318,), (1335125333,), (1335125335,), (1335125385,), (1335125386,), (1335125387,), (1335125392,), (1335125396,), (1335125479,), (1335125480,), (1335125481,), (1335125482,), (1335125483,), (1335125501,), (1335125574,), (1335125575,), (1335125576,), (1335125577,), (1335125579,), (1335125738,), (1335125787,), (1335125829,), (1335125830,), (1335125930,), (1335126182,), (1335126184,), (1335126185,), (1335126186,), (1335126188,), (1335126564,), (1335126595,), (1335126651,), (1335127316,), (1335127318,), (1335127323,), (1335127332,), (1335127339,), (1335127369,), (1335127370,), (1335127371,), (1335127380,), (1335127447,), (1335127490,), (1335127802,), (1335127803,), (1335127811,), (1335127822,), (1335127957,), (1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06022025': {'nb_upload': 59, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20287423]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335132379] map_info['map_portfolio_photo'] : {20287423: [1335132379, 1335132226, 1335132206, 1335132202, 1335131130, 1335131124, 1335131116, 1335131112, 1335131109, 1335130978, 1335130976, 1335130974, 1335130858, 1335130855, 1335130852, 1335130850, 1335130848, 1335130800, 1335130798, 1335130797, 1335130796, 1335130795, 1335130794, 1335130751, 1335130750, 1335130749, 1335130748, 1335130696, 1335130629, 1335130568, 1335130555, 1335130537, 1335130510, 1335130270, 1335130233, 1335130226, 1335129772, 1335129697, 1335129664, 1335129648, 1335129647, 1335129596, 1335129239, 1335129174, 1335129097, 1335129036, 1335128972, 1335128900, 1335128485, 1335128466, 1335128464, 1335128280, 1335128253, 1335128214, 1335128138, 1335128121, 1335127955, 1335127951, 1335127947]} final : True mtd_id 4302 list_pids : [1335132379] Looping around the photos to save general results len do output : 1 /20287423Didn'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, '2558120') ('4302', '20287423', '1335132379', None, None, None, None, None, '2558120') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '20287423', 'None', None, None, None, None, '2558120'), ('4302', '20287423', '1335132379', None, None, None, None, None, '2558120')] time used for this insertion : 0.012304306030273438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.30141425132751465 time spend to save output : 0.012468576431274414 total time spend for step 5 : 0.31388282775878906 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 (2558120) 2.36user 2.76system 0:16.35elapsed 31%CPU (0avgtext+0avgdata 155096maxresident)k 78672inputs+17992outputs (316major+73994minor)pagefaults 0swaps