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 : 2145461 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 (2758727) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2758727) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394741 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2758727'] with mtr_portfolio_ids : ['22394741'] and first list_photo_ids : [] new path : /proc/2145461/ Name: python3 Umask: 0002 State: R (running) Tgid: 2145461 Ngid: 0 Pid: 2145461 PPid: 2145460 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2145461 NSpid: 2145461 NSpgid: 2142667 NSsid: 2142667 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97580 kB VmRSS: 97580 kB RssAnon: 59804 kB RssFile: 37776 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 88 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2145461', 'Ngid': '0', 'Pid': '2145461', 'PPid': '2145460', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2145461', 'NSpid': '2145461', 'NSpgid': '2142667', 'NSsid': '2142667', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97580 kB', 'VmRSS': '97580 kB', 'RssAnon': '59804 kB', 'RssFile': '37776 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '88'} ('datou_batch_current', '2145461', '1106936', '0', '1106936', '865684', '97580', b'', 'marlene', '2758727') 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 (22394741) 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 (2758727 ) ) 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 (22394741) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353440107, 'portfolio_id': 22394741}, {'photo_id': 1353440075, 'portfolio_id': 22394741}, {'photo_id': 1353440044, 'portfolio_id': 22394741}, {'photo_id': 1353440040, 'portfolio_id': 22394741}, {'photo_id': 1353440038, 'portfolio_id': 22394741}, {'photo_id': 1353440019, 'portfolio_id': 22394741}, {'photo_id': 1353439824, 'portfolio_id': 22394741}, {'photo_id': 1353439821, 'portfolio_id': 22394741}, {'photo_id': 1353439817, 'portfolio_id': 22394741}, {'photo_id': 1353439814, 'portfolio_id': 22394741}, {'photo_id': 1353439692, 'portfolio_id': 22394741}, {'photo_id': 1353439665, 'portfolio_id': 22394741}, {'photo_id': 1353439623, 'portfolio_id': 22394741}, {'photo_id': 1353439595, 'portfolio_id': 22394741}, {'photo_id': 1353439565, 'portfolio_id': 22394741}, {'photo_id': 1353439533, 'portfolio_id': 22394741}, {'photo_id': 1353439373, 'portfolio_id': 22394741}, {'photo_id': 1353439370, 'portfolio_id': 22394741}, {'photo_id': 1353439363, 'portfolio_id': 22394741}, {'photo_id': 1353439361, 'portfolio_id': 22394741}, {'photo_id': 1353439336, 'portfolio_id': 22394741}, {'photo_id': 1353439333, 'portfolio_id': 22394741}, {'photo_id': 1353439331, 'portfolio_id': 22394741}, {'photo_id': 1353439327, 'portfolio_id': 22394741}, {'photo_id': 1353439311, 'portfolio_id': 22394741}, {'photo_id': 1353439284, 'portfolio_id': 22394741}, {'photo_id': 1353439156, 'portfolio_id': 22394741}, {'photo_id': 1353439129, 'portfolio_id': 22394741}, {'photo_id': 1353439097, 'portfolio_id': 22394741}, {'photo_id': 1353439060, 'portfolio_id': 22394741}, {'photo_id': 1353439056, 'portfolio_id': 22394741}, {'photo_id': 1353439053, 'portfolio_id': 22394741}, {'photo_id': 1353438651, 'portfolio_id': 22394741}, {'photo_id': 1353438648, 'portfolio_id': 22394741}, {'photo_id': 1353438642, 'portfolio_id': 22394741}, {'photo_id': 1353438598, 'portfolio_id': 22394741}, {'photo_id': 1353438595, 'portfolio_id': 22394741}, {'photo_id': 1353438591, 'portfolio_id': 22394741}, {'photo_id': 1353438588, 'portfolio_id': 22394741}, {'photo_id': 1353438584, 'portfolio_id': 22394741}, {'photo_id': 1353438456, 'portfolio_id': 22394741}, {'photo_id': 1353438453, 'portfolio_id': 22394741}, {'photo_id': 1353438450, 'portfolio_id': 22394741}, {'photo_id': 1353438447, 'portfolio_id': 22394741}] map_portfolio_id_photo_id: {22394741: [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533, 1353439373, 1353439370, 1353439363, 1353439361, 1353439336, 1353439333, 1353439331, 1353439327, 1353439311, 1353439284, 1353439156, 1353439129, 1353439097, 1353439060, 1353439056, 1353439053, 1353438651, 1353438648, 1353438642, 1353438598, 1353438595, 1353438591, 1353438588, 1353438584, 1353438456, 1353438453, 1353438450, 1353438447]} ##### 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.015230178833007812 #### 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 Thu Apr 24 19:40: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 (22394741) 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 : 22394741 get user id for portfolio 22394741 get sub ptf for main ptf 22394741, type 3726 and hashtags ['metal', 'Carton_brun', 'plastique', 'environnement', 'flou', 'Teint_Dans_La_Masse', 'autre_refus', 'mal_croppe', 'Carton_gris', 'kraft', 'cartonnette', 'papier'] 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`=22394741 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','plastique','environnement','flou','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_gris','kraft','cartonnette','papier')) 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`=22394741 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','plastique','environnement','flou','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_gris','kraft','cartonnette','papier')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22394741, 'sub_port_id': 22394793, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844667, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'kraft': {'main_port_id': 22394741, 'sub_port_id': 22394794, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844668, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'flou': {'main_port_id': 22394741, 'sub_port_id': 22394795, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844669, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'environnement': {'main_port_id': 22394741, 'sub_port_id': 22394796, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844670, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'metal': {'main_port_id': 22394741, 'sub_port_id': 22394797, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844671, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 22394741, 'sub_port_id': 22394798, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844672, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'Carton_gris': {'main_port_id': 22394741, 'sub_port_id': 22394799, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844673, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'papier': {'main_port_id': 22394741, 'sub_port_id': 22394800, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844674, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'mal_croppe': {'main_port_id': 22394741, 'sub_port_id': 22394801, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844675, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'Carton_brun': {'main_port_id': 22394741, 'sub_port_id': 22394802, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844676, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'cartonnette': {'main_port_id': 22394741, 'sub_port_id': 22394803, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844677, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}, 'autre_refus': {'main_port_id': 22394741, 'sub_port_id': 22394804, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844678, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22394793 , 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=22394741 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 (22394793) result : ((1353438909,), (1353439728,), (1353440027,), (1353440028,), (1353440029,), (1353440030,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394794 , 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=22394741 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 (22394794) result : ((1353439382,), (1353440032,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394795 , 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=22394741 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 (22394795) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394796 , 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=22394741 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 (22394796) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394797 , 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=22394741 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 (22394797) result : ((1353440033,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394798 , 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=22394741 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 (22394798) result : ((1353438874,), (1353438875,), (1353438876,), (1353438877,), (1353438878,), (1353439339,), (1353439340,), (1353439366,), (1353439367,), (1353439800,), (1353439801,), (1353439802,), (1353439803,), (1353439804,), (1353440006,), (1353440007,), (1353440008,), (1353440009,), (1353440010,), (1353440011,), (1353440164,), (1353440165,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394799 , 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=22394741 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 (22394799) result : ((1353438884,), (1353439375,), (1353439376,), (1353439377,), (1353439712,), (1353439713,), (1353439807,), (1353439808,), (1353439809,), (1353440012,), (1353440013,), (1353440014,), (1353440015,), (1353440240,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394800 , 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=22394741 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 (22394800) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394801 , 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=22394741 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 (22394801) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394802 , 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=22394741 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 (22394802) result : ((1353438905,), (1353438906,), (1353438907,), (1353439343,), (1353439721,), (1353439722,), (1353439810,), (1353439811,), (1353439812,), (1353440020,), (1353440021,), (1353440022,), (1353440023,), (1353440024,), (1353440025,), (1353440199,), (1353440242,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394803 , 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=22394741 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 (22394803) result : ((1353438889,), (1353439342,), (1353439378,), (1353439379,), (1353439380,), (1353440017,), (1353440018,), (1353440187,), (1353440189,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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 22394804 , 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=22394741 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 (22394804) result : ((1353439341,), (1353439368,), (1353439805,), (1353440177,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22394741) result : ((1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) 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`=22394741 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','plastique','environnement','flou','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_gris','kraft','cartonnette','papier')) 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`=22394741 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','plastique','environnement','flou','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_gris','kraft','cartonnette','papier')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22394741, 'sub_port_id': 22394805, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844679, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'kraft': {'main_port_id': 22394741, 'sub_port_id': 22394806, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844680, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'flou': {'main_port_id': 22394741, 'sub_port_id': 22394807, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844681, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'environnement': {'main_port_id': 22394741, 'sub_port_id': 22394808, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844682, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'metal': {'main_port_id': 22394741, 'sub_port_id': 22394809, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844683, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 22394741, 'sub_port_id': 22394810, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844684, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'Carton_gris': {'main_port_id': 22394741, 'sub_port_id': 22394811, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844685, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'papier': {'main_port_id': 22394741, 'sub_port_id': 22394812, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844686, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'mal_croppe': {'main_port_id': 22394741, 'sub_port_id': 22394813, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844687, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'Carton_brun': {'main_port_id': 22394741, 'sub_port_id': 22394814, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844688, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'cartonnette': {'main_port_id': 22394741, 'sub_port_id': 22394815, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844689, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}, 'autre_refus': {'main_port_id': 22394741, 'sub_port_id': 22394816, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14844690, 'last_updated_at': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 19, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 19, 35, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394805,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394793 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394806,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394794 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394807,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394795 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394808,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394796 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394809,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394797 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394810,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394798 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394811,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394799 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394812,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394800 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394813,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394801 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394814,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394802 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394815,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394803 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22394816,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22394804 lien utilise dans velours : https://www.fotonower.com/velours/22394805,22394806,22394807,22394808,22394809,22394810,22394811,22394812,22394813,22394814,22394815,22394816?tags=plastique,kraft,flou,environnement,metal,Teint_Dans_La_Masse,Carton_gris,papier,mal_croppe,Carton_brun,cartonnette,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22394741]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] map_info['map_portfolio_photo'] : {22394741: [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533, 1353439373, 1353439370, 1353439363, 1353439361, 1353439336, 1353439333, 1353439331, 1353439327, 1353439311, 1353439284, 1353439156, 1353439129, 1353439097, 1353439060, 1353439056, 1353439053, 1353438651, 1353438648, 1353438642, 1353438598, 1353438595, 1353438591, 1353438588, 1353438584, 1353438456, 1353438453, 1353438450, 1353438447]} final : False mtd_id 4302 list_pids : [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] Looping around the photos to save general results len do output : 1 /22394741. 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, '2758727') ('4302', '22394741', '1353440107', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 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, '22394741', "{'plastique': 22394793, 'kraft': 22394794, 'flou': 22394795, 'environnement': 22394796, 'metal': 22394797, 'Teint_Dans_La_Masse': 22394798, 'Carton_gris': 22394799, 'papier': 22394800, 'mal_croppe': 22394801, 'Carton_brun': 22394802, 'cartonnette': 22394803, 'autre_refus': 22394804}", None, None, None, None, '2758727'), ('4302', '22394741', '1353440107', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727')] time used for this insertion : 0.017895221710205078 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5215716361999512 time spend to save output : 0.018236398696899414 total time spend for step 1 : 1.5398080348968506 step2:final Thu Apr 24 19:40:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (22394741) 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 22394741 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353438456,1353438453,1353438450,1353438447,1353438598,1353438595,1353438591,1353438588,1353438584,1353438651,1353438648,1353438642,1353439156,1353439129,1353439097,1353439060,1353439056,1353439053,1353439336,1353439333,1353439331,1353439327,1353439311,1353439284,1353439373,1353439370,1353439363,1353439361,1353439692,1353439665,1353439623,1353439595,1353439565,1353439533,1353439824,1353439821,1353439817,1353439814,1353440107,1353440019,1353440075,1353440044,1353440040,1353440038); 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([22394741]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} new output for save of step final : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] map_info['map_portfolio_photo'] : {22394741: [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533, 1353439373, 1353439370, 1353439363, 1353439361, 1353439336, 1353439333, 1353439331, 1353439327, 1353439311, 1353439284, 1353439156, 1353439129, 1353439097, 1353439060, 1353439056, 1353439053, 1353438651, 1353438648, 1353438642, 1353438598, 1353438595, 1353438591, 1353438588, 1353438584, 1353438456, 1353438453, 1353438450, 1353438447]} final : False mtd_id 4302 list_pids : [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] Looping around the photos to save general results len do output : 16 /1353440107.Didn't retrieve data . /1353440075.Didn't retrieve data . /1353440044.Didn't retrieve data . /1353440040.Didn't retrieve data . /1353440038.Didn't retrieve data . /1353440019.Didn't retrieve data . /1353439824.Didn't retrieve data . /1353439821.Didn't retrieve data . /1353439817.Didn't retrieve data . /1353439814.Didn't retrieve data . /1353439692.Didn't retrieve data . /1353439665.Didn't retrieve data . /1353439623.Didn't retrieve data . /1353439595.Didn't retrieve data . /1353439565.Didn't retrieve data . /1353439533.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, '2758727') ('4302', '22394741', '1353440107', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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', '22394741', '1353440107', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353440075', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353440044', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353440040', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353440038', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353440019', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439824', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439821', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439817', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439814', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439692', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439665', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439623', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439595', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439565', '0.0776112190303645', None, None, None, None, '2758727'), ('4302', '22394741', '1353439533', '0.0776112190303645', None, None, None, None, '2758727')] time used for this insertion : 0.016496658325195312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07113409042358398 time spend to save output : 0.01722097396850586 total time spend for step 2 : 0.08835506439208984 step3:velours_tree Thu Apr 24 19:40:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {22394741: [{'plastique': 22394793, 'kraft': 22394794, 'flou': 22394795, 'environnement': 22394796, 'metal': 22394797, 'Teint_Dans_La_Masse': 22394798, 'Carton_gris': 22394799, 'papier': 22394800, 'mal_croppe': 22394801, 'Carton_brun': 22394802, 'cartonnette': 22394803, 'autre_refus': 22394804}]} input_args_next_step : {22394741: ()} output_args : {22394741: [{'plastique': 22394793, 'kraft': 22394794, 'flou': 22394795, 'environnement': 22394796, 'metal': 22394797, 'Teint_Dans_La_Masse': 22394798, 'Carton_gris': 22394799, 'papier': 22394800, 'mal_croppe': 22394801, 'Carton_brun': 22394802, 'cartonnette': 22394803, 'autre_refus': 22394804}]} args : 22394741 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 : ({'plastique': 22394793, 'kraft': 22394794, 'flou': 22394795, 'environnement': 22394796, 'metal': 22394797, 'Teint_Dans_La_Masse': 22394798, 'Carton_gris': 22394799, 'papier': 22394800, 'mal_croppe': 22394801, 'Carton_brun': 22394802, 'cartonnette': 22394803, 'autre_refus': 22394804},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22394741) 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([22394741]) 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.39832448959350586 time spend to save output : 4.7206878662109375e-05 total time spend for step 3 : 0.39837169647216797 step4:send_mail_cod Thu Apr 24 19:41: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 : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} input_args_next_step : {1353440107: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353440107 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353440075 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353440044 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353440040 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353440038 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353440019 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439824 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439821 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439817 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439814 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439692 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439665 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439623 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439595 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439565 depend.output_id : 0 input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ()} output_args : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',)} args : 1353439533 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 : {22394741: [{'plastique': 22394793, 'kraft': 22394794, 'flou': 22394795, 'environnement': 22394796, 'metal': 22394797, 'Teint_Dans_La_Masse': 22394798, 'Carton_gris': 22394799, 'papier': 22394800, 'mal_croppe': 22394801, 'Carton_brun': 22394802, 'cartonnette': 22394803, 'autre_refus': 22394804}]} input_args_next_step : {1353440107: ('0.0776112190303645',), 1353440075: ('0.0776112190303645',), 1353440044: ('0.0776112190303645',), 1353440040: ('0.0776112190303645',), 1353440038: ('0.0776112190303645',), 1353440019: ('0.0776112190303645',), 1353439824: ('0.0776112190303645',), 1353439821: ('0.0776112190303645',), 1353439817: ('0.0776112190303645',), 1353439814: ('0.0776112190303645',), 1353439692: ('0.0776112190303645',), 1353439665: ('0.0776112190303645',), 1353439623: ('0.0776112190303645',), 1353439595: ('0.0776112190303645',), 1353439565: ('0.0776112190303645',), 1353439533: ('0.0776112190303645',), 22394741: ()} output_args : {22394741: [{'plastique': 22394793, 'kraft': 22394794, 'flou': 22394795, 'environnement': 22394796, 'metal': 22394797, 'Teint_Dans_La_Masse': 22394798, 'Carton_gris': 22394799, 'papier': 22394800, 'mal_croppe': 22394801, 'Carton_brun': 22394802, 'cartonnette': 22394803, 'autre_refus': 22394804}]} args : 22394741 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 :17, first value : ('0.0776112190303645',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22394741) 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 (1353440107,1353440075,1353440044,1353440040,1353440038,1353440019,1353439824,1353439821,1353439817,1353439814,1353439692,1353439665,1353439623,1353439595,1353439565,1353439533) Found this number of photos: 16 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353439533 begin to download photo : 1353439665 begin to download photo : 1353439821 begin to download photo : 1353440040 download finish for photo 1353439821 begin to download photo : 1353439824 download finish for photo 1353440040 begin to download photo : 1353440044 download finish for photo 1353439533 begin to download photo : 1353439565 download finish for photo 1353439665 begin to download photo : 1353439692 download finish for photo 1353439824 begin to download photo : 1353440019 download finish for photo 1353440044 begin to download photo : 1353440075 download finish for photo 1353439565 begin to download photo : 1353439595 download finish for photo 1353439692 begin to download photo : 1353439814 download finish for photo 1353440019 begin to download photo : 1353440038 download finish for photo 1353440075 begin to download photo : 1353440107 download finish for photo 1353439814 begin to download photo : 1353439817 download finish for photo 1353439595 begin to download photo : 1353439623 download finish for photo 1353440107 download finish for photo 1353440038 download finish for photo 1353439817 download finish for photo 1353439623 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 results_Auto_P22394741_24-04-2025_19_41_00.pdf 22394793 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=22394793 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438909: '1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867639_0.png', 1353439728: '1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880477_0.png', 1353440027: '1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886159_0.png', 1353440028: '1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886184_0.png', 1353440029: '1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886207_0.png', 1353440030: '1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886278_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ad292d9c65933a815766209c6990fe94_66881902.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3246c3c8619ecd388e0911d689a7202c_46564346.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b3c77e26884343cf8a5e6a1941cc4501_29110045.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/eaeaca79c48a3b9424f4c0db8f272a4a_21324095.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0bd8ea2f41052cedaa368cddae4a7271_59973243.png change filename to text .imagette223947931745516460/ imagette223947931745516460/1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867639_0.png.png imagette223947931745516460/1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886184_0.png.png imagette223947931745516460/1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886207_0.png.png imagette223947931745516460/1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880477_0.png.png imagette223947931745516460/1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886278_0.png.png imagette223947931745516460/1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886159_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a3aa18a4e39eced440dd77f5100a5b5c_43366655.png imagette223947931745516460 22394794 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=22394794 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353439382: '1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872396_0.png', 1353440032: '1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886115_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/20ccc3f38102f4e1039f0d67c12a9399_50965239.png change filename to text .imagette223947941745516460/ imagette223947941745516460/1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886115_0.png.png imagette223947941745516460/1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872396_0.png.png imagette223947951745516461/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/45a5f06f41d8a1cd3225a71b4543ef38_59339989.png imagette223947941745516460 22394795 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=22394795 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223947951745516461 22394797 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=22394797 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353440033: '1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886119_0.png'} change filename to text .imagette223947971745516461/ imagette223947971745516461/1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886119_0.png.png imagette223948011745516461/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/96429a4af30a8b4dc7ef528e2e9d2b5d_86277077.png imagette223947971745516461 22394801 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=22394801 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223948011745516461 22394803 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=22394803 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438889: '1745515991_1154711_1353438456_10867d3c4002b92939b2f18dfab5bb53_rle_crop_3767867564_0.png', 1353439342: '1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871748_0.png', 1353439378: '1745516141_376102_1353438591_91365b76a47b01d421f571f92eaa5b84_rle_crop_3767872379_0.png', 1353439379: '1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872389_0.png', 1353439380: '1745516141_376102_1353438584_5ab5735655137d51fd97019837eacb38_rle_crop_3767872404_0.png', 1353440017: '1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886152_0.png', 1353440018: '1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886154_0.png', 1353440187: '1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887831_0.png', 1353440189: '1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887830_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/00e3f9274a3c164dbc4e9c8365281986_87457795.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9ea3d427f8590afefc5ed7f692bd1bab_91042993.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/745a32af732df3881956247907cd4bd2_34248671.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b53abd2b0e3a908b05e2e18487c0edb9_80647315.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/311b3c8c2d9a4bd9ccd45e37a9764c3f_11060963.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9c7f39d30d644654a36c9de0be7fe355_44995764.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c5ce1b269eab6ba56feb97d698519b60_40853690.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/409cf737f72db86e82a50725aabc5713_95115453.png change filename to text .imagette223948031745516461/ imagette223948031745516461/1745516141_376102_1353438584_5ab5735655137d51fd97019837eacb38_rle_crop_3767872404_0.png.png imagette223948031745516461/1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887831_0.png.png imagette223948031745516461/1745515991_1154711_1353438456_10867d3c4002b92939b2f18dfab5bb53_rle_crop_3767867564_0.png.png imagette223948031745516461/1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871748_0.png.png imagette223948031745516461/1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872389_0.png.png imagette223948031745516461/1745516141_376102_1353438591_91365b76a47b01d421f571f92eaa5b84_rle_crop_3767872379_0.png.png imagette223948031745516461/1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887830_0.png.png imagette223948031745516461/1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886152_0.png.png imagette223948031745516461/1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886154_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1dcf3ad5852788dcf4d1bfc63746995e_17857215.png imagette223948031745516461 22394804 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=22394804 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353439341: '1745516112_1156025_1353438648_e2e5142ec0bac6895ad71bd366893db0_rle_crop_3767871735_0.png', 1353439368: '1745516141_376102_1353438595_e34b714a022b3ebc43b7af8f2eaf8394_rle_crop_3767872367_0.png', 1353439805: '1745516245_374481_1353439373_66f57117988084d11607febc7fff2c7b_rle_crop_3767882468_0.png', 1353440177: '1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887827_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b42cb348e8dc5289c8133b8bbed83afe_16866806.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a293cfcce83462e5b13af0eac04bf988_5655736.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ec0fcaa9623fd8ddd9949cb3af98f840_73770922.png change filename to text .imagette223948041745516461/ imagette223948041745516461/1745516141_376102_1353438595_e34b714a022b3ebc43b7af8f2eaf8394_rle_crop_3767872367_0.png.png imagette223948041745516461/1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887827_0.png.png imagette223948041745516461/1745516112_1156025_1353438648_e2e5142ec0bac6895ad71bd366893db0_rle_crop_3767871735_0.png.png imagette223948041745516461/1745516245_374481_1353439373_66f57117988084d11607febc7fff2c7b_rle_crop_3767882468_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/33d2d744af7da368d1a8d2267d72c805_12974014.png imagette223948041745516461 22394798 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=22394798 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353439802: '1745516245_374481_1353439311_c05485cce5184646601b539d4dc1de01_rle_crop_3767883058_0.png', 1353440165: '1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887838_0.png', 1353440164: '1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887832_0.png', 1353440011: '1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886282_0.png', 1353440010: '1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886281_0.png', 1353440009: '1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886288_0.png', 1353440008: '1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886210_0.png', 1353440007: '1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886177_0.png', 1353440006: '1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886124_0.png', 1353439804: '1745516245_374481_1353439284_e323e57d249c58d8411ccd41cfae134d_rle_crop_3767883067_0.png', 1353439803: '1745516245_374481_1353439311_c05485cce5184646601b539d4dc1de01_rle_crop_3767883048_0.png', 1353438874: '1745515991_1154711_1353438456_10867d3c4002b92939b2f18dfab5bb53_rle_crop_3767867569_0.png', 1353439801: '1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882489_0.png', 1353439800: '1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882495_0.png', 1353439367: '1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872400_0.png', 1353439366: '1745516141_376102_1353438651_05c1ba1a8067c39315ce4c2a75ffb9df_rle_crop_3767872355_0.png', 1353439340: '1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871753_0.png', 1353439339: '1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871752_0.png', 1353438878: '1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867647_0.png', 1353438877: '1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867641_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/2b0cae7ca96e66aee77d330e75010608_77954533.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5101d8696f455311c43301e2381a7d89_81651501.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/351ea680a68ba3c16c290bd42556308c_46580521.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1acb13a14560ce715df94d376846da0c_21645403.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/464b47ab23ed3038500aa328bce2137d_79683928.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b22ea78c0444359cc1b0a43cd5ebf450_63436022.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ca885e3fff2b2719e204f21c3c86a807_4273128.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/bbd182015f5d708db915e2518ccc3d5a_283915.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ec76fac8590159a9326c244abdf3ab9e_36256993.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4950650e093f00ed431ea5c02dab73e4_9127811.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/45f1e8656f18d2468ddb9c2801f26bad_41660113.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4477c7273b2780f6b202ed6f2899c81d_82806651.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6f71c579d9663351e7fde8fc8fe0234a_49677133.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e9ad4b36bec352ba1c9548bb30a36959_41024174.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ea00ee3f68009beaec8028309d424515_61500847.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ee794f4a6d45962d1aa3273165310930_98429410.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b6a01999f782d1dd360235ea21e28877_38515656.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/279e101b0a4d096aef23e55ef3677b8c_53034734.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f4cd0af1aacac6999dab4ba35d10b173_21611671.png change filename to text .imagette223947981745516461/ imagette223947981745516461/1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886124_0.png.png imagette223947981745516461/1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887838_0.png.png imagette223947981745516461/1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882495_0.png.png imagette223947981745516461/1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867641_0.png.png imagette223947981745516461/1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872400_0.png.png imagette223947981745516461/1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882489_0.png.png imagette223947981745516461/1745516245_374481_1353439311_c05485cce5184646601b539d4dc1de01_rle_crop_3767883058_0.png.png imagette223947981745516461/1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886177_0.png.png imagette223947981745516461/1745516245_374481_1353439284_e323e57d249c58d8411ccd41cfae134d_rle_crop_3767883067_0.png.png imagette223947981745516461/1745515991_1154711_1353438456_10867d3c4002b92939b2f18dfab5bb53_rle_crop_3767867569_0.png.png imagette223947981745516461/1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871752_0.png.png imagette223947981745516461/1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871753_0.png.png imagette223947981745516461/1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886288_0.png.png imagette223947981745516461/1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886210_0.png.png imagette223947981745516461/1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887832_0.png.png imagette223947981745516461/1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886282_0.png.png imagette223947981745516461/1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886281_0.png.png imagette223947981745516461/1745516141_376102_1353438651_05c1ba1a8067c39315ce4c2a75ffb9df_rle_crop_3767872355_0.png.png imagette223947981745516461/1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867647_0.png.png imagette223947981745516461/1745516245_374481_1353439311_c05485cce5184646601b539d4dc1de01_rle_crop_3767883048_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c7b383efca4e38fc4210e64e03631012_42116558.png imagette223947981745516461 22394799 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=22394799 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353438884: '1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867643_0.png', 1353439375: '1745516141_376102_1353438651_05c1ba1a8067c39315ce4c2a75ffb9df_rle_crop_3767872350_0.png', 1353439376: '1745516141_376102_1353438651_05c1ba1a8067c39315ce4c2a75ffb9df_rle_crop_3767872352_0.png', 1353439377: '1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872392_0.png', 1353439712: '1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880472_0.png', 1353439713: '1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880469_0.png', 1353439807: '1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882487_0.png', 1353439808: '1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882490_0.png', 1353439809: '1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882763_0.png', 1353440012: '1745516292_1157723_1353439129_6a8e37e1c4d46f865a9ecc2d9df274f1_rle_crop_3767886132_0.png', 1353440013: '1745516292_1157723_1353439129_6a8e37e1c4d46f865a9ecc2d9df274f1_rle_crop_3767886136_0.png', 1353440014: '1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886151_0.png', 1353440015: '1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886178_0.png', 1353440240: '1745516380_383119_1353439821_0b18859f6a68d96e93d5b599fe896b55_rle_crop_3767887945_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e246dc4ef9ea9fd71ca3612e28d0545d_83864793.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/17ac99753d5bd6b0c18c88776cae920a_46540404.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b98775021ef82448b9a356ff5aa87218_93334724.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6cbf75a6ce965ce4ac8dc1f4dbaa4b03_44188985.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/16f98f81e4b40bc3acdcdcd672d35ed6_57599902.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f8a2e36f14bcac75b8e921bcb3c4943e_11572201.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e1ff1f528e5198f1a4242ac650b37855_22937014.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6ad0a985b5c10457e3d21a20a1695e06_13883108.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1525383452223ed91aa8429dfca6d7b8_4048323.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/2d09958791dc8c451d59d0cd25d89236_59761210.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/cd3aab173e625e9490835dda839d0856_83629977.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a198d5ad568e0ec59720b09560d0529a_7789208.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e84fe27d4b6f31ebcc58f29eda54a52d_35841655.png change filename to text .imagette223947991745516466/ imagette223947991745516466/1745515991_1154711_1353438447_346c87a8efaae0ccfdacc9ebf62cf0c7_rle_crop_3767867643_0.png.png imagette223947991745516466/1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880469_0.png.png imagette223947991745516466/1745516292_1157723_1353439129_6a8e37e1c4d46f865a9ecc2d9df274f1_rle_crop_3767886132_0.png.png imagette223947991745516466/1745516141_376102_1353438651_05c1ba1a8067c39315ce4c2a75ffb9df_rle_crop_3767872350_0.png.png imagette223947991745516466/1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880472_0.png.png imagette223947991745516466/1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882490_0.png.png imagette223947991745516466/1745516141_376102_1353438588_893fdba6b87b51f61ce953b2757e02ec_rle_crop_3767872392_0.png.png imagette223947991745516466/1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886151_0.png.png imagette223947991745516466/1745516292_1157723_1353439129_6a8e37e1c4d46f865a9ecc2d9df274f1_rle_crop_3767886136_0.png.png imagette223947991745516466/1745516380_383119_1353439821_0b18859f6a68d96e93d5b599fe896b55_rle_crop_3767887945_0.png.png imagette223947991745516466/1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882763_0.png.png imagette223947991745516466/1745516141_376102_1353438651_05c1ba1a8067c39315ce4c2a75ffb9df_rle_crop_3767872352_0.png.png imagette223947991745516466/1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886178_0.png.png imagette223947991745516466/1745516245_374481_1353439333_189d70d2e88338117571257b47b7c4e8_rle_crop_3767882487_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9813b7d6fe10072fd8b1f9d62ee53184_11467381.png imagette223947991745516466 22394802 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=22394802 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353439812: '1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882759_0.png', 1353440242: '1745516380_383119_1353439821_0b18859f6a68d96e93d5b599fe896b55_rle_crop_3767887948_0.png', 1353440199: '1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887836_0.png', 1353440025: '1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886286_0.png', 1353440024: '1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886209_0.png', 1353440023: '1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886211_0.png', 1353440022: '1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886181_0.png', 1353440021: '1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886158_0.png', 1353440020: '1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886117_0.png', 1353438905: '1745515991_1154711_1353438456_10867d3c4002b92939b2f18dfab5bb53_rle_crop_3767867568_0.png', 1353439811: '1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882762_0.png', 1353439810: '1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882761_0.png', 1353439722: '1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880476_0.png', 1353439721: '1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880474_0.png', 1353439343: '1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871756_0.png', 1353438907: '1745515991_1154711_1353438450_fff6b87834df8700129b0ef039c13402_rle_crop_3767867619_0.png', 1353438906: '1745515991_1154711_1353438453_28dd27dddd96be0a65d9226f3ef9e044_rle_crop_3767867577_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3c354d8b10ecf5b805e9a3e8ee36ac77_38891621.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e7013fe1e87435d0c65eb2e4042d6229_97891711.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/47c76ecfa70ef8e4659b6bec857c5dda_32043478.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/05bfa0197ef0bce00f38507f9b78c54f_33909275.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/d24a990705316fca8444686dc9fd04c9_17982563.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/38181bf36b601293da92d685f514a430_89069795.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/979d6cf1dbcefc49e33639467bf241ed_28876281.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8d6a88c38d1e93e6c118798c12060454_84316691.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/552125cd950eaad034647cd48b625284_80121033.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b4b2c85ba19a2302fb10efb68a144d2c_88978173.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a857bb2e21bb75f4f467389b0d960ed4_51442893.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4f0ade3f7a8295e64e57008f8f3e0b88_36074205.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c4bed7d5ecbcafd7a17568312eee95bb_38309221.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/d49fb1c51375ba8c6ca6324b3f52e21f_58612143.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/08bd9247db9fdce034c31a5a19990192_9859708.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/20408077d12e98af99643fc93b5f5eb9_72503504.png change filename to text .imagette223948021745516467/ imagette223948021745516467/1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886211_0.png.png imagette223948021745516467/1745516292_1157723_1353439053_1707d77a9539d2f1cfdc5c8ffdbfa5c9_rle_crop_3767886286_0.png.png imagette223948021745516467/1745516112_1156025_1353438642_826ba1f745db1a39bcfee1d8dba1e37e_rle_crop_3767871756_0.png.png imagette223948021745516467/1745516352_1158178_1353439692_3074e822f3c3cc025943cdea0d5df8e7_rle_crop_3767887836_0.png.png imagette223948021745516467/1745516292_1157723_1353439336_fd68619ad620bf171860ae8dafa35958_rle_crop_3767886117_0.png.png imagette223948021745516467/1745516292_1157723_1353439056_00964df16fc92ed2778dc4a9a25739e1_rle_crop_3767886209_0.png.png imagette223948021745516467/1745515991_1154711_1353438453_28dd27dddd96be0a65d9226f3ef9e044_rle_crop_3767867577_0.png.png imagette223948021745516467/1745516292_1157723_1353439060_2d48aa53c0390660a3c59498d8b7bfb0_rle_crop_3767886181_0.png.png imagette223948021745516467/1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882759_0.png.png imagette223948021745516467/1745516380_383119_1353439821_0b18859f6a68d96e93d5b599fe896b55_rle_crop_3767887948_0.png.png imagette223948021745516467/1745515991_1154711_1353438450_fff6b87834df8700129b0ef039c13402_rle_crop_3767867619_0.png.png imagette223948021745516467/1745516292_1157723_1353439097_0493e8331395048509c6f415999dd6f1_rle_crop_3767886158_0.png.png imagette223948021745516467/1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880476_0.png.png imagette223948021745516467/1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882762_0.png.png imagette223948021745516467/1745515991_1154711_1353438456_10867d3c4002b92939b2f18dfab5bb53_rle_crop_3767867568_0.png.png imagette223948021745516467/1745516245_374481_1353439331_c306a9e4273c7502bae8858aff9569aa_rle_crop_3767882761_0.png.png imagette223948021745516467/1745516231_1157229_1353439361_ab0af3e18b1e2c9ae278e8c206c5a9ff_rle_crop_3767880474_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/758aa43d8f2b869966522445aa261748_41199814.png imagette223948021745516467 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22394741 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22394805,22394806,22394807,22394808,22394809,22394810,22394811,22394812,22394813,22394814,22394815,22394816?tags=plastique,kraft,flou,environnement,metal,Teint_Dans_La_Masse,Carton_gris,papier,mal_croppe,Carton_brun,cartonnette,autre_refus your option no_mail is active, we will not send the real mail to your client args[1353440107] : ('0.0776112190303645',) no score found for photo 1353440107 We are sending mail with results at report@fotonower.com args[1353440075] : ('0.0776112190303645',) no score found for photo 1353440075 We are sending mail with results at report@fotonower.com args[1353440044] : ('0.0776112190303645',) no score found for photo 1353440044 We are sending mail with results at report@fotonower.com args[1353440040] : ('0.0776112190303645',) no score found for photo 1353440040 We are sending mail with results at report@fotonower.com args[1353440038] : ('0.0776112190303645',) no score found for photo 1353440038 We are sending mail with results at report@fotonower.com args[1353440019] : ('0.0776112190303645',) no score found for photo 1353440019 We are sending mail with results at report@fotonower.com args[1353439824] : ('0.0776112190303645',) no score found for photo 1353439824 We are sending mail with results at report@fotonower.com args[1353439821] : ('0.0776112190303645',) no score found for photo 1353439821 We are sending mail with results at report@fotonower.com args[1353439817] : ('0.0776112190303645',) no score found for photo 1353439817 We are sending mail with results at report@fotonower.com args[1353439814] : ('0.0776112190303645',) no score found for photo 1353439814 We are sending mail with results at report@fotonower.com args[1353439692] : ('0.0776112190303645',) no score found for photo 1353439692 We are sending mail with results at report@fotonower.com args[1353439665] : ('0.0776112190303645',) no score found for photo 1353439665 We are sending mail with results at report@fotonower.com args[1353439623] : ('0.0776112190303645',) no score found for photo 1353439623 We are sending mail with results at report@fotonower.com args[1353439595] : ('0.0776112190303645',) no score found for photo 1353439595 We are sending mail with results at report@fotonower.com args[1353439565] : ('0.0776112190303645',) no score found for photo 1353439565 We are sending mail with results at report@fotonower.com args[1353439533] : ('0.0776112190303645',) no score found for photo 1353439533 We are sending mail with results at report@fotonower.com refus_total : 0.0776112190303645 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=22394741 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_P22394741_24-04-2025_19_41_00.pdf results_Auto_P22394741_24-04-2025_19_41_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_41_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22394741','results_Auto_P22394741_24-04-2025_19_41_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_41_00.pdf','pdf','','0.36','0.0776112190303645') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22394741]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] map_info['map_portfolio_photo'] : {22394741: [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533, 1353439373, 1353439370, 1353439363, 1353439361, 1353439336, 1353439333, 1353439331, 1353439327, 1353439311, 1353439284, 1353439156, 1353439129, 1353439097, 1353439060, 1353439056, 1353439053, 1353438651, 1353438648, 1353438642, 1353438598, 1353438595, 1353438591, 1353438588, 1353438584, 1353438456, 1353438453, 1353438450, 1353438447]} final : False mtd_id 4302 list_pids : [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] 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, '2758727') ('4302', '22394741', '1353440107', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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', '22394741', '1353440107', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727')] time used for this insertion : 0.015012264251708984 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.909841775894165 time spend to save output : 0.015310287475585938 total time spend for step 4 : 9.925152063369751 step5:split_time_score Thu Apr 24 19:41:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22394741'] 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 : [('22394741',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22394741) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353440040: {'path': 'temp/1745516460_2145461_1353440040_5c898984e44b636933e4a7654cf33798.jpg', 'extension': 'jpg'}, 1353440044: {'path': 'temp/1745516460_2145461_1353440044_4fd0ab82c3f19819a72ae337ff8eb53d.jpg', 'extension': 'jpg'}, 1353440075: {'path': 'temp/1745516460_2145461_1353440075_50ebcf98a9e69139de13b2adbd0f1fa8.jpg', 'extension': 'jpg'}, 1353440107: {'path': 'temp/1745516460_2145461_1353440107_d10a2a00e6c96917f0728f7ee22b3797.jpg', 'extension': 'jpg'}, 1353439821: {'path': 'temp/1745516460_2145461_1353439821_0b18859f6a68d96e93d5b599fe896b55.jpg', 'extension': 'jpg'}, 1353439824: {'path': 'temp/1745516460_2145461_1353439824_ab90489eb297f7f8982e169cce5e31b1.jpg', 'extension': 'jpg'}, 1353440019: {'path': 'temp/1745516460_2145461_1353440019_cb2b5a020c8827eb19d45fe012e24e4c.jpg', 'extension': 'jpg'}, 1353440038: {'path': 'temp/1745516460_2145461_1353440038_933fce072acba8117c11ac28d8bad535.jpg', 'extension': 'jpg'}, 1353439665: {'path': 'temp/1745516460_2145461_1353439665_871f76aae3dfef995e6cf9280818c880.jpg', 'extension': 'jpg'}, 1353439692: {'path': 'temp/1745516460_2145461_1353439692_3074e822f3c3cc025943cdea0d5df8e7.jpg', 'extension': 'jpg'}, 1353439814: {'path': 'temp/1745516460_2145461_1353439814_a913165197e396925e48b8c8936d11e2.jpg', 'extension': 'jpg'}, 1353439817: {'path': 'temp/1745516460_2145461_1353439817_7cd843b3180953d790bb4392453dd9d2.jpg', 'extension': 'jpg'}, 1353439533: {'path': 'temp/1745516460_2145461_1353439533_941bdac0b87ac96967cefb9d1ae0e6fb.jpg', 'extension': 'jpg'}, 1353439565: {'path': 'temp/1745516460_2145461_1353439565_3ed85703fa2489c459fb4af1207770ea.jpg', 'extension': 'jpg'}, 1353439595: {'path': 'temp/1745516460_2145461_1353439595_08404d26d5aa57d66b9b679cf705d50a.jpg', 'extension': 'jpg'}, 1353439623: {'path': 'temp/1745516460_2145461_1353439623_17bce34e1d3b7c795a5333b5f371e84d.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 = 22394741; (('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 = 22394741 group by h (('19', 44),) 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=22394741 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 (22394741) 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 (22394741) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24042025 22394741 Nombre de photos uploadées : 44 / 23040 (0%) 24042025 22394741 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 24042025 22394741 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1353438456, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/10867d3c4002b92939b2f18dfab5bb53.jpg', 'username': None, 'uploaded_at': 1745515867, 'text': 'image_24042025_19_30_04_10143.jpg'}, {'photo_id': 1353438453, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/28dd27dddd96be0a65d9226f3ef9e044.jpg', 'username': None, 'uploaded_at': 1745515867, 'text': 'image_24042025_19_30_14_10133.jpg'}, {'photo_id': 1353438450, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fff6b87834df8700129b0ef039c13402.jpg', 'username': None, 'uploaded_at': 1745515867, 'text': 'image_24042025_19_30_24_10138.jpg'}, {'photo_id': 1353438447, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/346c87a8efaae0ccfdacc9ebf62cf0c7.jpg', 'username': None, 'uploaded_at': 1745515867, 'text': 'image_24042025_19_30_34_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002053499221801758 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22394741, '2025-04-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1743777,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023989200592041016 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= 1743777 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754301, 'mtr_portfolio_id': 22392883, 'dashboard_result_id': 10079324, '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_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754301, 'mtr_portfolio_id': 22393323, 'dashboard_result_id': 10079325, '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_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754301, 'mtr_portfolio_id': 22394050, 'dashboard_result_id': 10079326, '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_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1754301, 'mtr_portfolio_id': 22394741, 'dashboard_result_id': 10079327, '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_P22394741_24-04-2025_19_37_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, '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 = 22392883 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': 2758545, 'mtr_portfolio_id': 22392883, 'created_at': datetime.datetime(2025, 4, 24, 19, 2, 32), 'result': '0.07720033540700966', 'result_long': None, 'result_double': None}] Qualite : 0.07720033540700966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22392883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22392883 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_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}" where mtr_portfolio_id = 22392883 and dashboard_run_id = 1754301 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`=22392883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079324, 0.07720033540700966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, '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 = 22393323 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': 2758607, 'mtr_portfolio_id': 22393323, 'created_at': datetime.datetime(2025, 4, 24, 19, 17), 'result': '0.07177438740590858', 'result_long': None, 'result_double': None}] Qualite : 0.07177438740590858 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22393323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22393323 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_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}" where mtr_portfolio_id = 22393323 and dashboard_run_id = 1754301 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`=22393323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079325, 0.07177438740590858, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, '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 = 22394050 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': 2758650, 'mtr_portfolio_id': 22394050, 'created_at': datetime.datetime(2025, 4, 24, 19, 34, 59), 'result': '0.05536436296369449', 'result_long': None, 'result_double': None}] Qualite : 0.05536436296369449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394050 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_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}" where mtr_portfolio_id = 22394050 and dashboard_run_id = 1754301 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`=22394050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079326, 0.05536436296369449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, '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 = 22394741 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': 2758727, 'mtr_portfolio_id': 22394741, 'created_at': datetime.datetime(2025, 4, 24, 19, 40, 59), 'result': '0.0776112190303645', 'result_long': None, 'result_double': None}] Qualite : 0.0776112190303645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394741 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_P22394741_24-04-2025_19_41_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, 'pht': 3726}}" where mtr_portfolio_id = 22394741 and dashboard_run_id = 1754301 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`=22394741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10079327, 0.0776112190303645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_41_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, '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 (22392883,22393323,22394050,22394741) result : ((1353428609,), (1353428659,), (1353428661,), (1353428663,), (1353428709,), (1353428713,), (1353428718,), (1353428722,), (1353428726,), (1353428761,), (1353428764,), (1353428805,), (1353428808,), (1353428811,), (1353428814,), (1353428816,), (1353428846,), (1353428847,), (1353428849,), (1353428851,), (1353428895,), (1353428902,), (1353428907,), (1353429023,), (1353429068,), (1353429072,), (1353429102,), (1353429104,), (1353429108,), (1353429111,), (1353429150,), (1353429152,), (1353429155,), (1353429158,), (1353429209,), (1353429214,), (1353429217,), (1353429221,), (1353429224,), (1353429228,), (1353429271,), (1353429277,), (1353429288,), (1353429301,), (1353429833,), (1353429839,), (1353429847,), (1353429855,), (1353429865,), (1353429872,), (1353429937,), (1353429962,), (1353429990,), (1353430153,), (1353430057,), (1353430073,), (1353430098,), (1353430126,), (1353430148,), (1353430228,), (1353430263,), (1353430294,), (1353430321,), (1353430346,), (1353430348,), (1353430497,), (1353430530,), (1353430557,), (1353430586,), (1353430915,), (1353430946,), (1353430974,), (1353431007,), (1353431036,), (1353431371,), (1353431397,), (1353431426,), (1353431455,), (1353431794,), (1353431825,), (1353431851,), (1353431886,), (1353431894,), (1353432392,), (1353432476,), (1353432555,), (1353432630,), (1353432712,), (1353432788,), (1353433683,), (1353433734,), (1353433775,), (1353433810,), (1353433838,), (1353434706,), (1353434746,), (1353434803,), (1353434821,), (1353434830,), (1353434846,), (1353435429,), (1353435445,), (1353435448,), (1353435493,), (1353435532,), (1353435817,), (1353435845,), (1353435878,), (1353435910,), (1353435966,), (1353436048,), (1353436190,), (1353436244,), (1353436297,), (1353436351,), (1353436407,), (1353436464,), (1353436680,), (1353436685,), (1353436688,), (1353436696,), (1353436814,), (1353436819,), (1353436824,), (1353436965,), (1353436968,), (1353436973,), (1353437007,), (1353437012,), (1353437017,), (1353437025,), (1353437031,), (1353437039,), (1353437080,), (1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,), (1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24042025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22394741]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] map_info['map_portfolio_photo'] : {22394741: [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533, 1353439373, 1353439370, 1353439363, 1353439361, 1353439336, 1353439333, 1353439331, 1353439327, 1353439311, 1353439284, 1353439156, 1353439129, 1353439097, 1353439060, 1353439056, 1353439053, 1353438651, 1353438648, 1353438642, 1353438598, 1353438595, 1353438591, 1353438588, 1353438584, 1353438456, 1353438453, 1353438450, 1353438447]} final : True mtd_id 4302 list_pids : [1353440107, 1353440075, 1353440044, 1353440040, 1353440038, 1353440019, 1353439824, 1353439821, 1353439817, 1353439814, 1353439692, 1353439665, 1353439623, 1353439595, 1353439565, 1353439533] Looping around the photos to save general results len do output : 1 /22394741Didn'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, '2758727') ('4302', '22394741', '1353440107', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727') ('4302', None, None, None, None, None, None, None, '2758727') ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 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, '22394741', 'None', None, None, None, None, '2758727'), ('4302', '22394741', '1353440107', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440075', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440044', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440040', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440038', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353440019', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439824', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439821', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439817', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439814', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439692', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439665', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439623', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439595', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439565', None, None, None, None, None, '2758727'), ('4302', '22394741', '1353439533', None, None, None, None, None, '2758727')] time used for this insertion : 0.015241384506225586 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3492457866668701 time spend to save output : 0.015500783920288086 total time spend for step 5 : 0.3647465705871582 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 (2758727) 2.59user 2.53system 0:15.86elapsed 32%CPU (0avgtext+0avgdata 159284maxresident)k 14680inputs+20224outputs (148major+75059minor)pagefaults 0swaps