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 : 2680105 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 (2621833) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2621833) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905347 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2621833'] with mtr_portfolio_ids : ['20905347'] and first list_photo_ids : [] new path : /proc/2680105/ Name: python3 Umask: 0002 State: R (running) Tgid: 2680105 Ngid: 0 Pid: 2680105 PPid: 2680104 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2680105 NSpid: 2680105 NSpgid: 2676957 NSsid: 2676957 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98412 kB VmRSS: 98412 kB RssAnon: 59760 kB RssFile: 38652 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 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: 51 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2680105', 'Ngid': '0', 'Pid': '2680105', 'PPid': '2680104', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2680105', 'NSpid': '2680105', 'NSpgid': '2676957', 'NSsid': '2676957', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98412 kB', 'VmRSS': '98412 kB', 'RssAnon': '59760 kB', 'RssFile': '38652 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 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': '51', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '2680105', '1106844', '0', '1106844', '865592', '98412', b'', 'marlene', '2621833') 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 (20905347) 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 (2621833 ) ) 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 (20905347) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340047190, 'portfolio_id': 20905347}, {'photo_id': 1340047182, 'portfolio_id': 20905347}, {'photo_id': 1340047180, 'portfolio_id': 20905347}, {'photo_id': 1340047178, 'portfolio_id': 20905347}, {'photo_id': 1340047156, 'portfolio_id': 20905347}, {'photo_id': 1340047151, 'portfolio_id': 20905347}, {'photo_id': 1340047140, 'portfolio_id': 20905347}, {'photo_id': 1340047134, 'portfolio_id': 20905347}, {'photo_id': 1340047122, 'portfolio_id': 20905347}, {'photo_id': 1340047120, 'portfolio_id': 20905347}, {'photo_id': 1340047093, 'portfolio_id': 20905347}, {'photo_id': 1340047091, 'portfolio_id': 20905347}, {'photo_id': 1340047088, 'portfolio_id': 20905347}, {'photo_id': 1340047031, 'portfolio_id': 20905347}, {'photo_id': 1340046893, 'portfolio_id': 20905347}, {'photo_id': 1340046863, 'portfolio_id': 20905347}, {'photo_id': 1340046796, 'portfolio_id': 20905347}, {'photo_id': 1340046727, 'portfolio_id': 20905347}, {'photo_id': 1340046681, 'portfolio_id': 20905347}, {'photo_id': 1340046679, 'portfolio_id': 20905347}, {'photo_id': 1340046646, 'portfolio_id': 20905347}, {'photo_id': 1340046617, 'portfolio_id': 20905347}, {'photo_id': 1340046607, 'portfolio_id': 20905347}, {'photo_id': 1340046605, 'portfolio_id': 20905347}, {'photo_id': 1340046603, 'portfolio_id': 20905347}, {'photo_id': 1340046421, 'portfolio_id': 20905347}, {'photo_id': 1340046338, 'portfolio_id': 20905347}, {'photo_id': 1340046210, 'portfolio_id': 20905347}, {'photo_id': 1340046139, 'portfolio_id': 20905347}, {'photo_id': 1340046009, 'portfolio_id': 20905347}, {'photo_id': 1340045964, 'portfolio_id': 20905347}, {'photo_id': 1340045885, 'portfolio_id': 20905347}, {'photo_id': 1340045883, 'portfolio_id': 20905347}, {'photo_id': 1340045880, 'portfolio_id': 20905347}, {'photo_id': 1340045877, 'portfolio_id': 20905347}, {'photo_id': 1340045875, 'portfolio_id': 20905347}, {'photo_id': 1340045873, 'portfolio_id': 20905347}, {'photo_id': 1340045865, 'portfolio_id': 20905347}, {'photo_id': 1340045861, 'portfolio_id': 20905347}, {'photo_id': 1340045856, 'portfolio_id': 20905347}, {'photo_id': 1340045851, 'portfolio_id': 20905347}, {'photo_id': 1340045847, 'portfolio_id': 20905347}, {'photo_id': 1340045833, 'portfolio_id': 20905347}, {'photo_id': 1340045831, 'portfolio_id': 20905347}, {'photo_id': 1340045828, 'portfolio_id': 20905347}, {'photo_id': 1340045826, 'portfolio_id': 20905347}, {'photo_id': 1340045824, 'portfolio_id': 20905347}, {'photo_id': 1340045822, 'portfolio_id': 20905347}, {'photo_id': 1340045660, 'portfolio_id': 20905347}, {'photo_id': 1340045657, 'portfolio_id': 20905347}, {'photo_id': 1340045648, 'portfolio_id': 20905347}, {'photo_id': 1340045642, 'portfolio_id': 20905347}] map_portfolio_id_photo_id: {20905347: [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031, 1340046893, 1340046863, 1340046796, 1340046727, 1340046681, 1340046679, 1340046646, 1340046617, 1340046607, 1340046605, 1340046603, 1340046421, 1340046338, 1340046210, 1340046139, 1340046009, 1340045964, 1340045885, 1340045883, 1340045880, 1340045877, 1340045875, 1340045873, 1340045865, 1340045861, 1340045856, 1340045851, 1340045847, 1340045833, 1340045831, 1340045828, 1340045826, 1340045824, 1340045822, 1340045660, 1340045657, 1340045648, 1340045642]} ##### 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.016436338424682617 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Feb 28 03:10: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 (20905347) 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 : 20905347 get user id for portfolio 20905347 get sub ptf for main ptf 20905347, type 3726 and hashtags ['metal', 'Teint_Dans_La_Masse', 'Carton_gris', 'cartonnette', 'plastique', 'mal_croppe', 'kraft', 'Carton_brun', 'environnement', 'flou', 'papier', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20905347 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','Carton_gris','cartonnette','plastique','mal_croppe','kraft','Carton_brun','environnement','flou','papier','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20905347 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','Carton_gris','cartonnette','plastique','mal_croppe','kraft','Carton_brun','environnement','flou','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20905347, 'sub_port_id': 20905378, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533508, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'metal': {'main_port_id': 20905347, 'sub_port_id': 20905379, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533509, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'environnement': {'main_port_id': 20905347, 'sub_port_id': 20905380, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533510, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'plastique': {'main_port_id': 20905347, 'sub_port_id': 20905381, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533511, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'papier': {'main_port_id': 20905347, 'sub_port_id': 20905382, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533512, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'autre_refus': {'main_port_id': 20905347, 'sub_port_id': 20905383, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533513, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'cartonnette': {'main_port_id': 20905347, 'sub_port_id': 20905384, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533514, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'flou': {'main_port_id': 20905347, 'sub_port_id': 20905385, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533515, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'mal_croppe': {'main_port_id': 20905347, 'sub_port_id': 20905386, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533516, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'Carton_brun': {'main_port_id': 20905347, 'sub_port_id': 20905387, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533517, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'Carton_gris': {'main_port_id': 20905347, 'sub_port_id': 20905388, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533518, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}, 'kraft': {'main_port_id': 20905347, 'sub_port_id': 20905389, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533519, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20905378 , 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=20905347 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 (20905378) result : ((1340046451,), (1340046453,), (1340046455,), (1340046900,), (1340046901,), (1340046903,), (1340047105,), (1340047106,), (1340047124,), (1340047125,), (1340047126,), (1340047127,), (1340047128,), (1340047129,), (1340047130,), (1340047159,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905379 , 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=20905347 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 (20905379) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905380 , 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=20905347 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 (20905380) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905381 , 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=20905347 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 (20905381) result : ((1340046950,), (1340047116,), (1340047117,), (1340047118,), (1340047152,), (1340047153,), (1340047154,), (1340047168,), (1340047173,), (1340047174,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905382 , 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=20905347 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 (20905382) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905383 , 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=20905347 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 (20905383) result : ((1340046927,), (1340046928,), (1340046930,), (1340047107,), (1340047131,), (1340047132,), (1340047133,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905384 , 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=20905347 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 (20905384) result : ((1340046911,), (1340046973,), (1340046975,), (1340046976,), (1340047141,), (1340047142,), (1340047143,), (1340047144,), (1340047161,), (1340047167,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905385 , 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=20905347 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 (20905385) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905386 , 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=20905347 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 (20905386) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905387 , 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=20905347 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 (20905387) result : ((1340046500,), (1340046932,), (1340046999,), (1340047000,), (1340047001,), (1340047002,), (1340047003,), (1340047004,), (1340047005,), (1340047006,), (1340047007,), (1340047112,), (1340047113,), (1340047114,), (1340047147,), (1340047148,), (1340047149,), (1340047150,), (1340047165,), (1340047166,), (1340047171,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905388 , 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=20905347 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 (20905388) result : ((1340046495,), (1340046496,), (1340046497,), (1340046498,), (1340046902,), (1340046904,), (1340046955,), (1340046956,), (1340046958,), (1340047108,), (1340047109,), (1340047110,), (1340047111,), (1340047136,), (1340047137,), (1340047138,), (1340047139,), (1340047158,), (1340047163,), (1340047164,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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 20905389 , 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=20905347 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 (20905389) result : ((1340047170,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20905347) result : ((1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) 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`=20905347 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','Carton_gris','cartonnette','plastique','mal_croppe','kraft','Carton_brun','environnement','flou','papier','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20905347 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','Carton_gris','cartonnette','plastique','mal_croppe','kraft','Carton_brun','environnement','flou','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 20905347, 'sub_port_id': 20905390, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533520, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'metal': {'main_port_id': 20905347, 'sub_port_id': 20905391, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533521, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'environnement': {'main_port_id': 20905347, 'sub_port_id': 20905392, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533522, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'plastique': {'main_port_id': 20905347, 'sub_port_id': 20905393, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533523, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'papier': {'main_port_id': 20905347, 'sub_port_id': 20905394, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533524, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'autre_refus': {'main_port_id': 20905347, 'sub_port_id': 20905395, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533525, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'cartonnette': {'main_port_id': 20905347, 'sub_port_id': 20905396, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533526, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'flou': {'main_port_id': 20905347, 'sub_port_id': 20905397, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533527, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'mal_croppe': {'main_port_id': 20905347, 'sub_port_id': 20905398, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533528, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'Carton_brun': {'main_port_id': 20905347, 'sub_port_id': 20905399, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533529, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'Carton_gris': {'main_port_id': 20905347, 'sub_port_id': 20905400, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533530, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}, 'kraft': {'main_port_id': 20905347, 'sub_port_id': 20905401, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13533531, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 5, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905390,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905378 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905391,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905379 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905392,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905380 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905393,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905381 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905394,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905382 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905395,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905383 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905396,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905384 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905397,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905385 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905398,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905386 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905399,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905387 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905400,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905388 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20905401,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20905389 lien utilise dans velours : https://www.fotonower.com/velours/20905390,20905391,20905392,20905393,20905394,20905395,20905396,20905397,20905398,20905399,20905400,20905401?tags=Teint_Dans_La_Masse,metal,environnement,plastique,papier,autre_refus,cartonnette,flou,mal_croppe,Carton_brun,Carton_gris,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20905347]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] map_info['map_portfolio_photo'] : {20905347: [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031, 1340046893, 1340046863, 1340046796, 1340046727, 1340046681, 1340046679, 1340046646, 1340046617, 1340046607, 1340046605, 1340046603, 1340046421, 1340046338, 1340046210, 1340046139, 1340046009, 1340045964, 1340045885, 1340045883, 1340045880, 1340045877, 1340045875, 1340045873, 1340045865, 1340045861, 1340045856, 1340045851, 1340045847, 1340045833, 1340045831, 1340045828, 1340045826, 1340045824, 1340045822, 1340045660, 1340045657, 1340045648, 1340045642]} final : False mtd_id 4302 list_pids : [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] Looping around the photos to save general results len do output : 1 /20905347. 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, '2621833') ('4302', '20905347', '1340047190', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '20905347', "{'Teint_Dans_La_Masse': 20905378, 'metal': 20905379, 'environnement': 20905380, 'plastique': 20905381, 'papier': 20905382, 'autre_refus': 20905383, 'cartonnette': 20905384, 'flou': 20905385, 'mal_croppe': 20905386, 'Carton_brun': 20905387, 'Carton_gris': 20905388, 'kraft': 20905389}", None, None, None, None, '2621833'), ('4302', '20905347', '1340047190', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833')] time used for this insertion : 0.015889406204223633 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6523783206939697 time spend to save output : 0.016237974166870117 total time spend for step 1 : 1.6686162948608398 step2:final Fri Feb 28 03:11: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 (20905347) 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 20905347 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340045660,1340045657,1340045648,1340045642,1340045833,1340045831,1340045828,1340045826,1340045824,1340045822,1340045865,1340045861,1340045856,1340045851,1340045885,1340045847,1340045883,1340045880,1340045877,1340045875,1340045873,1340046421,1340046338,1340046210,1340046139,1340046009,1340045964,1340046646,1340046617,1340046607,1340046605,1340046603,1340046893,1340046863,1340046796,1340046727,1340046681,1340046679,1340047093,1340047091,1340047088,1340047031,1340047156,1340047151,1340047140,1340047134,1340047122,1340047120,1340047190,1340047182,1340047180,1340047178); 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([20905347]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} new output for save of step final : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] map_info['map_portfolio_photo'] : {20905347: [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031, 1340046893, 1340046863, 1340046796, 1340046727, 1340046681, 1340046679, 1340046646, 1340046617, 1340046607, 1340046605, 1340046603, 1340046421, 1340046338, 1340046210, 1340046139, 1340046009, 1340045964, 1340045885, 1340045883, 1340045880, 1340045877, 1340045875, 1340045873, 1340045865, 1340045861, 1340045856, 1340045851, 1340045847, 1340045833, 1340045831, 1340045828, 1340045826, 1340045824, 1340045822, 1340045660, 1340045657, 1340045648, 1340045642]} final : False mtd_id 4302 list_pids : [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] Looping around the photos to save general results len do output : 14 /1340047190.Didn't retrieve data . /1340047182.Didn't retrieve data . /1340047180.Didn't retrieve data . /1340047178.Didn't retrieve data . /1340047156.Didn't retrieve data . /1340047151.Didn't retrieve data . /1340047140.Didn't retrieve data . /1340047134.Didn't retrieve data . /1340047122.Didn't retrieve data . /1340047120.Didn't retrieve data . /1340047093.Didn't retrieve data . /1340047091.Didn't retrieve data . /1340047088.Didn't retrieve data . /1340047031.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, '2621833') ('4302', '20905347', '1340047190', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '20905347', '1340047190', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047182', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047180', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047178', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047156', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047151', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047140', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047134', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047122', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047120', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047093', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047091', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047088', '0.10220857347317', None, None, None, None, '2621833'), ('4302', '20905347', '1340047031', '0.10220857347317', None, None, None, None, '2621833')] time used for this insertion : 0.016957998275756836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07082343101501465 time spend to save output : 0.017665386199951172 total time spend for step 2 : 0.08848881721496582 step3:velours_tree Fri Feb 28 03:11: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 : {20905347: [{'Teint_Dans_La_Masse': 20905378, 'metal': 20905379, 'environnement': 20905380, 'plastique': 20905381, 'papier': 20905382, 'autre_refus': 20905383, 'cartonnette': 20905384, 'flou': 20905385, 'mal_croppe': 20905386, 'Carton_brun': 20905387, 'Carton_gris': 20905388, 'kraft': 20905389}]} input_args_next_step : {20905347: ()} output_args : {20905347: [{'Teint_Dans_La_Masse': 20905378, 'metal': 20905379, 'environnement': 20905380, 'plastique': 20905381, 'papier': 20905382, 'autre_refus': 20905383, 'cartonnette': 20905384, 'flou': 20905385, 'mal_croppe': 20905386, 'Carton_brun': 20905387, 'Carton_gris': 20905388, 'kraft': 20905389}]} args : 20905347 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 20905378, 'metal': 20905379, 'environnement': 20905380, 'plastique': 20905381, 'papier': 20905382, 'autre_refus': 20905383, 'cartonnette': 20905384, 'flou': 20905385, 'mal_croppe': 20905386, 'Carton_brun': 20905387, 'Carton_gris': 20905388, 'kraft': 20905389},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20905347) 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([20905347]) 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.3249328136444092 time spend to save output : 7.62939453125e-05 total time spend for step 3 : 0.3250091075897217 step4:send_mail_cod Fri Feb 28 03:11: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 : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} input_args_next_step : {1340047190: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047190 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047182 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047180 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047178 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047156 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047151 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047140 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047134 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047122 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047120 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047093 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047091 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047088 depend.output_id : 0 input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ()} output_args : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',)} args : 1340047031 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {20905347: [{'Teint_Dans_La_Masse': 20905378, 'metal': 20905379, 'environnement': 20905380, 'plastique': 20905381, 'papier': 20905382, 'autre_refus': 20905383, 'cartonnette': 20905384, 'flou': 20905385, 'mal_croppe': 20905386, 'Carton_brun': 20905387, 'Carton_gris': 20905388, 'kraft': 20905389}]} input_args_next_step : {1340047190: ('0.10220857347317',), 1340047182: ('0.10220857347317',), 1340047180: ('0.10220857347317',), 1340047178: ('0.10220857347317',), 1340047156: ('0.10220857347317',), 1340047151: ('0.10220857347317',), 1340047140: ('0.10220857347317',), 1340047134: ('0.10220857347317',), 1340047122: ('0.10220857347317',), 1340047120: ('0.10220857347317',), 1340047093: ('0.10220857347317',), 1340047091: ('0.10220857347317',), 1340047088: ('0.10220857347317',), 1340047031: ('0.10220857347317',), 20905347: ()} output_args : {20905347: [{'Teint_Dans_La_Masse': 20905378, 'metal': 20905379, 'environnement': 20905380, 'plastique': 20905381, 'papier': 20905382, 'autre_refus': 20905383, 'cartonnette': 20905384, 'flou': 20905385, 'mal_croppe': 20905386, 'Carton_brun': 20905387, 'Carton_gris': 20905388, 'kraft': 20905389}]} args : 20905347 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 :15, first value : ('0.10220857347317',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20905347) 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 (1340047190,1340047182,1340047180,1340047178,1340047156,1340047151,1340047140,1340047134,1340047122,1340047120,1340047093,1340047091,1340047088,1340047031) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340047031 begin to download photo : 1340047093 begin to download photo : 1340047134 begin to download photo : 1340047156 begin to download photo : 1340047182 download finish for photo 1340047156 begin to download photo : 1340047178 download finish for photo 1340047182 begin to download photo : 1340047190 download finish for photo 1340047134 begin to download photo : 1340047140 download finish for photo 1340047093 begin to download photo : 1340047120 download finish for photo 1340047031 begin to download photo : 1340047088 download finish for photo 1340047178 begin to download photo : 1340047180 download finish for photo 1340047190 download finish for photo 1340047088 begin to download photo : 1340047091 download finish for photo 1340047140 begin to download photo : 1340047151 download finish for photo 1340047120 begin to download photo : 1340047122 download finish for photo 1340047180 download finish for photo 1340047151 download finish for photo 1340047091 download finish for photo 1340047122 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette209053791740708661/ length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P20905347_28-02-2025_03_11_01.pdf 20905379 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=20905379 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209053791740708661 20905381 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=20905381 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340046950: '1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440800_0.png', 1340047116: '1740708453_2336277_1340045880_0fe58e5b5eb40eba75f5276582b20fd7_rle_crop_3689442121_0.png', 1340047117: '1740708453_2336277_1340045877_66b9b268060be792a6d50e38e4d709ce_rle_crop_3689442135_0.png', 1340047118: '1740708453_2336277_1340045877_66b9b268060be792a6d50e38e4d709ce_rle_crop_3689442147_0.png', 1340047152: '1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442406_0.png', 1340047153: '1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442417_0.png', 1340047154: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442442_0.png', 1340047168: '1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442518_0.png', 1340047173: '1740708494_2336861_1340045885_9e2fde0b6c985b61cdbec7cac68ada28_rle_crop_3689442422_0.png', 1340047174: '1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440800_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/80d425be1faf4f3dfd81d6864d22a0a9_42149187.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0665900a536cdddb4f9437cc625af02a_68089657.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a0dfb4b4c3a8c2f5205012e3a4dc04c6_81903520.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0632810888c57428058d1a681c3616f4_78602861.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b2e4d777bcd4240db16dd18c430c51cd_33181457.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1d33a6d36637d72fc83dede55583a095_9268686.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/128779751fef6468c0acba811b52b93a_1422678.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/634722e709ac394349aeda6ced4a55a1_57732974.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/81999218c15f97020e8b7ad157131abc_90444286.png change filename to text .imagette209053811740708661/ imagette209053811740708661/1740708453_2336277_1340045877_66b9b268060be792a6d50e38e4d709ce_rle_crop_3689442147_0.png.png imagette209053811740708661/1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440800_0.png.png imagette209053811740708661/1740708494_2336861_1340045885_9e2fde0b6c985b61cdbec7cac68ada28_rle_crop_3689442422_0.png.png imagette209053811740708661/1740708453_2336277_1340045880_0fe58e5b5eb40eba75f5276582b20fd7_rle_crop_3689442121_0.png.png imagette209053811740708661/1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442518_0.png.png imagette209053811740708661/1740708453_2336277_1340045877_66b9b268060be792a6d50e38e4d709ce_rle_crop_3689442135_0.png.png imagette209053811740708661/1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440800_0.png.png imagette209053811740708661/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442442_0.png.png imagette209053811740708661/1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442417_0.png.png imagette209053811740708661/1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442406_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/80d425be1faf4f3dfd81d6864d22a0a9_98535170.png imagette209053811740708661 20905383 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=20905383 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340046927: '1740708393_2335575_1340045865_15a935252873a9c03ec284c8bb7042fa_rle_crop_3689440593_0.png', 1340046928: '1740708393_2335575_1340045865_15a935252873a9c03ec284c8bb7042fa_rle_crop_3689440595_0.png', 1340046930: '1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440753_0.png', 1340047107: '1740708453_2336277_1340045877_66b9b268060be792a6d50e38e4d709ce_rle_crop_3689442136_0.png', 1340047131: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442431_0.png', 1340047132: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442439_0.png', 1340047133: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442430_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/41b604284b495b1a2423929439444b3d_27084888.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e9f5128017292a4c9343f987b3552758_64746466.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ad978b1a297f1e955edc441872972bb7_86188748.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8358594f9600da5ba100b16d9d40320a_4224511.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/aef6905b2ffc5333f8fe3c81fa4f78f4_27687738.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/190ff86434ded1da3cf6997a5aca7154_20050284.png change filename to text .imagette209053831740708662/ imagette209053831740708662/1740708393_2335575_1340045865_15a935252873a9c03ec284c8bb7042fa_rle_crop_3689440593_0.png.png imagette209053831740708662/1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440753_0.png.png imagette209053831740708662/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442431_0.png.png imagette209053831740708662/1740708453_2336277_1340045877_66b9b268060be792a6d50e38e4d709ce_rle_crop_3689442136_0.png.png imagette209053831740708662/1740708393_2335575_1340045865_15a935252873a9c03ec284c8bb7042fa_rle_crop_3689440595_0.png.png imagette209053831740708662/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442430_0.png.png imagette209053831740708662/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442439_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/92e528820ec96ab8c5e69a0198b7a8c4_17531697.png imagette209053831740708662 20905384 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=20905384 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340046911: '1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440809_0.png', 1340046973: '1740708393_2335575_1340045865_15a935252873a9c03ec284c8bb7042fa_rle_crop_3689440596_0.png', 1340046975: '1740708393_2335575_1340045824_c07e03a6cb9b32362cbd3405ad342a3f_rle_crop_3689440786_0.png', 1340046976: '1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440824_0.png', 1340047141: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442320_0.png', 1340047142: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442305_0.png', 1340047143: '1740708471_2336539_1340046210_fa11d3065647daec6aa529c03b6d44c1_rle_crop_3689442325_0.png', 1340047144: '1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442410_0.png', 1340047161: '1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442512_0.png', 1340047167: '1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440809_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3048d8aa6552c76c2e6429f677179bbd_93171555.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/641758f6f1cf3be722093359191519ed_21877810.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b4811730d3f35499c9ee714bfe24a73c_26480762.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/cb43a06fcf9e8672b491962e93de6f78_50248004.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9eb02ca5cd722130094ad93bd8a4e50c_56845088.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/131aac00724a53ff4e3254a287429190_85098413.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/644d5a4b4ffa3d9248c2cb6b94525fc3_47455329.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a2d9207044fdc7cb2de02305ee22d8c9_44112523.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/daa0abf8cbd963af6d65488676046fa8_2758072.png change filename to text .imagette209053841740708662/ imagette209053841740708662/1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440809_0.png.png imagette209053841740708662/1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442512_0.png.png imagette209053841740708662/1740708393_2335575_1340045824_c07e03a6cb9b32362cbd3405ad342a3f_rle_crop_3689440786_0.png.png imagette209053841740708662/1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440824_0.png.png imagette209053841740708662/1740708471_2336539_1340046210_fa11d3065647daec6aa529c03b6d44c1_rle_crop_3689442325_0.png.png imagette209053841740708662/1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440809_0.png.png imagette209053841740708662/1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442410_0.png.png imagette209053841740708662/1740708393_2335575_1340045865_15a935252873a9c03ec284c8bb7042fa_rle_crop_3689440596_0.png.png imagette209053841740708662/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442320_0.png.png imagette209053841740708662/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442305_0.png.png imagette209053851740708663/ imagette209053861740708663/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3048d8aa6552c76c2e6429f677179bbd_21144363.png imagette209053841740708662 20905385 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=20905385 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209053851740708663 20905386 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=20905386 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209053861740708663 20905389 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=20905389 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340047170: '1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442502_0.png'} change filename to text .imagette209053891740708663/ imagette209053891740708663/1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442502_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/989ff0e08b3938b6ca06f56330623131_54139840.png imagette209053891740708663 20905378 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=20905378 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340046451: '1740708279_2326845_1340045660_74368415ebbd6fc1333ac0d7c80ca283_rle_crop_3689437710_0.png', 1340046453: '1740708279_2326845_1340045657_05aa049fa77a8975af7ea92fd2af78ea_rle_crop_3689437715_0.png', 1340046455: '1740708279_2326845_1340045657_05aa049fa77a8975af7ea92fd2af78ea_rle_crop_3689437718_0.png', 1340046900: '1740708412_2335801_1340045861_93ec168952fb143ed98a5e2b8ec47485_rle_crop_3689440738_0.png', 1340046901: '1740708393_2335575_1340045828_e7e915503c0a57fb1ea7a78729e25c68_rle_crop_3689440630_0.png', 1340046903: '1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440759_0.png', 1340047105: '1740708453_2336277_1340046421_dadfc1e6c785150b5c87178dc46f32a5_rle_crop_3689442095_0.png', 1340047106: '1740708453_2336277_1340046421_dadfc1e6c785150b5c87178dc46f32a5_rle_crop_3689442106_0.png', 1340047124: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442315_0.png', 1340047125: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442312_0.png', 1340047126: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442319_0.png', 1340047127: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442310_0.png', 1340047128: '1740708471_2336539_1340046210_fa11d3065647daec6aa529c03b6d44c1_rle_crop_3689442334_0.png', 1340047129: '1740708471_2336539_1340046139_3d9764dc41a17ebf7dfc02acbc9012c2_rle_crop_3689442388_0.png', 1340047130: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442438_0.png', 1340047159: '1740708494_2336861_1340045861_93ec168952fb143ed98a5e2b8ec47485_rle_crop_3689440738_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0009d4993a8f9525d8a07625f52a2744_51498432.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8fcf11d486f17a5e0b81030faa9eb77c_73743954.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/50ef9462e7cd5c8f763f896e63c6be93_78749851.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/891c2a8225ed65f8ebc374326878d4d8_43216515.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/df6bf0da4cdb1a039d7ca62452109ebc_18991918.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c16758616781eb17f93e14023e7eb997_81914962.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3edfe7fc1810d8452f8c4b95f32a2645_20350570.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0c8f0dd7b3ea30d23514690ffacceed3_74640987.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0e7e99c7cf7047b8e06743a120d1dfe4_12800091.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/49dc6385e492c4d856e8691c41b5717e_66312768.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b75469b480b96bbde20681d2d30557e3_9115103.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/155d8f450653648dec15efe27b54649a_60833872.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f263a0e196fae1723eaeeb9a059c7b1b_24904085.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c49cee57b6d8a5e67fcad5ae53b635a7_44783980.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0d655ea00ca339ebd8a95defeac53395_20253960.png change filename to text .imagette209053781740708663/ imagette209053781740708663/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442312_0.png.png imagette209053781740708663/1740708453_2336277_1340046421_dadfc1e6c785150b5c87178dc46f32a5_rle_crop_3689442106_0.png.png imagette209053781740708663/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442438_0.png.png imagette209053781740708663/1740708393_2335575_1340045828_e7e915503c0a57fb1ea7a78729e25c68_rle_crop_3689440630_0.png.png imagette209053781740708663/1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440759_0.png.png imagette209053781740708663/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442315_0.png.png imagette209053781740708663/1740708494_2336861_1340045861_93ec168952fb143ed98a5e2b8ec47485_rle_crop_3689440738_0.png.png imagette209053781740708663/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442319_0.png.png imagette209053781740708663/1740708471_2336539_1340046139_3d9764dc41a17ebf7dfc02acbc9012c2_rle_crop_3689442388_0.png.png imagette209053781740708663/1740708453_2336277_1340046421_dadfc1e6c785150b5c87178dc46f32a5_rle_crop_3689442095_0.png.png imagette209053781740708663/1740708412_2335801_1340045861_93ec168952fb143ed98a5e2b8ec47485_rle_crop_3689440738_0.png.png imagette209053781740708663/1740708279_2326845_1340045660_74368415ebbd6fc1333ac0d7c80ca283_rle_crop_3689437710_0.png.png imagette209053781740708663/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442310_0.png.png imagette209053781740708663/1740708279_2326845_1340045657_05aa049fa77a8975af7ea92fd2af78ea_rle_crop_3689437715_0.png.png imagette209053781740708663/1740708279_2326845_1340045657_05aa049fa77a8975af7ea92fd2af78ea_rle_crop_3689437718_0.png.png imagette209053781740708663/1740708471_2336539_1340046210_fa11d3065647daec6aa529c03b6d44c1_rle_crop_3689442334_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/891c2a8225ed65f8ebc374326878d4d8_19210621.png imagette209053781740708663 20905387 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=20905387 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340047007: '1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440828_0.png', 1340047171: '1740708494_2336861_1340045856_3e93eb14ff90c5fe6eb5b4e3aa5ba113_rle_crop_3689440768_0.png', 1340047166: '1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442514_0.png', 1340047165: '1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442510_0.png', 1340047150: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442435_0.png', 1340047149: '1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442412_0.png', 1340047148: '1740708471_2336539_1340046139_3d9764dc41a17ebf7dfc02acbc9012c2_rle_crop_3689442389_0.png', 1340047147: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442318_0.png', 1340047114: '1740708453_2336277_1340045873_77b7cdf2952815fbde044dda1489dcaf_rle_crop_3689442294_0.png', 1340047113: '1740708453_2336277_1340045875_c47df2ae1c47e7e50b3c283a70423692_rle_crop_3689442278_0.png', 1340047112: '1740708453_2336277_1340046421_dadfc1e6c785150b5c87178dc46f32a5_rle_crop_3689442099_0.png', 1340046500: '1740708279_2326845_1340045642_de544a7888afea5f87b7fd4d8858a390_rle_crop_3689437808_0.png', 1340047006: '1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440831_0.png', 1340047005: '1740708393_2335575_1340045824_c07e03a6cb9b32362cbd3405ad342a3f_rle_crop_3689440793_0.png', 1340047004: '1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440750_0.png', 1340047003: '1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440756_0.png', 1340047002: '1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440749_0.png', 1340047001: '1740708393_2335575_1340045828_e7e915503c0a57fb1ea7a78729e25c68_rle_crop_3689440628_0.png', 1340047000: '1740708393_2335575_1340045828_e7e915503c0a57fb1ea7a78729e25c68_rle_crop_3689440629_0.png', 1340046999: '1740708393_2335575_1340045831_367226365bed4a56172da9ed5792c7fb_rle_crop_3689440619_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d1a3fd08704efce8f2b624ae8f81d2a3_43503915.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0eac9a2d3ad5360294398cb2817a9c71_85874690.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5ed5af1a7734a10b2efc228de77172b4_58593263.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/100665bbc9b50a7018714f29df9d6a97_82308075.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5b2b640019bc31795492d4aefc9feefa_40369606.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/21b08fc0d02291ab59e01ba9bf404893_30976265.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/27b63760b5f8dc7fa738956b5c9fb512_36695544.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/623f6684f408e4fa003128b9925b4afc_72888374.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4800564e634013305e55824fbcb027dd_62053454.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/203c3980798397712a07ed83898643b0_55468338.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0159345f1f6f30b8f0c35326abd6f3e1_34029301.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fc5b255176d6e1833eefecd6677b6da8_38894417.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/df1dbd5ad80f84a74d8eda27cd671ed5_52198747.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/88577930467d62e2f98254d7c5508058_60560322.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4172a78a5b3c68eb916fce9cd1c1f418_35932694.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/636a66f8f0f1b5486b96acb4b2dd815c_64073325.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/49aba63559953b8c01fa125355303b10_36576552.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d50905443518e9ddb09cbef9d6d5bf4d_70471761.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/de2da218bff215c3edb245f81b4e371a_66532768.png change filename to text .imagette209053871740708664/ imagette209053871740708664/1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442514_0.png.png imagette209053871740708664/1740708453_2336277_1340046421_dadfc1e6c785150b5c87178dc46f32a5_rle_crop_3689442099_0.png.png imagette209053871740708664/1740708453_2336277_1340045873_77b7cdf2952815fbde044dda1489dcaf_rle_crop_3689442294_0.png.png imagette209053871740708664/1740708393_2335575_1340045828_e7e915503c0a57fb1ea7a78729e25c68_rle_crop_3689440629_0.png.png imagette209053871740708664/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442435_0.png.png imagette209053871740708664/1740708471_2336539_1340046139_3d9764dc41a17ebf7dfc02acbc9012c2_rle_crop_3689442389_0.png.png imagette209053871740708664/1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440828_0.png.png imagette209053871740708664/1740708453_2336277_1340045875_c47df2ae1c47e7e50b3c283a70423692_rle_crop_3689442278_0.png.png imagette209053871740708664/1740708279_2326845_1340045642_de544a7888afea5f87b7fd4d8858a390_rle_crop_3689437808_0.png.png imagette209053871740708664/1740708393_2335575_1340045824_c07e03a6cb9b32362cbd3405ad342a3f_rle_crop_3689440793_0.png.png imagette209053871740708664/1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442412_0.png.png imagette209053871740708664/1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440756_0.png.png imagette209053871740708664/1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442510_0.png.png imagette209053871740708664/1740708494_2336861_1340045856_3e93eb14ff90c5fe6eb5b4e3aa5ba113_rle_crop_3689440768_0.png.png imagette209053871740708664/1740708393_2335575_1340045828_e7e915503c0a57fb1ea7a78729e25c68_rle_crop_3689440628_0.png.png imagette209053871740708664/1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440749_0.png.png imagette209053871740708664/1740708393_2335575_1340045831_367226365bed4a56172da9ed5792c7fb_rle_crop_3689440619_0.png.png imagette209053871740708664/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442318_0.png.png imagette209053871740708664/1740708393_2335575_1340045826_2b144c54d496a8f8cd0adebcd35482c4_rle_crop_3689440750_0.png.png imagette209053871740708664/1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440831_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ae6b0eaaabe7673615db7e6602d07439_65002374.png imagette209053871740708664 20905388 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=20905388 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340047109: '1740708453_2336277_1340045875_c47df2ae1c47e7e50b3c283a70423692_rle_crop_3689442275_0.png', 1340047164: '1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440814_0.png', 1340047163: '1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440807_0.png', 1340047158: '1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442504_0.png', 1340047139: '1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442437_0.png', 1340047138: '1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442409_0.png', 1340047137: '1740708471_2336539_1340046210_fa11d3065647daec6aa529c03b6d44c1_rle_crop_3689442329_0.png', 1340047136: '1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442307_0.png', 1340047111: '1740708453_2336277_1340045873_77b7cdf2952815fbde044dda1489dcaf_rle_crop_3689442287_0.png', 1340047110: '1740708453_2336277_1340045873_77b7cdf2952815fbde044dda1489dcaf_rle_crop_3689442293_0.png', 1340046495: '1740708279_2326845_1340045660_74368415ebbd6fc1333ac0d7c80ca283_rle_crop_3689437708_0.png', 1340047108: '1740708453_2336277_1340045883_ea52aed3d4e61ea2d42360ebc269826a_rle_crop_3689442112_0.png', 1340046958: '1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440832_0.png', 1340046956: '1740708393_2335575_1340045824_c07e03a6cb9b32362cbd3405ad342a3f_rle_crop_3689440791_0.png', 1340046955: '1740708393_2335575_1340045831_367226365bed4a56172da9ed5792c7fb_rle_crop_3689440614_0.png', 1340046904: '1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440814_0.png', 1340046902: '1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440807_0.png', 1340046498: '1740708279_2326845_1340045648_89a124d55b95199294dceffb4db67486_rle_crop_3689437726_0.png', 1340046497: '1740708279_2326845_1340045657_05aa049fa77a8975af7ea92fd2af78ea_rle_crop_3689437716_0.png', 1340046496: '1740708279_2326845_1340045660_74368415ebbd6fc1333ac0d7c80ca283_rle_crop_3689437706_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/438a8e431c44da2d23b6f4814f39105b_74382658.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7252e7c242c28ab55179062298c1eb02_92506410.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8c15b9f41a9527307d67f6bff69ea801_595832.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6f7b3df44a8f63d1325148fdc722e9d4_75507818.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/53f00ff8a29369d3a0df83bfea97828d_70396363.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9b7bac99931111b929cf763904ddbc61_40773697.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1cca40a349aa399c784826c024d01411_72859672.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/36fba922e442eb22ad8dfbbf5d71c58c_19284116.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7854a74c7dc932c5f2de5787787b3e69_73512270.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c3fcf48efb5511fbbcc3b9a029be56a7_50934973.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/401b0239a32a44046e8d74f6bf4fb9b4_80633001.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/98f5a2212d2d371c2f7955a41fa27900_36743937.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d98805742cc827a812fdc421f13509c3_45314530.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0b55f3d3018a5d4deb7b6f010d805d9b_27072385.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d632359acce065554f66ca00513c91fd_28460273.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7252e7c242c28ab55179062298c1eb02_30727778.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8c15b9f41a9527307d67f6bff69ea801_41012024.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/08e7af10f0a80e730004ed951d0304f0_58440261.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1e648076710faa744f923399e4843ac0_16032396.png change filename to text .imagette209053881740708665/ imagette209053881740708665/1740708471_2336539_1340046009_92dcf50a6e77f0cd9c260f7ec5c1b6dc_rle_crop_3689442409_0.png.png imagette209053881740708665/1740708453_2336277_1340045873_77b7cdf2952815fbde044dda1489dcaf_rle_crop_3689442287_0.png.png imagette209053881740708665/1740708471_2336539_1340046210_fa11d3065647daec6aa529c03b6d44c1_rle_crop_3689442329_0.png.png imagette209053881740708665/1740708453_2336277_1340045873_77b7cdf2952815fbde044dda1489dcaf_rle_crop_3689442293_0.png.png imagette209053881740708665/1740708279_2326845_1340045660_74368415ebbd6fc1333ac0d7c80ca283_rle_crop_3689437706_0.png.png imagette209053881740708665/1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440814_0.png.png imagette209053881740708665/1740708453_2336277_1340045883_ea52aed3d4e61ea2d42360ebc269826a_rle_crop_3689442112_0.png.png imagette209053881740708665/1740708279_2326845_1340045660_74368415ebbd6fc1333ac0d7c80ca283_rle_crop_3689437708_0.png.png imagette209053881740708665/1740708512_2337154_1340045833_8c656702d4e21ca307927469474ec8cb_rle_crop_3689442504_0.png.png imagette209053881740708665/1740708494_2336861_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440807_0.png.png imagette209053881740708665/1740708393_2335575_1340045831_367226365bed4a56172da9ed5792c7fb_rle_crop_3689440614_0.png.png imagette209053881740708665/1740708279_2326845_1340045657_05aa049fa77a8975af7ea92fd2af78ea_rle_crop_3689437716_0.png.png imagette209053881740708665/1740708471_2336539_1340045964_7f20264f0cfe110b4bfc8fb0e6a637b6_rle_crop_3689442437_0.png.png imagette209053881740708665/1740708279_2326845_1340045648_89a124d55b95199294dceffb4db67486_rle_crop_3689437726_0.png.png imagette209053881740708665/1740708393_2335575_1340045824_c07e03a6cb9b32362cbd3405ad342a3f_rle_crop_3689440791_0.png.png imagette209053881740708665/1740708453_2336277_1340045875_c47df2ae1c47e7e50b3c283a70423692_rle_crop_3689442275_0.png.png imagette209053881740708665/1740708471_2336539_1340046338_b88207421cd1ad1a03a208426885b456_rle_crop_3689442307_0.png.png imagette209053881740708665/1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440807_0.png.png imagette209053881740708665/1740708393_2335575_1340045822_bc9b81fdc062b72db2b75d5641ede574_rle_crop_3689440832_0.png.png imagette209053881740708665/1740708412_2335801_1340045851_78d75b0bc8a60c372fbd078396bdde1c_rle_crop_3689440814_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/60f7fd1ab49fc9f709dbdb7e0d9cd78f_77059912.png imagette209053881740708665 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20905347 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20905390,20905391,20905392,20905393,20905394,20905395,20905396,20905397,20905398,20905399,20905400,20905401?tags=Teint_Dans_La_Masse,metal,environnement,plastique,papier,autre_refus,cartonnette,flou,mal_croppe,Carton_brun,Carton_gris,kraft your option no_mail is active, we will not send the real mail to your client args[1340047190] : ('0.10220857347317',) no score found for photo 1340047190 We are sending mail with results at report@fotonower.com args[1340047182] : ('0.10220857347317',) no score found for photo 1340047182 We are sending mail with results at report@fotonower.com args[1340047180] : ('0.10220857347317',) no score found for photo 1340047180 We are sending mail with results at report@fotonower.com args[1340047178] : ('0.10220857347317',) no score found for photo 1340047178 We are sending mail with results at report@fotonower.com args[1340047156] : ('0.10220857347317',) no score found for photo 1340047156 We are sending mail with results at report@fotonower.com args[1340047151] : ('0.10220857347317',) no score found for photo 1340047151 We are sending mail with results at report@fotonower.com args[1340047140] : ('0.10220857347317',) no score found for photo 1340047140 We are sending mail with results at report@fotonower.com args[1340047134] : ('0.10220857347317',) no score found for photo 1340047134 We are sending mail with results at report@fotonower.com args[1340047122] : ('0.10220857347317',) no score found for photo 1340047122 We are sending mail with results at report@fotonower.com args[1340047120] : ('0.10220857347317',) no score found for photo 1340047120 We are sending mail with results at report@fotonower.com args[1340047093] : ('0.10220857347317',) no score found for photo 1340047093 We are sending mail with results at report@fotonower.com args[1340047091] : ('0.10220857347317',) no score found for photo 1340047091 We are sending mail with results at report@fotonower.com args[1340047088] : ('0.10220857347317',) no score found for photo 1340047088 We are sending mail with results at report@fotonower.com args[1340047031] : ('0.10220857347317',) no score found for photo 1340047031 We are sending mail with results at report@fotonower.com refus_total : 0.10220857347317 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=20905347 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_P20905347_28-02-2025_03_11_01.pdf results_Auto_P20905347_28-02-2025_03_11_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_11_01.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','20905347','results_Auto_P20905347_28-02-2025_03_11_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_11_01.pdf','pdf','','0.38','0.10220857347317') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20905347]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] map_info['map_portfolio_photo'] : {20905347: [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031, 1340046893, 1340046863, 1340046796, 1340046727, 1340046681, 1340046679, 1340046646, 1340046617, 1340046607, 1340046605, 1340046603, 1340046421, 1340046338, 1340046210, 1340046139, 1340046009, 1340045964, 1340045885, 1340045883, 1340045880, 1340045877, 1340045875, 1340045873, 1340045865, 1340045861, 1340045856, 1340045851, 1340045847, 1340045833, 1340045831, 1340045828, 1340045826, 1340045824, 1340045822, 1340045660, 1340045657, 1340045648, 1340045642]} final : False mtd_id 4302 list_pids : [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] 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, '2621833') ('4302', '20905347', '1340047190', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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', '20905347', '1340047190', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833')] time used for this insertion : 0.016080379486083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.574663162231445 time spend to save output : 0.01637578010559082 total time spend for step 4 : 6.591038942337036 step5:split_time_score Fri Feb 28 03:11: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 : ['20905347'] 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 : [('20905347',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20905347) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340047182: {'path': 'temp/1740708660_2680105_1340047182_f6fa85a7619e09000ee16416dc18f162.jpg', 'extension': 'jpg'}, 1340047190: {'path': 'temp/1740708660_2680105_1340047190_17ce6c0c29b0b804960b94b85dabff2c.jpg', 'extension': 'jpg'}, 1340047156: {'path': 'temp/1740708660_2680105_1340047156_c603b6fe300073faa50efa7714d95c01.jpg', 'extension': 'jpg'}, 1340047178: {'path': 'temp/1740708660_2680105_1340047178_3ff31bbcb780d3a9693ba36380175d52.jpg', 'extension': 'jpg'}, 1340047180: {'path': 'temp/1740708660_2680105_1340047180_5bde4621c36a177505391eab608a448c.jpg', 'extension': 'jpg'}, 1340047134: {'path': 'temp/1740708660_2680105_1340047134_3612096db43c9a5ff4635422bd41a3ef.jpg', 'extension': 'jpg'}, 1340047140: {'path': 'temp/1740708660_2680105_1340047140_b2fdfd10c7dcce011ac45b6d783ca7ea.jpg', 'extension': 'jpg'}, 1340047151: {'path': 'temp/1740708660_2680105_1340047151_30f569edf0cf676e835cdd8a95635e68.jpg', 'extension': 'jpg'}, 1340047031: {'path': 'temp/1740708660_2680105_1340047031_6be2f064b34f8d90cf6c043f6c8368f0.jpg', 'extension': 'jpg'}, 1340047088: {'path': 'temp/1740708660_2680105_1340047088_9af100913c5bcae458bb64a84ad7803c.jpg', 'extension': 'jpg'}, 1340047091: {'path': 'temp/1740708660_2680105_1340047091_a8c5bafc009b88aed19e63cd2bfc9f4d.jpg', 'extension': 'jpg'}, 1340047093: {'path': 'temp/1740708660_2680105_1340047093_e153ca87c44c64642ef707ef95c70ceb.jpg', 'extension': 'jpg'}, 1340047120: {'path': 'temp/1740708660_2680105_1340047120_ba446980122a38196989039f0aa905e3.jpg', 'extension': 'jpg'}, 1340047122: {'path': 'temp/1740708660_2680105_1340047122_430456ff80d74912f0f95c9567e268ac.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 = 20905347; (('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 = 20905347 group by h (('03', 52),) 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=20905347 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 (20905347) 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 (20905347) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20905347 Nombre de photos uploadées : 52 / 23040 (0%) 28022025 20905347 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 28022025 20905347 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1340045660, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/74368415ebbd6fc1333ac0d7c80ca283.jpg', 'username': None, 'uploaded_at': 1740708071, 'text': 'image_28022025_03_00_14_10133.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340045657, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/05aa049fa77a8975af7ea92fd2af78ea.jpg', 'username': None, 'uploaded_at': 1740708071, 'text': 'image_28022025_03_00_23_9124.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340045648, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/89a124d55b95199294dceffb4db67486.jpg', 'username': None, 'uploaded_at': 1740708071, 'text': 'image_28022025_03_00_33_10135.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340045642, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/de544a7888afea5f87b7fd4d8858a390.jpg', 'username': None, 'uploaded_at': 1740708071, 'text': 'image_28022025_03_00_43_10137.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002002716064453125 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20905347, '2025-02-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1629471,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.027801036834716797 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= 1629471 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637282, 'mtr_portfolio_id': 20903214, 'dashboard_result_id': 9118941, '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_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637282, 'mtr_portfolio_id': 20904104, 'dashboard_result_id': 9118942, '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_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637282, 'mtr_portfolio_id': 20904676, 'dashboard_result_id': 9118943, '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_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637282, 'mtr_portfolio_id': 20905347, 'dashboard_result_id': 9118944, '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_P20905347_28-02-2025_03_08_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20903214 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': 2621699, 'mtr_portfolio_id': 20903214, 'created_at': datetime.datetime(2025, 2, 28, 2, 32, 58), 'result': '0.10369774193069399', 'result_long': None, 'result_double': None}] Qualite : 0.10369774193069399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20903214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20903214 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_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}" where mtr_portfolio_id = 20903214 and dashboard_run_id = 1637282 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`=20903214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9118941, 0.10369774193069399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, '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 = 20904104 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': 2621743, 'mtr_portfolio_id': 20904104, 'created_at': datetime.datetime(2025, 2, 28, 2, 48, 58), 'result': '0.10198504883927051', 'result_long': None, 'result_double': None}] Qualite : 0.10198504883927051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904104 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_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}" where mtr_portfolio_id = 20904104 and dashboard_run_id = 1637282 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`=20904104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9118942, 0.10198504883927051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, '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 = 20904676 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': 2621778, 'mtr_portfolio_id': 20904676, 'created_at': datetime.datetime(2025, 2, 28, 3, 2, 59), 'result': '0.09339201979184251', 'result_long': None, 'result_double': None}] Qualite : 0.09339201979184251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904676 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_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}" where mtr_portfolio_id = 20904676 and dashboard_run_id = 1637282 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`=20904676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9118943, 0.09339201979184251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, '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 = 20905347 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': 2621833, 'mtr_portfolio_id': 20905347, 'created_at': datetime.datetime(2025, 2, 28, 3, 11), 'result': '0.10220857347317', 'result_long': None, 'result_double': None}] Qualite : 0.10220857347317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20905347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_11_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20905347 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_P20905347_28-02-2025_03_11_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}" where mtr_portfolio_id = 20905347 and dashboard_run_id = 1637282 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`=20905347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9118944, 0.10220857347317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_11_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20903214,20904104,20904676,20905347) result : ((1340034885,), (1340034886,), (1340034887,), (1340034889,), (1340034906,), (1340034907,), (1340034911,), (1340034926,), (1340035232,), (1340035236,), (1340035241,), (1340035243,), (1340035245,), (1340035444,), (1340035457,), (1340035670,), (1340035771,), (1340035777,), (1340035883,), (1340035887,), (1340036026,), (1340036529,), (1340036530,), (1340036540,), (1340036546,), (1340036552,), (1340036590,), (1340036830,), (1340036847,), (1340036860,), (1340036934,), (1340037033,), (1340037039,), (1340037199,), (1340037200,), (1340037201,), (1340037253,), (1340037254,), (1340037259,), (1340037266,), (1340037269,), (1340037283,), (1340037301,), (1340037303,), (1340037348,), (1340037486,), (1340037504,), (1340037543,), (1340037545,), (1340037584,), (1340038101,), (1340038198,), (1340038369,), (1340038460,), (1340038566,), (1340038644,), (1340039271,), (1340039273,), (1340039284,), (1340039301,), (1340039313,), (1340039522,), (1340039538,), (1340039579,), (1340039595,), (1340039656,), (1340039658,), (1340039660,), (1340039668,), (1340039679,), (1340039687,), (1340039804,), (1340039758,), (1340039794,), (1340039862,), (1340039864,), (1340039907,), (1340039921,), (1340039925,), (1340039952,), (1340039957,), (1340039959,), (1340039962,), (1340039964,), (1340039987,), (1340039992,), (1340039997,), (1340040056,), (1340040059,), (1340040060,), (1340040064,), (1340040066,), (1340040068,), (1340040078,), (1340040089,), (1340040118,), (1340040303,), (1340040511,), (1340041003,), (1340041006,), (1340041012,), (1340041356,), (1340041359,), (1340041421,), (1340041428,), (1340041431,), (1340041491,), (1340041493,), (1340041495,), (1340041498,), (1340041501,), (1340041597,), (1340041775,), (1340041787,), (1340041888,), (1340041923,), (1340041926,), (1340041927,), (1340041931,), (1340041958,), (1340041962,), (1340041965,), (1340041968,), (1340041971,), (1340042054,), (1340042055,), (1340042057,), (1340042061,), (1340042064,), (1340042069,), (1340042077,), (1340042075,), (1340042100,), (1340042102,), (1340042104,), (1340042134,), (1340042136,), (1340042138,), (1340042179,), (1340042181,), (1340042183,), (1340042195,), (1340042200,), (1340042202,), (1340042205,), (1340042206,), (1340042220,), (1340042222,), (1340042224,), (1340042226,), (1340042228,), (1340042999,), (1340043003,), (1340043005,), (1340043008,), (1340043015,), (1340043431,), (1340043436,), (1340043438,), (1340043441,), (1340043444,), (1340043504,), (1340043578,), (1340043580,), (1340043582,), (1340043584,), (1340043587,), (1340043598,), (1340043650,), (1340043653,), (1340043664,), (1340043670,), (1340044341,), (1340044424,), (1340044498,), (1340044783,), (1340044797,), (1340044799,), (1340044844,), (1340044929,), (1340045010,), (1340045119,), (1340045126,), (1340045128,), (1340045140,), (1340045155,), (1340045162,), (1340045381,), (1340045387,), (1340045389,), (1340045393,), (1340045564,), (1340045567,), (1340045571,), (1340045574,), (1340045579,), (1340045583,), (1340045596,), (1340045600,), (1340045602,), (1340045603,), (1340045662,), (1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 52, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20905347]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] map_info['map_portfolio_photo'] : {20905347: [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031, 1340046893, 1340046863, 1340046796, 1340046727, 1340046681, 1340046679, 1340046646, 1340046617, 1340046607, 1340046605, 1340046603, 1340046421, 1340046338, 1340046210, 1340046139, 1340046009, 1340045964, 1340045885, 1340045883, 1340045880, 1340045877, 1340045875, 1340045873, 1340045865, 1340045861, 1340045856, 1340045851, 1340045847, 1340045833, 1340045831, 1340045828, 1340045826, 1340045824, 1340045822, 1340045660, 1340045657, 1340045648, 1340045642]} final : True mtd_id 4302 list_pids : [1340047190, 1340047182, 1340047180, 1340047178, 1340047156, 1340047151, 1340047140, 1340047134, 1340047122, 1340047120, 1340047093, 1340047091, 1340047088, 1340047031] Looping around the photos to save general results len do output : 1 /20905347Didn'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, '2621833') ('4302', '20905347', '1340047190', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833') ('4302', None, None, None, None, None, None, None, '2621833') ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '20905347', 'None', None, None, None, None, '2621833'), ('4302', '20905347', '1340047190', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047182', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047180', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047178', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047156', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047151', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047140', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047134', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047122', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047120', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047093', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047091', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047088', None, None, None, None, None, '2621833'), ('4302', '20905347', '1340047031', None, None, None, None, None, '2621833')] time used for this insertion : 0.013499975204467773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34267163276672363 time spend to save output : 0.013738632202148438 total time spend for step 5 : 0.35641026496887207 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 (2621833) 2.43user 2.35system 0:13.08elapsed 36%CPU (0avgtext+0avgdata 161924maxresident)k 32inputs+22240outputs (0major+77180minor)pagefaults 0swaps