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 : 231766 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 (2679520) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2679520) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580554 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2679520'] with mtr_portfolio_ids : ['21580554'] and first list_photo_ids : [] new path : /proc/231766/ Name: python3 Umask: 0002 State: R (running) Tgid: 231766 Ngid: 0 Pid: 231766 PPid: 231765 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 231766 NSpid: 231766 NSpgid: 228107 NSsid: 228107 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98444 kB VmRSS: 98444 kB RssAnon: 59768 kB RssFile: 38676 kB RssShmem: 0 kB VmData: 865588 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 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: 73 nonvoluntary_ctxt_switches: 108 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '231766', 'Ngid': '0', 'Pid': '231766', 'PPid': '231765', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '231766', 'NSpid': '231766', 'NSpgid': '228107', 'NSsid': '228107', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98444 kB', 'VmRSS': '98444 kB', 'RssAnon': '59768 kB', 'RssFile': '38676 kB', 'RssShmem': '0 kB', 'VmData': '865588 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 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': '73', 'nonvoluntary_ctxt_switches': '108'} ('datou_batch_current', '231766', '1106840', '0', '1106840', '865588', '98444', b'', 'marlene', '2679520') 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 (21580554) 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 (2679520 ) ) 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 (21580554) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1346056491, 'portfolio_id': 21580554}, {'photo_id': 1346056454, 'portfolio_id': 21580554}, {'photo_id': 1346056404, 'portfolio_id': 21580554}, {'photo_id': 1346056372, 'portfolio_id': 21580554}, {'photo_id': 1346056243, 'portfolio_id': 21580554}, {'photo_id': 1346056215, 'portfolio_id': 21580554}, {'photo_id': 1346056185, 'portfolio_id': 21580554}, {'photo_id': 1346056169, 'portfolio_id': 21580554}, {'photo_id': 1346056144, 'portfolio_id': 21580554}, {'photo_id': 1346055882, 'portfolio_id': 21580554}, {'photo_id': 1346055878, 'portfolio_id': 21580554}, {'photo_id': 1346055866, 'portfolio_id': 21580554}, {'photo_id': 1346055854, 'portfolio_id': 21580554}, {'photo_id': 1346055844, 'portfolio_id': 21580554}, {'photo_id': 1346055495, 'portfolio_id': 21580554}, {'photo_id': 1346055489, 'portfolio_id': 21580554}, {'photo_id': 1346055469, 'portfolio_id': 21580554}, {'photo_id': 1346055454, 'portfolio_id': 21580554}, {'photo_id': 1346055441, 'portfolio_id': 21580554}, {'photo_id': 1346055062, 'portfolio_id': 21580554}, {'photo_id': 1346055012, 'portfolio_id': 21580554}, {'photo_id': 1346054984, 'portfolio_id': 21580554}, {'photo_id': 1346054352, 'portfolio_id': 21580554}, {'photo_id': 1346054311, 'portfolio_id': 21580554}, {'photo_id': 1346054282, 'portfolio_id': 21580554}, {'photo_id': 1346054257, 'portfolio_id': 21580554}, {'photo_id': 1346054237, 'portfolio_id': 21580554}, {'photo_id': 1346054235, 'portfolio_id': 21580554}, {'photo_id': 1346054018, 'portfolio_id': 21580554}, {'photo_id': 1346053943, 'portfolio_id': 21580554}, {'photo_id': 1346053827, 'portfolio_id': 21580554}, {'photo_id': 1346053345, 'portfolio_id': 21580554}, {'photo_id': 1346053231, 'portfolio_id': 21580554}, {'photo_id': 1346053144, 'portfolio_id': 21580554}, {'photo_id': 1346053070, 'portfolio_id': 21580554}, {'photo_id': 1346053036, 'portfolio_id': 21580554}, {'photo_id': 1346052870, 'portfolio_id': 21580554}, {'photo_id': 1346052838, 'portfolio_id': 21580554}, {'photo_id': 1346052776, 'portfolio_id': 21580554}, {'photo_id': 1346052757, 'portfolio_id': 21580554}, {'photo_id': 1346052725, 'portfolio_id': 21580554}, {'photo_id': 1346051831, 'portfolio_id': 21580554}, {'photo_id': 1346051774, 'portfolio_id': 21580554}, {'photo_id': 1346051732, 'portfolio_id': 21580554}, {'photo_id': 1346051673, 'portfolio_id': 21580554}, {'photo_id': 1346051297, 'portfolio_id': 21580554}, {'photo_id': 1346051249, 'portfolio_id': 21580554}, {'photo_id': 1346051211, 'portfolio_id': 21580554}, {'photo_id': 1346050738, 'portfolio_id': 21580554}, {'photo_id': 1346050707, 'portfolio_id': 21580554}] map_portfolio_id_photo_id: {21580554: [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844, 1346055495, 1346055489, 1346055469, 1346055454, 1346055441, 1346055062, 1346055012, 1346054984, 1346054352, 1346054311, 1346054282, 1346054257, 1346054237, 1346054235, 1346054018, 1346053943, 1346053827, 1346053345, 1346053231, 1346053144, 1346053070, 1346053036, 1346052870, 1346052838, 1346052776, 1346052757, 1346052725, 1346051831, 1346051774, 1346051732, 1346051673, 1346051297, 1346051249, 1346051211, 1346050738, 1346050707]} ##### 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.016340017318725586 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Mar 21 16:14:56 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 (21580554) 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 : 21580554 get user id for portfolio 21580554 get sub ptf for main ptf 21580554, type 3726 and hashtags ['Teint_Dans_La_Masse', 'papier', 'autre_refus', 'plastique', 'Carton_gris', 'environnement', 'kraft', 'mal_croppe', 'Carton_brun', 'cartonnette', 'flou', 'metal'] 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`=21580554 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','autre_refus','plastique','Carton_gris','environnement','kraft','mal_croppe','Carton_brun','cartonnette','flou','metal')) 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`=21580554 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','autre_refus','plastique','Carton_gris','environnement','kraft','mal_croppe','Carton_brun','cartonnette','flou','metal')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21580554, 'sub_port_id': 21580555, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125345, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'Carton_gris': {'main_port_id': 21580554, 'sub_port_id': 21580556, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125346, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'autre_refus': {'main_port_id': 21580554, 'sub_port_id': 21580557, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125347, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'metal': {'main_port_id': 21580554, 'sub_port_id': 21580558, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125348, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'Carton_brun': {'main_port_id': 21580554, 'sub_port_id': 21580559, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125349, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'Teint_Dans_La_Masse': {'main_port_id': 21580554, 'sub_port_id': 21580560, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125350, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'papier': {'main_port_id': 21580554, 'sub_port_id': 21580561, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125351, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'environnement': {'main_port_id': 21580554, 'sub_port_id': 21580562, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125352, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'flou': {'main_port_id': 21580554, 'sub_port_id': 21580563, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125353, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'plastique': {'main_port_id': 21580554, 'sub_port_id': 21580564, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125354, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'kraft': {'main_port_id': 21580554, 'sub_port_id': 21580565, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125355, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}, 'cartonnette': {'main_port_id': 21580554, 'sub_port_id': 21580566, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125356, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21580555 , 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=21580554 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 (21580555) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580556 , 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=21580554 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 (21580556) result : ((1346053916,), (1346055174,), (1346055175,), (1346055780,), (1346055781,), (1346055820,), (1346055828,), (1346055829,), (1346055912,), (1346055913,), (1346055914,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580557 , 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=21580554 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 (21580557) result : ((1346052369,), (1346052381,), (1346052399,), (1346052410,), (1346053592,), (1346053596,), (1346053602,), (1346053606,), (1346053609,), (1346053610,), (1346053611,), (1346053612,), (1346053896,), (1346053898,), (1346053899,), (1346053902,), (1346053904,), (1346055151,), (1346055152,), (1346055154,), (1346055155,), (1346055156,), (1346055157,), (1346055778,), (1346055779,), (1346055800,), (1346055801,), (1346055802,), (1346055803,), (1346055804,), (1346055805,), (1346055806,), (1346055807,), (1346055811,), (1346055812,), (1346055813,), (1346055814,), (1346055815,), (1346055816,), (1346055902,), (1346055903,), (1346055904,), (1346055905,), (1346055906,), (1346055907,), (1346055908,), (1346055909,), (1346055910,), (1346056401,), (1346056791,), (1346056794,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580558 , 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=21580554 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 (21580558) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580559 , 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=21580554 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 (21580559) result : ((1346052441,), (1346055205,), (1346055206,), (1346055809,), (1346055841,), (1346055922,), (1346055923,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580560 , 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=21580554 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 (21580560) result : ((1346053577,), (1346053579,), (1346053581,), (1346053872,), (1346055118,), (1346055119,), (1346055791,), (1346055792,), (1346055793,), (1346055794,), (1346055796,), (1346055798,), (1346055799,), (1346055893,), (1346055894,), (1346055896,), (1346056392,), (1346056776,), (1346056778,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580561 , 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=21580554 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 (21580561) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580562 , 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=21580554 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 (21580562) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580563 , 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=21580554 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 (21580563) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580564 , 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=21580554 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 (21580564) result : ((1346053617,), (1346055926,), (1346056824,), (1346056827,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580565 , 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=21580554 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 (21580565) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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 21580566 , 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=21580554 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 (21580566) result : ((1346053614,), (1346053615,), (1346055191,), (1346055192,), (1346055832,), (1346055833,), (1346055835,), (1346055836,), (1346055918,), (1346055919,), (1346055920,), (1346055921,), (1346056418,), (1346056419,), (1346056807,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21580554) result : ((1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) 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`=21580554 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','autre_refus','plastique','Carton_gris','environnement','kraft','mal_croppe','Carton_brun','cartonnette','flou','metal')) 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`=21580554 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','autre_refus','plastique','Carton_gris','environnement','kraft','mal_croppe','Carton_brun','cartonnette','flou','metal')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21580554, 'sub_port_id': 21580567, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125357, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'Carton_gris': {'main_port_id': 21580554, 'sub_port_id': 21580568, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125358, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'autre_refus': {'main_port_id': 21580554, 'sub_port_id': 21580569, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125359, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'metal': {'main_port_id': 21580554, 'sub_port_id': 21580570, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125360, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'Carton_brun': {'main_port_id': 21580554, 'sub_port_id': 21580571, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125361, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'Teint_Dans_La_Masse': {'main_port_id': 21580554, 'sub_port_id': 21580572, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125362, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'papier': {'main_port_id': 21580554, 'sub_port_id': 21580573, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125363, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'environnement': {'main_port_id': 21580554, 'sub_port_id': 21580574, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125364, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'flou': {'main_port_id': 21580554, 'sub_port_id': 21580575, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125365, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'plastique': {'main_port_id': 21580554, 'sub_port_id': 21580576, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125366, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'kraft': {'main_port_id': 21580554, 'sub_port_id': 21580577, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125367, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 7, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}, 'cartonnette': {'main_port_id': 21580554, 'sub_port_id': 21580578, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14125368, 'last_updated_at': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 16, 11, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 16, 7, 2)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580567,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580555 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580568,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580556 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580569,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580557 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580570,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580558 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580571,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580559 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580572,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580560 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580573,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580561 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580574,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580562 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580575,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580563 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580576,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580564 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580577,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580565 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21580578,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21580566 lien utilise dans velours : https://www.fotonower.com/velours/21580567,21580568,21580569,21580570,21580571,21580572,21580573,21580574,21580575,21580576,21580577,21580578?tags=mal_croppe,Carton_gris,autre_refus,metal,Carton_brun,Teint_Dans_La_Masse,papier,environnement,flou,plastique,kraft,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21580554]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] map_info['map_portfolio_photo'] : {21580554: [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844, 1346055495, 1346055489, 1346055469, 1346055454, 1346055441, 1346055062, 1346055012, 1346054984, 1346054352, 1346054311, 1346054282, 1346054257, 1346054237, 1346054235, 1346054018, 1346053943, 1346053827, 1346053345, 1346053231, 1346053144, 1346053070, 1346053036, 1346052870, 1346052838, 1346052776, 1346052757, 1346052725, 1346051831, 1346051774, 1346051732, 1346051673, 1346051297, 1346051249, 1346051211, 1346050738, 1346050707]} final : False mtd_id 4302 list_pids : [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] Looping around the photos to save general results len do output : 1 /21580554. 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, '2679520') ('4302', '21580554', '1346056491', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21580554', "{'mal_croppe': 21580555, 'Carton_gris': 21580556, 'autre_refus': 21580557, 'metal': 21580558, 'Carton_brun': 21580559, 'Teint_Dans_La_Masse': 21580560, 'papier': 21580561, 'environnement': 21580562, 'flou': 21580563, 'plastique': 21580564, 'kraft': 21580565, 'cartonnette': 21580566}", None, None, None, None, '2679520'), ('4302', '21580554', '1346056491', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520')] time used for this insertion : 0.014689445495605469 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.886284828186035 time spend to save output : 0.015033245086669922 total time spend for step 1 : 3.901318073272705 step2:final Fri Mar 21 16:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21580554) 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 21580554 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346050738,1346050707,1346051297,1346051249,1346051211,1346051831,1346051774,1346051732,1346051673,1346052870,1346052838,1346052776,1346052757,1346052725,1346053345,1346053231,1346053144,1346053070,1346053036,1346054018,1346053943,1346053827,1346054352,1346054311,1346054282,1346054257,1346054237,1346054235,1346055062,1346055012,1346054984,1346055495,1346055489,1346055469,1346055454,1346055441,1346055882,1346055878,1346055866,1346055854,1346055844,1346056243,1346056215,1346056185,1346056169,1346056144,1346056491,1346056454,1346056404,1346056372); 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([21580554]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} new output for save of step final : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] map_info['map_portfolio_photo'] : {21580554: [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844, 1346055495, 1346055489, 1346055469, 1346055454, 1346055441, 1346055062, 1346055012, 1346054984, 1346054352, 1346054311, 1346054282, 1346054257, 1346054237, 1346054235, 1346054018, 1346053943, 1346053827, 1346053345, 1346053231, 1346053144, 1346053070, 1346053036, 1346052870, 1346052838, 1346052776, 1346052757, 1346052725, 1346051831, 1346051774, 1346051732, 1346051673, 1346051297, 1346051249, 1346051211, 1346050738, 1346050707]} final : False mtd_id 4302 list_pids : [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] Looping around the photos to save general results len do output : 14 /1346056491.Didn't retrieve data . /1346056454.Didn't retrieve data . /1346056404.Didn't retrieve data . /1346056372.Didn't retrieve data . /1346056243.Didn't retrieve data . /1346056215.Didn't retrieve data . /1346056185.Didn't retrieve data . /1346056169.Didn't retrieve data . /1346056144.Didn't retrieve data . /1346055882.Didn't retrieve data . /1346055878.Didn't retrieve data . /1346055866.Didn't retrieve data . /1346055854.Didn't retrieve data . /1346055844.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, '2679520') ('4302', '21580554', '1346056491', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21580554', '1346056491', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056454', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056404', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056372', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056243', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056215', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056185', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056169', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346056144', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346055882', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346055878', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346055866', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346055854', '0.0753626456131444', None, None, None, None, '2679520'), ('4302', '21580554', '1346055844', '0.0753626456131444', None, None, None, None, '2679520')] time used for this insertion : 0.01596689224243164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.17247509956359863 time spend to save output : 0.01667499542236328 total time spend for step 2 : 0.18915009498596191 step3:velours_tree Fri Mar 21 16:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21580554: [{'mal_croppe': 21580555, 'Carton_gris': 21580556, 'autre_refus': 21580557, 'metal': 21580558, 'Carton_brun': 21580559, 'Teint_Dans_La_Masse': 21580560, 'papier': 21580561, 'environnement': 21580562, 'flou': 21580563, 'plastique': 21580564, 'kraft': 21580565, 'cartonnette': 21580566}]} input_args_next_step : {21580554: ()} output_args : {21580554: [{'mal_croppe': 21580555, 'Carton_gris': 21580556, 'autre_refus': 21580557, 'metal': 21580558, 'Carton_brun': 21580559, 'Teint_Dans_La_Masse': 21580560, 'papier': 21580561, 'environnement': 21580562, 'flou': 21580563, 'plastique': 21580564, 'kraft': 21580565, 'cartonnette': 21580566}]} args : 21580554 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 : ({'mal_croppe': 21580555, 'Carton_gris': 21580556, 'autre_refus': 21580557, 'metal': 21580558, 'Carton_brun': 21580559, 'Teint_Dans_La_Masse': 21580560, 'papier': 21580561, 'environnement': 21580562, 'flou': 21580563, 'plastique': 21580564, 'kraft': 21580565, 'cartonnette': 21580566},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21580554) 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([21580554]) 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.35529255867004395 time spend to save output : 5.7697296142578125e-05 total time spend for step 3 : 0.3553502559661865 step4:send_mail_cod Fri Mar 21 16:15: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 : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} input_args_next_step : {1346056491: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056491 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056454 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056404 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056372 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056243 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056215 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056185 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056169 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346056144 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346055882 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346055878 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346055866 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346055854 depend.output_id : 0 input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ()} output_args : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',)} args : 1346055844 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 : {21580554: [{'mal_croppe': 21580555, 'Carton_gris': 21580556, 'autre_refus': 21580557, 'metal': 21580558, 'Carton_brun': 21580559, 'Teint_Dans_La_Masse': 21580560, 'papier': 21580561, 'environnement': 21580562, 'flou': 21580563, 'plastique': 21580564, 'kraft': 21580565, 'cartonnette': 21580566}]} input_args_next_step : {1346056491: ('0.0753626456131444',), 1346056454: ('0.0753626456131444',), 1346056404: ('0.0753626456131444',), 1346056372: ('0.0753626456131444',), 1346056243: ('0.0753626456131444',), 1346056215: ('0.0753626456131444',), 1346056185: ('0.0753626456131444',), 1346056169: ('0.0753626456131444',), 1346056144: ('0.0753626456131444',), 1346055882: ('0.0753626456131444',), 1346055878: ('0.0753626456131444',), 1346055866: ('0.0753626456131444',), 1346055854: ('0.0753626456131444',), 1346055844: ('0.0753626456131444',), 21580554: ()} output_args : {21580554: [{'mal_croppe': 21580555, 'Carton_gris': 21580556, 'autre_refus': 21580557, 'metal': 21580558, 'Carton_brun': 21580559, 'Teint_Dans_La_Masse': 21580560, 'papier': 21580561, 'environnement': 21580562, 'flou': 21580563, 'plastique': 21580564, 'kraft': 21580565, 'cartonnette': 21580566}]} args : 21580554 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :15, first value : ('0.0753626456131444',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21580554) 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 (1346056491,1346056454,1346056404,1346056372,1346056243,1346056215,1346056185,1346056169,1346056144,1346055882,1346055878,1346055866,1346055854,1346055844) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346055844 begin to download photo : 1346055878 begin to download photo : 1346056169 begin to download photo : 1346056243 begin to download photo : 1346056454 download finish for photo 1346056243 begin to download photo : 1346056372 download finish for photo 1346055878 begin to download photo : 1346055882 download finish for photo 1346056169 begin to download photo : 1346056185 download finish for photo 1346055844 begin to download photo : 1346055854 download finish for photo 1346056454 begin to download photo : 1346056491 download finish for photo 1346056185 begin to download photo : 1346056215 download finish for photo 1346055882 begin to download photo : 1346056144 download finish for photo 1346056372 begin to download photo : 1346056404 download finish for photo 1346055854 begin to download photo : 1346055866 download finish for photo 1346056491 download finish for photo 1346056144 download finish for photo 1346055866 download finish for photo 1346056404 download finish for photo 1346056215 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette215805551742570100/ length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P21580554_21-03-2025_16_15_00.pdf 21580555 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=21580555 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215805551742570100 21580557 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=21580557 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346055816: '1742569827_1071723_1346052725_39664e2f8e8ddcaaee9043e06531e2de_rle_crop_3722274236_0.png', 1346055801: '1742569793_923980_1346054282_7fc1e88b3547384007d21fb28b0e57b5_rle_crop_3722277319_0.png', 1346055802: '1742569793_923980_1346054257_4556f75f7e730a582f7ea20b46382d34_rle_crop_3722277593_0.png', 1346055803: '1742569793_923980_1346054257_4556f75f7e730a582f7ea20b46382d34_rle_crop_3722277592_0.png', 1346055804: '1742569793_923980_1346054237_442e398ad6397b71a5140eb777d8083b_rle_crop_3722277885_0.png', 1346055805: '1742569793_923980_1346054237_442e398ad6397b71a5140eb777d8083b_rle_crop_3722277887_0.png', 1346055806: '1742569793_923980_1346054235_18c5bb7ab79e10a96ef5549207469871_rle_crop_3722278161_0.png', 1346055807: '1742569793_923980_1346054235_18c5bb7ab79e10a96ef5549207469871_rle_crop_3722278169_0.png', 1346055811: '1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274173_0.png', 1346055812: '1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_bib_crop_3722274188_0.jpg', 1346055813: '1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722277599_0.png', 1346055814: '1742569827_1071723_1346052776_f0bf73f46108087aca1a2e95c1edbed3_rle_crop_3722274198_0.png', 1346055815: '1742569827_1071723_1346052757_2e73b9cc970245becc573833f9d41315_rle_crop_3722274221_0.png', 1346055800: '1742569793_923980_1346054311_c58f15779c7349fc76315b2889fd0929_rle_crop_3722276798_0.png', 1346055902: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280168_0.png', 1346055903: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280160_0.png', 1346055904: '1742569833_924713_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274090_0.png', 1346055905: '1742569833_924713_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274107_0.png', 1346055906: '1742569833_924713_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274106_0.png', 1346055907: '1742569833_924713_1346053070_a722501c819a6a1f22cc69f5ab04add9_rle_crop_3722281204_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/da9d4e23de7f6108dd054ff44af70f8f_21954378.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4021a187bb4a7375ae01bbbd08182b8b_46176183.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ae5d7f2b282a3fe267ab5af71f0daf36_58890642.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7061058493c9429870bce13c0c88da9c_49944196.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bc93136a0f659d8a7f5227ab40cbcaf3_38374728.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c46ea71a7cc0430a9d26a89967585299_3022101.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0b47e9b3ea4f9cf9fed928fdb6cc78f5_90314000.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8ce63adce124b04bf8581d0cf144a587_4309763.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6610c6eba70641e04d1cc83e28162f93_2950948.png change filename to text .wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/844b3c63b8f9c9b75f36394e950847bc_94130802.jpg change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/39082beae3372a447712fb46425a7d5c_73881524.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/025b846171c90f88d032699ead358b65_4904065.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7fd098b6503c1d743cf991bc6e6c1370_94497269.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/79041823565a4dbb8d87b7bd2ec0583c_67628446.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4985bc7e0be42d4c71db560b7ec293dc_70455503.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a25a20fd8674ee31977b56688b05ba25_2481596.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/23933acf288f3e1551c491d3a24b6df6_54603125.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0d9c1d3672ba1785d4644797c5afb2bc_44931995.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/27b80e62eb70bf1f04cd2e62d4dd0786_60601019.png change filename to text .imagette215805571742570100/ imagette215805571742570100/1742569793_923980_1346054257_4556f75f7e730a582f7ea20b46382d34_rle_crop_3722277592_0.png.png imagette215805571742570100/1742569827_1071723_1346052776_f0bf73f46108087aca1a2e95c1edbed3_rle_crop_3722274198_0.png.png imagette215805571742570100/1742569793_923980_1346054257_4556f75f7e730a582f7ea20b46382d34_rle_crop_3722277593_0.png.png imagette215805571742570100/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280168_0.png.png imagette215805571742570100/1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722277599_0.png.png imagette215805571742570100/1742569793_923980_1346054235_18c5bb7ab79e10a96ef5549207469871_rle_crop_3722278169_0.png.png imagette215805571742570100/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280160_0.png.png imagette215805571742570100/1742569793_923980_1346054282_7fc1e88b3547384007d21fb28b0e57b5_rle_crop_3722277319_0.png.png imagette215805571742570100/1742569827_1071723_1346052725_39664e2f8e8ddcaaee9043e06531e2de_rle_crop_3722274236_0.png.png imagette215805571742570100/1742569827_1071723_1346052757_2e73b9cc970245becc573833f9d41315_rle_crop_3722274221_0.png.png imagette215805571742570100/1742569833_924713_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274107_0.png.png imagette215805571742570100/1742569833_924713_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274090_0.png.png imagette215805571742570100/1742569793_923980_1346054235_18c5bb7ab79e10a96ef5549207469871_rle_crop_3722278161_0.png.png imagette215805571742570100/1742569793_923980_1346054311_c58f15779c7349fc76315b2889fd0929_rle_crop_3722276798_0.png.png imagette215805571742570100/1742569793_923980_1346054237_442e398ad6397b71a5140eb777d8083b_rle_crop_3722277885_0.png.png imagette215805571742570100/1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274173_0.png.png imagette215805571742570100/1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_bib_crop_3722274188_0.jpg.jpg imagette215805571742570100/1742569833_924713_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274106_0.png.png imagette215805571742570100/1742569833_924713_1346053070_a722501c819a6a1f22cc69f5ab04add9_rle_crop_3722281204_0.png.png imagette215805571742570100/1742569793_923980_1346054237_442e398ad6397b71a5140eb777d8083b_rle_crop_3722277887_0.png.png imagette215805581742570102/ imagette215805631742570102/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c26613f27f848ab9a9f1887237a6c1e5_53505707.png imagette215805571742570100 21580558 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=21580558 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215805581742570102 21580563 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=21580563 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215805631742570102 21580564 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=21580564 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346053617: '1742569587_1389636_1346051732_10d61fa93ef1f68d899409fea67f628c_rle_crop_3722270239_0.png', 1346055926: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280159_0.png', 1346056824: '1742569962_1393963_1346055012_485c5ebb6df713aef0a90ae7fee13f86_rle_crop_3722282882_0.png', 1346056827: '1742569962_1393963_1346054984_2e4452499556a41ba3f601332f907d01_rle_crop_3722282899_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f64bae94041637168fdf9f2639578cd9_64162496.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/918647a06298d7d2c4ab633ae3f5f7fa_54362904.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/56801bd8dcc3589b0880653635228040_83999351.png change filename to text .imagette215805641742570102/ imagette215805641742570102/1742569587_1389636_1346051732_10d61fa93ef1f68d899409fea67f628c_rle_crop_3722270239_0.png.png imagette215805641742570102/1742569962_1393963_1346055012_485c5ebb6df713aef0a90ae7fee13f86_rle_crop_3722282882_0.png.png imagette215805641742570102/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280159_0.png.png imagette215805641742570102/1742569962_1393963_1346054984_2e4452499556a41ba3f601332f907d01_rle_crop_3722282899_0.png.png imagette215805651742570102/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8f103efaf477b3293ebce0929e09d546_42539012.png imagette215805641742570102 21580565 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=21580565 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215805651742570102 21580566 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=21580566 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346053614: '1742569587_1389636_1346051732_10d61fa93ef1f68d899409fea67f628c_rle_crop_3722270233_0.png', 1346053615: '1742569587_1389636_1346051673_def9559cb75ce113f3d2c56840a82cfb_rle_crop_3722270281_0.png', 1346055191: '1742569712_922807_1346053070_a722501c819a6a1f22cc69f5ab04add9_rle_crop_3722274117_0.png', 1346055192: '1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274151_0.png', 1346055832: '1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_bib_crop_3722274184_0.jpg', 1346055833: '1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722277598_0.png', 1346055835: '1742569827_1071723_1346052776_f0bf73f46108087aca1a2e95c1edbed3_rle_crop_3722274195_0.png', 1346055836: '1742569827_1071723_1346052757_2e73b9cc970245becc573833f9d41315_rle_crop_3722274207_0.png', 1346055918: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280161_0.png', 1346055919: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280165_0.png', 1346055920: '1742569833_924713_1346053070_a722501c819a6a1f22cc69f5ab04add9_rle_crop_3722274117_0.png', 1346055921: '1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274151_0.png', 1346056418: '1742569933_926266_1346055469_151ecfee3182b347034965edca98b576_rle_crop_3722282039_0.png', 1346056419: '1742569933_926266_1346055454_742683e13c95d4e10a265c5dc751c075_rle_crop_3722282052_0.png', 1346056807: '1742569962_1393963_1346054984_2e4452499556a41ba3f601332f907d01_rle_crop_3722282898_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9edabb628125386fa108219fa5936830_52996193.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f6b6d0cf77011c60439ec37b7fa37cc8_87992754.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a75a455bdeafdde469d9762cec94bd5c_65036403.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/da110a5f23e5f0c502c57b869d1a464f_31492442.png change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/277c110fa83d1e3f7649924d163a5685_57962512.jpg change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f88407eb01194f1b781bfae01a68a62b_59345086.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/116b615716429127408b6f2c8445c9db_62271699.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ff0c290a47b8769f37a2a532ffb80968_90734183.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6cb067082d5664b0c2e4d519548884b0_70761461.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/613d0bb0cd6b3bde7ba812365467f7c1_49316044.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a75a455bdeafdde469d9762cec94bd5c_32043446.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/da110a5f23e5f0c502c57b869d1a464f_25852496.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ac19a5e8071a7b01462b30ca4838a6ae_36885374.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d536a20224ba12da7495eb3d11fc3cb7_97282408.png change filename to text .imagette215805661742570102/ imagette215805661742570102/1742569827_1071723_1346052776_f0bf73f46108087aca1a2e95c1edbed3_rle_crop_3722274195_0.png.png imagette215805661742570102/1742569933_926266_1346055454_742683e13c95d4e10a265c5dc751c075_rle_crop_3722282052_0.png.png imagette215805661742570102/1742569833_924713_1346053070_a722501c819a6a1f22cc69f5ab04add9_rle_crop_3722274117_0.png.png imagette215805661742570102/1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_bib_crop_3722274184_0.jpg.jpg imagette215805661742570102/1742569933_926266_1346055469_151ecfee3182b347034965edca98b576_rle_crop_3722282039_0.png.png imagette215805661742570102/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280161_0.png.png imagette215805661742570102/1742569587_1389636_1346051732_10d61fa93ef1f68d899409fea67f628c_rle_crop_3722270233_0.png.png imagette215805661742570102/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280165_0.png.png imagette215805661742570102/1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274151_0.png.png imagette215805661742570102/1742569587_1389636_1346051673_def9559cb75ce113f3d2c56840a82cfb_rle_crop_3722270281_0.png.png imagette215805661742570102/1742569827_1071723_1346052757_2e73b9cc970245becc573833f9d41315_rle_crop_3722274207_0.png.png imagette215805661742570102/1742569712_922807_1346053070_a722501c819a6a1f22cc69f5ab04add9_rle_crop_3722274117_0.png.png imagette215805661742570102/1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722277598_0.png.png imagette215805661742570102/1742569962_1393963_1346054984_2e4452499556a41ba3f601332f907d01_rle_crop_3722282898_0.png.png imagette215805661742570102/1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274151_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/035ad9ce5785549aea388ef0ce36b732_90797354.png imagette215805661742570102 21580556 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=21580556 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346053916: '1742569591_920747_1346051211_9fe17367b058cea46bc46e426e140e74_rle_crop_3722271326_0.png', 1346055174: '1742569712_922807_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274082_0.png', 1346055175: '1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274147_0.png', 1346055780: '1742569814_924314_1346053827_4c87a6ee3faf879adb4f1719c43a9983_rle_crop_3722277299_0.png', 1346055781: '1742569814_924314_1346053827_4c87a6ee3faf879adb4f1719c43a9983_rle_crop_3722277294_0.png', 1346055820: '1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274167_0.png', 1346055828: '1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722274185_0.png', 1346055829: '1742569827_1071723_1346052725_39664e2f8e8ddcaaee9043e06531e2de_rle_crop_3722274239_0.png', 1346055912: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280171_0.png', 1346055913: '1742569833_924713_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274082_0.png', 1346055914: '1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274147_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0b1e20db36015cebbf18037165ab7aa8_89031034.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a0b8f2b58108525eeb732dbd97d24cb4_91459906.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8b39addc12ca31ec42aded6553c0f118_8646582.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/db67b60784835d169c31f7b6edc8b336_61103315.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b636bac7d831b08eeeeca65bb092e00f_76497453.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/cb833bf107b9d763c02b34250f3bac71_86048432.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/67b4b8401496fe0c8c8af573815dddae_37772332.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/502296ccccf1ec9675065a6e4c78b6a4_81906585.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c24180c61f5db657b6d3a22c00fe8260_51036912.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a0b8f2b58108525eeb732dbd97d24cb4_46242480.png change filename to text .imagette215805561742570103/ imagette215805561742570103/1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722274185_0.png.png imagette215805561742570103/1742569591_920747_1346051211_9fe17367b058cea46bc46e426e140e74_rle_crop_3722271326_0.png.png imagette215805561742570103/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280171_0.png.png imagette215805561742570103/1742569833_924713_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274082_0.png.png imagette215805561742570103/1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274147_0.png.png imagette215805561742570103/1742569712_922807_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274082_0.png.png imagette215805561742570103/1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274147_0.png.png imagette215805561742570103/1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274167_0.png.png imagette215805561742570103/1742569814_924314_1346053827_4c87a6ee3faf879adb4f1719c43a9983_rle_crop_3722277299_0.png.png imagette215805561742570103/1742569814_924314_1346053827_4c87a6ee3faf879adb4f1719c43a9983_rle_crop_3722277294_0.png.png imagette215805561742570103/1742569827_1071723_1346052725_39664e2f8e8ddcaaee9043e06531e2de_rle_crop_3722274239_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8b39addc12ca31ec42aded6553c0f118_20500849.png imagette215805561742570103 21580559 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=21580559 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346052441: '1742569467_1385620_1346050707_c9dd81c9f489a3555a9546b3597917a3_rle_crop_3722266671_0.png', 1346055205: '1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274150_0.png', 1346055206: '1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274155_0.png', 1346055809: '1742569793_923980_1346054282_7fc1e88b3547384007d21fb28b0e57b5_rle_crop_3722277318_0.png', 1346055841: '1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274170_0.png', 1346055922: '1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274150_0.png', 1346055923: '1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274155_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/38a3e15fafafe00de276b7c276801404_43673586.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c78cc68e0dff38341b38098f84cbe9e5_5517512.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/95cbc1cc2b8bd36caa5df7e6041c26ba_93108169.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f4cce9a37209a3f8ceb57460e24661d6_1314158.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2622ed2cb9e71cee79a71cb6d8472a3b_63916310.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c78cc68e0dff38341b38098f84cbe9e5_34303248.png change filename to text .imagette215805591742570103/ imagette215805591742570103/1742569793_923980_1346054282_7fc1e88b3547384007d21fb28b0e57b5_rle_crop_3722277318_0.png.png imagette215805591742570103/1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274150_0.png.png imagette215805591742570103/1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274155_0.png.png imagette215805591742570103/1742569467_1385620_1346050707_c9dd81c9f489a3555a9546b3597917a3_rle_crop_3722266671_0.png.png imagette215805591742570103/1742569712_922807_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274150_0.png.png imagette215805591742570103/1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274170_0.png.png imagette215805591742570103/1742569833_924713_1346053036_0f177dd035a324bdd422c2d8443e9a76_rle_crop_3722274155_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/95cbc1cc2b8bd36caa5df7e6041c26ba_44641939.png imagette215805591742570103 21580560 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=21580560 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346055794: '1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274175_0.png', 1346056778: '1742569962_1393963_1346054984_2e4452499556a41ba3f601332f907d01_rle_crop_3722282900_0.png', 1346056776: '1742569962_1393963_1346055012_485c5ebb6df713aef0a90ae7fee13f86_rle_crop_3722282883_0.png', 1346056392: '1742569933_926266_1346055454_742683e13c95d4e10a265c5dc751c075_rle_crop_3722282053_0.png', 1346055896: '1742569833_924713_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274100_0.png', 1346055894: '1742569833_924713_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274092_0.png', 1346055893: '1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280170_0.png', 1346055799: '1742569827_1071723_1346052757_2e73b9cc970245becc573833f9d41315_bib_crop_3722274218_0.jpg', 1346055798: '1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722274183_0.png', 1346055796: '1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274172_0.png', 1346053577: '1742569587_1389636_1346051774_c9a6a7f0ca2aba8078ed2d6168c2a02e_rle_crop_3722270214_0.png', 1346055793: '1742569793_923980_1346054237_442e398ad6397b71a5140eb777d8083b_rle_crop_3722277886_0.png', 1346055792: '1742569793_923980_1346054257_4556f75f7e730a582f7ea20b46382d34_rle_crop_3722277584_0.png', 1346055791: '1742569793_923980_1346054311_c58f15779c7349fc76315b2889fd0929_rle_crop_3722276802_0.png', 1346055119: '1742569712_922807_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274100_0.png', 1346055118: '1742569712_922807_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274092_0.png', 1346053872: '1742569591_920747_1346051831_8c697404c9ea2578e616a9fd4154f58b_rle_crop_3722271105_0.png', 1346053581: '1742569587_1389636_1346051673_def9559cb75ce113f3d2c56840a82cfb_rle_crop_3722270287_0.png', 1346053579: '1742569587_1389636_1346051732_10d61fa93ef1f68d899409fea67f628c_rle_crop_3722270247_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e4d4395bb0597b2dfd8a79bdaddd21f4_21376113.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f438500cdb815bad55321b5c8385c451_75042290.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/972fa3282b72a60cb636848f405cd794_48967368.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ec9b059d54dffe4ec808a0b255b8cb0b_3421447.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/de01736ce0d849b84ba4f301f83b0e09_51127312.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4717cc6ac248b68733b5877c27c413ee_72072730.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/331a2297b53a56cdf4cc59708ec57aaa_85098519.png change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a642b640b38f2fd5fba4ab853166f7e1_44369451.jpg change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/aff932870877742e654d9565bc529156_75860723.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7452a6211c01ae8a0cb383fcb9cbc928_43327195.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3e5644108d82a9835a245f715f384a83_24287204.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5788de1b407c006bd301fa848b722d4d_96511967.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9c67b47c4c9663e2a792641ee548a5d9_82054824.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/dd305646758259a27e6b749174840072_8447508.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/de01736ce0d849b84ba4f301f83b0e09_53373011.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4717cc6ac248b68733b5877c27c413ee_13270089.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4b9a533c6ed1b6c836a13cfef10397d9_62705137.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0c7546bb8275322f6ab5b8402c188f9b_20971922.png change filename to text .imagette215805601742570104/ imagette215805601742570104/1742569712_922807_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274092_0.png.png imagette215805601742570104/1742569827_1071723_1346052757_2e73b9cc970245becc573833f9d41315_bib_crop_3722274218_0.jpg.jpg imagette215805601742570104/1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274172_0.png.png imagette215805601742570104/1742569833_924713_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274100_0.png.png imagette215805601742570104/1742569587_1389636_1346051774_c9a6a7f0ca2aba8078ed2d6168c2a02e_rle_crop_3722270214_0.png.png imagette215805601742570104/1742569591_920747_1346051831_8c697404c9ea2578e616a9fd4154f58b_rle_crop_3722271105_0.png.png imagette215805601742570104/1742569793_923980_1346054257_4556f75f7e730a582f7ea20b46382d34_rle_crop_3722277584_0.png.png imagette215805601742570104/1742569933_926266_1346055454_742683e13c95d4e10a265c5dc751c075_rle_crop_3722282053_0.png.png imagette215805601742570104/1742569587_1389636_1346051673_def9559cb75ce113f3d2c56840a82cfb_rle_crop_3722270287_0.png.png imagette215805601742570104/1742569827_1071723_1346053345_72c2041405c8c31280374d048c1d93be_rle_crop_3722274175_0.png.png imagette215805601742570104/1742569712_922807_1346053144_58fe7c778969a3f4dc63825969ac0f9b_rle_crop_3722274100_0.png.png imagette215805601742570104/1742569587_1389636_1346051732_10d61fa93ef1f68d899409fea67f628c_rle_crop_3722270247_0.png.png imagette215805601742570104/1742569793_923980_1346054311_c58f15779c7349fc76315b2889fd0929_rle_crop_3722276802_0.png.png imagette215805601742570104/1742569833_924713_1346054018_d575de5c3aaeae8b5e0d5bd560d7f550_rle_crop_3722280170_0.png.png imagette215805601742570104/1742569833_924713_1346053231_d6213bf5a466f235f8b5ee432390d07e_rle_crop_3722274092_0.png.png imagette215805601742570104/1742569962_1393963_1346055012_485c5ebb6df713aef0a90ae7fee13f86_rle_crop_3722282883_0.png.png imagette215805601742570104/1742569793_923980_1346054237_442e398ad6397b71a5140eb777d8083b_rle_crop_3722277886_0.png.png imagette215805601742570104/1742569827_1071723_1346052838_0e58fff0bfb55e156bf5db5bd0af2d88_rle_crop_3722274183_0.png.png imagette215805601742570104/1742569962_1393963_1346054984_2e4452499556a41ba3f601332f907d01_rle_crop_3722282900_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b156d20346efdc0772fb90a12379d061_27989503.png imagette215805601742570104 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21580554 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21580567,21580568,21580569,21580570,21580571,21580572,21580573,21580574,21580575,21580576,21580577,21580578?tags=mal_croppe,Carton_gris,autre_refus,metal,Carton_brun,Teint_Dans_La_Masse,papier,environnement,flou,plastique,kraft,cartonnette your option no_mail is active, we will not send the real mail to your client args[1346056491] : ('0.0753626456131444',) no score found for photo 1346056491 We are sending mail with results at report@fotonower.com args[1346056454] : ('0.0753626456131444',) no score found for photo 1346056454 We are sending mail with results at report@fotonower.com args[1346056404] : ('0.0753626456131444',) no score found for photo 1346056404 We are sending mail with results at report@fotonower.com args[1346056372] : ('0.0753626456131444',) no score found for photo 1346056372 We are sending mail with results at report@fotonower.com args[1346056243] : ('0.0753626456131444',) no score found for photo 1346056243 We are sending mail with results at report@fotonower.com args[1346056215] : ('0.0753626456131444',) no score found for photo 1346056215 We are sending mail with results at report@fotonower.com args[1346056185] : ('0.0753626456131444',) no score found for photo 1346056185 We are sending mail with results at report@fotonower.com args[1346056169] : ('0.0753626456131444',) no score found for photo 1346056169 We are sending mail with results at report@fotonower.com args[1346056144] : ('0.0753626456131444',) no score found for photo 1346056144 We are sending mail with results at report@fotonower.com args[1346055882] : ('0.0753626456131444',) no score found for photo 1346055882 We are sending mail with results at report@fotonower.com args[1346055878] : ('0.0753626456131444',) no score found for photo 1346055878 We are sending mail with results at report@fotonower.com args[1346055866] : ('0.0753626456131444',) no score found for photo 1346055866 We are sending mail with results at report@fotonower.com args[1346055854] : ('0.0753626456131444',) no score found for photo 1346055854 We are sending mail with results at report@fotonower.com args[1346055844] : ('0.0753626456131444',) no score found for photo 1346055844 We are sending mail with results at report@fotonower.com refus_total : 0.0753626456131444 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=21580554 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_P21580554_21-03-2025_16_15_00.pdf results_Auto_P21580554_21-03-2025_16_15_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_15_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','21580554','results_Auto_P21580554_21-03-2025_16_15_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_15_00.pdf','pdf','','0.32','0.0753626456131444') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21580554]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] map_info['map_portfolio_photo'] : {21580554: [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844, 1346055495, 1346055489, 1346055469, 1346055454, 1346055441, 1346055062, 1346055012, 1346054984, 1346054352, 1346054311, 1346054282, 1346054257, 1346054237, 1346054235, 1346054018, 1346053943, 1346053827, 1346053345, 1346053231, 1346053144, 1346053070, 1346053036, 1346052870, 1346052838, 1346052776, 1346052757, 1346052725, 1346051831, 1346051774, 1346051732, 1346051673, 1346051297, 1346051249, 1346051211, 1346050738, 1346050707]} final : False mtd_id 4302 list_pids : [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] 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, '2679520') ('4302', '21580554', '1346056491', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21580554', '1346056491', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520')] time used for this insertion : 0.013731956481933594 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.12738037109375 time spend to save output : 0.014051437377929688 total time spend for step 4 : 6.14143180847168 step5:split_time_score Fri Mar 21 16:15:06 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 : ['21580554'] 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 : [('21580554',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21580554) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1346056454: {'path': 'temp/1742570100_231766_1346056454_7ad15f05162b1c95918627f1c1a7b269.jpg', 'extension': 'jpg'}, 1346056491: {'path': 'temp/1742570100_231766_1346056491_32e29686acf849a7c6335399516d2311.jpg', 'extension': 'jpg'}, 1346055878: {'path': 'temp/1742570100_231766_1346055878_650c6f38165242daf3d79fc1647857a8.jpg', 'extension': 'jpg'}, 1346055882: {'path': 'temp/1742570100_231766_1346055882_1d8972216388040ac020ec8db7f99475.jpg', 'extension': 'jpg'}, 1346056144: {'path': 'temp/1742570100_231766_1346056144_0e2052408c02f7c75840e24cc7b86430.jpg', 'extension': 'jpg'}, 1346055844: {'path': 'temp/1742570100_231766_1346055844_0a89bd8ea42273f6b6cb9b716478f300.jpg', 'extension': 'jpg'}, 1346055854: {'path': 'temp/1742570100_231766_1346055854_08bf6a60381a01abb06000805b12b26b.jpg', 'extension': 'jpg'}, 1346055866: {'path': 'temp/1742570100_231766_1346055866_5bef115fb535600018e746cf901d673c.jpg', 'extension': 'jpg'}, 1346056243: {'path': 'temp/1742570100_231766_1346056243_d875253d1e75bb1ec4579844f66e8119.jpg', 'extension': 'jpg'}, 1346056372: {'path': 'temp/1742570100_231766_1346056372_747bb20037d59a2addebe96c21dd891d.jpg', 'extension': 'jpg'}, 1346056404: {'path': 'temp/1742570100_231766_1346056404_885e9adb3123c2e05b1ebb5bdce09aad.jpg', 'extension': 'jpg'}, 1346056169: {'path': 'temp/1742570100_231766_1346056169_dc745f2e12783a744d97b0d3c7ae8530.jpg', 'extension': 'jpg'}, 1346056185: {'path': 'temp/1742570100_231766_1346056185_9d083566b10442f02bb9b6c367861d2a.jpg', 'extension': 'jpg'}, 1346056215: {'path': 'temp/1742570100_231766_1346056215_5833e9ae627706c8ff6a21995f522664.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 = 21580554; (('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 = 21580554 group by h (('16', 50),) 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=21580554 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 (21580554) 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 (21580554) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21032025 21580554 Nombre de photos uploadées : 50 / 23040 (0%) 21032025 21580554 Nombre de photos taguées (types de déchets): 0 / 50 (0%) 21032025 21580554 Nombre de photos taguées (volume) : 0 / 50 (0%) [{'photo_id': 1346050738, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8ec8f9eec29048c55bf484b0201f47a9.jpg', 'username': None, 'uploaded_at': 1742569342, 'text': 'image_21032025_16_00_13_010194m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346050707, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c9dd81c9f489a3555a9546b3597917a3.jpg', 'username': None, 'uploaded_at': 1742569342, 'text': 'image_21032025_16_00_24_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346051297, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bf8fc1fdf388e5df778787afe39a0647.jpg', 'username': None, 'uploaded_at': 1742569412, 'text': 'image_21032025_16_00_34_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346051249, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6d5c7fcebca5c31dedadfb6f4cb62e21.jpg', 'username': None, 'uploaded_at': 1742569412, 'text': 'image_21032025_16_01_13_009125m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ?????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018219947814941406 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21580554, '2025-03-21' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1678259,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022446155548095703 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= 1678259 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686362, 'mtr_portfolio_id': 21577786, 'dashboard_result_id': 9535519, '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_P21577786_21-03-2025_15_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21577863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577865, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686362, 'mtr_portfolio_id': 21578773, 'dashboard_result_id': 9535520, '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_P21578773_21-03-2025_15_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21578840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21578841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21578842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21578843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21578844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21578845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21578846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21578847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21578848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21578849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21578850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21578851, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686362, 'mtr_portfolio_id': 21579460, 'dashboard_result_id': 9535521, '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_P21579460_21-03-2025_15_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21579485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21579486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21579487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21579488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21579489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21579490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21579491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21579492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21579493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21579494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21579495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21579496, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686362, 'mtr_portfolio_id': 21580554, 'dashboard_result_id': 9535522, '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_P21580554_21-03-2025_16_12_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21580555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21580556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21580557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21580558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21580559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21580560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21580561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21580562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21580563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21580564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21580565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21580566, '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 = 21577786 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': 2679326, 'mtr_portfolio_id': 21577786, 'created_at': datetime.datetime(2025, 3, 21, 15, 34), 'result': '0.07131784779465286', 'result_long': None, 'result_double': None}] Qualite : 0.07131784779465286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21577786 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577786_21-03-2025_15_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21577786 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_P21577786_21-03-2025_15_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21577863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577865, 'pht': 3726}}" where mtr_portfolio_id = 21577786 and dashboard_run_id = 1686362 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`=21577786 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9535519, 0.07131784779465286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577786_21-03-2025_15_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21577863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577865, '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 = 21578773 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': 2679392, 'mtr_portfolio_id': 21578773, 'created_at': datetime.datetime(2025, 3, 21, 15, 49, 32), 'result': '0.08772307555830389', 'result_long': None, 'result_double': None}] Qualite : 0.08772307555830389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21578773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21578773_21-03-2025_15_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21578773 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_P21578773_21-03-2025_15_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21578840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21578841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21578842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21578843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21578844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21578845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21578846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21578847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21578848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21578849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21578850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21578851, 'pht': 3726}}" where mtr_portfolio_id = 21578773 and dashboard_run_id = 1686362 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`=21578773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9535520, 0.08772307555830389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21578773_21-03-2025_15_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21578840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21578841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21578842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21578843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21578844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21578845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21578846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21578847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21578848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21578849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21578850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21578851, '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 = 21579460 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': 2679432, 'mtr_portfolio_id': 21579460, 'created_at': datetime.datetime(2025, 3, 21, 15, 57, 1), 'result': '0.0607217683880556', 'result_long': None, 'result_double': None}] Qualite : 0.0607217683880556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21579460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21579460 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_P21579460_21-03-2025_15_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21579485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21579486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21579487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21579488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21579489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21579490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21579491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21579492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21579493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21579494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21579495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21579496, 'pht': 3726}}" where mtr_portfolio_id = 21579460 and dashboard_run_id = 1686362 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`=21579460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9535521, 0.0607217683880556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21579485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21579486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21579487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21579488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21579489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21579490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21579491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21579492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21579493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21579494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21579495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21579496, '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 = 21580554 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': 2679520, 'mtr_portfolio_id': 21580554, 'created_at': datetime.datetime(2025, 3, 21, 16, 15), 'result': '0.0753626456131444', 'result_long': None, 'result_double': None}] Qualite : 0.0753626456131444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21580554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_15_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21580554 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_P21580554_21-03-2025_16_15_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21580555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21580556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21580557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21580558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21580559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21580560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21580561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21580562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21580563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21580564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21580565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21580566, 'pht': 3726}}" where mtr_portfolio_id = 21580554 and dashboard_run_id = 1686362 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`=21580554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9535522, 0.0753626456131444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_15_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21580555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21580556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21580557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21580558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21580559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21580560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21580561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21580562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21580563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21580564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21580565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21580566, '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 (21577786,21578773,21579460,21580554) result : ((1346024717,), (1346024769,), (1346025167,), (1346025169,), (1346025190,), (1346025192,), (1346025203,), (1346025206,), (1346025214,), (1346025219,), (1346025225,), (1346025228,), (1346025235,), (1346025250,), (1346025354,), (1346025416,), (1346025486,), (1346025560,), (1346025636,), (1346026866,), (1346026906,), (1346026943,), (1346026997,), (1346027908,), (1346028029,), (1346028088,), (1346028386,), (1346028410,), (1346028456,), (1346028512,), (1346029003,), (1346029027,), (1346029037,), (1346029063,), (1346029218,), (1346029258,), (1346029292,), (1346029327,), (1346030284,), (1346032110,), (1346032133,), (1346032832,), (1346032856,), (1346032874,), (1346032920,), (1346033302,), (1346033327,), (1346033709,), (1346033603,), (1346033633,), (1346033657,), (1346033697,), (1346033790,), (1346033795,), (1346033818,), (1346033842,), (1346034534,), (1346034565,), (1346034588,), (1346034745,), (1346034774,), (1346034794,), (1346034817,), (1346035212,), (1346035260,), (1346035312,), (1346035361,), (1346035390,), (1346035539,), (1346035609,), (1346035669,), (1346035734,), (1346035740,), (1346035997,), (1346036030,), (1346036059,), (1346036082,), (1346036097,), (1346036690,), (1346036694,), (1346036703,), (1346036727,), (1346037588,), (1346038440,), (1346038535,), (1346038848,), (1346038978,), (1346039122,), (1346039495,), (1346039551,), (1346039618,), (1346039673,), (1346039756,), (1346040667,), (1346040721,), (1346040774,), (1346040835,), (1346040949,), (1346041049,), (1346042566,), (1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,), (1346046819,), (1346046822,), (1346046825,), (1346046831,), (1346047139,), (1346047158,), (1346047190,), (1346047219,), (1346047456,), (1346047511,), (1346047551,), (1346047600,), (1346047643,), (1346048260,), (1346048266,), (1346048306,), (1346048308,), (1346048345,), (1346048347,), (1346048371,), (1346048374,), (1346049708,), (1346049790,), (1346049871,), (1346049967,), (1346050764,), (1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21032025': {'nb_upload': 50, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21580554]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] map_info['map_portfolio_photo'] : {21580554: [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844, 1346055495, 1346055489, 1346055469, 1346055454, 1346055441, 1346055062, 1346055012, 1346054984, 1346054352, 1346054311, 1346054282, 1346054257, 1346054237, 1346054235, 1346054018, 1346053943, 1346053827, 1346053345, 1346053231, 1346053144, 1346053070, 1346053036, 1346052870, 1346052838, 1346052776, 1346052757, 1346052725, 1346051831, 1346051774, 1346051732, 1346051673, 1346051297, 1346051249, 1346051211, 1346050738, 1346050707]} final : True mtd_id 4302 list_pids : [1346056491, 1346056454, 1346056404, 1346056372, 1346056243, 1346056215, 1346056185, 1346056169, 1346056144, 1346055882, 1346055878, 1346055866, 1346055854, 1346055844] Looping around the photos to save general results len do output : 1 /21580554Didn'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, '2679520') ('4302', '21580554', '1346056491', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520') ('4302', None, None, None, None, None, None, None, '2679520') ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21580554', 'None', None, None, None, None, '2679520'), ('4302', '21580554', '1346056491', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056454', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056404', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056372', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056243', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056215', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056185', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056169', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346056144', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055882', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055878', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055866', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055854', None, None, None, None, None, '2679520'), ('4302', '21580554', '1346055844', None, None, None, None, None, '2679520')] time used for this insertion : 0.014863967895507812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3380906581878662 time spend to save output : 0.015101432800292969 total time spend for step 5 : 0.3531920909881592 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 (2679520) 2.39user 2.73system 0:12.96elapsed 39%CPU (0avgtext+0avgdata 161236maxresident)k 15648inputs+19016outputs (166major+75115minor)pagefaults 0swaps