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 : 3940891 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 (2679116) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2679116) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574824 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2679116'] with mtr_portfolio_ids : ['21574824'] and first list_photo_ids : [] new path : /proc/3940891/ Name: python3 Umask: 0002 State: R (running) Tgid: 3940891 Ngid: 0 Pid: 3940891 PPid: 3940890 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3940891 NSpid: 3940891 NSpgid: 3937323 NSsid: 3937323 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98392 kB VmRSS: 98392 kB RssAnon: 59768 kB RssFile: 38624 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 568 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: 55 nonvoluntary_ctxt_switches: 170 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3940891', 'Ngid': '0', 'Pid': '3940891', 'PPid': '3940890', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3940891', 'NSpid': '3940891', 'NSpgid': '3937323', 'NSsid': '3937323', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98392 kB', 'VmRSS': '98392 kB', 'RssAnon': '59768 kB', 'RssFile': '38624 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '568 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': '55', 'nonvoluntary_ctxt_switches': '170'} ('datou_batch_current', '3940891', '1106844', '0', '1106844', '865592', '98392', b'', 'marlene', '2679116') 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 (21574824) 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 (2679116 ) ) 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 (21574824) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1346004490, 'portfolio_id': 21574824}, {'photo_id': 1346004466, 'portfolio_id': 21574824}, {'photo_id': 1346004439, 'portfolio_id': 21574824}, {'photo_id': 1346004419, 'portfolio_id': 21574824}, {'photo_id': 1346004397, 'portfolio_id': 21574824}, {'photo_id': 1346004371, 'portfolio_id': 21574824}, {'photo_id': 1346004152, 'portfolio_id': 21574824}, {'photo_id': 1346004148, 'portfolio_id': 21574824}, {'photo_id': 1346004144, 'portfolio_id': 21574824}, {'photo_id': 1346004141, 'portfolio_id': 21574824}, {'photo_id': 1346003951, 'portfolio_id': 21574824}, {'photo_id': 1346003925, 'portfolio_id': 21574824}, {'photo_id': 1346003904, 'portfolio_id': 21574824}, {'photo_id': 1346003887, 'portfolio_id': 21574824}, {'photo_id': 1346003862, 'portfolio_id': 21574824}, {'photo_id': 1346003818, 'portfolio_id': 21574824}, {'photo_id': 1346003525, 'portfolio_id': 21574824}, {'photo_id': 1346003499, 'portfolio_id': 21574824}, {'photo_id': 1346003451, 'portfolio_id': 21574824}, {'photo_id': 1346003391, 'portfolio_id': 21574824}, {'photo_id': 1346002959, 'portfolio_id': 21574824}, {'photo_id': 1346002937, 'portfolio_id': 21574824}, {'photo_id': 1346002912, 'portfolio_id': 21574824}, {'photo_id': 1346002877, 'portfolio_id': 21574824}, {'photo_id': 1346002847, 'portfolio_id': 21574824}, {'photo_id': 1346002722, 'portfolio_id': 21574824}, {'photo_id': 1346002666, 'portfolio_id': 21574824}, {'photo_id': 1346002609, 'portfolio_id': 21574824}, {'photo_id': 1346002563, 'portfolio_id': 21574824}, {'photo_id': 1346002537, 'portfolio_id': 21574824}, {'photo_id': 1346002212, 'portfolio_id': 21574824}, {'photo_id': 1346002156, 'portfolio_id': 21574824}, {'photo_id': 1346002126, 'portfolio_id': 21574824}, {'photo_id': 1346002081, 'portfolio_id': 21574824}] map_portfolio_id_photo_id: {21574824: [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141, 1346003951, 1346003925, 1346003904, 1346003887, 1346003862, 1346003818, 1346003525, 1346003499, 1346003451, 1346003391, 1346002959, 1346002937, 1346002912, 1346002877, 1346002847, 1346002722, 1346002666, 1346002609, 1346002563, 1346002537, 1346002212, 1346002156, 1346002126, 1346002081]} ##### 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.014576435089111328 #### 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 21 14:24:59 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 (21574824) 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 : 21574824 get user id for portfolio 21574824 get sub ptf for main ptf 21574824, type 3726 and hashtags ['environnement', 'kraft', 'papier', 'cartonnette', 'mal_croppe', 'Carton_brun', 'flou', 'metal', 'plastique', 'Carton_gris', 'Teint_Dans_La_Masse', 'autre_refus'] 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`=21574824 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','papier','cartonnette','mal_croppe','Carton_brun','flou','metal','plastique','Carton_gris','Teint_Dans_La_Masse','autre_refus')) 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`=21574824 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','papier','cartonnette','mal_croppe','Carton_brun','flou','metal','plastique','Carton_gris','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21574824, 'sub_port_id': 21574837, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120176, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'kraft': {'main_port_id': 21574824, 'sub_port_id': 21574838, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120177, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21574824, 'sub_port_id': 21574839, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120178, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'metal': {'main_port_id': 21574824, 'sub_port_id': 21574840, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120179, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'Carton_brun': {'main_port_id': 21574824, 'sub_port_id': 21574841, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120180, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'plastique': {'main_port_id': 21574824, 'sub_port_id': 21574842, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120181, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'papier': {'main_port_id': 21574824, 'sub_port_id': 21574843, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120182, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'mal_croppe': {'main_port_id': 21574824, 'sub_port_id': 21574844, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120183, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'Carton_gris': {'main_port_id': 21574824, 'sub_port_id': 21574845, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120184, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'environnement': {'main_port_id': 21574824, 'sub_port_id': 21574846, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120185, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'cartonnette': {'main_port_id': 21574824, 'sub_port_id': 21574847, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120186, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}, 'autre_refus': {'main_port_id': 21574824, 'sub_port_id': 21574848, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120187, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 22, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21574837 , 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=21574824 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 (21574837) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574838 , 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=21574824 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 (21574838) result : ((1346004203,), (1346004269,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574839 , 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=21574824 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 (21574839) result : ((1346003651,), (1346003652,), (1346003653,), (1346003681,), (1346003683,), (1346004191,), (1346004192,), (1346004213,), (1346004214,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574840 , 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=21574824 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 (21574840) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574841 , 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=21574824 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 (21574841) result : ((1346003754,), (1346003781,), (1346003782,), (1346004202,), (1346004253,), (1346004255,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574842 , 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=21574824 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 (21574842) result : ((1346004264,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574843 , 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=21574824 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 (21574843) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574844 , 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=21574824 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 (21574844) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574845 , 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=21574824 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 (21574845) result : ((1346003728,), (1346003729,), (1346003730,), (1346003732,), (1346004200,), (1346004201,), (1346004234,), (1346004237,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574846 , 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=21574824 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 (21574846) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574847 , 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=21574824 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 (21574847) result : ((1346003743,), (1346003759,), (1346003760,), (1346003762,), (1346003764,), (1346003766,), (1346003768,), (1346004242,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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 21574848 , 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=21574824 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 (21574848) result : ((1346003693,), (1346003695,), (1346003698,), (1346003699,), (1346003700,), (1346003712,), (1346003713,), (1346003714,), (1346003716,), (1346004193,), (1346004194,), (1346004195,), (1346004217,), (1346004220,), (1346004222,), (1346004224,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21574824) result : ((1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,)) 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`=21574824 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','papier','cartonnette','mal_croppe','Carton_brun','flou','metal','plastique','Carton_gris','Teint_Dans_La_Masse','autre_refus')) 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`=21574824 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','papier','cartonnette','mal_croppe','Carton_brun','flou','metal','plastique','Carton_gris','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21574824, 'sub_port_id': 21574873, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120212, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'kraft': {'main_port_id': 21574824, 'sub_port_id': 21574874, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120213, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'Teint_Dans_La_Masse': {'main_port_id': 21574824, 'sub_port_id': 21574875, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120214, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'metal': {'main_port_id': 21574824, 'sub_port_id': 21574876, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120215, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'Carton_brun': {'main_port_id': 21574824, 'sub_port_id': 21574877, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120216, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'plastique': {'main_port_id': 21574824, 'sub_port_id': 21574878, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120217, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'papier': {'main_port_id': 21574824, 'sub_port_id': 21574879, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120218, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'mal_croppe': {'main_port_id': 21574824, 'sub_port_id': 21574880, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120219, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'Carton_gris': {'main_port_id': 21574824, 'sub_port_id': 21574881, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120220, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'environnement': {'main_port_id': 21574824, 'sub_port_id': 21574882, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120221, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'cartonnette': {'main_port_id': 21574824, 'sub_port_id': 21574883, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120222, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}, 'autre_refus': {'main_port_id': 21574824, 'sub_port_id': 21574884, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14120223, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 23)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574873,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574837 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574874,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574838 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574875,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574839 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574876,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574840 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574877,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574841 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574878,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574842 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574879,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574843 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574880,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574844 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574881,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574845 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574882,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574846 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574883,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574847 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21574884,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21574848 lien utilise dans velours : https://www.fotonower.com/velours/21574873,21574874,21574875,21574876,21574877,21574878,21574879,21574880,21574881,21574882,21574883,21574884?tags=flou,kraft,Teint_Dans_La_Masse,metal,Carton_brun,plastique,papier,mal_croppe,Carton_gris,environnement,cartonnette,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21574824]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141] map_info['map_portfolio_photo'] : {21574824: [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141, 1346003951, 1346003925, 1346003904, 1346003887, 1346003862, 1346003818, 1346003525, 1346003499, 1346003451, 1346003391, 1346002959, 1346002937, 1346002912, 1346002877, 1346002847, 1346002722, 1346002666, 1346002609, 1346002563, 1346002537, 1346002212, 1346002156, 1346002126, 1346002081]} final : False mtd_id 4302 list_pids : [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141] Looping around the photos to save general results len do output : 1 /21574824. 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, '2679116') ('4302', '21574824', '1346004490', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004466', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004439', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004419', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004397', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004371', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004152', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004148', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004144', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004141', None, None, None, None, None, '2679116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 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, '21574824', "{'flou': 21574837, 'kraft': 21574838, 'Teint_Dans_La_Masse': 21574839, 'metal': 21574840, 'Carton_brun': 21574841, 'plastique': 21574842, 'papier': 21574843, 'mal_croppe': 21574844, 'Carton_gris': 21574845, 'environnement': 21574846, 'cartonnette': 21574847, 'autre_refus': 21574848}", None, None, None, None, '2679116'), ('4302', '21574824', '1346004490', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004466', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004439', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004419', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004397', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004371', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004152', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004148', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004144', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004141', None, None, None, None, None, '2679116')] time used for this insertion : 1.5667476654052734 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5030593872070312 time spend to save output : 1.5672004222869873 total time spend for step 1 : 3.0702598094940186 step2:final Fri Mar 21 14:25:02 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 (21574824) 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 21574824 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346002212,1346002156,1346002126,1346002081,1346002722,1346002666,1346002609,1346002563,1346002537,1346002959,1346002937,1346002912,1346002877,1346002847,1346003525,1346003499,1346003451,1346003391,1346003951,1346003925,1346003904,1346003887,1346003862,1346003818,1346004152,1346004148,1346004144,1346004141,1346004490,1346004466,1346004439,1346004419,1346004397,1346004371); 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([21574824]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} new output for save of step final : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141] map_info['map_portfolio_photo'] : {21574824: [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141, 1346003951, 1346003925, 1346003904, 1346003887, 1346003862, 1346003818, 1346003525, 1346003499, 1346003451, 1346003391, 1346002959, 1346002937, 1346002912, 1346002877, 1346002847, 1346002722, 1346002666, 1346002609, 1346002563, 1346002537, 1346002212, 1346002156, 1346002126, 1346002081]} final : False mtd_id 4302 list_pids : [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141] Looping around the photos to save general results len do output : 10 /1346004490.Didn't retrieve data . /1346004466.Didn't retrieve data . /1346004439.Didn't retrieve data . /1346004419.Didn't retrieve data . /1346004397.Didn't retrieve data . /1346004371.Didn't retrieve data . /1346004152.Didn't retrieve data . /1346004148.Didn't retrieve data . /1346004144.Didn't retrieve data . /1346004141.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, '2679116') ('4302', '21574824', '1346004490', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004466', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004439', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004419', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004397', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004371', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004152', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004148', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004144', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004141', None, None, None, None, None, '2679116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '21574824', '1346004490', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004466', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004439', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004419', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004397', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004371', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004152', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004148', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004144', '0.07173744758601436', None, None, None, None, '2679116'), ('4302', '21574824', '1346004141', '0.07173744758601436', None, None, None, None, '2679116')] time used for this insertion : 0.016543865203857422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13854312896728516 time spend to save output : 0.0172421932220459 total time spend for step 2 : 0.15578532218933105 step3:velours_tree Fri Mar 21 14:25: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 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 : {21574824: [{'flou': 21574837, 'kraft': 21574838, 'Teint_Dans_La_Masse': 21574839, 'metal': 21574840, 'Carton_brun': 21574841, 'plastique': 21574842, 'papier': 21574843, 'mal_croppe': 21574844, 'Carton_gris': 21574845, 'environnement': 21574846, 'cartonnette': 21574847, 'autre_refus': 21574848}]} input_args_next_step : {21574824: ()} output_args : {21574824: [{'flou': 21574837, 'kraft': 21574838, 'Teint_Dans_La_Masse': 21574839, 'metal': 21574840, 'Carton_brun': 21574841, 'plastique': 21574842, 'papier': 21574843, 'mal_croppe': 21574844, 'Carton_gris': 21574845, 'environnement': 21574846, 'cartonnette': 21574847, 'autre_refus': 21574848}]} args : 21574824 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 : ({'flou': 21574837, 'kraft': 21574838, 'Teint_Dans_La_Masse': 21574839, 'metal': 21574840, 'Carton_brun': 21574841, 'plastique': 21574842, 'papier': 21574843, 'mal_croppe': 21574844, 'Carton_gris': 21574845, 'environnement': 21574846, 'cartonnette': 21574847, 'autre_refus': 21574848},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21574824) 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([21574824]) 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.4444003105163574 time spend to save output : 9.322166442871094e-05 total time spend for step 3 : 0.44449353218078613 step4:send_mail_cod Fri Mar 21 14:25: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 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 : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} input_args_next_step : {1346004490: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004490 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004466 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004439 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004419 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004397 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004371 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004152 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004148 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004144 depend.output_id : 0 input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ()} output_args : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',)} args : 1346004141 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 : {21574824: [{'flou': 21574837, 'kraft': 21574838, 'Teint_Dans_La_Masse': 21574839, 'metal': 21574840, 'Carton_brun': 21574841, 'plastique': 21574842, 'papier': 21574843, 'mal_croppe': 21574844, 'Carton_gris': 21574845, 'environnement': 21574846, 'cartonnette': 21574847, 'autre_refus': 21574848}]} input_args_next_step : {1346004490: ('0.07173744758601436',), 1346004466: ('0.07173744758601436',), 1346004439: ('0.07173744758601436',), 1346004419: ('0.07173744758601436',), 1346004397: ('0.07173744758601436',), 1346004371: ('0.07173744758601436',), 1346004152: ('0.07173744758601436',), 1346004148: ('0.07173744758601436',), 1346004144: ('0.07173744758601436',), 1346004141: ('0.07173744758601436',), 21574824: ()} output_args : {21574824: [{'flou': 21574837, 'kraft': 21574838, 'Teint_Dans_La_Masse': 21574839, 'metal': 21574840, 'Carton_brun': 21574841, 'plastique': 21574842, 'papier': 21574843, 'mal_croppe': 21574844, 'Carton_gris': 21574845, 'environnement': 21574846, 'cartonnette': 21574847, 'autre_refus': 21574848}]} args : 21574824 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 :11, first value : ('0.07173744758601436',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21574824) 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 (1346004490,1346004466,1346004439,1346004419,1346004397,1346004371,1346004152,1346004148,1346004144,1346004141) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346004141 begin to download photo : 1346004152 begin to download photo : 1346004419 begin to download photo : 1346004490 download finish for photo 1346004152 begin to download photo : 1346004371 download finish for photo 1346004490 download finish for photo 1346004141 begin to download photo : 1346004144 download finish for photo 1346004419 begin to download photo : 1346004439 download finish for photo 1346004144 begin to download photo : 1346004148 download finish for photo 1346004371 begin to download photo : 1346004397 download finish for photo 1346004439 begin to download photo : 1346004466 download finish for photo 1346004397 download finish for photo 1346004148 download finish for photo 1346004466 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette215748371742563503/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P21574824_21-03-2025_14_25_03.pdf 21574837 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=21574837 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215748371742563503 21574838 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=21574838 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346004203: '1742563332_826773_1346003499_84a63ae72c0c818366c7109d9f6eabed_rle_crop_3722000065_0.png', 1346004269: '1742563348_1244666_1346002877_825f8863ec75a80ddd8e0ad94fa24dfd_rle_crop_3722000161_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e8a640eb5ea97e675357e67b69cc15a3_60903690.png change filename to text .imagette215748381742563503/ imagette215748381742563503/1742563348_1244666_1346002877_825f8863ec75a80ddd8e0ad94fa24dfd_rle_crop_3722000161_0.png.png imagette215748381742563503/1742563332_826773_1346003499_84a63ae72c0c818366c7109d9f6eabed_rle_crop_3722000065_0.png.png imagette215748401742563504/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c5672a34bab59d9f69acceac01eed87d_36363224.png imagette215748381742563503 21574840 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=21574840 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215748401742563504 21574842 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=21574842 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346004264: '1742563348_1244666_1346002912_23e6201f392820a3713b77e1b8207b05_rle_crop_3722000141_0.png'} change filename to text .imagette215748421742563504/ imagette215748421742563504/1742563348_1244666_1346002912_23e6201f392820a3713b77e1b8207b05_rle_crop_3722000141_0.png.png imagette215748441742563504/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c4badc0d93fa726b0f5ef75d019cfcff_77329100.png imagette215748421742563504 21574844 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=21574844 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215748441742563504 21574847 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=21574847 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346003743: '1742563213_825510_1346002537_be83409556a4f18e2d4ed130f399d2f0_rle_crop_3721999320_0.png', 1346003759: '1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999166_0.png', 1346003760: '1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999168_0.png', 1346003762: '1742563191_825269_1346002212_b1e54f1cfac686ec556cf796c87e8a5b_rle_crop_3721999201_0.png', 1346003764: '1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999230_0.png', 1346003766: '1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999229_0.png', 1346003768: '1742563191_825269_1346002126_4e08c60c2b3d74f198753b6d2c8fdc61_rle_crop_3721999254_0.png', 1346004242: '1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000182_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/dd0cc740a80fa84d16975e91fdd0c714_89472882.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2b340933fbf59a87f01a57d5b747e0a9_58471689.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0b7929074de43ceb90a6d0fbca7ec476_55843797.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5cfbca78ac9d3906d58c5a291c7b5860_37124179.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/dc905efdfc338834be550659a69e7bbe_14959932.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e0df36a0b5d75065a8ec4885b311528c_31458874.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6ec36ec421d7ae6ea8d1a07dce9daa57_3921835.png change filename to text .imagette215748471742563504/ imagette215748471742563504/1742563191_825269_1346002126_4e08c60c2b3d74f198753b6d2c8fdc61_rle_crop_3721999254_0.png.png imagette215748471742563504/1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999166_0.png.png imagette215748471742563504/1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999230_0.png.png imagette215748471742563504/1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000182_0.png.png imagette215748471742563504/1742563191_825269_1346002212_b1e54f1cfac686ec556cf796c87e8a5b_rle_crop_3721999201_0.png.png imagette215748471742563504/1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999168_0.png.png imagette215748471742563504/1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999229_0.png.png imagette215748471742563504/1742563213_825510_1346002537_be83409556a4f18e2d4ed130f399d2f0_rle_crop_3721999320_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bf97ad1e54315554e81f9b1b16433285_34545511.png imagette215748471742563504 21574848 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=21574848 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346003693: '1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999175_0.png', 1346003695: '1742563191_825269_1346002212_b1e54f1cfac686ec556cf796c87e8a5b_rle_crop_3721999206_0.png', 1346003698: '1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999234_0.png', 1346003699: '1742563191_825269_1346002126_4e08c60c2b3d74f198753b6d2c8fdc61_rle_crop_3721999259_0.png', 1346003700: '1742563191_825269_1346002081_cd077b024dd934e1071665583621dd1b_rle_crop_3721999289_0.png', 1346003712: '1742563213_825510_1346002666_b5804a17b62ec2841c2ecc380c4e1bf6_rle_crop_3721999248_0.png', 1346003713: '1742563213_825510_1346002609_26b28865cb649a6521c85b0cf825e3e5_rle_crop_3721999272_0.png', 1346003714: '1742563213_825510_1346002563_9aea57ccfadf9e8898831b192efa61b1_rle_crop_3721999306_0.png', 1346003716: '1742563213_825510_1346002537_be83409556a4f18e2d4ed130f399d2f0_rle_crop_3721999324_0.png', 1346004193: '1742563332_826773_1346003499_84a63ae72c0c818366c7109d9f6eabed_rle_crop_3722000068_0.png', 1346004194: '1742563332_826773_1346003451_ae63a4fc36f8ce12c3686b35f4787a0c_rle_crop_3722000090_0.png', 1346004195: '1742563332_826773_1346003391_8d4f6071904ce98168cfb1da7372c527_rle_crop_3722000101_0.png', 1346004217: '1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000126_0.png', 1346004220: '1742563348_1244666_1346002912_23e6201f392820a3713b77e1b8207b05_rle_crop_3722000151_0.png', 1346004222: '1742563348_1244666_1346002877_825f8863ec75a80ddd8e0ad94fa24dfd_rle_crop_3722000167_0.png', 1346004224: '1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000190_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/853855c67a0a906e1db29b398b2b44ca_97313529.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7d9fe5386124cefe3210a269fb53e2e0_17397028.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/02798ca97cd9440232242ea8ab8996a1_56834181.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c259a64c2e9c2fed05697ca2174b9629_18529061.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7241c3ed6c9cd6992e8c5b438c85f3f1_76963495.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/938958f3d3f667a55b20fede6fb0c402_63030484.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b122b7574ad4e4ef41b6d65d2e631ccd_77723495.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5034e342eeff844cd476db22cd7f2760_86778090.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ee97001243b7902d7300875a6e25eabc_47157111.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/91a7899e7be56dd9347d1b6c3372e2b1_30070806.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bdb2afda8f83218383559d7aff9dc882_14972543.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/711e0e54541d672283f10beb1e8e4e9b_87463275.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a8e0974b8efa8b6e4c7b1c9e17994b95_74673566.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8899144a5f705023b32001dc8be30a26_1815383.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4e21758c64278c349f9f4a55e18922f7_64894180.png change filename to text .imagette215748481742563504/ imagette215748481742563504/1742563191_825269_1346002126_4e08c60c2b3d74f198753b6d2c8fdc61_rle_crop_3721999259_0.png.png imagette215748481742563504/1742563213_825510_1346002563_9aea57ccfadf9e8898831b192efa61b1_rle_crop_3721999306_0.png.png imagette215748481742563504/1742563332_826773_1346003499_84a63ae72c0c818366c7109d9f6eabed_rle_crop_3722000068_0.png.png imagette215748481742563504/1742563348_1244666_1346002912_23e6201f392820a3713b77e1b8207b05_rle_crop_3722000151_0.png.png imagette215748481742563504/1742563213_825510_1346002666_b5804a17b62ec2841c2ecc380c4e1bf6_rle_crop_3721999248_0.png.png imagette215748481742563504/1742563213_825510_1346002609_26b28865cb649a6521c85b0cf825e3e5_rle_crop_3721999272_0.png.png imagette215748481742563504/1742563332_826773_1346003451_ae63a4fc36f8ce12c3686b35f4787a0c_rle_crop_3722000090_0.png.png imagette215748481742563504/1742563332_826773_1346003391_8d4f6071904ce98168cfb1da7372c527_rle_crop_3722000101_0.png.png imagette215748481742563504/1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999175_0.png.png imagette215748481742563504/1742563191_825269_1346002081_cd077b024dd934e1071665583621dd1b_rle_crop_3721999289_0.png.png imagette215748481742563504/1742563348_1244666_1346002877_825f8863ec75a80ddd8e0ad94fa24dfd_rle_crop_3722000167_0.png.png imagette215748481742563504/1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000126_0.png.png imagette215748481742563504/1742563191_825269_1346002212_b1e54f1cfac686ec556cf796c87e8a5b_rle_crop_3721999206_0.png.png imagette215748481742563504/1742563213_825510_1346002537_be83409556a4f18e2d4ed130f399d2f0_rle_crop_3721999324_0.png.png imagette215748481742563504/1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000190_0.png.png imagette215748481742563504/1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999234_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/118364457c190c57b9e1358edb4117c2_5439848.png imagette215748481742563504 21574839 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=21574839 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346003651: '1742563191_825269_1346002212_b1e54f1cfac686ec556cf796c87e8a5b_rle_crop_3721999209_0.png', 1346003652: '1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999231_0.png', 1346003653: '1742563191_825269_1346002126_4e08c60c2b3d74f198753b6d2c8fdc61_rle_crop_3721999258_0.png', 1346003681: '1742563213_825510_1346002666_b5804a17b62ec2841c2ecc380c4e1bf6_rle_crop_3721999245_0.png', 1346003683: '1742563213_825510_1346002609_26b28865cb649a6521c85b0cf825e3e5_rle_crop_3721999266_0.png', 1346004191: '1742563332_826773_1346003499_84a63ae72c0c818366c7109d9f6eabed_rle_crop_3722000066_0.png', 1346004192: '1742563332_826773_1346003391_8d4f6071904ce98168cfb1da7372c527_rle_crop_3722000098_0.png', 1346004213: '1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000124_0.png', 1346004214: '1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000189_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1ba6db1df4b9312300f96dbd103a6b63_93518654.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7d8a616b6ff0f63247b1f8b31008fe0a_91156864.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3f8d7fdf91a905ef8a96b60e336352d9_40227658.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/32f1168304c64b11c499ba908cd0b5b5_5209011.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d3e8d7a3032aa0fb458e1582d54e3cb2_2554229.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/40877ca591db899f6f41906038a78f13_68822580.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8fe6080c8fa75afa9ff567669296ec4d_48233440.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7f0bd909951ffdfa23004329bfa06005_48467732.png change filename to text .imagette215748391742563505/ imagette215748391742563505/1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999231_0.png.png imagette215748391742563505/1742563213_825510_1346002609_26b28865cb649a6521c85b0cf825e3e5_rle_crop_3721999266_0.png.png imagette215748391742563505/1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000124_0.png.png imagette215748391742563505/1742563332_826773_1346003391_8d4f6071904ce98168cfb1da7372c527_rle_crop_3722000098_0.png.png imagette215748391742563505/1742563191_825269_1346002212_b1e54f1cfac686ec556cf796c87e8a5b_rle_crop_3721999209_0.png.png imagette215748391742563505/1742563191_825269_1346002126_4e08c60c2b3d74f198753b6d2c8fdc61_rle_crop_3721999258_0.png.png imagette215748391742563505/1742563332_826773_1346003499_84a63ae72c0c818366c7109d9f6eabed_rle_crop_3722000066_0.png.png imagette215748391742563505/1742563213_825510_1346002666_b5804a17b62ec2841c2ecc380c4e1bf6_rle_crop_3721999245_0.png.png imagette215748391742563505/1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000189_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7b56438538ba7801d6e8169f17be467b_98346225.png imagette215748391742563505 21574841 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=21574841 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346003754: '1742563213_825510_1346002563_9aea57ccfadf9e8898831b192efa61b1_rle_crop_3721999308_0.png', 1346003781: '1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999169_0.png', 1346003782: '1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999174_0.png', 1346004202: '1742563332_826773_1346003451_ae63a4fc36f8ce12c3686b35f4787a0c_rle_crop_3722000088_0.png', 1346004253: '1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000118_0.png', 1346004255: '1742563348_1244666_1346002912_23e6201f392820a3713b77e1b8207b05_rle_crop_3722000144_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bb85b2aa439687bafcaecd867c207f7c_4486116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a7deebb650ad7b8a8d113412fba37dfd_90205486.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/50275a7133092ab14ceea7ebf3047480_65590932.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7c9b901b670fbc2b17c89c4be8fdad50_55131253.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/af6df98e7074cb859d59b051b23be13c_98495765.png change filename to text .imagette215748411742563506/ imagette215748411742563506/1742563213_825510_1346002563_9aea57ccfadf9e8898831b192efa61b1_rle_crop_3721999308_0.png.png imagette215748411742563506/1742563332_826773_1346003451_ae63a4fc36f8ce12c3686b35f4787a0c_rle_crop_3722000088_0.png.png imagette215748411742563506/1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999169_0.png.png imagette215748411742563506/1742563191_825269_1346002722_0041f8eb05cb1934580331159b19c70b_rle_crop_3721999174_0.png.png imagette215748411742563506/1742563348_1244666_1346002912_23e6201f392820a3713b77e1b8207b05_rle_crop_3722000144_0.png.png imagette215748411742563506/1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000118_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1134b01ccee684aecec519566d041086_89803615.png imagette215748411742563506 21574845 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=21574845 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346003728: '1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999227_0.png', 1346003729: '1742563191_825269_1346002081_cd077b024dd934e1071665583621dd1b_rle_crop_3721999281_0.png', 1346003730: '1742563191_825269_1346002081_cd077b024dd934e1071665583621dd1b_rle_crop_3721999282_0.png', 1346003732: '1742563213_825510_1346002666_b5804a17b62ec2841c2ecc380c4e1bf6_rle_crop_3721999244_0.png', 1346004200: '1742563332_826773_1346003451_ae63a4fc36f8ce12c3686b35f4787a0c_rle_crop_3722000081_0.png', 1346004201: '1742563332_826773_1346003391_8d4f6071904ce98168cfb1da7372c527_rle_crop_3722000096_0.png', 1346004234: '1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000115_0.png', 1346004237: '1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000183_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ee6e7b975db5a711c23a532ab6d76b34_94194266.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5f0dc63684396183860bfe292286e09c_59462954.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/91fa3b3b9fe6368df190d385406ad872_61658129.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/58a4f023665d7756955798b55b91ff76_40551027.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/97368b1ed9175c44e33c06284e198fd5_81917406.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/72fbb38b065e7dfd2b492739d275e005_52717949.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/85b75c4aad2bfa1ecaa4dc1bb4b57e52_51203100.png change filename to text .imagette215748451742563506/ imagette215748451742563506/1742563332_826773_1346003391_8d4f6071904ce98168cfb1da7372c527_rle_crop_3722000096_0.png.png imagette215748451742563506/1742563213_825510_1346002666_b5804a17b62ec2841c2ecc380c4e1bf6_rle_crop_3721999244_0.png.png imagette215748451742563506/1742563348_1244666_1346002847_4f170f160c724ab0c7ff3bed5e8971a7_rle_crop_3722000183_0.png.png imagette215748451742563506/1742563191_825269_1346002156_b2f2f40b01438c5be4f5f1f7c4557f39_rle_crop_3721999227_0.png.png imagette215748451742563506/1742563332_826773_1346003451_ae63a4fc36f8ce12c3686b35f4787a0c_rle_crop_3722000081_0.png.png imagette215748451742563506/1742563191_825269_1346002081_cd077b024dd934e1071665583621dd1b_rle_crop_3721999281_0.png.png imagette215748451742563506/1742563348_1244666_1346003525_3507d82076d83e000ca9c4b0e76a7ce8_rle_crop_3722000115_0.png.png imagette215748451742563506/1742563191_825269_1346002081_cd077b024dd934e1071665583621dd1b_rle_crop_3721999282_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e816de7dae87d128720a7425585efa6f_17500176.png imagette215748451742563506 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21574824 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21574873,21574874,21574875,21574876,21574877,21574878,21574879,21574880,21574881,21574882,21574883,21574884?tags=flou,kraft,Teint_Dans_La_Masse,metal,Carton_brun,plastique,papier,mal_croppe,Carton_gris,environnement,cartonnette,autre_refus your option no_mail is active, we will not send the real mail to your client args[1346004490] : ('0.07173744758601436',) no score found for photo 1346004490 We are sending mail with results at report@fotonower.com args[1346004466] : ('0.07173744758601436',) no score found for photo 1346004466 We are sending mail with results at report@fotonower.com args[1346004439] : ('0.07173744758601436',) no score found for photo 1346004439 We are sending mail with results at report@fotonower.com args[1346004419] : ('0.07173744758601436',) no score found for photo 1346004419 We are sending mail with results at report@fotonower.com args[1346004397] : ('0.07173744758601436',) no score found for photo 1346004397 We are sending mail with results at report@fotonower.com args[1346004371] : ('0.07173744758601436',) no score found for photo 1346004371 We are sending mail with results at report@fotonower.com args[1346004152] : ('0.07173744758601436',) no score found for photo 1346004152 We are sending mail with results at report@fotonower.com args[1346004148] : ('0.07173744758601436',) no score found for photo 1346004148 We are sending mail with results at report@fotonower.com args[1346004144] : ('0.07173744758601436',) no score found for photo 1346004144 We are sending mail with results at report@fotonower.com args[1346004141] : ('0.07173744758601436',) no score found for photo 1346004141 We are sending mail with results at report@fotonower.com refus_total : 0.07173744758601436 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=21574824 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_P21574824_21-03-2025_14_25_03.pdf results_Auto_P21574824_21-03-2025_14_25_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21574824_21-03-2025_14_25_03.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','21574824','results_Auto_P21574824_21-03-2025_14_25_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21574824_21-03-2025_14_25_03.pdf','pdf','','0.23','0.07173744758601436') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21574824]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141] map_info['map_portfolio_photo'] : {21574824: [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141, 1346003951, 1346003925, 1346003904, 1346003887, 1346003862, 1346003818, 1346003525, 1346003499, 1346003451, 1346003391, 1346002959, 1346002937, 1346002912, 1346002877, 1346002847, 1346002722, 1346002666, 1346002609, 1346002563, 1346002537, 1346002212, 1346002156, 1346002126, 1346002081]} final : False mtd_id 4302 list_pids : [1346004490, 1346004466, 1346004439, 1346004419, 1346004397, 1346004371, 1346004152, 1346004148, 1346004144, 1346004141] 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, '2679116') ('4302', '21574824', '1346004490', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004466', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004439', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004419', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004397', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004371', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004152', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004148', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004144', None, None, None, None, None, '2679116') ('4302', None, None, None, None, None, None, None, '2679116') ('4302', '21574824', '1346004141', None, None, None, None, None, '2679116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21574824', '1346004490', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004466', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004439', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004419', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004397', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004371', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004152', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004148', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004144', None, None, None, None, None, '2679116'), ('4302', '21574824', '1346004141', None, None, None, None, None, '2679116')] time used for this insertion : 0.01587200164794922 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.456340312957764 time spend to save output : 0.016186237335205078 total time spend for step 4 : 4.472526550292969 step5:split_time_score Fri Mar 21 14:25: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 : ['21574824'] 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 : [('21574824',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21574824) new photo added, this last batch is non a complet batch, should exit and reload photo caffe_path_current : About to save ! 2 After save, about to update current ! 2.29user 1.99system 0:12.07elapsed 35%CPU (0avgtext+0avgdata 158388maxresident)k 23832inputs+11896outputs (162major+76858minor)pagefaults 0swaps