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 : 2999090 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 (2668514) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2668514) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417582 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2668514'] with mtr_portfolio_ids : ['21417582'] and first list_photo_ids : [] new path : /proc/2999090/ Name: python3 Umask: 0002 State: R (running) Tgid: 2999090 Ngid: 0 Pid: 2999090 PPid: 2999089 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2999090 NSpid: 2999090 NSpgid: 2996808 NSsid: 2996808 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99340 kB VmRSS: 99340 kB RssAnon: 59792 kB RssFile: 39548 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 604 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: 53 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2999090', 'Ngid': '0', 'Pid': '2999090', 'PPid': '2999089', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2999090', 'NSpid': '2999090', 'NSpgid': '2996808', 'NSsid': '2996808', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99340 kB', 'VmRSS': '99340 kB', 'RssAnon': '59792 kB', 'RssFile': '39548 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '604 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': '53', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '2999090', '1106844', '0', '1106844', '865596', '99340', b'', 'marlene', '2668514') 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 (21417582) 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 (2668514 ) ) 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 (21417582) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1344102467, 'portfolio_id': 21417582}, {'photo_id': 1344102451, 'portfolio_id': 21417582}, {'photo_id': 1344102357, 'portfolio_id': 21417582}, {'photo_id': 1344102322, 'portfolio_id': 21417582}, {'photo_id': 1344102318, 'portfolio_id': 21417582}, {'photo_id': 1344102284, 'portfolio_id': 21417582}, {'photo_id': 1344102244, 'portfolio_id': 21417582}, {'photo_id': 1344102166, 'portfolio_id': 21417582}, {'photo_id': 1344102161, 'portfolio_id': 21417582}, {'photo_id': 1344102150, 'portfolio_id': 21417582}, {'photo_id': 1344102149, 'portfolio_id': 21417582}, {'photo_id': 1344102146, 'portfolio_id': 21417582}, {'photo_id': 1344102142, 'portfolio_id': 21417582}, {'photo_id': 1344102132, 'portfolio_id': 21417582}, {'photo_id': 1344102125, 'portfolio_id': 21417582}, {'photo_id': 1344102120, 'portfolio_id': 21417582}, {'photo_id': 1344102114, 'portfolio_id': 21417582}, {'photo_id': 1344102108, 'portfolio_id': 21417582}, {'photo_id': 1344102103, 'portfolio_id': 21417582}, {'photo_id': 1344102063, 'portfolio_id': 21417582}, {'photo_id': 1344102056, 'portfolio_id': 21417582}, {'photo_id': 1344102045, 'portfolio_id': 21417582}, {'photo_id': 1344102030, 'portfolio_id': 21417582}, {'photo_id': 1344102010, 'portfolio_id': 21417582}, {'photo_id': 1344101994, 'portfolio_id': 21417582}, {'photo_id': 1344101979, 'portfolio_id': 21417582}, {'photo_id': 1344101956, 'portfolio_id': 21417582}, {'photo_id': 1344101942, 'portfolio_id': 21417582}, {'photo_id': 1344101930, 'portfolio_id': 21417582}, {'photo_id': 1344101859, 'portfolio_id': 21417582}, {'photo_id': 1344101855, 'portfolio_id': 21417582}, {'photo_id': 1344101851, 'portfolio_id': 21417582}, {'photo_id': 1344101841, 'portfolio_id': 21417582}, {'photo_id': 1344101836, 'portfolio_id': 21417582}, {'photo_id': 1344101811, 'portfolio_id': 21417582}, {'photo_id': 1344101742, 'portfolio_id': 21417582}, {'photo_id': 1344101736, 'portfolio_id': 21417582}, {'photo_id': 1344101664, 'portfolio_id': 21417582}, {'photo_id': 1344101660, 'portfolio_id': 21417582}, {'photo_id': 1344101659, 'portfolio_id': 21417582}, {'photo_id': 1344101657, 'portfolio_id': 21417582}] map_portfolio_id_photo_id: {21417582: [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244, 1344102166, 1344102161, 1344102150, 1344102149, 1344102146, 1344102142, 1344102132, 1344102125, 1344102120, 1344102114, 1344102108, 1344102103, 1344102063, 1344102056, 1344102045, 1344102030, 1344102010, 1344101994, 1344101979, 1344101956, 1344101942, 1344101930, 1344101859, 1344101855, 1344101851, 1344101841, 1344101836, 1344101811, 1344101742, 1344101736, 1344101664, 1344101660, 1344101659, 1344101657]} ##### 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.016338825225830078 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Mar 14 09:57:03 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 (21417582) 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 : 21417582 get user id for portfolio 21417582 get sub ptf for main ptf 21417582, type 3726 and hashtags ['papier', 'kraft', 'flou', 'plastique', 'environnement', 'metal', 'cartonnette', 'Teint_Dans_La_Masse', 'Carton_gris', 'mal_croppe', 'autre_refus', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21417582 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','flou','plastique','environnement','metal','cartonnette','Teint_Dans_La_Masse','Carton_gris','mal_croppe','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21417582 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','flou','plastique','environnement','metal','cartonnette','Teint_Dans_La_Masse','Carton_gris','mal_croppe','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21417582, 'sub_port_id': 21417610, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989748, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'flou': {'main_port_id': 21417582, 'sub_port_id': 21417611, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989749, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'environnement': {'main_port_id': 21417582, 'sub_port_id': 21417612, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989750, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'papier': {'main_port_id': 21417582, 'sub_port_id': 21417613, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989751, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'mal_croppe': {'main_port_id': 21417582, 'sub_port_id': 21417614, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989752, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'Carton_gris': {'main_port_id': 21417582, 'sub_port_id': 21417615, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989753, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'metal': {'main_port_id': 21417582, 'sub_port_id': 21417616, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989754, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'kraft': {'main_port_id': 21417582, 'sub_port_id': 21417617, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989755, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'cartonnette': {'main_port_id': 21417582, 'sub_port_id': 21417618, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989756, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'Carton_brun': {'main_port_id': 21417582, 'sub_port_id': 21417619, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989757, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'plastique': {'main_port_id': 21417582, 'sub_port_id': 21417620, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989758, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21417582, 'sub_port_id': 21417621, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989759, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 51, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417610 , 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=21417582 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 (21417610) result : ((1344101794,), (1344101795,), (1344101796,), (1344102156,), (1344102157,), (1344102170,), (1344102360,), (1344102361,), (1344102363,), (1344102364,), (1344102365,), (1344102409,), (1344102410,), (1344102411,), (1344102412,), (1344102413,), (1344102414,), (1344102460,), (1344102492,), (1344102495,), (1344102496,), (1344102497,), (1344102498,), (1344102547,), (1344102549,), (1344102550,), (1344102551,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417611 , 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=21417582 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 (21417611) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417612 , 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=21417582 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 (21417612) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417613 , 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=21417582 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 (21417613) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417614 , 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=21417582 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 (21417614) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417615 , 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=21417582 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 (21417615) result : ((1344101797,), (1344102415,), (1344102416,), (1344102417,), (1344102418,), (1344102419,), (1344102420,), (1344102470,), (1344102499,), (1344102500,), (1344102502,), (1344102504,), (1344102552,), (1344102553,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417616 , 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=21417582 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 (21417616) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417617 , 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=21417582 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 (21417617) result : ((1344102475,), (1344102476,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417618 , 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=21417582 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 (21417618) result : ((1344102366,), (1344102424,), (1344102426,), (1344102428,), (1344102430,), (1344102432,), (1344102505,), (1344102556,), (1344102557,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417619 , 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=21417582 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 (21417619) result : ((1344101798,), (1344101799,), (1344101800,), (1344101801,), (1344102159,), (1344102160,), (1344102367,), (1344102368,), (1344102369,), (1344102452,), (1344102453,), (1344102454,), (1344102455,), (1344102456,), (1344102478,), (1344102508,), (1344102558,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417620 , 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=21417582 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 (21417620) result : ((1344102362,), (1344102468,), (1344102469,), (1344102482,), (1344102484,), (1344102519,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21417621 , 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=21417582 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 (21417621) result : ((1344101788,), (1344101789,), (1344101790,), (1344102151,), (1344102359,), (1344102545,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21417582) result : ((1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21417582 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','flou','plastique','environnement','metal','cartonnette','Teint_Dans_La_Masse','Carton_gris','mal_croppe','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21417582 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','flou','plastique','environnement','metal','cartonnette','Teint_Dans_La_Masse','Carton_gris','mal_croppe','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21417582, 'sub_port_id': 21417623, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989760, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'flou': {'main_port_id': 21417582, 'sub_port_id': 21417624, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989761, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'environnement': {'main_port_id': 21417582, 'sub_port_id': 21417625, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989762, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'papier': {'main_port_id': 21417582, 'sub_port_id': 21417626, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989763, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'mal_croppe': {'main_port_id': 21417582, 'sub_port_id': 21417627, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989764, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'Carton_gris': {'main_port_id': 21417582, 'sub_port_id': 21417628, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989765, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'metal': {'main_port_id': 21417582, 'sub_port_id': 21417629, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989766, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'kraft': {'main_port_id': 21417582, 'sub_port_id': 21417630, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989767, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'cartonnette': {'main_port_id': 21417582, 'sub_port_id': 21417631, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989768, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'Carton_brun': {'main_port_id': 21417582, 'sub_port_id': 21417632, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989769, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'plastique': {'main_port_id': 21417582, 'sub_port_id': 21417633, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989770, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 52, 5), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 21417582, 'sub_port_id': 21417634, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13989771, 'last_updated_at': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 9, 54, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 9, 52, 5)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417623,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417610 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417624,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417611 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417625,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417612 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417626,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417613 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417627,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417614 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417628,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417615 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417629,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417616 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417630,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417617 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417631,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417618 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417632,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417619 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417633,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417620 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21417634,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21417621 lien utilise dans velours : https://www.fotonower.com/velours/21417623,21417624,21417625,21417626,21417627,21417628,21417629,21417630,21417631,21417632,21417633,21417634?tags=autre_refus,flou,environnement,papier,mal_croppe,Carton_gris,metal,kraft,cartonnette,Carton_brun,plastique,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21417582]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] map_info['map_portfolio_photo'] : {21417582: [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244, 1344102166, 1344102161, 1344102150, 1344102149, 1344102146, 1344102142, 1344102132, 1344102125, 1344102120, 1344102114, 1344102108, 1344102103, 1344102063, 1344102056, 1344102045, 1344102030, 1344102010, 1344101994, 1344101979, 1344101956, 1344101942, 1344101930, 1344101859, 1344101855, 1344101851, 1344101841, 1344101836, 1344101811, 1344101742, 1344101736, 1344101664, 1344101660, 1344101659, 1344101657]} final : False mtd_id 4302 list_pids : [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] Looping around the photos to save general results len do output : 1 /21417582. 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, '2668514') ('4302', '21417582', '1344102467', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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, '21417582', "{'autre_refus': 21417610, 'flou': 21417611, 'environnement': 21417612, 'papier': 21417613, 'mal_croppe': 21417614, 'Carton_gris': 21417615, 'metal': 21417616, 'kraft': 21417617, 'cartonnette': 21417618, 'Carton_brun': 21417619, 'plastique': 21417620, 'Teint_Dans_La_Masse': 21417621}", None, None, None, None, '2668514'), ('4302', '21417582', '1344102467', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514')] time used for this insertion : 1.7159011363983154 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.550193548202515 time spend to save output : 1.716170310974121 total time spend for step 1 : 7.266363859176636 step2:final Fri Mar 14 09:57:10 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 (21417582) 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 21417582 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1344101664,1344101660,1344101659,1344101657,1344101742,1344101736,1344101859,1344101855,1344101851,1344101841,1344101836,1344101811,1344101979,1344102166,1344101956,1344102161,1344101942,1344102150,1344101930,1344102132,1344102063,1344102056,1344102045,1344102030,1344102010,1344101994,1344102125,1344102120,1344102114,1344102108,1344102103,1344102149,1344102146,1344102142,1344102322,1344102318,1344102284,1344102244,1344102357,1344102467,1344102451,1344102554,1344102546); 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([21417582]) Inside saveOutput : final : False verbose : True original output for save of step final : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} new output for save of step final : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] map_info['map_portfolio_photo'] : {21417582: [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244, 1344102166, 1344102161, 1344102150, 1344102149, 1344102146, 1344102142, 1344102132, 1344102125, 1344102120, 1344102114, 1344102108, 1344102103, 1344102063, 1344102056, 1344102045, 1344102030, 1344102010, 1344101994, 1344101979, 1344101956, 1344101942, 1344101930, 1344101859, 1344101855, 1344101851, 1344101841, 1344101836, 1344101811, 1344101742, 1344101736, 1344101664, 1344101660, 1344101659, 1344101657]} final : False mtd_id 4302 list_pids : [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] Looping around the photos to save general results len do output : 7 /1344102467.Didn't retrieve data . /1344102451.Didn't retrieve data . /1344102357.Didn't retrieve data . /1344102322.Didn't retrieve data . /1344102318.Didn't retrieve data . /1344102284.Didn't retrieve data . /1344102244.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, '2668514') ('4302', '21417582', '1344102467', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21417582', '1344102467', '0.06759799705623319', None, None, None, None, '2668514'), ('4302', '21417582', '1344102451', '0.06759799705623319', None, None, None, None, '2668514'), ('4302', '21417582', '1344102357', '0.06759799705623319', None, None, None, None, '2668514'), ('4302', '21417582', '1344102322', '0.06759799705623319', None, None, None, None, '2668514'), ('4302', '21417582', '1344102318', '0.06759799705623319', None, None, None, None, '2668514'), ('4302', '21417582', '1344102284', '0.06759799705623319', None, None, None, None, '2668514'), ('4302', '21417582', '1344102244', '0.06759799705623319', None, None, None, None, '2668514')] time used for this insertion : 0.014093399047851562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07079148292541504 time spend to save output : 0.014535665512084961 total time spend for step 2 : 0.0853271484375 step3:velours_tree Fri Mar 14 09:57:10 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 : {21417582: [{'autre_refus': 21417610, 'flou': 21417611, 'environnement': 21417612, 'papier': 21417613, 'mal_croppe': 21417614, 'Carton_gris': 21417615, 'metal': 21417616, 'kraft': 21417617, 'cartonnette': 21417618, 'Carton_brun': 21417619, 'plastique': 21417620, 'Teint_Dans_La_Masse': 21417621}]} input_args_next_step : {21417582: ()} output_args : {21417582: [{'autre_refus': 21417610, 'flou': 21417611, 'environnement': 21417612, 'papier': 21417613, 'mal_croppe': 21417614, 'Carton_gris': 21417615, 'metal': 21417616, 'kraft': 21417617, 'cartonnette': 21417618, 'Carton_brun': 21417619, 'plastique': 21417620, 'Teint_Dans_La_Masse': 21417621}]} args : 21417582 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 : ({'autre_refus': 21417610, 'flou': 21417611, 'environnement': 21417612, 'papier': 21417613, 'mal_croppe': 21417614, 'Carton_gris': 21417615, 'metal': 21417616, 'kraft': 21417617, 'cartonnette': 21417618, 'Carton_brun': 21417619, 'plastique': 21417620, 'Teint_Dans_La_Masse': 21417621},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21417582) 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([21417582]) 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.36478447914123535 time spend to save output : 7.534027099609375e-05 total time spend for step 3 : 0.36485981941223145 step4:send_mail_cod Fri Mar 14 09:57: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 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 : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} input_args_next_step : {1344102467: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102467 depend.output_id : 0 input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102451 depend.output_id : 0 input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102357 depend.output_id : 0 input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102322 depend.output_id : 0 input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102318 depend.output_id : 0 input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102284 depend.output_id : 0 input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ()} output_args : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',)} args : 1344102244 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {21417582: [{'autre_refus': 21417610, 'flou': 21417611, 'environnement': 21417612, 'papier': 21417613, 'mal_croppe': 21417614, 'Carton_gris': 21417615, 'metal': 21417616, 'kraft': 21417617, 'cartonnette': 21417618, 'Carton_brun': 21417619, 'plastique': 21417620, 'Teint_Dans_La_Masse': 21417621}]} input_args_next_step : {1344102467: ('0.06759799705623319',), 1344102451: ('0.06759799705623319',), 1344102357: ('0.06759799705623319',), 1344102322: ('0.06759799705623319',), 1344102318: ('0.06759799705623319',), 1344102284: ('0.06759799705623319',), 1344102244: ('0.06759799705623319',), 21417582: ()} output_args : {21417582: [{'autre_refus': 21417610, 'flou': 21417611, 'environnement': 21417612, 'papier': 21417613, 'mal_croppe': 21417614, 'Carton_gris': 21417615, 'metal': 21417616, 'kraft': 21417617, 'cartonnette': 21417618, 'Carton_brun': 21417619, 'plastique': 21417620, 'Teint_Dans_La_Masse': 21417621}]} args : 21417582 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 :8, first value : ('0.06759799705623319',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21417582) 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 (1344102467,1344102451,1344102357,1344102322,1344102318,1344102284,1344102244) Found this number of photos: 7 ##### Call download_photos : nb_thread : 5 begin to download photo : 1344102244 begin to download photo : 1344102318 begin to download photo : 1344102357 begin to download photo : 1344102467 download finish for photo 1344102357 begin to download photo : 1344102451 download finish for photo 1344102467 download finish for photo 1344102318 begin to download photo : 1344102322 download finish for photo 1344102244 begin to download photo : 1344102284 download finish for photo 1344102451 download finish for photo 1344102284 download finish for photo 1344102322 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 results_Auto_P21417582_14-03-2025_09_57_11.pdf 21417610 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=21417610 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344102411: '1741942471_321465_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6_rle_crop_3711684902_0.png', 1344102551: '1741942550_322242_1344102244_913e16247badc34efb74e874ca87a74e_rle_crop_3711696514_0.png', 1344102550: '1741942550_322242_1344102284_082d328c87a7222340e05f289215ac9c_rle_crop_3711696494_0.png', 1344102549: '1741942550_322242_1344102318_7b7e95ca4c5adf061c1b93b50d7f5fe1_rle_crop_3711696483_0.png', 1344102547: '1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696475_0.png', 1344102498: '1741942345_1184021_1344101811_1526b3cde1b65a5f2209c9ccce55a076_rle_crop_3711687295_0.png', 1344102497: '1741942345_1184021_1344101836_22341d3a1173783f531a9de6ec82df3a_rle_crop_3711687281_0.png', 1344102496: '1741942345_1184021_1344101841_9ef2ba19624b9787a961d9c558561c6e_rle_crop_3711687264_0.png', 1344102495: '1741942345_1184021_1344101851_16b7c3ef279755284dc99b95e0202b07_rle_crop_3711687250_0.png', 1344102492: '1741942345_1184021_1344101979_d6ab9ca57a0203d808dd098020fa0de6_rle_crop_3711686711_0.png', 1344102460: '1741942491_321639_1344102166_332a07c6da5e56514cdb31851eb21f9b_rle_crop_3711686549_0.png', 1344102414: '1741942471_321465_1344101994_aa8b0e92821b77519227bbe4fcfc9de8_rle_crop_3711686532_0.png', 1344102413: '1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685925_0.png', 1344102412: '1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685917_0.png', 1344101794: '1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682008_0.png', 1344102410: '1741942471_321465_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6_rle_crop_3711684903_0.png', 1344102409: '1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684892_0.png', 1344102365: '1741942465_1184829_1344102103_cf8670fb6e671dc03f6188e8c8877058_rle_crop_3711684389_0.png', 1344102364: '1741942465_1184829_1344102108_14735b906403492f13884161d9fde434_rle_crop_3711684380_0.png', 1344102363: '1741942465_1184829_1344102114_0e48a54ced7e9878c1e301d635e01fab_rle_crop_3711684367_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/872fa948c198bfdc69b1248038408b3b_80016308.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/00e7bc686bd2b0be9cbc4d9c22a0c771_37734623.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/56b591028d4c0adaceb5a06bf79472d6_18903936.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5e3da3f31821ebb038529fb5a5f32332_55792813.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/9ee6ad7bb0fc750effa4cd3ae168f6b8_6315715.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/39b11d4f992f1d0ad79fa738b883b61a_74384419.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0dfd43446f65ba0faf16dbbb3544621f_28122878.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5a2afbc9beb5b6db7ca4211f58790633_38630223.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f6eac16513d891dd0979c96298e18bce_73898558.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3ea2e24c67525351246675fccda70b86_92666218.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3ea2e24c67525351246675fccda70b86_74505415.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3df20c8fa30df621b29dadd8f3cd6b72_1081298.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/9f0d687417238301d0d02bfbb5cdfcf8_75748938.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/43a00ad1a30b9dcc7fbe9dd033861e0f_27124429.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e0ac3088708ff819e3f418273d31dd38_15083286.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/792d6f395a08277e7c5007242490d478_50254701.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/deb458f339dc53b2504c9fac59a2c18f_1780195.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/63091aadb08cc927b9b51f5f17e53a48_22496071.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f365571eb243182c3ee0804f982a7575_28059109.png change filename to text .imagette214176101741942631/ imagette214176101741942631/1741942491_321639_1344102166_332a07c6da5e56514cdb31851eb21f9b_rle_crop_3711686549_0.png.png imagette214176101741942631/1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685917_0.png.png imagette214176101741942631/1741942550_322242_1344102284_082d328c87a7222340e05f289215ac9c_rle_crop_3711696494_0.png.png imagette214176101741942631/1741942471_321465_1344101994_aa8b0e92821b77519227bbe4fcfc9de8_rle_crop_3711686532_0.png.png imagette214176101741942631/1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684892_0.png.png imagette214176101741942631/1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685925_0.png.png imagette214176101741942631/1741942345_1184021_1344101811_1526b3cde1b65a5f2209c9ccce55a076_rle_crop_3711687295_0.png.png imagette214176101741942631/1741942465_1184829_1344102103_cf8670fb6e671dc03f6188e8c8877058_rle_crop_3711684389_0.png.png imagette214176101741942631/1741942345_1184021_1344101836_22341d3a1173783f531a9de6ec82df3a_rle_crop_3711687281_0.png.png imagette214176101741942631/1741942465_1184829_1344102114_0e48a54ced7e9878c1e301d635e01fab_rle_crop_3711684367_0.png.png imagette214176101741942631/1741942345_1184021_1344101851_16b7c3ef279755284dc99b95e0202b07_rle_crop_3711687250_0.png.png imagette214176101741942631/1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696475_0.png.png imagette214176101741942631/1741942550_322242_1344102318_7b7e95ca4c5adf061c1b93b50d7f5fe1_rle_crop_3711696483_0.png.png imagette214176101741942631/1741942465_1184829_1344102108_14735b906403492f13884161d9fde434_rle_crop_3711684380_0.png.png imagette214176101741942631/1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682008_0.png.png imagette214176101741942631/1741942345_1184021_1344101979_d6ab9ca57a0203d808dd098020fa0de6_rle_crop_3711686711_0.png.png imagette214176101741942631/1741942550_322242_1344102244_913e16247badc34efb74e874ca87a74e_rle_crop_3711696514_0.png.png imagette214176101741942631/1741942471_321465_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6_rle_crop_3711684903_0.png.png imagette214176101741942631/1741942471_321465_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6_rle_crop_3711684902_0.png.png imagette214176101741942631/1741942345_1184021_1344101841_9ef2ba19624b9787a961d9c558561c6e_rle_crop_3711687264_0.png.png imagette214176111741942632/ imagette214176141741942632/ imagette214176161741942632/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/4cfe8e4764de0b252e2fb431fb4b3786_62752517.png imagette214176101741942631 21417611 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=21417611 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214176111741942632 21417614 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=21417614 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214176141741942632 21417616 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=21417616 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214176161741942632 21417617 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=21417617 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344102475: '1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684883_0.png', 1344102476: '1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685907_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cd9715ec0dccf33fc50fa723a9b60f55_28784465.png change filename to text .imagette214176171741942632/ imagette214176171741942632/1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684883_0.png.png imagette214176171741942632/1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685907_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/fd2caebf14962e1384a3d18041b80e89_24976898.png imagette214176171741942632 21417618 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=21417618 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344102366: '1741942465_1184829_1344102108_14735b906403492f13884161d9fde434_rle_crop_3711684376_0.png', 1344102424: '1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685892_0.png', 1344102426: '1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685891_0.png', 1344102428: '1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685912_0.png', 1344102430: '1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685927_0.png', 1344102432: '1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685924_0.png', 1344102505: '1741942345_1184021_1344101836_22341d3a1173783f531a9de6ec82df3a_rle_crop_3711687276_0.png', 1344102556: '1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696476_0.png', 1344102557: '1741942550_322242_1344102244_913e16247badc34efb74e874ca87a74e_rle_crop_3711696504_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/53ad0fe99c453f3c923d6333410a3a0a_65159656.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ad6606c9805490fa9e16cb99e7a155eb_15314727.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/1f46e70ca9828d63bdf3762de677a13b_4970894.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/8e2da93e2572f3a434b93d910e3275b7_64877693.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/31f6464677b25f7c257fee9eff11130c_41103032.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a3f5e800793f765df77e3dcf99cd5dad_61161444.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/eea9e80cf9308e795bbe05ed0930a871_44650077.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/a91976ea2493180def632f02c08decbe_37046508.png change filename to text .imagette214176181741942632/ imagette214176181741942632/1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685924_0.png.png imagette214176181741942632/1741942465_1184829_1344102108_14735b906403492f13884161d9fde434_rle_crop_3711684376_0.png.png imagette214176181741942632/1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696476_0.png.png imagette214176181741942632/1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685892_0.png.png imagette214176181741942632/1741942550_322242_1344102244_913e16247badc34efb74e874ca87a74e_rle_crop_3711696504_0.png.png imagette214176181741942632/1741942345_1184021_1344101836_22341d3a1173783f531a9de6ec82df3a_rle_crop_3711687276_0.png.png imagette214176181741942632/1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685912_0.png.png imagette214176181741942632/1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685927_0.png.png imagette214176181741942632/1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685891_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/efde3226f637bf54b0e5519008c45fef_40368450.png imagette214176181741942632 21417620 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=21417620 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344102362: '1741942456_321218_1344102142_098cdb084b57eb3c9e4cdd6ae2ecd783_rle_crop_3711684415_0.png', 1344102468: '1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685884_0.png', 1344102469: '1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685937_0.png', 1344102482: '1741942491_321639_1344102166_332a07c6da5e56514cdb31851eb21f9b_rle_crop_3711686548_0.png', 1344102484: '1741942491_321639_1344101855_4b3f89d3fe6c9e3a9171f97fb2d576da_rle_crop_3711687232_0.png', 1344102519: '1741942345_1184021_1344101979_d6ab9ca57a0203d808dd098020fa0de6_rle_crop_3711686710_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c2e82f22103dee8a006627fda4596bdd_85637604.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/43c22590aeb347f673d2cea1f05300b6_70417160.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ca8d193c789774500e9abb371f01e06c_10678474.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/202df308c52c8c43ec03f984f9a247c7_85716313.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/5fc5352747113f0f5b1f5d7e297831e8_58959284.png change filename to text .imagette214176201741942633/ imagette214176201741942633/1741942491_321639_1344102166_332a07c6da5e56514cdb31851eb21f9b_rle_crop_3711686548_0.png.png imagette214176201741942633/1741942345_1184021_1344101979_d6ab9ca57a0203d808dd098020fa0de6_rle_crop_3711686710_0.png.png imagette214176201741942633/1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685884_0.png.png imagette214176201741942633/1741942456_321218_1344102142_098cdb084b57eb3c9e4cdd6ae2ecd783_rle_crop_3711684415_0.png.png imagette214176201741942633/1741942491_321639_1344101855_4b3f89d3fe6c9e3a9171f97fb2d576da_rle_crop_3711687232_0.png.png imagette214176201741942633/1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685937_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/202df308c52c8c43ec03f984f9a247c7_38670189.png imagette214176201741942633 21417615 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=21417615 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344101797: '1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682003_0.png', 1344102415: '1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684889_0.png', 1344102416: '1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684887_0.png', 1344102417: '1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684882_0.png', 1344102418: '1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685888_0.png', 1344102419: '1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685911_0.png', 1344102420: '1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685930_0.png', 1344102470: '1741942491_321639_1344101855_4b3f89d3fe6c9e3a9171f97fb2d576da_rle_crop_3711687234_0.png', 1344102499: '1741942345_1184021_1344101851_16b7c3ef279755284dc99b95e0202b07_rle_crop_3711687244_0.png', 1344102500: '1741942345_1184021_1344101851_16b7c3ef279755284dc99b95e0202b07_rle_crop_3711687245_0.png', 1344102502: '1741942345_1184021_1344101841_9ef2ba19624b9787a961d9c558561c6e_rle_crop_3711687267_0.png', 1344102504: '1741942345_1184021_1344101841_9ef2ba19624b9787a961d9c558561c6e_rle_crop_3711687261_0.png', 1344102552: '1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696469_0.png', 1344102553: '1741942550_322242_1344102284_082d328c87a7222340e05f289215ac9c_rle_crop_3711696493_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ee59d0d9b28800cca82884c728aa5b6c_40909304.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d1183a3ec0e1a786a6943e5f71e519fa_14030992.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cae970cfa6dd331e415f9b61ab8d4053_26323696.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/18d0be9884461fcb9a33e348f9bbf463_82781536.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e05be093ac4bd65432e3d0d27a1f7f79_12083294.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/407a450d2130c3fe5cfa9dc309ca30d6_23485493.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d09aa16732923701377b87041f8020f9_9421362.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/64f9ca186db16cc55a3b8d02b64038e4_79181795.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/337f3f09fc5137fdadad3c23805ce9ed_41338981.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c0c13346208801081902dcd45b7bb4e6_70094226.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/9503aed0b073749c6f0823a09433957c_40180915.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2a38a7aeddf03ce7d37ff744113df1f7_93349415.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/6b7c405ee4f538a0ceecc79b24e4d8fd_77576531.png change filename to text .imagette214176151741942633/ imagette214176151741942633/1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696469_0.png.png imagette214176151741942633/1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685930_0.png.png imagette214176151741942633/1741942491_321639_1344101855_4b3f89d3fe6c9e3a9171f97fb2d576da_rle_crop_3711687234_0.png.png imagette214176151741942633/1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684887_0.png.png imagette214176151741942633/1741942345_1184021_1344101851_16b7c3ef279755284dc99b95e0202b07_rle_crop_3711687245_0.png.png imagette214176151741942633/1741942345_1184021_1344101841_9ef2ba19624b9787a961d9c558561c6e_rle_crop_3711687267_0.png.png imagette214176151741942633/1741942345_1184021_1344101851_16b7c3ef279755284dc99b95e0202b07_rle_crop_3711687244_0.png.png imagette214176151741942633/1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682003_0.png.png imagette214176151741942633/1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685888_0.png.png imagette214176151741942633/1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685911_0.png.png imagette214176151741942633/1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684889_0.png.png imagette214176151741942633/1741942550_322242_1344102284_082d328c87a7222340e05f289215ac9c_rle_crop_3711696493_0.png.png imagette214176151741942633/1741942345_1184021_1344101841_9ef2ba19624b9787a961d9c558561c6e_rle_crop_3711687261_0.png.png imagette214176151741942633/1741942471_321465_1344102125_644abd413f03db39a9e4add97af51597_rle_crop_3711684882_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c91f023746c5a390ffa8904c6d66acbc_48746765.png imagette214176151741942633 21417619 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=21417619 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344102369: '1741942465_1184829_1344102108_14735b906403492f13884161d9fde434_rle_crop_3711684379_0.png', 1344102558: '1741942550_322242_1344102244_913e16247badc34efb74e874ca87a74e_rle_crop_3711696510_0.png', 1344102508: '1741942345_1184021_1344101979_d6ab9ca57a0203d808dd098020fa0de6_rle_crop_3711686716_0.png', 1344102478: '1741942491_321639_1344102166_332a07c6da5e56514cdb31851eb21f9b_rle_crop_3711686554_0.png', 1344102456: '1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685932_0.png', 1344102455: '1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685914_0.png', 1344102454: '1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685913_0.png', 1344102453: '1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685893_0.png', 1344102452: '1741942471_321465_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6_rle_crop_3711684909_0.png', 1344101798: '1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682004_0.png', 1344102368: '1741942465_1184829_1344102114_0e48a54ced7e9878c1e301d635e01fab_rle_crop_3711684366_0.png', 1344102367: '1741942465_1184829_1344102149_a8b75ade2c8bf0aac4df6bf745032849_rle_crop_3711684345_0.png', 1344102160: '1741942351_320203_1344101930_7d2f117483683a1dcb2c64e9ce81723e_rle_crop_3711683630_0.png', 1344102159: '1741942351_320203_1344101942_e0505f23400898f3c4d8eb32cba78b80_rle_crop_3711683626_0.png', 1344101801: '1741942092_318406_1344101660_0436280beda024f4f944f8da3c401b60_rle_crop_3711682040_0.png', 1344101800: '1741942092_318406_1344101660_0436280beda024f4f944f8da3c401b60_rle_crop_3711682038_0.png', 1344101799: '1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682014_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/92de2a158658876c41d9aee37469a846_58248181.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/9e378fb568889c174425a9c691bb5883_67828652.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e399962e6061784a1c7d46b551f5c845_66205452.png -- Missing : http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e399962e6061784a1c7d46b551f5c845_8890533.png retrying : HTTP Error 503: Service Unavailable change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/7b87d48c47a191e529c3b70537a956cc_1105640.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/bf6d0b79f7ac821f2fb7089ffd85b3b3_91156689.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/b53811cc7906114566411f472b37d6ec_29056266.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d4c3bc221219e5888550ff8420a67950_46666733.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/6a409e529468551b03f1dc6ee18005cc_3294682.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/743306f2c7f0a08916e12ba2cfe1cca0_54210555.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/25992358a7f8e1c0bfb96d2d56476c3b_61298734.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/b04220e233cddf619edb9d361b4fccf0_47475265.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/04ceeaaea991913b64932938e92caabd_8769311.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/cd854ad98b7b2a594f5039ff7424616e_33672332.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/3afe1518c2aa4c894c480ee4ea0a4448_20446900.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/c73c5004723a850b373a5b1bb65d1def_54929499.png change filename to text .imagette214176191741942634/ imagette214176191741942634/1741942471_321465_1344102056_e1bd2a47c78f763cee5a21cdd21f02b6_rle_crop_3711684909_0.png.png imagette214176191741942634/1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685913_0.png.png imagette214176191741942634/1741942465_1184829_1344102114_0e48a54ced7e9878c1e301d635e01fab_rle_crop_3711684366_0.png.png imagette214176191741942634/1741942465_1184829_1344102108_14735b906403492f13884161d9fde434_rle_crop_3711684379_0.png.png imagette214176191741942634/1741942471_321465_1344102030_b59025bcea29680252533dcb79cb3a61_rle_crop_3711685914_0.png.png imagette214176191741942634/1741942351_320203_1344101930_7d2f117483683a1dcb2c64e9ce81723e_rle_crop_3711683630_0.png.png imagette214176191741942634/1741942345_1184021_1344101979_d6ab9ca57a0203d808dd098020fa0de6_rle_crop_3711686716_0.png.png imagette214176191741942634/1741942092_318406_1344101660_0436280beda024f4f944f8da3c401b60_rle_crop_3711682040_0.png.png imagette214176191741942634/1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682004_0.png.png imagette214176191741942634/1741942471_321465_1344102045_0b9b61949321862a841f1441097f35e7_rle_crop_3711685893_0.png.png imagette214176191741942634/1741942465_1184829_1344102149_a8b75ade2c8bf0aac4df6bf745032849_rle_crop_3711684345_0.png.png imagette214176191741942634/1741942092_318406_1344101664_0c57dc90c8585ecab7138b7a02037a6a_rle_crop_3711682014_0.png.png imagette214176191741942634/1741942092_318406_1344101660_0436280beda024f4f944f8da3c401b60_rle_crop_3711682038_0.png.png imagette214176191741942634/1741942550_322242_1344102244_913e16247badc34efb74e874ca87a74e_rle_crop_3711696510_0.png.png imagette214176191741942634/1741942471_321465_1344102010_a9e399e9b802d0fbf02d4ca50882aff4_rle_crop_3711685932_0.png.png imagette214176191741942634/1741942351_320203_1344101942_e0505f23400898f3c4d8eb32cba78b80_rle_crop_3711683626_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/635700115851e321bf553dd8f3f34c9d_44494440.png imagette214176191741942634 21417621 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=21417621 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1344101788: '1741942092_318406_1344101659_2225a8306f0623b55d6ce948cd874235_rle_crop_3711682065_0.png', 1344101789: '1741942092_318406_1344101659_2225a8306f0623b55d6ce948cd874235_rle_crop_3711682062_0.png', 1344101790: '1741942092_318406_1344101657_86c19beddaac22b153f7e0f691382c2c_rle_crop_3711682104_0.png', 1344102151: '1741942351_320203_1344101956_a9204fae7b8b28733d05f313e5a0658f_rle_crop_3711683612_0.png', 1344102359: '1741942465_1184829_1344102114_0e48a54ced7e9878c1e301d635e01fab_rle_crop_3711684364_0.png', 1344102545: '1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696471_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/27c4e96928d6715f444aab1a41375798_76309766.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/e03bfd888f981b76679cd55df6c61f1e_80255764.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/ea57831088065512667b1b57d163e6da_97740825.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2d0168970ae4950d6b596f43e0741bbf_30206983.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/f163a88d23eda2fe449caba1f5279ae0_15709780.png change filename to text .imagette214176211741942687/ imagette214176211741942687/1741942092_318406_1344101659_2225a8306f0623b55d6ce948cd874235_rle_crop_3711682065_0.png.png imagette214176211741942687/1741942092_318406_1344101659_2225a8306f0623b55d6ce948cd874235_rle_crop_3711682062_0.png.png imagette214176211741942687/1741942092_318406_1344101657_86c19beddaac22b153f7e0f691382c2c_rle_crop_3711682104_0.png.png imagette214176211741942687/1741942550_322242_1344102357_0faa60dad71d67924f6cfaaf56a6d02e_rle_crop_3711696471_0.png.png imagette214176211741942687/1741942351_320203_1344101956_a9204fae7b8b28733d05f313e5a0658f_rle_crop_3711683612_0.png.png imagette214176211741942687/1741942465_1184829_1344102114_0e48a54ced7e9878c1e301d635e01fab_rle_crop_3711684364_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2d4fc99679c4dbe95918f918817bcd9a_64962088.png imagette214176211741942687 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21417582 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21417623,21417624,21417625,21417626,21417627,21417628,21417629,21417630,21417631,21417632,21417633,21417634?tags=autre_refus,flou,environnement,papier,mal_croppe,Carton_gris,metal,kraft,cartonnette,Carton_brun,plastique,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1344102467] : ('0.06759799705623319',) no score found for photo 1344102467 We are sending mail with results at report@fotonower.com args[1344102451] : ('0.06759799705623319',) no score found for photo 1344102451 We are sending mail with results at report@fotonower.com args[1344102357] : ('0.06759799705623319',) no score found for photo 1344102357 We are sending mail with results at report@fotonower.com args[1344102322] : ('0.06759799705623319',) no score found for photo 1344102322 We are sending mail with results at report@fotonower.com args[1344102318] : ('0.06759799705623319',) no score found for photo 1344102318 We are sending mail with results at report@fotonower.com args[1344102284] : ('0.06759799705623319',) no score found for photo 1344102284 We are sending mail with results at report@fotonower.com args[1344102244] : ('0.06759799705623319',) no score found for photo 1344102244 We are sending mail with results at report@fotonower.com refus_total : 0.06759799705623319 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=21417582 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_P21417582_14-03-2025_09_57_11.pdf results_Auto_P21417582_14-03-2025_09_57_11.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21417582_14-03-2025_09_57_11.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','21417582','results_Auto_P21417582_14-03-2025_09_57_11.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21417582_14-03-2025_09_57_11.pdf','pdf','','0.28','0.06759799705623319') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21417582]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] map_info['map_portfolio_photo'] : {21417582: [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244, 1344102166, 1344102161, 1344102150, 1344102149, 1344102146, 1344102142, 1344102132, 1344102125, 1344102120, 1344102114, 1344102108, 1344102103, 1344102063, 1344102056, 1344102045, 1344102030, 1344102010, 1344101994, 1344101979, 1344101956, 1344101942, 1344101930, 1344101859, 1344101855, 1344101851, 1344101841, 1344101836, 1344101811, 1344101742, 1344101736, 1344101664, 1344101660, 1344101659, 1344101657]} final : False mtd_id 4302 list_pids : [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] 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, '2668514') ('4302', '21417582', '1344102467', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 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', '21417582', '1344102467', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514')] time used for this insertion : 0.012954950332641602 save_final save missing photos in datou_result : time spend for datou_step_exec : 57.547592878341675 time spend to save output : 0.013148784637451172 total time spend for step 4 : 57.560741662979126 step5:split_time_score Fri Mar 14 09:58:08 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 : ['21417582'] 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 : [('21417582',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21417582) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1344102467: {'path': 'temp/1741942631_2999090_1344102467_2d3190d1dc09422bdd15210dbcfb2e0a.jpg', 'extension': 'jpg'}, 1344102357: {'path': 'temp/1741942631_2999090_1344102357_0faa60dad71d67924f6cfaaf56a6d02e.jpg', 'extension': 'jpg'}, 1344102451: {'path': 'temp/1741942631_2999090_1344102451_64a3eac6d9e2be694e43261e2645bb8e.jpg', 'extension': 'jpg'}, 1344102244: {'path': 'temp/1741942631_2999090_1344102244_913e16247badc34efb74e874ca87a74e.jpg', 'extension': 'jpg'}, 1344102284: {'path': 'temp/1741942631_2999090_1344102284_082d328c87a7222340e05f289215ac9c.jpg', 'extension': 'jpg'}, 1344102318: {'path': 'temp/1741942631_2999090_1344102318_7b7e95ca4c5adf061c1b93b50d7f5fe1.jpg', 'extension': 'jpg'}, 1344102322: {'path': 'temp/1741942631_2999090_1344102322_d0d30a25096da0eb0ce8fd133a7a06e9.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 = 21417582; (('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 = 21417582 group by h (('09', 43),) 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=21417582 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 (21417582) 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 (21417582) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14032025 21417582 Nombre de photos uploadées : 43 / 23040 (0%) 14032025 21417582 Nombre de photos taguées (types de déchets): 0 / 43 (0%) 14032025 21417582 Nombre de photos taguées (volume) : 0 / 43 (0%) [{'photo_id': 1344101664, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0c57dc90c8585ecab7138b7a02037a6a.jpg', 'username': None, 'uploaded_at': 1741942010, 'text': 'image_14032025_09_45_03_9147.jpg'}, {'photo_id': 1344101660, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/0436280beda024f4f944f8da3c401b60.jpg', 'username': None, 'uploaded_at': 1741942010, 'text': 'image_14032025_09_45_13_10144.jpg'}, {'photo_id': 1344101659, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/2225a8306f0623b55d6ce948cd874235.jpg', 'username': None, 'uploaded_at': 1741942010, 'text': 'image_14032025_09_45_23_10144.jpg'}, {'photo_id': 1344101657, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/86c19beddaac22b153f7e0f691382c2c.jpg', 'username': None, 'uploaded_at': 1741942010, 'text': 'image_14032025_09_45_33_10145.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ??????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0030503273010253906 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21417582, '2025-03-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1667162,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022654294967651367 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= 1667162 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1667162, 'dashboard_run_id': 1675844, 'mtr_portfolio_id': 21417119, 'dashboard_result_id': 9441385, '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_P21417119_14-03-2025_09_50_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21417140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21417141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21417142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21417143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21417144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21417145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21417146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21417147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21417148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21417149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21417150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21417151, 'pht': 3726}}"}, {'dashboat_entry_day': 1667162, 'dashboard_run_id': 1675844, 'mtr_portfolio_id': 21417582, 'dashboard_result_id': 9441386, '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_P21417582_14-03-2025_09_54_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21417610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21417611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21417612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21417613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21417614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21417615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21417616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21417617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21417618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21417619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21417620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21417621, '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 = 21417119 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': 2668476, 'mtr_portfolio_id': 21417119, 'created_at': datetime.datetime(2025, 3, 14, 9, 50, 56), 'result': '0.08474751945166847', 'result_long': None, 'result_double': None}] Qualite : 0.08474751945166847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21417119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21417119_14-03-2025_09_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21417119 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_P21417119_14-03-2025_09_50_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21417140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21417141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21417142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21417143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21417144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21417145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21417146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21417147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21417148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21417149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21417150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21417151, 'pht': 3726}}" where mtr_portfolio_id = 21417119 and dashboard_run_id = 1675844 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`=21417119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9441385, 0.08474751945166847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21417119_14-03-2025_09_50_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21417140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21417141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21417142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21417143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21417144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21417145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21417146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21417147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21417148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21417149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21417150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21417151, '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 = 21417582 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': 2668514, 'mtr_portfolio_id': 21417582, 'created_at': datetime.datetime(2025, 3, 14, 9, 57, 10), 'result': '0.06759799705623319', 'result_long': None, 'result_double': None}] Qualite : 0.06759799705623319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21417582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21417582_14-03-2025_09_57_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21417582 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_P21417582_14-03-2025_09_57_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21417610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21417611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21417612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21417613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21417614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21417615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21417616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21417617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21417618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21417619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21417620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21417621, 'pht': 3726}}" where mtr_portfolio_id = 21417582 and dashboard_run_id = 1675844 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`=21417582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9441386, 0.06759799705623319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21417582_14-03-2025_09_57_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21417610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21417611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21417612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21417613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21417614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21417615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21417616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21417617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21417618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21417619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21417620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21417621, '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 (21417119,21417582) result : ((1344100428,), (1344100529,), (1344100544,), (1344100549,), (1344100562,), (1344100580,), (1344100591,), (1344100612,), (1344100648,), (1344100672,), (1344100683,), (1344100691,), (1344100702,), (1344100726,), (1344100753,), (1344100757,), (1344100871,), (1344100916,), (1344100922,), (1344100929,), (1344100938,), (1344100955,), (1344100963,), (1344100980,), (1344100993,), (1344101005,), (1344101038,), (1344101090,), (1344101092,), (1344101097,), (1344101185,), (1344101192,), (1344101198,), (1344101202,), (1344101211,), (1344101213,), (1344101225,), (1344101228,), (1344101236,), (1344101238,), (1344101242,), (1344101252,), (1344101256,), (1344101261,), (1344101265,), (1344101268,), (1344101269,), (1344101323,), (1344101369,), (1344101376,), (1344101379,), (1344101390,), (1344101399,), (1344101400,), (1344101403,), (1344101404,), (1344101407,), (1344101409,), (1344101412,), (1344101453,), (1344101456,), (1344101458,), (1344101461,), (1344101462,), (1344101464,), (1344101467,), (1344101468,), (1344101472,), (1344101474,), (1344101476,), (1344101477,), (1344101494,), (1344101498,), (1344101502,), (1344101506,), (1344101509,), (1344101526,), (1344101530,), (1344101531,), (1344101534,), (1344101582,), (1344101583,), (1344101617,), (1344101618,), (1344101622,), (1344101630,), (1344101636,), (1344101638,), (1344101643,), (1344101645,), (1344101646,), (1344101647,), (1344101668,), (1344101685,), (1344101711,), (1344101712,), (1344101718,), (1344101722,), (1344101725,), (1344101728,), (1344101730,), (1344101746,), (1344101749,), (1344101756,), (1344101757,), (1344101761,), (1344101765,), (1344101771,), (1344101775,), (1344101778,), (1344101780,), (1344101783,), (1344101786,), (1344101983,), (1344101999,), (1344102184,), (1344102188,), (1344101657,), (1344101659,), (1344101660,), (1344101664,), (1344101736,), (1344101742,), (1344101811,), (1344101836,), (1344101841,), (1344101851,), (1344101855,), (1344101859,), (1344101930,), (1344101942,), (1344101956,), (1344101979,), (1344101994,), (1344102010,), (1344102030,), (1344102045,), (1344102056,), (1344102063,), (1344102103,), (1344102108,), (1344102114,), (1344102120,), (1344102125,), (1344102132,), (1344102142,), (1344102146,), (1344102149,), (1344102150,), (1344102161,), (1344102166,), (1344102244,), (1344102284,), (1344102318,), (1344102322,), (1344102357,), (1344102451,), (1344102467,), (1344102546,), (1344102554,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 43, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21417582]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] map_info['map_portfolio_photo'] : {21417582: [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244, 1344102166, 1344102161, 1344102150, 1344102149, 1344102146, 1344102142, 1344102132, 1344102125, 1344102120, 1344102114, 1344102108, 1344102103, 1344102063, 1344102056, 1344102045, 1344102030, 1344102010, 1344101994, 1344101979, 1344101956, 1344101942, 1344101930, 1344101859, 1344101855, 1344101851, 1344101841, 1344101836, 1344101811, 1344101742, 1344101736, 1344101664, 1344101660, 1344101659, 1344101657]} final : True mtd_id 4302 list_pids : [1344102467, 1344102451, 1344102357, 1344102322, 1344102318, 1344102284, 1344102244] Looping around the photos to save general results len do output : 1 /21417582Didn'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, '2668514') ('4302', '21417582', '1344102467', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514') ('4302', None, None, None, None, None, None, None, '2668514') ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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, '21417582', 'None', None, None, None, None, '2668514'), ('4302', '21417582', '1344102467', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102451', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102357', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102322', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102318', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102284', None, None, None, None, None, '2668514'), ('4302', '21417582', '1344102244', None, None, None, None, None, '2668514')] time used for this insertion : 0.1212301254272461 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9407088756561279 time spend to save output : 0.12149548530578613 total time spend for step 5 : 1.062204360961914 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 (2668514) 2.10user 2.29system 1:14.55elapsed 5%CPU (0avgtext+0avgdata 161984maxresident)k 15936inputs+14352outputs (116major+64152minor)pagefaults 0swaps