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 : 3870376 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 (2611903) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2611903) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792366 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2611903'] with mtr_portfolio_ids : ['20792366'] and first list_photo_ids : [] new path : /proc/3870376/ Name: python3 Umask: 0002 State: R (running) Tgid: 3870376 Ngid: 0 Pid: 3870376 PPid: 3870375 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3870376 NSpid: 3870376 NSpgid: 3867679 NSsid: 3867679 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99532 kB VmRSS: 99532 kB RssAnon: 59764 kB RssFile: 39768 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 624 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 164 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3870376', 'Ngid': '0', 'Pid': '3870376', 'PPid': '3870375', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3870376', 'NSpid': '3870376', 'NSpgid': '3867679', 'NSsid': '3867679', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99532 kB', 'VmRSS': '99532 kB', 'RssAnon': '59764 kB', 'RssFile': '39768 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '624 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '164'} ('datou_batch_current', '3870376', '1106844', '0', '1106844', '865592', '99532', b'', 'marlene', '2611903') 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 (20792366) 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 (2611903 ) ) 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 (20792366) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339508064, 'portfolio_id': 20792366}, {'photo_id': 1339507868, 'portfolio_id': 20792366}, {'photo_id': 1339507864, 'portfolio_id': 20792366}, {'photo_id': 1339507859, 'portfolio_id': 20792366}, {'photo_id': 1339507855, 'portfolio_id': 20792366}, {'photo_id': 1339507852, 'portfolio_id': 20792366}, {'photo_id': 1339507851, 'portfolio_id': 20792366}, {'photo_id': 1339507832, 'portfolio_id': 20792366}, {'photo_id': 1339507829, 'portfolio_id': 20792366}, {'photo_id': 1339507826, 'portfolio_id': 20792366}, {'photo_id': 1339507822, 'portfolio_id': 20792366}, {'photo_id': 1339507803, 'portfolio_id': 20792366}, {'photo_id': 1339507791, 'portfolio_id': 20792366}, {'photo_id': 1339507787, 'portfolio_id': 20792366}, {'photo_id': 1339507783, 'portfolio_id': 20792366}, {'photo_id': 1339507779, 'portfolio_id': 20792366}, {'photo_id': 1339507774, 'portfolio_id': 20792366}, {'photo_id': 1339507756, 'portfolio_id': 20792366}, {'photo_id': 1339507753, 'portfolio_id': 20792366}, {'photo_id': 1339507750, 'portfolio_id': 20792366}, {'photo_id': 1339507723, 'portfolio_id': 20792366}, {'photo_id': 1339507714, 'portfolio_id': 20792366}, {'photo_id': 1339507711, 'portfolio_id': 20792366}, {'photo_id': 1339507709, 'portfolio_id': 20792366}, {'photo_id': 1339507706, 'portfolio_id': 20792366}, {'photo_id': 1339507703, 'portfolio_id': 20792366}, {'photo_id': 1339507569, 'portfolio_id': 20792366}, {'photo_id': 1339507532, 'portfolio_id': 20792366}, {'photo_id': 1339507526, 'portfolio_id': 20792366}, {'photo_id': 1339507494, 'portfolio_id': 20792366}, {'photo_id': 1339507491, 'portfolio_id': 20792366}, {'photo_id': 1339507486, 'portfolio_id': 20792366}, {'photo_id': 1339507481, 'portfolio_id': 20792366}, {'photo_id': 1339507475, 'portfolio_id': 20792366}, {'photo_id': 1339507467, 'portfolio_id': 20792366}, {'photo_id': 1339507437, 'portfolio_id': 20792366}, {'photo_id': 1339507434, 'portfolio_id': 20792366}, {'photo_id': 1339507429, 'portfolio_id': 20792366}, {'photo_id': 1339507426, 'portfolio_id': 20792366}, {'photo_id': 1339507415, 'portfolio_id': 20792366}, {'photo_id': 1339507401, 'portfolio_id': 20792366}, {'photo_id': 1339507367, 'portfolio_id': 20792366}, {'photo_id': 1339507364, 'portfolio_id': 20792366}, {'photo_id': 1339507359, 'portfolio_id': 20792366}, {'photo_id': 1339507354, 'portfolio_id': 20792366}, {'photo_id': 1339507348, 'portfolio_id': 20792366}, {'photo_id': 1339507310, 'portfolio_id': 20792366}, {'photo_id': 1339507307, 'portfolio_id': 20792366}, {'photo_id': 1339507303, 'portfolio_id': 20792366}, {'photo_id': 1339507301, 'portfolio_id': 20792366}, {'photo_id': 1339507298, 'portfolio_id': 20792366}, {'photo_id': 1339507241, 'portfolio_id': 20792366}, {'photo_id': 1339507236, 'portfolio_id': 20792366}, {'photo_id': 1339507232, 'portfolio_id': 20792366}, {'photo_id': 1339507228, 'portfolio_id': 20792366}, {'photo_id': 1339507223, 'portfolio_id': 20792366}, {'photo_id': 1339507154, 'portfolio_id': 20792366}, {'photo_id': 1339507151, 'portfolio_id': 20792366}, {'photo_id': 1339507148, 'portfolio_id': 20792366}, {'photo_id': 1339507140, 'portfolio_id': 20792366}, {'photo_id': 1339507128, 'portfolio_id': 20792366}, {'photo_id': 1339507094, 'portfolio_id': 20792366}, {'photo_id': 1339506582, 'portfolio_id': 20792366}, {'photo_id': 1339506578, 'portfolio_id': 20792366}, {'photo_id': 1339506574, 'portfolio_id': 20792366}, {'photo_id': 1339506571, 'portfolio_id': 20792366}, {'photo_id': 1339506546, 'portfolio_id': 20792366}, {'photo_id': 1339506543, 'portfolio_id': 20792366}, {'photo_id': 1339506539, 'portfolio_id': 20792366}, {'photo_id': 1339506535, 'portfolio_id': 20792366}, {'photo_id': 1339506531, 'portfolio_id': 20792366}, {'photo_id': 1339506528, 'portfolio_id': 20792366}, {'photo_id': 1339506492, 'portfolio_id': 20792366}, {'photo_id': 1339506489, 'portfolio_id': 20792366}, {'photo_id': 1339506485, 'portfolio_id': 20792366}] map_portfolio_id_photo_id: {20792366: [1339508064, 1339507868, 1339507864, 1339507859, 1339507855, 1339507852, 1339507851, 1339507832, 1339507829, 1339507826, 1339507822, 1339507803, 1339507791, 1339507787, 1339507783, 1339507779, 1339507774, 1339507756, 1339507753, 1339507750, 1339507723, 1339507714, 1339507711, 1339507709, 1339507706, 1339507703, 1339507569, 1339507532, 1339507526, 1339507494, 1339507491, 1339507486, 1339507481, 1339507475, 1339507467, 1339507437, 1339507434, 1339507429, 1339507426, 1339507415, 1339507401, 1339507367, 1339507364, 1339507359, 1339507354, 1339507348, 1339507310, 1339507307, 1339507303, 1339507301, 1339507298, 1339507241, 1339507236, 1339507232, 1339507228, 1339507223, 1339507154, 1339507151, 1339507148, 1339507140, 1339507128, 1339507094, 1339506582, 1339506578, 1339506574, 1339506571, 1339506546, 1339506543, 1339506539, 1339506535, 1339506531, 1339506528, 1339506492, 1339506489, 1339506485]} ##### 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.01635575294494629 #### 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 Tue Feb 25 07:48:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20792366) 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 : 20792366 get user id for portfolio 20792366 get sub ptf for main ptf 20792366, type 3726 and hashtags ['cartonnette', 'Carton_gris', 'autre_refus', 'metal', 'mal_croppe', 'Teint_Dans_La_Masse', 'flou', 'Carton_brun', 'kraft', 'papier', 'plastique', 'environnement'] 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`=20792366 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','metal','mal_croppe','Teint_Dans_La_Masse','flou','Carton_brun','kraft','papier','plastique','environnement')) 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`=20792366 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','metal','mal_croppe','Teint_Dans_La_Masse','flou','Carton_brun','kraft','papier','plastique','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 20792366, 'sub_port_id': 20792397, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430815, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'Carton_gris': {'main_port_id': 20792366, 'sub_port_id': 20792398, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430816, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'kraft': {'main_port_id': 20792366, 'sub_port_id': 20792399, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430817, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'papier': {'main_port_id': 20792366, 'sub_port_id': 20792400, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430818, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'flou': {'main_port_id': 20792366, 'sub_port_id': 20792401, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430819, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'plastique': {'main_port_id': 20792366, 'sub_port_id': 20792402, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430820, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'environnement': {'main_port_id': 20792366, 'sub_port_id': 20792403, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430821, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20792366, 'sub_port_id': 20792404, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430822, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'autre_refus': {'main_port_id': 20792366, 'sub_port_id': 20792405, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430823, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'mal_croppe': {'main_port_id': 20792366, 'sub_port_id': 20792406, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430824, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'metal': {'main_port_id': 20792366, 'sub_port_id': 20792407, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430825, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}, 'Carton_brun': {'main_port_id': 20792366, 'sub_port_id': 20792408, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430826, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20792397 , 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=20792366 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 (20792397) result : ((1339507336,), (1339507337,), (1339507338,), (1339507387,), (1339507398,), (1339507441,), (1339507442,), (1339507443,), (1339507504,), (1339507513,), (1339507514,), (1339507720,), (1339507721,), (1339507722,), (1339507733,), (1339507734,), (1339507735,), (1339507800,), (1339507801,), (1339507817,), (1339507818,), (1339508132,), (1339508140,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792398 , 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=20792366 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 (20792398) result : ((1339507334,), (1339507386,), (1339507396,), (1339507440,), (1339507500,), (1339507501,), (1339507502,), (1339507509,), (1339507510,), (1339507511,), (1339507512,), (1339507730,), (1339507731,), (1339507796,), (1339507797,), (1339507798,), (1339507799,), (1339507814,), (1339507947,), (1339507949,), (1339507951,), (1339508125,), (1339508126,), (1339508127,), (1339508128,), (1339508129,), (1339508130,), (1339508131,), (1339508138,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792399 , 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=20792366 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 (20792399) result : ((1339507450,), (1339507451,), (1339507452,), (1339507453,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792400 , 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=20792366 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 (20792400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792401 , 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=20792366 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 (20792401) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792402 , 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=20792366 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 (20792402) result : ((1339507340,), (1339507391,), (1339507392,), (1339507448,), (1339507449,), (1339507739,), (1339507804,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792403 , 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=20792366 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 (20792403) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792404 , 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=20792366 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 (20792404) result : ((1339507379,), (1339507380,), (1339507389,), (1339507438,), (1339507497,), (1339507506,), (1339507717,), (1339507718,), (1339507719,), (1339507727,), (1339507728,), (1339507729,), (1339507793,), (1339507794,), (1339507795,), (1339507812,), (1339507871,), (1339507872,), (1339508019,), (1339508122,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792405 , 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=20792366 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 (20792405) result : ((1339507382,), (1339507383,), (1339507393,), (1339507439,), (1339507813,), (1339507899,), (1339508020,), (1339508124,), (1339508137,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792406 , 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=20792366 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 (20792406) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792407 , 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=20792366 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 (20792407) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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 20792408 , 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=20792366 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 (20792408) result : ((1339507339,), (1339507388,), (1339507447,), (1339507505,), (1339507515,), (1339507516,), (1339507737,), (1339507738,), (1339507996,), (1339508022,), (1339508134,), (1339508135,), (1339508136,), (1339508143,), (1339508144,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20792366) result : ((1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,)) 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`=20792366 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','metal','mal_croppe','Teint_Dans_La_Masse','flou','Carton_brun','kraft','papier','plastique','environnement')) 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`=20792366 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','autre_refus','metal','mal_croppe','Teint_Dans_La_Masse','flou','Carton_brun','kraft','papier','plastique','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 20792366, 'sub_port_id': 20792409, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430827, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'Carton_gris': {'main_port_id': 20792366, 'sub_port_id': 20792410, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430828, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'kraft': {'main_port_id': 20792366, 'sub_port_id': 20792411, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430829, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'papier': {'main_port_id': 20792366, 'sub_port_id': 20792412, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430830, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'flou': {'main_port_id': 20792366, 'sub_port_id': 20792413, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430831, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'plastique': {'main_port_id': 20792366, 'sub_port_id': 20792414, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430832, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'environnement': {'main_port_id': 20792366, 'sub_port_id': 20792415, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430833, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20792366, 'sub_port_id': 20792416, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430834, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'autre_refus': {'main_port_id': 20792366, 'sub_port_id': 20792417, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430835, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'mal_croppe': {'main_port_id': 20792366, 'sub_port_id': 20792418, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430836, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'metal': {'main_port_id': 20792366, 'sub_port_id': 20792419, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430837, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}, 'Carton_brun': {'main_port_id': 20792366, 'sub_port_id': 20792420, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13430838, 'last_updated_at': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 25, 7, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 25, 7, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792409,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792397 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792410,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792411,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792399 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792412,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792413,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792414,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792402 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792415,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792403 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20792420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20792408 lien utilise dans velours : https://www.fotonower.com/velours/20792409,20792410,20792411,20792412,20792413,20792414,20792415,20792416,20792417,20792418,20792419,20792420?tags=cartonnette,Carton_gris,kraft,papier,flou,plastique,environnement,Teint_Dans_La_Masse,autre_refus,mal_croppe,metal,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20792366]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339508064] map_info['map_portfolio_photo'] : {20792366: [1339508064, 1339507868, 1339507864, 1339507859, 1339507855, 1339507852, 1339507851, 1339507832, 1339507829, 1339507826, 1339507822, 1339507803, 1339507791, 1339507787, 1339507783, 1339507779, 1339507774, 1339507756, 1339507753, 1339507750, 1339507723, 1339507714, 1339507711, 1339507709, 1339507706, 1339507703, 1339507569, 1339507532, 1339507526, 1339507494, 1339507491, 1339507486, 1339507481, 1339507475, 1339507467, 1339507437, 1339507434, 1339507429, 1339507426, 1339507415, 1339507401, 1339507367, 1339507364, 1339507359, 1339507354, 1339507348, 1339507310, 1339507307, 1339507303, 1339507301, 1339507298, 1339507241, 1339507236, 1339507232, 1339507228, 1339507223, 1339507154, 1339507151, 1339507148, 1339507140, 1339507128, 1339507094, 1339506582, 1339506578, 1339506574, 1339506571, 1339506546, 1339506543, 1339506539, 1339506535, 1339506531, 1339506528, 1339506492, 1339506489, 1339506485]} final : False mtd_id 4302 list_pids : [1339508064] Looping around the photos to save general results len do output : 1 /20792366. 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, '2611903') ('4302', '20792366', '1339508064', None, None, None, None, None, '2611903') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20792366', "{'cartonnette': 20792397, 'Carton_gris': 20792398, 'kraft': 20792399, 'papier': 20792400, 'flou': 20792401, 'plastique': 20792402, 'environnement': 20792403, 'Teint_Dans_La_Masse': 20792404, 'autre_refus': 20792405, 'mal_croppe': 20792406, 'metal': 20792407, 'Carton_brun': 20792408}", None, None, None, None, '2611903'), ('4302', '20792366', '1339508064', None, None, None, None, None, '2611903')] time used for this insertion : 0.014029979705810547 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6745617389678955 time spend to save output : 0.014272928237915039 total time spend for step 1 : 1.6888346672058105 step2:final Tue Feb 25 07:49:00 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 (20792366) 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 20792366 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339506492,1339506489,1339506485,1339506546,1339506543,1339506539,1339506535,1339506531,1339506528,1339506582,1339506578,1339506574,1339506571,1339507154,1339507151,1339507148,1339507140,1339507128,1339507094,1339507241,1339507236,1339507232,1339507228,1339507223,1339507310,1339507307,1339507303,1339507301,1339507298,1339507367,1339507364,1339507359,1339507354,1339507437,1339507348,1339507434,1339507429,1339507426,1339507415,1339507401,1339507494,1339507491,1339507486,1339507481,1339507475,1339507467,1339507569,1339507532,1339507526,1339507723,1339507714,1339507711,1339507709,1339507706,1339507703,1339507756,1339507753,1339507750,1339507803,1339507791,1339507787,1339507783,1339507779,1339507774,1339507832,1339507829,1339507826,1339507822,1339507868,1339507864,1339507859,1339507855,1339507852,1339507851,1339508064); 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([20792366]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339508064: ('0.05277814776262212',)} new output for save of step final : {1339508064: ('0.05277814776262212',)} [1339508064] map_info['map_portfolio_photo'] : {20792366: [1339508064, 1339507868, 1339507864, 1339507859, 1339507855, 1339507852, 1339507851, 1339507832, 1339507829, 1339507826, 1339507822, 1339507803, 1339507791, 1339507787, 1339507783, 1339507779, 1339507774, 1339507756, 1339507753, 1339507750, 1339507723, 1339507714, 1339507711, 1339507709, 1339507706, 1339507703, 1339507569, 1339507532, 1339507526, 1339507494, 1339507491, 1339507486, 1339507481, 1339507475, 1339507467, 1339507437, 1339507434, 1339507429, 1339507426, 1339507415, 1339507401, 1339507367, 1339507364, 1339507359, 1339507354, 1339507348, 1339507310, 1339507307, 1339507303, 1339507301, 1339507298, 1339507241, 1339507236, 1339507232, 1339507228, 1339507223, 1339507154, 1339507151, 1339507148, 1339507140, 1339507128, 1339507094, 1339506582, 1339506578, 1339506574, 1339506571, 1339506546, 1339506543, 1339506539, 1339506535, 1339506531, 1339506528, 1339506492, 1339506489, 1339506485]} final : False mtd_id 4302 list_pids : [1339508064] Looping around the photos to save general results len do output : 1 /1339508064.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, '2611903') ('4302', '20792366', '1339508064', None, None, None, None, None, '2611903') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20792366', '1339508064', '0.05277814776262212', None, None, None, None, '2611903')] time used for this insertion : 0.012835025787353516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07373476028442383 time spend to save output : 0.013005733489990234 total time spend for step 2 : 0.08674049377441406 step3:velours_tree Tue Feb 25 07:49:00 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 : {20792366: [{'cartonnette': 20792397, 'Carton_gris': 20792398, 'kraft': 20792399, 'papier': 20792400, 'flou': 20792401, 'plastique': 20792402, 'environnement': 20792403, 'Teint_Dans_La_Masse': 20792404, 'autre_refus': 20792405, 'mal_croppe': 20792406, 'metal': 20792407, 'Carton_brun': 20792408}]} input_args_next_step : {20792366: ()} output_args : {20792366: [{'cartonnette': 20792397, 'Carton_gris': 20792398, 'kraft': 20792399, 'papier': 20792400, 'flou': 20792401, 'plastique': 20792402, 'environnement': 20792403, 'Teint_Dans_La_Masse': 20792404, 'autre_refus': 20792405, 'mal_croppe': 20792406, 'metal': 20792407, 'Carton_brun': 20792408}]} args : 20792366 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 : ({'cartonnette': 20792397, 'Carton_gris': 20792398, 'kraft': 20792399, 'papier': 20792400, 'flou': 20792401, 'plastique': 20792402, 'environnement': 20792403, 'Teint_Dans_La_Masse': 20792404, 'autre_refus': 20792405, 'mal_croppe': 20792406, 'metal': 20792407, 'Carton_brun': 20792408},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20792366) 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([20792366]) 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.33150625228881836 time spend to save output : 7.557868957519531e-05 total time spend for step 3 : 0.33158183097839355 step4:send_mail_cod Tue Feb 25 07:49:00 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 : {1339508064: ('0.05277814776262212',)} input_args_next_step : {1339508064: ()} output_args : {1339508064: ('0.05277814776262212',)} args : 1339508064 depend.output_id : 0 complete output_args for input 3 : {20792366: [{'cartonnette': 20792397, 'Carton_gris': 20792398, 'kraft': 20792399, 'papier': 20792400, 'flou': 20792401, 'plastique': 20792402, 'environnement': 20792403, 'Teint_Dans_La_Masse': 20792404, 'autre_refus': 20792405, 'mal_croppe': 20792406, 'metal': 20792407, 'Carton_brun': 20792408}]} input_args_next_step : {1339508064: ('0.05277814776262212',), 20792366: ()} output_args : {20792366: [{'cartonnette': 20792397, 'Carton_gris': 20792398, 'kraft': 20792399, 'papier': 20792400, 'flou': 20792401, 'plastique': 20792402, 'environnement': 20792403, 'Teint_Dans_La_Masse': 20792404, 'autre_refus': 20792405, 'mal_croppe': 20792406, 'metal': 20792407, 'Carton_brun': 20792408}]} args : 20792366 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :2, first value : ('0.05277814776262212',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20792366) 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 (1339508064) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339508064 download finish for photo 1339508064 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 : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P20792366_25-02-2025_07_49_00.pdf 20792397 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=20792397 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507720: '1740465662_1043612_1339507481_b3edb538f42abee7c73e4bdd1ca89bbd_rle_crop_3686189150_0.png', 1339508140: '1740466053_1048902_1339507868_ec355d529d562b9bf0bf10599b213032_rle_crop_3686198062_0.png', 1339508132: '1740466034_1048599_1339507851_c7ca5779e9318d949a115fa8bc81f63a_rle_crop_3686198031_0.png', 1339507818: '1740465812_1045452_1339507706_a7497b509f6a3dd14816692e7ae8aec4_rle_crop_3686190632_0.png', 1339507817: '1740465812_1045452_1339507709_dd461866da7a0d02b9f382b5855e9cc9_rle_crop_3686190616_0.png', 1339507801: '1740465792_1045219_1339507532_5ac1ab3fa9a4e3784d4e7e9ac971fdf9_rle_crop_3686189514_0.png', 1339507800: '1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189498_0.png', 1339507735: '1740465672_1043811_1339507415_1b8e93e817aa0954a09ce7eeefadc802_rle_crop_3686189311_0.png', 1339507734: '1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189213_0.png', 1339507733: '1740465672_1043811_1339507434_29e0ea43ea490b920b48f6ba8a06db33_rle_crop_3686189206_0.png', 1339507722: '1740465662_1043612_1339507467_d8f2e8349c2e06c691efd4bcc56ad44f_rle_crop_3686189179_0.png', 1339507721: '1740465662_1043612_1339507481_b3edb538f42abee7c73e4bdd1ca89bbd_rle_crop_3686189147_0.png', 1339507336: '1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186614_0.png', 1339507514: '1740465572_1042426_1339507359_d06dba4d2bf786e4af7fb8732bdc79a1_rle_crop_3686188498_0.png', 1339507513: '1740465572_1042426_1339507364_d8f40e03618840c627fe14de078f7822_rle_crop_3686188470_0.png', 1339507504: '1740465552_1041669_1339507367_34bf130cc07e6d356d3c93453b8c1e4d_rle_crop_3686188410_0.png', 1339507443: '1740465472_1040357_1339506528_ccd9b5ddf8c3048794dfa3ce32a8bbff_rle_crop_3686186521_0.png', 1339507442: '1740465472_1040357_1339506535_c4fdf88e2026cb85cc311ddb0579ca20_rle_crop_3686186496_0.png', 1339507441: '1740465472_1040357_1339506539_93f8baba41f93311ae4e9c5cc17194f8_rle_crop_3686186486_0.png', 1339507398: '1740465451_1040061_1339507223_35cbf396119332cf29b85f9ba5620180_rle_crop_3686187481_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/6f70d8781293db55eda91f943af6916b_3449414.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/68500934dff9681d4cde0fbdd9665c85_67342166.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ef5bbe603416df0fb25c4dd93952f885_26900900.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/4fb40137023964f5a68ee6af6269ce36_21514737.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/1173c446be4bba582ca3c6ecc301a204_84717666.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/8f2af718c665b2a309b17e6552ae0244_88119850.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5e4a6f55830f356b35f6e463a81cca38_78225268.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a8fa972f5ed149d7b3f297618b59db17_73647763.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/025b3c817c5d83ec123f85c06314f5b5_51369517.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/e663891e3add72e2b07790f92861fffc_5600699.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/7be197f12d7c09c389676b96d59b675d_12305702.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ded3b3b2c4c855412ee57f3ac3b15bcb_47966274.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/1f0950c91a2d70e8768dc9abd43a3374_63243164.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/4f86c54b83cdc004cf0b9795a3898700_11487923.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/1199de4f09c659544f5d76a355c598ee_72486560.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0e34f41300553c9b2e604e527d679349_79326868.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/566c310e7a21f36e58d3646d58b5464b_59491233.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ad8c4695a894fc5c16be167970cb37a4_52773781.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5a0d75780da7ee3d7894aa57ee52bd57_8177308.png change filename to text .imagette207923971740466140/ imagette207923971740466140/1740465662_1043612_1339507481_b3edb538f42abee7c73e4bdd1ca89bbd_rle_crop_3686189150_0.png.png imagette207923971740466140/1740465812_1045452_1339507706_a7497b509f6a3dd14816692e7ae8aec4_rle_crop_3686190632_0.png.png imagette207923971740466140/1740465472_1040357_1339506535_c4fdf88e2026cb85cc311ddb0579ca20_rle_crop_3686186496_0.png.png imagette207923971740466140/1740465672_1043811_1339507415_1b8e93e817aa0954a09ce7eeefadc802_rle_crop_3686189311_0.png.png imagette207923971740466140/1740465472_1040357_1339506528_ccd9b5ddf8c3048794dfa3ce32a8bbff_rle_crop_3686186521_0.png.png imagette207923971740466140/1740465672_1043811_1339507434_29e0ea43ea490b920b48f6ba8a06db33_rle_crop_3686189206_0.png.png imagette207923971740466140/1740465451_1040061_1339507223_35cbf396119332cf29b85f9ba5620180_rle_crop_3686187481_0.png.png imagette207923971740466140/1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186614_0.png.png imagette207923971740466140/1740465572_1042426_1339507364_d8f40e03618840c627fe14de078f7822_rle_crop_3686188470_0.png.png imagette207923971740466140/1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189498_0.png.png imagette207923971740466140/1740466034_1048599_1339507851_c7ca5779e9318d949a115fa8bc81f63a_rle_crop_3686198031_0.png.png imagette207923971740466140/1740465662_1043612_1339507467_d8f2e8349c2e06c691efd4bcc56ad44f_rle_crop_3686189179_0.png.png imagette207923971740466140/1740465472_1040357_1339506539_93f8baba41f93311ae4e9c5cc17194f8_rle_crop_3686186486_0.png.png imagette207923971740466140/1740465662_1043612_1339507481_b3edb538f42abee7c73e4bdd1ca89bbd_rle_crop_3686189147_0.png.png imagette207923971740466140/1740465572_1042426_1339507359_d06dba4d2bf786e4af7fb8732bdc79a1_rle_crop_3686188498_0.png.png imagette207923971740466140/1740466053_1048902_1339507868_ec355d529d562b9bf0bf10599b213032_rle_crop_3686198062_0.png.png imagette207923971740466140/1740465552_1041669_1339507367_34bf130cc07e6d356d3c93453b8c1e4d_rle_crop_3686188410_0.png.png imagette207923971740466140/1740465792_1045219_1339507532_5ac1ab3fa9a4e3784d4e7e9ac971fdf9_rle_crop_3686189514_0.png.png imagette207923971740466140/1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189213_0.png.png imagette207923971740466140/1740465812_1045452_1339507709_dd461866da7a0d02b9f382b5855e9cc9_rle_crop_3686190616_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0dcdbf3ec6e8444e225c4fbf799bfd30_59714583.png imagette207923971740466140 20792399 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=20792399 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507450: '1740465472_1040357_1339506543_1c7781deef6b6d0024dbd6d890e2d7a4_bib_crop_3686186474_0.jpg', 1339507451: '1740465472_1040357_1339506543_1c7781deef6b6d0024dbd6d890e2d7a4_rle_crop_3686187587_0.png', 1339507452: '1740465472_1040357_1339506539_93f8baba41f93311ae4e9c5cc17194f8_rle_crop_3686186483_0.png', 1339507453: '1740465472_1040357_1339506535_c4fdf88e2026cb85cc311ddb0579ca20_rle_crop_3686186498_0.png'} change filename to text .wget -O 1.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/f28c1f3c46bc760767edf08a52ea2287_70201046.jpg change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ed1516d7150f7ed202bf533980d919bc_7250183.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0da9257cde070e47777c31e241d58de9_7128923.png change filename to text .imagette207923991740466141/ imagette207923991740466141/1740465472_1040357_1339506539_93f8baba41f93311ae4e9c5cc17194f8_rle_crop_3686186483_0.png.png imagette207923991740466141/1740465472_1040357_1339506543_1c7781deef6b6d0024dbd6d890e2d7a4_rle_crop_3686187587_0.png.png imagette207923991740466141/1740465472_1040357_1339506543_1c7781deef6b6d0024dbd6d890e2d7a4_bib_crop_3686186474_0.jpg.jpg imagette207923991740466141/1740465472_1040357_1339506535_c4fdf88e2026cb85cc311ddb0579ca20_rle_crop_3686186498_0.png.png imagette207924011740466142/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a09c2b95eb2c902b0219d139499ab84a_13563284.png imagette207923991740466141 20792401 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=20792401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette207924011740466142 20792402 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=20792402 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507340: '1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186612_0.png', 1339507391: '1740465432_1039748_1339507148_705c3326019a961cc3b28e168494e40a_rle_crop_3686187244_0.png', 1339507392: '1740465432_1039748_1339507140_42ec883d5414f1cc4574fa5bb3b68320_rle_crop_3686187258_0.png', 1339507448: '1740465472_1040357_1339506531_4176471decbf46c21ea99e64ad8d1771_rle_crop_3686186514_0.png', 1339507449: '1740465472_1040357_1339506531_4176471decbf46c21ea99e64ad8d1771_rle_crop_3686186509_0.png', 1339507739: '1740465672_1043811_1339507426_18141f6e2ac55f0c57ebd99516e93c33_rle_crop_3686189301_0.png', 1339507804: '1740465792_1045219_1339507532_5ac1ab3fa9a4e3784d4e7e9ac971fdf9_rle_crop_3686189516_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/142923ad45ea1c03118f64bf490cdad8_18718546.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a2c3428a308863057797cc4dc5576531_48006520.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/15a5b5bb7911061f6a9b36ffb6d72b64_37916822.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c505c01bef76f603b91d1a4dedfbea01_89987576.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/be362c49792aa0431ecbd5a5b04e36ad_29375786.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/97a0b4e99ec63eed0030550af7391914_57022328.png change filename to text .imagette207924021740466142/ imagette207924021740466142/1740465472_1040357_1339506531_4176471decbf46c21ea99e64ad8d1771_rle_crop_3686186514_0.png.png imagette207924021740466142/1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186612_0.png.png imagette207924021740466142/1740465432_1039748_1339507140_42ec883d5414f1cc4574fa5bb3b68320_rle_crop_3686187258_0.png.png imagette207924021740466142/1740465792_1045219_1339507532_5ac1ab3fa9a4e3784d4e7e9ac971fdf9_rle_crop_3686189516_0.png.png imagette207924021740466142/1740465432_1039748_1339507148_705c3326019a961cc3b28e168494e40a_rle_crop_3686187244_0.png.png imagette207924021740466142/1740465672_1043811_1339507426_18141f6e2ac55f0c57ebd99516e93c33_rle_crop_3686189301_0.png.png imagette207924021740466142/1740465472_1040357_1339506531_4176471decbf46c21ea99e64ad8d1771_rle_crop_3686186509_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/9a782723def9f48a759e54ead5563979_42085485.png imagette207924021740466142 20792405 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=20792405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507382: '1740465432_1039748_1339507151_441c81a2cea5b572999b696cb74465e6_rle_crop_3686187224_0.png', 1339507383: '1740465432_1039748_1339507094_d570089916ff32e76563979c45ce7f5b_rle_crop_3686187314_0.png', 1339507393: '1740465451_1040061_1339507223_35cbf396119332cf29b85f9ba5620180_rle_crop_3686187480_0.png', 1339507439: '1740465472_1040357_1339506531_4176471decbf46c21ea99e64ad8d1771_rle_crop_3686186508_0.png', 1339507813: '1740465812_1045452_1339507714_3f87cd8089950ae543e456c284502811_rle_crop_3686190587_0.png', 1339507899: '1740465912_1046483_1339507783_9dfe14487ed2e991da99337ebeaf48bb_rle_crop_3686192935_0.png', 1339508020: '1740465932_1046811_1339507803_7cc9fc502639987e3b5bbd41527fa614_rle_crop_3686193924_0.png', 1339508124: '1740466034_1048599_1339507851_c7ca5779e9318d949a115fa8bc81f63a_rle_crop_3686198033_0.png', 1339508137: '1740466053_1048902_1339507822_3b91badbddb28f31a7959142cdc98478_rle_crop_3686198167_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ae3cf8498411318d934fe910135c02ce_1289742.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/66169e0cf273952ad19a66ed1dd0e96b_7946314.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/1286ca55128fe162bc13ebd2fe59dc20_23816663.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/d36d047d6f49c7b059183cd41a4466b4_68312668.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/d28b2a4c7335092b6232350e5e674105_54786581.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a6ee914d6f0a01a61937a230deb78fe8_68403540.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c69aebdac478e48bac2002b01c9c7ff1_9398853.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/355c22dd94e7d3642116225f66034c2a_22181881.png change filename to text .imagette207924051740466142/ imagette207924051740466142/1740465432_1039748_1339507151_441c81a2cea5b572999b696cb74465e6_rle_crop_3686187224_0.png.png imagette207924051740466142/1740465472_1040357_1339506531_4176471decbf46c21ea99e64ad8d1771_rle_crop_3686186508_0.png.png imagette207924051740466142/1740465912_1046483_1339507783_9dfe14487ed2e991da99337ebeaf48bb_rle_crop_3686192935_0.png.png imagette207924051740466142/1740465812_1045452_1339507714_3f87cd8089950ae543e456c284502811_rle_crop_3686190587_0.png.png imagette207924051740466142/1740465451_1040061_1339507223_35cbf396119332cf29b85f9ba5620180_rle_crop_3686187480_0.png.png imagette207924051740466142/1740466053_1048902_1339507822_3b91badbddb28f31a7959142cdc98478_rle_crop_3686198167_0.png.png imagette207924051740466142/1740465932_1046811_1339507803_7cc9fc502639987e3b5bbd41527fa614_rle_crop_3686193924_0.png.png imagette207924051740466142/1740465432_1039748_1339507094_d570089916ff32e76563979c45ce7f5b_rle_crop_3686187314_0.png.png imagette207924051740466142/1740466034_1048599_1339507851_c7ca5779e9318d949a115fa8bc81f63a_rle_crop_3686198033_0.png.png imagette207924061740466143/ imagette207924071740466143/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/52e0138558aa6b3d92cd04617f0c3887_2876514.png imagette207924051740466142 20792406 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=20792406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette207924061740466143 20792407 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=20792407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette207924071740466143 20792398 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=20792398 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507797: '1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189503_0.png', 1339508138: '1740466053_1048902_1339507822_3b91badbddb28f31a7959142cdc98478_rle_crop_3686198173_0.png', 1339508131: '1740466034_1048599_1339507851_c7ca5779e9318d949a115fa8bc81f63a_rle_crop_3686198029_0.png', 1339508130: '1740466034_1048599_1339507852_8bdc29fc16b3d8da7dfd9a36a2669093_rle_crop_3686198009_0.png', 1339508129: '1740466034_1048599_1339507855_bbe37a6b0aae7d91448e01db1c82098f_rle_crop_3686197978_0.png', 1339508128: '1740466034_1048599_1339507855_bbe37a6b0aae7d91448e01db1c82098f_rle_crop_3686197980_0.png', 1339508127: '1740466034_1048599_1339507855_bbe37a6b0aae7d91448e01db1c82098f_rle_crop_3686197981_0.png', 1339508126: '1740466034_1048599_1339507859_23529f97bb3deed44a30c76ee49046a1_rle_crop_3686197967_0.png', 1339508125: '1740466034_1048599_1339507864_7857952b72456bbf407055adfc8054b6_rle_crop_3686197956_0.png', 1339507951: '1740465912_1046483_1339507787_0886413e07cc1dfa9f2d92353de5d80b_rle_crop_3686192863_0.png', 1339507949: '1740465912_1046483_1339507791_3389414502461db5450502b0c2efa9b8_rle_crop_3686191298_0.png', 1339507947: '1740465912_1046483_1339507791_3389414502461db5450502b0c2efa9b8_rle_crop_3686191296_0.png', 1339507814: '1740465812_1045452_1339507714_3f87cd8089950ae543e456c284502811_rle_crop_3686190593_0.png', 1339507799: '1740465792_1045219_1339507526_5c46ed904f55e6d88d4344515bfe6be9_rle_crop_3686189522_0.png', 1339507798: '1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189494_0.png', 1339507334: '1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186616_0.png', 1339507796: '1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189496_0.png', 1339507731: '1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189220_0.png', 1339507730: '1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189221_0.png', 1339507512: '1740465572_1042426_1339507359_d06dba4d2bf786e4af7fb8732bdc79a1_rle_crop_3686188500_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/d95454046f647ea11d54ec21cd6dd194_86857316.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/cead4d229ebc748432989cf3d65e9311_90073141.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/32f0776ffcf957f964ce842aaba2662c_83258763.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c4f5fbf6a705348d5b698e98168028a1_75682614.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c761770e3c4bdee1a6f35ff0ef09220d_50538106.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/30c7938c49c277ff477c369a7efeb7c6_50688845.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/401d8a9fb01e738932cab1d0b2d38765_96114863.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/19ce650c5634713fb0e6a74d86fcf4ad_10164677.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/08dd0ef170d320875ae7753b6a8d2847_18663803.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/42e1b87d763527e79c45f4f3c3f0e68f_76899261.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/f899c724fcf428a250068d51a6f69d2b_28284538.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/be2911c4626b8e93084499693bdf73d7_90835210.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/28c896dcedf8dba97e98f1999c846512_95558770.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/cb3a44235f2785a55655c2933724fe63_67075266.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/136d0c9aff1e339640b835629b6ccf39_68564662.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/860732365321273229dc27b9cec8b7f6_87769319.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c3f85f71c93c2468125ea2bc8373f321_38079087.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b7e44ffe02e40dc28854dd3329e4be70_81976728.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/6b847b099d915d8063ef6e8a7a228c57_3933458.png change filename to text .imagette207923981740466143/ imagette207923981740466143/1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189220_0.png.png imagette207923981740466143/1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189503_0.png.png imagette207923981740466143/1740465572_1042426_1339507359_d06dba4d2bf786e4af7fb8732bdc79a1_rle_crop_3686188500_0.png.png imagette207923981740466143/1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186616_0.png.png imagette207923981740466143/1740465792_1045219_1339507526_5c46ed904f55e6d88d4344515bfe6be9_rle_crop_3686189522_0.png.png imagette207923981740466143/1740466053_1048902_1339507822_3b91badbddb28f31a7959142cdc98478_rle_crop_3686198173_0.png.png imagette207923981740466143/1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189494_0.png.png imagette207923981740466143/1740466034_1048599_1339507859_23529f97bb3deed44a30c76ee49046a1_rle_crop_3686197967_0.png.png imagette207923981740466143/1740466034_1048599_1339507864_7857952b72456bbf407055adfc8054b6_rle_crop_3686197956_0.png.png imagette207923981740466143/1740465912_1046483_1339507791_3389414502461db5450502b0c2efa9b8_rle_crop_3686191298_0.png.png imagette207923981740466143/1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189221_0.png.png imagette207923981740466143/1740466034_1048599_1339507851_c7ca5779e9318d949a115fa8bc81f63a_rle_crop_3686198029_0.png.png imagette207923981740466143/1740466034_1048599_1339507855_bbe37a6b0aae7d91448e01db1c82098f_rle_crop_3686197981_0.png.png imagette207923981740466143/1740465912_1046483_1339507791_3389414502461db5450502b0c2efa9b8_rle_crop_3686191296_0.png.png imagette207923981740466143/1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189496_0.png.png imagette207923981740466143/1740466034_1048599_1339507855_bbe37a6b0aae7d91448e01db1c82098f_rle_crop_3686197980_0.png.png imagette207923981740466143/1740465912_1046483_1339507787_0886413e07cc1dfa9f2d92353de5d80b_rle_crop_3686192863_0.png.png imagette207923981740466143/1740466034_1048599_1339507855_bbe37a6b0aae7d91448e01db1c82098f_rle_crop_3686197978_0.png.png imagette207923981740466143/1740465812_1045452_1339507714_3f87cd8089950ae543e456c284502811_rle_crop_3686190593_0.png.png imagette207923981740466143/1740466034_1048599_1339507852_8bdc29fc16b3d8da7dfd9a36a2669093_rle_crop_3686198009_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/9ae80d1440c2c9f18c102d7073b2a208_96053216.png imagette207923981740466143 20792404 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=20792404 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507728: '1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189222_0.png', 1339508122: '1740466034_1048599_1339507864_7857952b72456bbf407055adfc8054b6_rle_crop_3686197963_0.png', 1339508019: '1740465932_1046811_1339507750_86a9d2adf41d767e02ac4dd7d73b5a39_rle_crop_3686193955_0.png', 1339507872: '1740465912_1046483_1339507783_9dfe14487ed2e991da99337ebeaf48bb_rle_crop_3686192936_0.png', 1339507871: '1740465912_1046483_1339507787_0886413e07cc1dfa9f2d92353de5d80b_rle_crop_3686192868_0.png', 1339507812: '1740465812_1045452_1339507703_853a269f892ad789afff9833a557bee5_rle_crop_3686190651_0.png', 1339507795: '1740465792_1045219_1339507526_5c46ed904f55e6d88d4344515bfe6be9_rle_crop_3686189526_0.png', 1339507794: '1740465792_1045219_1339507526_5c46ed904f55e6d88d4344515bfe6be9_rle_crop_3686189529_0.png', 1339507793: '1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189500_0.png', 1339507729: '1740465672_1043811_1339507426_18141f6e2ac55f0c57ebd99516e93c33_rle_crop_3686189303_0.png', 1339507379: '1740465432_1039748_1339507148_705c3326019a961cc3b28e168494e40a_rle_crop_3686187252_0.png', 1339507727: '1740465672_1043811_1339507494_68093af49229e9e07823e32bd49888a8_rle_crop_3686189196_0.png', 1339507719: '1740465662_1043612_1339507467_d8f2e8349c2e06c691efd4bcc56ad44f_rle_crop_3686189181_0.png', 1339507718: '1740465662_1043612_1339507475_24edac80a69a179e3c43cdce3da08b5a_rle_crop_3686189168_0.png', 1339507717: '1740465662_1043612_1339507486_c34cc549c1e26aa40d5bc41a7ae35a4a_rle_crop_3686189135_0.png', 1339507506: '1740465572_1042426_1339507354_7e53a1534a3c746c3770e5eba01a2ad6_rle_crop_3686188507_0.png', 1339507497: '1740465552_1041669_1339507298_c8a855d23f26399aeb7571b0612fff2b_rle_crop_3686188486_0.png', 1339507438: '1740465472_1040357_1339506582_2c9895493bd16293134d9a7edff783ec_rle_crop_3686186315_0.png', 1339507389: '1740465451_1040061_1339507236_10b4cd509f9806d2e0200b66924f2e51_rle_crop_3686187300_0.png', 1339507380: '1740465432_1039748_1339507140_42ec883d5414f1cc4574fa5bb3b68320_rle_crop_3686187266_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b13f2e72ae7f681c2e34d66bd9d8661b_82283629.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/f8e45f45bcb795a237318e803507f259_63892916.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0167c78d39b8c3a7b8efcdd7125298ac_98454039.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/243aa8e519c6aa3cef6ac3fc5b10f4b1_80649727.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/ac86483f3aa62480c810cd256d781424_62534718.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b88b9bf47f8f636f990c8c53a66693cb_49019179.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a4f8b225e1d8629c771c433777d2d683_68295498.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c7a95bc011bf6a07b722a9b7c7853968_28987249.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/beae452acf1f645512cd07c241d906d5_80369764.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/113b3dfbe80aa3bc63e280c1aaf259ba_27733455.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/cb43f90db2c87d2df86accb4eeae3841_10947673.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/f77bcca3d3340d4f73d00b583532bec6_55168743.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/6d911bf2d2d1f77365e5bb54a20d5c85_54476578.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/b82fd3aabed11103d091fde4675947e6_49967013.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/a01b948d50a5a48fd95d3717172a1983_77310136.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5e3947433cae29d5034d973a158da575_80861189.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/5d4c43bcecd67e8f17d9878dc07767b5_13002041.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/13692477bd92b25ce8f53a114a88f104_56233152.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/602e0af5f67a17962329c8853f63678e_81507605.png change filename to text .imagette207924041740466144/ imagette207924041740466144/1740465672_1043811_1339507426_18141f6e2ac55f0c57ebd99516e93c33_rle_crop_3686189303_0.png.png imagette207924041740466144/1740465672_1043811_1339507429_c37f3a5e7955419711e20c515dfa8259_rle_crop_3686189222_0.png.png imagette207924041740466144/1740465672_1043811_1339507494_68093af49229e9e07823e32bd49888a8_rle_crop_3686189196_0.png.png imagette207924041740466144/1740465451_1040061_1339507236_10b4cd509f9806d2e0200b66924f2e51_rle_crop_3686187300_0.png.png imagette207924041740466144/1740465552_1041669_1339507298_c8a855d23f26399aeb7571b0612fff2b_rle_crop_3686188486_0.png.png imagette207924041740466144/1740465912_1046483_1339507783_9dfe14487ed2e991da99337ebeaf48bb_rle_crop_3686192936_0.png.png imagette207924041740466144/1740465792_1045219_1339507526_5c46ed904f55e6d88d4344515bfe6be9_rle_crop_3686189529_0.png.png imagette207924041740466144/1740465792_1045219_1339507723_570df9a233ca52cad8ec7dddcebd8d6a_rle_crop_3686189500_0.png.png imagette207924041740466144/1740465932_1046811_1339507750_86a9d2adf41d767e02ac4dd7d73b5a39_rle_crop_3686193955_0.png.png imagette207924041740466144/1740465662_1043612_1339507486_c34cc549c1e26aa40d5bc41a7ae35a4a_rle_crop_3686189135_0.png.png imagette207924041740466144/1740465662_1043612_1339507475_24edac80a69a179e3c43cdce3da08b5a_rle_crop_3686189168_0.png.png imagette207924041740466144/1740465432_1039748_1339507148_705c3326019a961cc3b28e168494e40a_rle_crop_3686187252_0.png.png imagette207924041740466144/1740466034_1048599_1339507864_7857952b72456bbf407055adfc8054b6_rle_crop_3686197963_0.png.png imagette207924041740466144/1740465912_1046483_1339507787_0886413e07cc1dfa9f2d92353de5d80b_rle_crop_3686192868_0.png.png imagette207924041740466144/1740465472_1040357_1339506582_2c9895493bd16293134d9a7edff783ec_rle_crop_3686186315_0.png.png imagette207924041740466144/1740465792_1045219_1339507526_5c46ed904f55e6d88d4344515bfe6be9_rle_crop_3686189526_0.png.png imagette207924041740466144/1740465572_1042426_1339507354_7e53a1534a3c746c3770e5eba01a2ad6_rle_crop_3686188507_0.png.png imagette207924041740466144/1740465432_1039748_1339507140_42ec883d5414f1cc4574fa5bb3b68320_rle_crop_3686187266_0.png.png imagette207924041740466144/1740465662_1043612_1339507467_d8f2e8349c2e06c691efd4bcc56ad44f_rle_crop_3686189181_0.png.png imagette207924041740466144/1740465812_1045452_1339507703_853a269f892ad789afff9833a557bee5_rle_crop_3686190651_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/05f7ea222aaaacf1b7e1bacdadb9066b_55644417.png imagette207924041740466144 20792408 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=20792408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339507339: '1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186620_0.png', 1339507388: '1740465432_1039748_1339507151_441c81a2cea5b572999b696cb74465e6_rle_crop_3686187229_0.png', 1339507447: '1740465472_1040357_1339506539_93f8baba41f93311ae4e9c5cc17194f8_rle_crop_3686186481_0.png', 1339507505: '1740465552_1041669_1339507301_eb17855a356872b05b4d44e0acbf958b_rle_crop_3686188455_0.png', 1339507515: '1740465572_1042426_1339507364_d8f40e03618840c627fe14de078f7822_rle_crop_3686188474_0.png', 1339507516: '1740465572_1042426_1339507359_d06dba4d2bf786e4af7fb8732bdc79a1_rle_crop_3686188501_0.png', 1339507737: '1740465672_1043811_1339507494_68093af49229e9e07823e32bd49888a8_rle_crop_3686189193_0.png', 1339507738: '1740465672_1043811_1339507401_92c9a6ad55b983dea3012aff8e3859ce_rle_crop_3686189328_0.png', 1339507996: '1740465912_1046483_1339507787_0886413e07cc1dfa9f2d92353de5d80b_rle_crop_3686192865_0.png', 1339508022: '1740465932_1046811_1339507750_86a9d2adf41d767e02ac4dd7d73b5a39_rle_crop_3686193948_0.png', 1339508134: '1740466034_1048599_1339507864_7857952b72456bbf407055adfc8054b6_rle_crop_3686197961_0.png', 1339508135: '1740466034_1048599_1339507859_23529f97bb3deed44a30c76ee49046a1_rle_crop_3686197969_0.png', 1339508136: '1740466034_1048599_1339507852_8bdc29fc16b3d8da7dfd9a36a2669093_rle_crop_3686198013_0.png', 1339508143: '1740466053_1048902_1339507826_440197e70f319782d946449033bcb33e_rle_crop_3686198161_0.png', 1339508144: '1740466053_1048902_1339507822_3b91badbddb28f31a7959142cdc98478_rle_crop_3686198168_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/bfcb548f8eca81277dec8c9f8ed351c0_37921298.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/38eccedc1232ebe5c56591c23a8e6e3f_87509743.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/c90d27bd5a5a8009cd9035aa7fd15afe_55605176.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/3c5d061f6f7c64bd56a376d23972e68d_98056428.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/2c4400784bad6715df5815864ce5217a_48865668.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/cf76865216ba30f7a158284af1e33a24_80791462.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/51be5d45643d25ffc1fd5a539fa09bd7_77089391.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/1ceb6a7318177eb8a9fa23b976fceb62_43838736.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/9fd3cd49ad0c8694bad9ad809b246bfb_8376925.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/2538bf54bdaea1b9f80a9ec8c541f0fa_79576740.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/58b4047ce3ac56c5401e20dcf306d36e_53578816.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/bf1495cbfbb0e8cbe7d71acc19e9d7ac_4093135.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/919077585c014e29396638f9279027b8_47162678.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/8ccf6a5738c32cfb2fd1b59016318272_20868711.png change filename to text .imagette207924081740466145/ imagette207924081740466145/1740466034_1048599_1339507864_7857952b72456bbf407055adfc8054b6_rle_crop_3686197961_0.png.png imagette207924081740466145/1740465572_1042426_1339507359_d06dba4d2bf786e4af7fb8732bdc79a1_rle_crop_3686188501_0.png.png imagette207924081740466145/1740465912_1046483_1339507787_0886413e07cc1dfa9f2d92353de5d80b_rle_crop_3686192865_0.png.png imagette207924081740466145/1740465432_1039748_1339507151_441c81a2cea5b572999b696cb74465e6_rle_crop_3686187229_0.png.png imagette207924081740466145/1740465472_1040357_1339506539_93f8baba41f93311ae4e9c5cc17194f8_rle_crop_3686186481_0.png.png imagette207924081740466145/1740465672_1043811_1339507401_92c9a6ad55b983dea3012aff8e3859ce_rle_crop_3686189328_0.png.png imagette207924081740466145/1740466034_1048599_1339507859_23529f97bb3deed44a30c76ee49046a1_rle_crop_3686197969_0.png.png imagette207924081740466145/1740466053_1048902_1339507826_440197e70f319782d946449033bcb33e_rle_crop_3686198161_0.png.png imagette207924081740466145/1740465373_1038688_1339506485_00c578f178a7a3a215458e111e46b39b_rle_crop_3686186620_0.png.png imagette207924081740466145/1740465932_1046811_1339507750_86a9d2adf41d767e02ac4dd7d73b5a39_rle_crop_3686193948_0.png.png imagette207924081740466145/1740465572_1042426_1339507364_d8f40e03618840c627fe14de078f7822_rle_crop_3686188474_0.png.png imagette207924081740466145/1740465672_1043811_1339507494_68093af49229e9e07823e32bd49888a8_rle_crop_3686189193_0.png.png imagette207924081740466145/1740466053_1048902_1339507822_3b91badbddb28f31a7959142cdc98478_rle_crop_3686198168_0.png.png imagette207924081740466145/1740465552_1041669_1339507301_eb17855a356872b05b4d44e0acbf958b_rle_crop_3686188455_0.png.png imagette207924081740466145/1740466034_1048599_1339507852_8bdc29fc16b3d8da7dfd9a36a2669093_rle_crop_3686198013_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/46333e656132db3fd5f968da670958d3_60334796.png imagette207924081740466145 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20792366 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20792409,20792410,20792411,20792412,20792413,20792414,20792415,20792416,20792417,20792418,20792419,20792420?tags=cartonnette,Carton_gris,kraft,papier,flou,plastique,environnement,Teint_Dans_La_Masse,autre_refus,mal_croppe,metal,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1339508064] : ('0.05277814776262212',) no score found for photo 1339508064 We are sending mail with results at report@fotonower.com refus_total : 0.05277814776262212 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=20792366 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_P20792366_25-02-2025_07_49_00.pdf results_Auto_P20792366_25-02-2025_07_49_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792366_25-02-2025_07_49_00.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','20792366','results_Auto_P20792366_25-02-2025_07_49_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792366_25-02-2025_07_49_00.pdf','pdf','','0.3','0.05277814776262212') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20792366]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339508064] map_info['map_portfolio_photo'] : {20792366: [1339508064, 1339507868, 1339507864, 1339507859, 1339507855, 1339507852, 1339507851, 1339507832, 1339507829, 1339507826, 1339507822, 1339507803, 1339507791, 1339507787, 1339507783, 1339507779, 1339507774, 1339507756, 1339507753, 1339507750, 1339507723, 1339507714, 1339507711, 1339507709, 1339507706, 1339507703, 1339507569, 1339507532, 1339507526, 1339507494, 1339507491, 1339507486, 1339507481, 1339507475, 1339507467, 1339507437, 1339507434, 1339507429, 1339507426, 1339507415, 1339507401, 1339507367, 1339507364, 1339507359, 1339507354, 1339507348, 1339507310, 1339507307, 1339507303, 1339507301, 1339507298, 1339507241, 1339507236, 1339507232, 1339507228, 1339507223, 1339507154, 1339507151, 1339507148, 1339507140, 1339507128, 1339507094, 1339506582, 1339506578, 1339506574, 1339506571, 1339506546, 1339506543, 1339506539, 1339506535, 1339506531, 1339506528, 1339506492, 1339506489, 1339506485]} final : False mtd_id 4302 list_pids : [1339508064] 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, '2611903') ('4302', '20792366', '1339508064', None, None, None, None, None, '2611903') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20792366', '1339508064', None, None, None, None, None, '2611903')] time used for this insertion : 0.012259960174560547 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.419346332550049 time spend to save output : 0.012435436248779297 total time spend for step 4 : 6.431781768798828 step5:split_time_score Tue Feb 25 07:49:07 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 : ['20792366'] 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 : [('20792366',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20792366) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339508064: {'path': 'temp/1740466140_3870376_1339508064_7be2b4b78979bc723c11e79cbb5a185f.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 20792366; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20792366 group by h (('07', 75),) 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=20792366 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (20792366) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (20792366) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25022025 20792366 Nombre de photos uploadées : 75 / 23040 (0%) 25022025 20792366 Nombre de photos taguées (types de déchets): 0 / 75 (0%) 25022025 20792366 Nombre de photos taguées (volume) : 0 / 75 (0%) [{'photo_id': 1339506492, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/0440447e13859eee127416e168957b46.jpg', 'username': None, 'uploaded_at': 1740465092, 'text': 'image_25022025_07_30_04_010163m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339506489, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/909c04780d0bc04447a6050e27df94ca.jpg', 'username': None, 'uploaded_at': 1740465092, 'text': 'image_25022025_07_30_34_010134m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339506485, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/00c578f178a7a3a215458e111e46b39b.jpg', 'username': None, 'uploaded_at': 1740465092, 'text': 'image_25022025_07_30_44_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339506546, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/25/eaed52bcc0f858d8c0a6ed94152762d3.jpg', 'username': None, 'uploaded_at': 1740465152, 'text': 'image_25022025_07_30_54_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0013580322265625e-05 ??????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003568887710571289 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20792366, '2025-02-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1621897,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.026198625564575195 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1621897 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630186, 'mtr_portfolio_id': 20791187, 'dashboard_result_id': 9041696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791187_25-02-2025_07_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20791212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20791213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20791214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20791215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20791216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20791217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20791218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20791219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20791220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20791221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20791222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20791223, 'pht': 3726}}"}, {'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630186, 'mtr_portfolio_id': 20791496, 'dashboard_result_id': 9041697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791496_25-02-2025_07_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20791529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20791530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20791531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20791532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20791533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20791534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20791535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20791536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20791537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20791538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20791539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20791540, 'pht': 3726}}"}, {'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630186, 'mtr_portfolio_id': 20792366, 'dashboard_result_id': 9041698, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792366_25-02-2025_07_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20792397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20792398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20792399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20792400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20792401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20792402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20792403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20792404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20792405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20792406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20792407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20792408, 'pht': 3726}}"}, {'dashboat_entry_day': 1621897, 'dashboard_run_id': 1630186, 'mtr_portfolio_id': 20792964, 'dashboard_result_id': 9041699, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792964_25-02-2025_07_49_03.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20791187 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2611821, 'mtr_portfolio_id': 20791187, 'created_at': datetime.datetime(2025, 2, 25, 7, 25, 1), 'result': '0.03474334931450473', 'result_long': None, 'result_double': None}] Qualite : 0.03474334931450473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20791187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791187_25-02-2025_07_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20791187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791187_25-02-2025_07_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20791212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20791213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20791214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20791215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20791216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20791217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20791218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20791219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20791220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20791221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20791222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20791223, 'pht': 3726}}" where mtr_portfolio_id = 20791187 and dashboard_run_id = 1630186 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20791187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9041696, 0.03474334931450473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791187_25-02-2025_07_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20791212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20791213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20791214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20791215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20791216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20791217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20791218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20791219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20791220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20791221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20791222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20791223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20791496 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2611846, 'mtr_portfolio_id': 20791496, 'created_at': datetime.datetime(2025, 2, 25, 7, 32, 58), 'result': '0.051305851592749106', 'result_long': None, 'result_double': None}] Qualite : 0.051305851592749106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20791496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791496_25-02-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20791496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791496_25-02-2025_07_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20791529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20791530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20791531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20791532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20791533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20791534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20791535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20791536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20791537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20791538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20791539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20791540, 'pht': 3726}}" where mtr_portfolio_id = 20791496 and dashboard_run_id = 1630186 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20791496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9041697, 0.051305851592749106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20791496_25-02-2025_07_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20791529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20791530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20791531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20791532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20791533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20791534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20791535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20791536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20791537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20791538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20791539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20791540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20792366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2611903, 'mtr_portfolio_id': 20792366, 'created_at': datetime.datetime(2025, 2, 25, 7, 49), 'result': '0.05277814776262212', 'result_long': None, 'result_double': None}] Qualite : 0.05277814776262212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20792366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792366_25-02-2025_07_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20792366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792366_25-02-2025_07_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20792397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20792398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20792399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20792400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20792401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20792402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20792403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20792404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20792405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20792406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20792407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20792408, 'pht': 3726}}" where mtr_portfolio_id = 20792366 and dashboard_run_id = 1630186 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20792366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9041698, 0.05277814776262212, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792366_25-02-2025_07_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20792397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20792398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20792399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20792400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20792401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20792402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20792403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20792404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20792405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20792406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20792407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20792408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20792964 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20792964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20792964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20792964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20792964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20792964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792964_25-02-2025_07_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20792964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792964_25-02-2025_07_49_03.pdf'}" where mtr_portfolio_id = 20792964 and dashboard_run_id = 1630186 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20791187,20791496,20792366,20792964) result : ((1339504698,), (1339504701,), (1339504704,), (1339504708,), (1339504732,), (1339504735,), (1339504738,), (1339504741,), (1339505177,), (1339505182,), (1339505213,), (1339505254,), (1339505279,), (1339505292,), (1339505309,), (1339505310,), (1339505313,), (1339505328,), (1339505351,), (1339505356,), (1339505386,), (1339505395,), (1339505403,), (1339505407,), (1339505424,), (1339505428,), (1339505431,), (1339505434,), (1339505437,), (1339505438,), (1339505464,), (1339505467,), (1339505474,), (1339505477,), (1339505480,), (1339505508,), (1339505512,), (1339505516,), (1339505520,), (1339505523,), (1339505578,), (1339505584,), (1339505590,), (1339505595,), (1339505601,), (1339505608,), (1339505617,), (1339505619,), (1339505622,), (1339505625,), (1339505630,), (1339505632,), (1339505663,), (1339505666,), (1339505671,), (1339505676,), (1339505680,), (1339505683,), (1339505687,), (1339505702,), (1339505704,), (1339505734,), (1339505737,), (1339505740,), (1339505743,), (1339505747,), (1339505749,), (1339505785,), (1339505793,), (1339505798,), (1339505803,), (1339505808,), (1339505811,), (1339505814,), (1339505865,), (1339505869,), (1339505872,), (1339505876,), (1339505646,), (1339505651,), (1339505655,), (1339505658,), (1339505661,), (1339505692,), (1339505694,), (1339505698,), (1339505700,), (1339505709,), (1339505712,), (1339505715,), (1339505719,), (1339505723,), (1339505726,), (1339505765,), (1339505768,), (1339505770,), (1339505773,), (1339505779,), (1339505822,), (1339505831,), (1339505837,), (1339505839,), (1339505842,), (1339505843,), (1339505888,), (1339505893,), (1339505894,), (1339505901,), (1339505923,), (1339505925,), (1339505927,), (1339505930,), (1339505933,), (1339505936,), (1339505973,), (1339505979,), (1339505984,), (1339505987,), (1339506015,), (1339506042,), (1339506118,), (1339506124,), (1339506161,), (1339506179,), (1339506185,), (1339506189,), (1339506193,), (1339506200,), (1339506236,), (1339506239,), (1339506241,), (1339506244,), (1339506285,), (1339506288,), (1339506291,), (1339506294,), (1339506297,), (1339506301,), (1339506337,), (1339506338,), (1339506340,), (1339506353,), (1339506357,), (1339506360,), (1339506392,), (1339506399,), (1339506402,), (1339506405,), (1339506454,), (1339506460,), (1339506465,), (1339506468,), (1339506471,), (1339506473,), (1339506495,), (1339506485,), (1339506489,), (1339506492,), (1339506528,), (1339506531,), (1339506535,), (1339506539,), (1339506543,), (1339506546,), (1339506571,), (1339506574,), (1339506578,), (1339506582,), (1339507094,), (1339507128,), (1339507140,), (1339507148,), (1339507151,), (1339507154,), (1339507223,), (1339507228,), (1339507232,), (1339507236,), (1339507241,), (1339507298,), (1339507301,), (1339507303,), (1339507307,), (1339507310,), (1339507348,), (1339507354,), (1339507359,), (1339507364,), (1339507367,), (1339507401,), (1339507415,), (1339507426,), (1339507429,), (1339507434,), (1339507437,), (1339507467,), (1339507475,), (1339507481,), (1339507486,), (1339507491,), (1339507494,), (1339507526,), (1339507532,), (1339507569,), (1339507703,), (1339507706,), (1339507709,), (1339507711,), (1339507714,), (1339507723,), (1339507750,), (1339507753,), (1339507756,), (1339507774,), (1339507779,), (1339507783,), (1339507787,), (1339507791,), (1339507803,), (1339507822,), (1339507826,), (1339507829,), (1339507832,), (1339507851,), (1339507852,), (1339507855,), (1339507859,), (1339507864,), (1339507868,), (1339508064,), (1339508027,), (1339508030,), (1339508053,), (1339508057,), (1339508089,), (1339508095,), (1339508100,), (1339508103,), (1339508108,), (1339508110,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 75, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20792366]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339508064] map_info['map_portfolio_photo'] : {20792366: [1339508064, 1339507868, 1339507864, 1339507859, 1339507855, 1339507852, 1339507851, 1339507832, 1339507829, 1339507826, 1339507822, 1339507803, 1339507791, 1339507787, 1339507783, 1339507779, 1339507774, 1339507756, 1339507753, 1339507750, 1339507723, 1339507714, 1339507711, 1339507709, 1339507706, 1339507703, 1339507569, 1339507532, 1339507526, 1339507494, 1339507491, 1339507486, 1339507481, 1339507475, 1339507467, 1339507437, 1339507434, 1339507429, 1339507426, 1339507415, 1339507401, 1339507367, 1339507364, 1339507359, 1339507354, 1339507348, 1339507310, 1339507307, 1339507303, 1339507301, 1339507298, 1339507241, 1339507236, 1339507232, 1339507228, 1339507223, 1339507154, 1339507151, 1339507148, 1339507140, 1339507128, 1339507094, 1339506582, 1339506578, 1339506574, 1339506571, 1339506546, 1339506543, 1339506539, 1339506535, 1339506531, 1339506528, 1339506492, 1339506489, 1339506485]} final : True mtd_id 4302 list_pids : [1339508064] Looping around the photos to save general results len do output : 1 /20792366Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2611903') ('4302', '20792366', '1339508064', None, None, None, None, None, '2611903') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20792366', 'None', None, None, None, None, '2611903'), ('4302', '20792366', '1339508064', None, None, None, None, None, '2611903')] time used for this insertion : 0.011903762817382812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.32679080963134766 time spend to save output : 0.012068986892700195 total time spend for step 5 : 0.33885979652404785 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2611903) 2.12user 2.42system 0:13.01elapsed 34%CPU (0avgtext+0avgdata 157088maxresident)k 1576inputs+14064outputs (17major+70620minor)pagefaults 0swaps