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 : 3142700 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 (2536448) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2536448) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133387 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2536448'] with mtr_portfolio_ids : ['20133387'] and first list_photo_ids : [] new path : /proc/3142700/ Name: python3 Umask: 0002 State: R (running) Tgid: 3142700 Ngid: 0 Pid: 3142700 PPid: 3142699 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3142700 NSpid: 3142700 NSpgid: 3141800 NSsid: 3141800 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98104 kB VmRSS: 98104 kB RssAnon: 59764 kB RssFile: 38340 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 612 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: 57 nonvoluntary_ctxt_switches: 100 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3142700', 'Ngid': '0', 'Pid': '3142700', 'PPid': '3142699', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3142700', 'NSpid': '3142700', 'NSpgid': '3141800', 'NSsid': '3141800', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98104 kB', 'VmRSS': '98104 kB', 'RssAnon': '59764 kB', 'RssFile': '38340 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '57', 'nonvoluntary_ctxt_switches': '100'} ('datou_batch_current', '3142700', '1106844', '0', '1106844', '865596', '98104', b'', 'marlene', '2536448') 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 (20133387) 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 (2536448 ) ) 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 (20133387) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1333583011, 'portfolio_id': 20133387}, {'photo_id': 1333582984, 'portfolio_id': 20133387}, {'photo_id': 1333582982, 'portfolio_id': 20133387}, {'photo_id': 1333582979, 'portfolio_id': 20133387}, {'photo_id': 1333582414, 'portfolio_id': 20133387}, {'photo_id': 1333582315, 'portfolio_id': 20133387}, {'photo_id': 1333582196, 'portfolio_id': 20133387}, {'photo_id': 1333582027, 'portfolio_id': 20133387}, {'photo_id': 1333581942, 'portfolio_id': 20133387}, {'photo_id': 1333581646, 'portfolio_id': 20133387}, {'photo_id': 1333581643, 'portfolio_id': 20133387}, {'photo_id': 1333581639, 'portfolio_id': 20133387}, {'photo_id': 1333581635, 'portfolio_id': 20133387}, {'photo_id': 1333581494, 'portfolio_id': 20133387}, {'photo_id': 1333581382, 'portfolio_id': 20133387}, {'photo_id': 1333579899, 'portfolio_id': 20133387}, {'photo_id': 1333579835, 'portfolio_id': 20133387}, {'photo_id': 1333579761, 'portfolio_id': 20133387}, {'photo_id': 1333579715, 'portfolio_id': 20133387}, {'photo_id': 1333579448, 'portfolio_id': 20133387}, {'photo_id': 1333579440, 'portfolio_id': 20133387}, {'photo_id': 1333579426, 'portfolio_id': 20133387}, {'photo_id': 1333579424, 'portfolio_id': 20133387}, {'photo_id': 1333579305, 'portfolio_id': 20133387}, {'photo_id': 1333579301, 'portfolio_id': 20133387}, {'photo_id': 1333579297, 'portfolio_id': 20133387}, {'photo_id': 1333579294, 'portfolio_id': 20133387}, {'photo_id': 1333579291, 'portfolio_id': 20133387}, {'photo_id': 1333579288, 'portfolio_id': 20133387}, {'photo_id': 1333579269, 'portfolio_id': 20133387}, {'photo_id': 1333579255, 'portfolio_id': 20133387}, {'photo_id': 1333579254, 'portfolio_id': 20133387}, {'photo_id': 1333579253, 'portfolio_id': 20133387}, {'photo_id': 1333579173, 'portfolio_id': 20133387}, {'photo_id': 1333579167, 'portfolio_id': 20133387}, {'photo_id': 1333579164, 'portfolio_id': 20133387}, {'photo_id': 1333579023, 'portfolio_id': 20133387}, {'photo_id': 1333578711, 'portfolio_id': 20133387}, {'photo_id': 1333578655, 'portfolio_id': 20133387}, {'photo_id': 1333578654, 'portfolio_id': 20133387}, {'photo_id': 1333578653, 'portfolio_id': 20133387}, {'photo_id': 1333578652, 'portfolio_id': 20133387}, {'photo_id': 1333578636, 'portfolio_id': 20133387}, {'photo_id': 1333578633, 'portfolio_id': 20133387}, {'photo_id': 1333578585, 'portfolio_id': 20133387}, {'photo_id': 1333578518, 'portfolio_id': 20133387}, {'photo_id': 1333578460, 'portfolio_id': 20133387}, {'photo_id': 1333577896, 'portfolio_id': 20133387}, {'photo_id': 1333577893, 'portfolio_id': 20133387}] map_portfolio_id_photo_id: {20133387: [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942, 1333581646, 1333581643, 1333581639, 1333581635, 1333581494, 1333581382, 1333579899, 1333579835, 1333579761, 1333579715, 1333579448, 1333579440, 1333579426, 1333579424, 1333579305, 1333579301, 1333579297, 1333579294, 1333579291, 1333579288, 1333579269, 1333579255, 1333579254, 1333579253, 1333579173, 1333579167, 1333579164, 1333579023, 1333578711, 1333578655, 1333578654, 1333578653, 1333578652, 1333578636, 1333578633, 1333578585, 1333578518, 1333578460, 1333577896, 1333577893]} ##### 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.016236066818237305 #### 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 Sat Feb 1 04:14:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20133387) 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 : 20133387 get user id for portfolio 20133387 get sub ptf for main ptf 20133387, type 3726 and hashtags ['mal_croppe', 'environnement', 'Carton_brun', 'papier', 'Carton_gris', 'flou', 'autre_refus', 'kraft', 'metal', 'cartonnette', 'Teint_Dans_La_Masse', 'plastique'] 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`=20133387 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','Carton_brun','papier','Carton_gris','flou','autre_refus','kraft','metal','cartonnette','Teint_Dans_La_Masse','plastique')) 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`=20133387 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','Carton_brun','papier','Carton_gris','flou','autre_refus','kraft','metal','cartonnette','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20133387, 'sub_port_id': 20133406, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12846997, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20133387, 'sub_port_id': 20133407, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12846998, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'Carton_brun': {'main_port_id': 20133387, 'sub_port_id': 20133408, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12846999, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'environnement': {'main_port_id': 20133387, 'sub_port_id': 20133409, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847000, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'Carton_gris': {'main_port_id': 20133387, 'sub_port_id': 20133410, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847001, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'plastique': {'main_port_id': 20133387, 'sub_port_id': 20133411, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847002, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'flou': {'main_port_id': 20133387, 'sub_port_id': 20133412, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847003, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'papier': {'main_port_id': 20133387, 'sub_port_id': 20133413, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847004, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'cartonnette': {'main_port_id': 20133387, 'sub_port_id': 20133414, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847005, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'metal': {'main_port_id': 20133387, 'sub_port_id': 20133415, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847006, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'mal_croppe': {'main_port_id': 20133387, 'sub_port_id': 20133416, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847007, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}, 'autre_refus': {'main_port_id': 20133387, 'sub_port_id': 20133417, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847008, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20133406 , 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=20133387 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 (20133406) result : ((1333583698,), (1333583732,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133407 , 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=20133387 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 (20133407) result : ((1333583681,), (1333583682,), (1333583683,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133408 , 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=20133387 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 (20133408) result : ((1333579252,), (1333579419,), (1333579420,), (1333579421,), (1333579422,), (1333579444,), (1333579445,), (1333579446,), (1333579447,), (1333581242,), (1333581243,), (1333581246,), (1333581248,), (1333581729,), (1333581730,), (1333581732,), (1333581733,), (1333583687,), (1333583688,), (1333583689,), (1333583690,), (1333583691,), (1333583692,), (1333583693,), (1333583729,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133409 , 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=20133387 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 (20133409) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133410 , 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=20133387 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 (20133410) result : ((1333579418,), (1333579437,), (1333581152,), (1333581665,), (1333582292,), (1333583485,), (1333583727,), (1333583728,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133411 , 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=20133387 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 (20133411) result : ((1333579449,), (1333579450,), (1333579451,), (1333579452,), (1333581754,), (1333581756,), (1333581758,), (1333581759,), (1333583695,), (1333583697,), (1333583731,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133412 , 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=20133387 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 (20133412) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133413 , 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=20133387 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 (20133413) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133414 , 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=20133387 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 (20133414) result : ((1333579441,), (1333579442,), (1333579443,), (1333581687,), (1333581689,), (1333581690,), (1333582343,), (1333582344,), (1333582346,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133415 , 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=20133387 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 (20133415) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133416 , 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=20133387 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 (20133416) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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 20133417 , 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=20133387 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 (20133417) result : ((1333579250,), (1333579251,), (1333579427,), (1333579428,), (1333581663,), (1333581664,), (1333582264,), (1333582267,), (1333582311,), (1333582313,), (1333583465,), (1333583468,), (1333583684,), (1333583685,), (1333583686,), (1333583726,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20133387) result : ((1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,)) 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`=20133387 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','Carton_brun','papier','Carton_gris','flou','autre_refus','kraft','metal','cartonnette','Teint_Dans_La_Masse','plastique')) 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`=20133387 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','Carton_brun','papier','Carton_gris','flou','autre_refus','kraft','metal','cartonnette','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20133387, 'sub_port_id': 20133418, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847009, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 20133387, 'sub_port_id': 20133419, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847010, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'Carton_brun': {'main_port_id': 20133387, 'sub_port_id': 20133420, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847011, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'environnement': {'main_port_id': 20133387, 'sub_port_id': 20133421, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847012, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'Carton_gris': {'main_port_id': 20133387, 'sub_port_id': 20133422, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847013, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'plastique': {'main_port_id': 20133387, 'sub_port_id': 20133423, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847014, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'flou': {'main_port_id': 20133387, 'sub_port_id': 20133424, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847015, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'papier': {'main_port_id': 20133387, 'sub_port_id': 20133425, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847016, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'cartonnette': {'main_port_id': 20133387, 'sub_port_id': 20133426, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847017, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'metal': {'main_port_id': 20133387, 'sub_port_id': 20133427, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847018, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'mal_croppe': {'main_port_id': 20133387, 'sub_port_id': 20133428, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847019, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}, 'autre_refus': {'main_port_id': 20133387, 'sub_port_id': 20133429, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12847020, 'last_updated_at': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 1, 4, 10, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 1, 4, 5)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133409 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133415 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20133429,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20133417 lien utilise dans velours : https://www.fotonower.com/velours/20133418,20133419,20133420,20133421,20133422,20133423,20133424,20133425,20133426,20133427,20133428,20133429?tags=kraft,Teint_Dans_La_Masse,Carton_brun,environnement,Carton_gris,plastique,flou,papier,cartonnette,metal,mal_croppe,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20133387]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942] map_info['map_portfolio_photo'] : {20133387: [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942, 1333581646, 1333581643, 1333581639, 1333581635, 1333581494, 1333581382, 1333579899, 1333579835, 1333579761, 1333579715, 1333579448, 1333579440, 1333579426, 1333579424, 1333579305, 1333579301, 1333579297, 1333579294, 1333579291, 1333579288, 1333579269, 1333579255, 1333579254, 1333579253, 1333579173, 1333579167, 1333579164, 1333579023, 1333578711, 1333578655, 1333578654, 1333578653, 1333578652, 1333578636, 1333578633, 1333578585, 1333578518, 1333578460, 1333577896, 1333577893]} final : False mtd_id 4302 list_pids : [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942] Looping around the photos to save general results len do output : 1 /20133387. 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, '2536448') ('4302', '20133387', '1333583011', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582984', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582982', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582979', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582414', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582315', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582196', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582027', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333581942', None, None, None, None, None, '2536448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20133387', "{'kraft': 20133406, 'Teint_Dans_La_Masse': 20133407, 'Carton_brun': 20133408, 'environnement': 20133409, 'Carton_gris': 20133410, 'plastique': 20133411, 'flou': 20133412, 'papier': 20133413, 'cartonnette': 20133414, 'metal': 20133415, 'mal_croppe': 20133416, 'autre_refus': 20133417}", None, None, None, None, '2536448'), ('4302', '20133387', '1333583011', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582984', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582982', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582979', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582414', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582315', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582196', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582027', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333581942', None, None, None, None, None, '2536448')] time used for this insertion : 0.014678239822387695 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4621758460998535 time spend to save output : 0.015019893646240234 total time spend for step 1 : 1.4771957397460938 step2:final Sat Feb 1 04:14:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (20133387) 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 20133387 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1333577896,1333577893,1333578636,1333578633,1333578585,1333578518,1333578460,1333578711,1333578655,1333578654,1333578653,1333578652,1333579173,1333579167,1333579164,1333579023,1333579269,1333579255,1333579254,1333579253,1333579305,1333579301,1333579297,1333579294,1333579291,1333579288,1333579448,1333579440,1333579426,1333579424,1333579899,1333579835,1333579761,1333579715,1333581646,1333581643,1333581639,1333581635,1333581494,1333581382,1333582414,1333582315,1333582196,1333582027,1333581942,1333583011,1333582984,1333582982,1333582979); 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([20133387]) Inside saveOutput : final : False verbose : True original output for save of step final : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} new output for save of step final : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942] map_info['map_portfolio_photo'] : {20133387: [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942, 1333581646, 1333581643, 1333581639, 1333581635, 1333581494, 1333581382, 1333579899, 1333579835, 1333579761, 1333579715, 1333579448, 1333579440, 1333579426, 1333579424, 1333579305, 1333579301, 1333579297, 1333579294, 1333579291, 1333579288, 1333579269, 1333579255, 1333579254, 1333579253, 1333579173, 1333579167, 1333579164, 1333579023, 1333578711, 1333578655, 1333578654, 1333578653, 1333578652, 1333578636, 1333578633, 1333578585, 1333578518, 1333578460, 1333577896, 1333577893]} final : False mtd_id 4302 list_pids : [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942] Looping around the photos to save general results len do output : 9 /1333583011.Didn't retrieve data . /1333582984.Didn't retrieve data . /1333582982.Didn't retrieve data . /1333582979.Didn't retrieve data . /1333582414.Didn't retrieve data . /1333582315.Didn't retrieve data . /1333582196.Didn't retrieve data . /1333582027.Didn't retrieve data . /1333581942.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, '2536448') ('4302', '20133387', '1333583011', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582984', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582982', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582979', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582414', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582315', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582196', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582027', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333581942', None, None, None, None, None, '2536448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20133387', '1333583011', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582984', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582982', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582979', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582414', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582315', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582196', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333582027', '0.05752133669136763', None, None, None, None, '2536448'), ('4302', '20133387', '1333581942', '0.05752133669136763', None, None, None, None, '2536448')] time used for this insertion : 0.03216838836669922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.16208362579345703 time spend to save output : 0.03273129463195801 total time spend for step 2 : 0.19481492042541504 step3:velours_tree Sat Feb 1 04:14:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20133387: [{'kraft': 20133406, 'Teint_Dans_La_Masse': 20133407, 'Carton_brun': 20133408, 'environnement': 20133409, 'Carton_gris': 20133410, 'plastique': 20133411, 'flou': 20133412, 'papier': 20133413, 'cartonnette': 20133414, 'metal': 20133415, 'mal_croppe': 20133416, 'autre_refus': 20133417}]} input_args_next_step : {20133387: ()} output_args : {20133387: [{'kraft': 20133406, 'Teint_Dans_La_Masse': 20133407, 'Carton_brun': 20133408, 'environnement': 20133409, 'Carton_gris': 20133410, 'plastique': 20133411, 'flou': 20133412, 'papier': 20133413, 'cartonnette': 20133414, 'metal': 20133415, 'mal_croppe': 20133416, 'autre_refus': 20133417}]} args : 20133387 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 : ({'kraft': 20133406, 'Teint_Dans_La_Masse': 20133407, 'Carton_brun': 20133408, 'environnement': 20133409, 'Carton_gris': 20133410, 'plastique': 20133411, 'flou': 20133412, 'papier': 20133413, 'cartonnette': 20133414, 'metal': 20133415, 'mal_croppe': 20133416, 'autre_refus': 20133417},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20133387) 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([20133387]) 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.5614941120147705 time spend to save output : 5.7697296142578125e-05 total time spend for step 3 : 0.5615518093109131 step4:send_mail_cod Sat Feb 1 04:14:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} input_args_next_step : {1333583011: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333583011 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582984 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582982 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582979 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582414 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582315 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582196 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333582027 depend.output_id : 0 input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ()} output_args : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',)} args : 1333581942 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 : {20133387: [{'kraft': 20133406, 'Teint_Dans_La_Masse': 20133407, 'Carton_brun': 20133408, 'environnement': 20133409, 'Carton_gris': 20133410, 'plastique': 20133411, 'flou': 20133412, 'papier': 20133413, 'cartonnette': 20133414, 'metal': 20133415, 'mal_croppe': 20133416, 'autre_refus': 20133417}]} input_args_next_step : {1333583011: ('0.05752133669136763',), 1333582984: ('0.05752133669136763',), 1333582982: ('0.05752133669136763',), 1333582979: ('0.05752133669136763',), 1333582414: ('0.05752133669136763',), 1333582315: ('0.05752133669136763',), 1333582196: ('0.05752133669136763',), 1333582027: ('0.05752133669136763',), 1333581942: ('0.05752133669136763',), 20133387: ()} output_args : {20133387: [{'kraft': 20133406, 'Teint_Dans_La_Masse': 20133407, 'Carton_brun': 20133408, 'environnement': 20133409, 'Carton_gris': 20133410, 'plastique': 20133411, 'flou': 20133412, 'papier': 20133413, 'cartonnette': 20133414, 'metal': 20133415, 'mal_croppe': 20133416, 'autre_refus': 20133417}]} args : 20133387 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :10, first value : ('0.05752133669136763',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20133387) 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 (1333583011,1333582984,1333582982,1333582979,1333582414,1333582315,1333582196,1333582027,1333581942) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1333581942 begin to download photo : 1333582196 begin to download photo : 1333582414 begin to download photo : 1333582982 begin to download photo : 1333583011 download finish for photo 1333583011 download finish for photo 1333582982 begin to download photo : 1333582984 download finish for photo 1333582196 begin to download photo : 1333582315 download finish for photo 1333581942 begin to download photo : 1333582027 download finish for photo 1333582414 begin to download photo : 1333582979 download finish for photo 1333582984 download finish for photo 1333582979 download finish for photo 1333582315 download finish for photo 1333582027 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P20133387_01-02-2025_04_14_30.pdf 20133406 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=20133406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333583698: '1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217833_0.png', 1333583732: '1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224072_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/b40324970a7645b451e5a625ec73e413_81671923.png change filename to text .imagette201334061738379670/ imagette201334061738379670/1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217833_0.png.png imagette201334061738379670/1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224072_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/ebf19a48f71364587a2cd4910afb2536_20091916.png imagette201334061738379670 20133411 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=20133411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333579449: '1738379135_3257934_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210544_0.png', 1333579450: '1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210790_0.png', 1333579451: '1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210787_0.png', 1333579452: '1738379135_3257934_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210872_0.png', 1333581754: '1738379312_3266057_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210544_0.png', 1333581756: '1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210790_0.png', 1333581758: '1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210787_0.png', 1333581759: '1738379312_3266057_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210872_0.png', 1333583695: '1738379492_3270631_1333579294_125f15ab0e4f4d8217b8690c27937182_rle_crop_3648217813_0.png', 1333583697: '1738379492_3270631_1333579291_20f245dedcd397b7747a754845a1a2aa_rle_crop_3648217824_0.png', 1333583731: '1738379593_3274178_1333582982_1bd342ddbf5e523837d3f1bda30556e2_rle_crop_3648223906_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/544f27b8fc56c813449548f7a36f4d98_73558889.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/f2a4f4332771be0d92e9e926cdaacc29_84323108.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/2f5f340b20ca298ab2d72b91729d4f53_57545589.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/6387c62e8d3ed29be75e0298aea6f546_84492139.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/544f27b8fc56c813449548f7a36f4d98_35449795.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/f2a4f4332771be0d92e9e926cdaacc29_44996827.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/2f5f340b20ca298ab2d72b91729d4f53_73747532.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/6387c62e8d3ed29be75e0298aea6f546_37919053.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/5ec0da4495ed9841edcda127eb6562c0_89262150.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/b7224ba1a6af3612eef1b7b05188cd76_70514953.png change filename to text .imagette201334111738379671/ imagette201334111738379671/1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210787_0.png.png imagette201334111738379671/1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210790_0.png.png imagette201334111738379671/1738379312_3266057_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210872_0.png.png imagette201334111738379671/1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210787_0.png.png imagette201334111738379671/1738379135_3257934_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210544_0.png.png imagette201334111738379671/1738379492_3270631_1333579294_125f15ab0e4f4d8217b8690c27937182_rle_crop_3648217813_0.png.png imagette201334111738379671/1738379312_3266057_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210544_0.png.png imagette201334111738379671/1738379593_3274178_1333582982_1bd342ddbf5e523837d3f1bda30556e2_rle_crop_3648223906_0.png.png imagette201334111738379671/1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210790_0.png.png imagette201334111738379671/1738379492_3270631_1333579291_20f245dedcd397b7747a754845a1a2aa_rle_crop_3648217824_0.png.png imagette201334111738379671/1738379135_3257934_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210872_0.png.png imagette201334121738379671/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/0611b72a62425a7e74cb4a309904c915_19816325.png imagette201334111738379671 20133412 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=20133412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201334121738379671 20133414 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=20133414 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333579441: '1738379135_3257934_1333579173_15f86ee44926fc40b37f246f18b84a18_rle_crop_3648210196_0.png', 1333579442: '1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210785_0.png', 1333579443: '1738379135_3257934_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210870_0.png', 1333581687: '1738379312_3266057_1333579173_15f86ee44926fc40b37f246f18b84a18_rle_crop_3648210196_0.png', 1333581689: '1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210785_0.png', 1333581690: '1738379312_3266057_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210870_0.png', 1333582343: '1738379354_3266961_1333579426_d03363abadc96d1002663f4f196a799b_rle_crop_3648214680_0.png', 1333582344: '1738379354_3266961_1333579426_d03363abadc96d1002663f4f196a799b_rle_crop_3648214678_0.png', 1333582346: '1738379354_3266961_1333579424_a578431b3488d30f1b52af7f876f3235_rle_crop_3648214694_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/1694749d7b640807ef1fe5e4cff9855e_79831466.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/2bea0d0dd7e5a4977229a48c54a2ce7d_65186961.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/46470eb94c2a06cab83e451bd49f381e_84447618.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/1694749d7b640807ef1fe5e4cff9855e_24380682.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/2bea0d0dd7e5a4977229a48c54a2ce7d_5888493.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/46470eb94c2a06cab83e451bd49f381e_11683752.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/72db180dead3c4c601374808a6ca7056_41721198.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/e92b80cd64bfb7483f5ad7423559e70f_28867499.png change filename to text .imagette201334141738379671/ imagette201334141738379671/1738379354_3266961_1333579424_a578431b3488d30f1b52af7f876f3235_rle_crop_3648214694_0.png.png imagette201334141738379671/1738379354_3266961_1333579426_d03363abadc96d1002663f4f196a799b_rle_crop_3648214678_0.png.png imagette201334141738379671/1738379135_3257934_1333579173_15f86ee44926fc40b37f246f18b84a18_rle_crop_3648210196_0.png.png imagette201334141738379671/1738379135_3257934_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210870_0.png.png imagette201334141738379671/1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210785_0.png.png imagette201334141738379671/1738379312_3266057_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210870_0.png.png imagette201334141738379671/1738379312_3266057_1333579173_15f86ee44926fc40b37f246f18b84a18_rle_crop_3648210196_0.png.png imagette201334141738379671/1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210785_0.png.png imagette201334141738379671/1738379354_3266961_1333579426_d03363abadc96d1002663f4f196a799b_rle_crop_3648214680_0.png.png imagette201334151738379672/ imagette201334161738379672/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/b5cc7739a7b33be536be3754eceb5b5c_15702696.png imagette201334141738379671 20133415 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=20133415 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201334151738379672 20133416 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=20133416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201334161738379672 20133417 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=20133417 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333579250: '1738379052_3256093_1333577896_34e179f128ff7b5365db06e895577ce4_rle_crop_3648203746_0.png', 1333579251: '1738379052_3256093_1333577893_409607cda456e3b3f5fd1cc64e71f438_rle_crop_3648204030_0.png', 1333579427: '1738379135_3257934_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210534_0.png', 1333579428: '1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210774_0.png', 1333581663: '1738379312_3266057_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210534_0.png', 1333581664: '1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210774_0.png', 1333582264: '1738379342_3266762_1333578711_530304a1532023e2392b6c15479209de_rle_crop_3648214610_0.png', 1333582267: '1738379342_3266762_1333578460_a0bcb72cb61d0a4df2c6793a85d3e8f3_rle_crop_3648214673_0.png', 1333582311: '1738379354_3266961_1333579440_525a335daea1c90520549767741fd971_rle_crop_3648214644_0.png', 1333582313: '1738379354_3266961_1333579440_525a335daea1c90520549767741fd971_rle_crop_3648214650_0.png', 1333583465: '1738379434_3269494_1333578711_530304a1532023e2392b6c15479209de_rle_crop_3648214610_0.png', 1333583468: '1738379434_3269494_1333578460_a0bcb72cb61d0a4df2c6793a85d3e8f3_rle_crop_3648214673_0.png', 1333583684: '1738379492_3270631_1333579297_fb3d3743d98750215e1cf4c4eab55ee1_rle_crop_3648215204_0.png', 1333583685: '1738379492_3270631_1333579294_125f15ab0e4f4d8217b8690c27937182_rle_crop_3648217804_0.png', 1333583686: '1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217831_0.png', 1333583726: '1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224069_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/0bc283959a3987aa6329cc882c2b3c03_29455107.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7d73c7d900c0ea93c3213a49b367f2d2_67423101.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/6d4c99f205ba3c8ee02e878624e6b850_69706328.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/5cabc46b5ddfc78db3795f4df8d6baf8_33751401.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/6d4c99f205ba3c8ee02e878624e6b850_48554496.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/5cabc46b5ddfc78db3795f4df8d6baf8_90533418.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/300a7130e32917e1d48d3f3a73bf3de4_64187162.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/1e9b5528d2f1b4e7c86094d251702762_66064695.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7096004a1d2e425657c44471c7f2062d_40842699.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/4ad09adcfacfe01f69bf521ad4f5b0be_73276453.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/300a7130e32917e1d48d3f3a73bf3de4_85966697.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/1e9b5528d2f1b4e7c86094d251702762_90010280.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/48415fea5f888c9d585a53f16ed80a13_75518435.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/8000a3f665412f9b48b868fb0d59a503_66811859.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/0094df5f57738ee0afd33a67292db37f_7918135.png change filename to text .imagette201334171738379672/ imagette201334171738379672/1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210774_0.png.png imagette201334171738379672/1738379354_3266961_1333579440_525a335daea1c90520549767741fd971_rle_crop_3648214650_0.png.png imagette201334171738379672/1738379492_3270631_1333579297_fb3d3743d98750215e1cf4c4eab55ee1_rle_crop_3648215204_0.png.png imagette201334171738379672/1738379354_3266961_1333579440_525a335daea1c90520549767741fd971_rle_crop_3648214644_0.png.png imagette201334171738379672/1738379342_3266762_1333578460_a0bcb72cb61d0a4df2c6793a85d3e8f3_rle_crop_3648214673_0.png.png imagette201334171738379672/1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217831_0.png.png imagette201334171738379672/1738379135_3257934_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210534_0.png.png imagette201334171738379672/1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224069_0.png.png imagette201334171738379672/1738379052_3256093_1333577896_34e179f128ff7b5365db06e895577ce4_rle_crop_3648203746_0.png.png imagette201334171738379672/1738379434_3269494_1333578460_a0bcb72cb61d0a4df2c6793a85d3e8f3_rle_crop_3648214673_0.png.png imagette201334171738379672/1738379342_3266762_1333578711_530304a1532023e2392b6c15479209de_rle_crop_3648214610_0.png.png imagette201334171738379672/1738379312_3266057_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210534_0.png.png imagette201334171738379672/1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210774_0.png.png imagette201334171738379672/1738379492_3270631_1333579294_125f15ab0e4f4d8217b8690c27937182_rle_crop_3648217804_0.png.png imagette201334171738379672/1738379434_3269494_1333578711_530304a1532023e2392b6c15479209de_rle_crop_3648214610_0.png.png imagette201334171738379672/1738379052_3256093_1333577893_409607cda456e3b3f5fd1cc64e71f438_rle_crop_3648204030_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/64189b654df2f169d3a3cbc984071d04_30089635.png imagette201334171738379672 20133407 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=20133407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333583681: '1738379492_3270631_1333579448_54834f26ab564e6e8363b230a2bfdc67_rle_crop_3648215083_0.png', 1333583682: '1738379492_3270631_1333579301_5c77215b7afb64159fb0dac2c53ea19e_rle_crop_3648215102_0.png', 1333583683: '1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217834_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/e3fb26d2768612d23d664b88354ec3ba_26762421.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/cfcd74d6ef7649800b6350ffe29d9eb0_71555278.png change filename to text .imagette201334071738379673/ imagette201334071738379673/1738379492_3270631_1333579448_54834f26ab564e6e8363b230a2bfdc67_rle_crop_3648215083_0.png.png imagette201334071738379673/1738379492_3270631_1333579301_5c77215b7afb64159fb0dac2c53ea19e_rle_crop_3648215102_0.png.png imagette201334071738379673/1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217834_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/8062c6a90f0ff9c5a5dadcef7cb803fb_76613775.png imagette201334071738379673 20133408 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=20133408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333581248: '1738379294_3265261_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210294_0.png', 1333583729: '1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224078_0.png', 1333583693: '1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217837_0.png', 1333583692: '1738379492_3270631_1333579291_20f245dedcd397b7747a754845a1a2aa_rle_crop_3648217823_0.png', 1333583691: '1738379492_3270631_1333579297_fb3d3743d98750215e1cf4c4eab55ee1_rle_crop_3648215211_0.png', 1333583690: '1738379492_3270631_1333579297_fb3d3743d98750215e1cf4c4eab55ee1_rle_crop_3648215215_0.png', 1333583689: '1738379492_3270631_1333579301_5c77215b7afb64159fb0dac2c53ea19e_rle_crop_3648215103_0.png', 1333583688: '1738379492_3270631_1333579448_54834f26ab564e6e8363b230a2bfdc67_rle_crop_3648215085_0.png', 1333583687: '1738379492_3270631_1333579448_54834f26ab564e6e8363b230a2bfdc67_rle_crop_3648215086_0.png', 1333581733: '1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210783_0.png', 1333581732: '1738379312_3266057_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210540_0.png', 1333581730: '1738379312_3266057_1333578655_667fd2127934d84de84a148531ea06c7_rle_crop_3648210306_0.png', 1333581729: '1738379312_3266057_1333579173_15f86ee44926fc40b37f246f18b84a18_rle_crop_3648210201_0.png', 1333579252: '1738379052_3256093_1333577896_34e179f128ff7b5365db06e895577ce4_rle_crop_3648203748_0.png', 1333581246: '1738379294_3265261_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210292_0.png', 1333581243: '1738379294_3265261_1333579164_ceaebbfcee9ffed9b09b660c99fab71c_rle_crop_3648210180_0.png', 1333581242: '1738379294_3265261_1333579167_6a1747c171909176bb2537375fb27d20_rle_crop_3648209917_0.png', 1333579447: '1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210783_0.png', 1333579446: '1738379135_3257934_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210540_0.png', 1333579445: '1738379135_3257934_1333578655_667fd2127934d84de84a148531ea06c7_rle_crop_3648210306_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7074e3dad1470d6ed8f9f7219d8f943a_22620599.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/21d37b81d29527abf0fac131699f8196_65044111.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/55e5863edc65787a6c11789e6c2275c9_50745556.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/5fa7a8a3ff9d863b61446d504b82a939_18871972.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/318a2e28d9e36c70684220d46b2ee40a_80804938.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/f09754ab5faec8f1081232540d77a38f_3191692.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/61a37789558f3138079986ac1efdaffe_69518184.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/9b862b9ddb11f3d0ab3b76d059e1ea39_62428080.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/681a39dd73237182aaa9d077d944caae_54006662.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/f5b052c5dd45b840f176e4560ec362e1_22193789.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7537d41dfff314da1fed401e81fde635_14750442.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/64dfb3618dca1666a3e69008b2a2684b_51812916.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7becad7cda3b999425c97438b3a10a0b_79991160.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/ba7fee29e4688983e0635bc45f90d396_52996178.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/a2310bdd98f309bba001e1bffa680dfd_21770570.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/635a77033a8c63fb7c8ae991acd2deb3_17527617.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/c3950f233ee5a565a7834fa8a6dc23fa_33557923.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/f5b052c5dd45b840f176e4560ec362e1_34576662.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7537d41dfff314da1fed401e81fde635_46418528.png change filename to text .imagette201334081738379673/ imagette201334081738379673/1738379492_3270631_1333579291_20f245dedcd397b7747a754845a1a2aa_rle_crop_3648217823_0.png.png imagette201334081738379673/1738379294_3265261_1333579167_6a1747c171909176bb2537375fb27d20_rle_crop_3648209917_0.png.png imagette201334081738379673/1738379312_3266057_1333578655_667fd2127934d84de84a148531ea06c7_rle_crop_3648210306_0.png.png imagette201334081738379673/1738379492_3270631_1333579301_5c77215b7afb64159fb0dac2c53ea19e_rle_crop_3648215103_0.png.png imagette201334081738379673/1738379492_3270631_1333579448_54834f26ab564e6e8363b230a2bfdc67_rle_crop_3648215085_0.png.png imagette201334081738379673/1738379294_3265261_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210292_0.png.png imagette201334081738379673/1738379294_3265261_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210294_0.png.png imagette201334081738379673/1738379135_3257934_1333578655_667fd2127934d84de84a148531ea06c7_rle_crop_3648210306_0.png.png imagette201334081738379673/1738379492_3270631_1333579288_4a1f2f28b6b0c039b96a29c4ca11cd0b_rle_crop_3648217837_0.png.png imagette201334081738379673/1738379312_3266057_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210540_0.png.png imagette201334081738379673/1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224078_0.png.png imagette201334081738379673/1738379492_3270631_1333579297_fb3d3743d98750215e1cf4c4eab55ee1_rle_crop_3648215215_0.png.png imagette201334081738379673/1738379135_3257934_1333578654_4cfba04b8d1008fc8b6a3a67c1c2389a_rle_crop_3648210540_0.png.png imagette201334081738379673/1738379492_3270631_1333579448_54834f26ab564e6e8363b230a2bfdc67_rle_crop_3648215086_0.png.png imagette201334081738379673/1738379052_3256093_1333577896_34e179f128ff7b5365db06e895577ce4_rle_crop_3648203748_0.png.png imagette201334081738379673/1738379294_3265261_1333579164_ceaebbfcee9ffed9b09b660c99fab71c_rle_crop_3648210180_0.png.png imagette201334081738379673/1738379135_3257934_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210783_0.png.png imagette201334081738379673/1738379312_3266057_1333578653_482bba161a49c68f6f7825a5a97b42a5_rle_crop_3648210783_0.png.png imagette201334081738379673/1738379312_3266057_1333579173_15f86ee44926fc40b37f246f18b84a18_rle_crop_3648210201_0.png.png imagette201334081738379673/1738379492_3270631_1333579297_fb3d3743d98750215e1cf4c4eab55ee1_rle_crop_3648215211_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/64dfb3618dca1666a3e69008b2a2684b_78978804.png imagette201334081738379673 20133410 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=20133410 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333579418: '1738379153_3258200_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210287_0.png', 1333579437: '1738379135_3257934_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210867_0.png', 1333581152: '1738379294_3265261_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210287_0.png', 1333581665: '1738379312_3266057_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210867_0.png', 1333582292: '1738379342_3266762_1333578518_7bfff4ba403e2abcfae5219f1c4f12d7_rle_crop_3648214638_0.png', 1333583485: '1738379434_3269494_1333578518_7bfff4ba403e2abcfae5219f1c4f12d7_rle_crop_3648214638_0.png', 1333583727: '1738379593_3274178_1333582982_1bd342ddbf5e523837d3f1bda30556e2_rle_crop_3648223909_0.png', 1333583728: '1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224082_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/dfd2f62925aa55fb5e02cd31173dca4f_99112102.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/0cbdafda84d3d64b6382e765bbd821a3_99076501.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/dfd2f62925aa55fb5e02cd31173dca4f_64599010.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/0cbdafda84d3d64b6382e765bbd821a3_3382348.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/1f9432a54f7fbfa81011863a4b345125_87783263.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/1f9432a54f7fbfa81011863a4b345125_55801949.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/f4946e27271f5e4b02fbf356c9da68ac_55050767.png change filename to text .imagette201334101738379674/ imagette201334101738379674/1738379135_3257934_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210867_0.png.png imagette201334101738379674/1738379294_3265261_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210287_0.png.png imagette201334101738379674/1738379312_3266057_1333578652_3c36e9a763c9b8eb5fed3309b6a0d053_rle_crop_3648210867_0.png.png imagette201334101738379674/1738379593_3274178_1333582979_4c70e2ae6837544e54f97ff5deb78124_rle_crop_3648224082_0.png.png imagette201334101738379674/1738379342_3266762_1333578518_7bfff4ba403e2abcfae5219f1c4f12d7_rle_crop_3648214638_0.png.png imagette201334101738379674/1738379153_3258200_1333579023_659e0ee283bc7578fe7dee0d67da3858_rle_crop_3648210287_0.png.png imagette201334101738379674/1738379434_3269494_1333578518_7bfff4ba403e2abcfae5219f1c4f12d7_rle_crop_3648214638_0.png.png imagette201334101738379674/1738379593_3274178_1333582982_1bd342ddbf5e523837d3f1bda30556e2_rle_crop_3648223909_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7161edebe4c8cbb1664a125030d7c09f_72209706.png imagette201334101738379674 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20133387 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20133418,20133419,20133420,20133421,20133422,20133423,20133424,20133425,20133426,20133427,20133428,20133429?tags=kraft,Teint_Dans_La_Masse,Carton_brun,environnement,Carton_gris,plastique,flou,papier,cartonnette,metal,mal_croppe,autre_refus your option no_mail is active, we will not send the real mail to your client args[1333583011] : ('0.05752133669136763',) no score found for photo 1333583011 We are sending mail with results at report@fotonower.com args[1333582984] : ('0.05752133669136763',) no score found for photo 1333582984 We are sending mail with results at report@fotonower.com args[1333582982] : ('0.05752133669136763',) no score found for photo 1333582982 We are sending mail with results at report@fotonower.com args[1333582979] : ('0.05752133669136763',) no score found for photo 1333582979 We are sending mail with results at report@fotonower.com args[1333582414] : ('0.05752133669136763',) no score found for photo 1333582414 We are sending mail with results at report@fotonower.com args[1333582315] : ('0.05752133669136763',) no score found for photo 1333582315 We are sending mail with results at report@fotonower.com args[1333582196] : ('0.05752133669136763',) no score found for photo 1333582196 We are sending mail with results at report@fotonower.com args[1333582027] : ('0.05752133669136763',) no score found for photo 1333582027 We are sending mail with results at report@fotonower.com args[1333581942] : ('0.05752133669136763',) no score found for photo 1333581942 We are sending mail with results at report@fotonower.com refus_total : 0.05752133669136763 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=20133387 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_P20133387_01-02-2025_04_14_30.pdf results_Auto_P20133387_01-02-2025_04_14_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20133387_01-02-2025_04_14_30.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','20133387','results_Auto_P20133387_01-02-2025_04_14_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20133387_01-02-2025_04_14_30.pdf','pdf','','0.26','0.05752133669136763') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20133387]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942] map_info['map_portfolio_photo'] : {20133387: [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942, 1333581646, 1333581643, 1333581639, 1333581635, 1333581494, 1333581382, 1333579899, 1333579835, 1333579761, 1333579715, 1333579448, 1333579440, 1333579426, 1333579424, 1333579305, 1333579301, 1333579297, 1333579294, 1333579291, 1333579288, 1333579269, 1333579255, 1333579254, 1333579253, 1333579173, 1333579167, 1333579164, 1333579023, 1333578711, 1333578655, 1333578654, 1333578653, 1333578652, 1333578636, 1333578633, 1333578585, 1333578518, 1333578460, 1333577896, 1333577893]} final : False mtd_id 4302 list_pids : [1333583011, 1333582984, 1333582982, 1333582979, 1333582414, 1333582315, 1333582196, 1333582027, 1333581942] 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, '2536448') ('4302', '20133387', '1333583011', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582984', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582982', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582979', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582414', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582315', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582196', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333582027', None, None, None, None, None, '2536448') ('4302', None, None, None, None, None, None, None, '2536448') ('4302', '20133387', '1333581942', None, None, None, None, None, '2536448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20133387', '1333583011', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582984', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582982', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582979', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582414', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582315', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582196', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333582027', None, None, None, None, None, '2536448'), ('4302', '20133387', '1333581942', None, None, None, None, None, '2536448')] time used for this insertion : 0.015911579132080078 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.340267181396484 time spend to save output : 0.01617431640625 total time spend for step 4 : 5.356441497802734 step5:split_time_score Sat Feb 1 04:14:36 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 : ['20133387'] 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 : [('20133387',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20133387) 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.42user 2.69system 0:10.19elapsed 50%CPU (0avgtext+0avgdata 160264maxresident)k 90480inputs+17104outputs (395major+74145minor)pagefaults 0swaps