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 : 3881171 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 (2654944) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2654944) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229599 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2654944'] with mtr_portfolio_ids : ['21229599'] and first list_photo_ids : [] new path : /proc/3881171/ Name: python3 Umask: 0002 State: R (running) Tgid: 3881171 Ngid: 0 Pid: 3881171 PPid: 3881170 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3881171 NSpid: 3881171 NSpgid: 3873825 NSsid: 3873825 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98936 kB VmRSS: 98936 kB RssAnon: 59764 kB RssFile: 39172 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 67 nonvoluntary_ctxt_switches: 285 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3881171', 'Ngid': '0', 'Pid': '3881171', 'PPid': '3881170', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3881171', 'NSpid': '3881171', 'NSpgid': '3873825', 'NSsid': '3873825', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98936 kB', 'VmRSS': '98936 kB', 'RssAnon': '59764 kB', 'RssFile': '39172 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '67', 'nonvoluntary_ctxt_switches': '285'} ('datou_batch_current', '3881171', '1106848', '0', '1106848', '865596', '98936', b'', 'marlene', '2654944') 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 (21229599) 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 (2654944 ) ) 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 (21229599) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1342585434, 'portfolio_id': 21229599}, {'photo_id': 1342585397, 'portfolio_id': 21229599}, {'photo_id': 1342585371, 'portfolio_id': 21229599}, {'photo_id': 1342585335, 'portfolio_id': 21229599}, {'photo_id': 1342585307, 'portfolio_id': 21229599}, {'photo_id': 1342585166, 'portfolio_id': 21229599}, {'photo_id': 1342585144, 'portfolio_id': 21229599}, {'photo_id': 1342585122, 'portfolio_id': 21229599}, {'photo_id': 1342585096, 'portfolio_id': 21229599}, {'photo_id': 1342585065, 'portfolio_id': 21229599}, {'photo_id': 1342585024, 'portfolio_id': 21229599}, {'photo_id': 1342584911, 'portfolio_id': 21229599}, {'photo_id': 1342584893, 'portfolio_id': 21229599}, {'photo_id': 1342584860, 'portfolio_id': 21229599}, {'photo_id': 1342584830, 'portfolio_id': 21229599}, {'photo_id': 1342584559, 'portfolio_id': 21229599}, {'photo_id': 1342584503, 'portfolio_id': 21229599}, {'photo_id': 1342584455, 'portfolio_id': 21229599}, {'photo_id': 1342584409, 'portfolio_id': 21229599}, {'photo_id': 1342584370, 'portfolio_id': 21229599}, {'photo_id': 1342584349, 'portfolio_id': 21229599}, {'photo_id': 1342584072, 'portfolio_id': 21229599}, {'photo_id': 1342584044, 'portfolio_id': 21229599}, {'photo_id': 1342584026, 'portfolio_id': 21229599}, {'photo_id': 1342583948, 'portfolio_id': 21229599}, {'photo_id': 1342583914, 'portfolio_id': 21229599}, {'photo_id': 1342583881, 'portfolio_id': 21229599}, {'photo_id': 1342583848, 'portfolio_id': 21229599}, {'photo_id': 1342583812, 'portfolio_id': 21229599}, {'photo_id': 1342583757, 'portfolio_id': 21229599}, {'photo_id': 1342583697, 'portfolio_id': 21229599}, {'photo_id': 1342583638, 'portfolio_id': 21229599}, {'photo_id': 1342583626, 'portfolio_id': 21229599}, {'photo_id': 1342583601, 'portfolio_id': 21229599}, {'photo_id': 1342583588, 'portfolio_id': 21229599}, {'photo_id': 1342583305, 'portfolio_id': 21229599}, {'photo_id': 1342583291, 'portfolio_id': 21229599}, {'photo_id': 1342583279, 'portfolio_id': 21229599}, {'photo_id': 1342583259, 'portfolio_id': 21229599}, {'photo_id': 1342582925, 'portfolio_id': 21229599}, {'photo_id': 1342582870, 'portfolio_id': 21229599}, {'photo_id': 1342582786, 'portfolio_id': 21229599}, {'photo_id': 1342582527, 'portfolio_id': 21229599}, {'photo_id': 1342582483, 'portfolio_id': 21229599}, {'photo_id': 1342582404, 'portfolio_id': 21229599}, {'photo_id': 1342582345, 'portfolio_id': 21229599}, {'photo_id': 1342582259, 'portfolio_id': 21229599}, {'photo_id': 1342581994, 'portfolio_id': 21229599}, {'photo_id': 1342581952, 'portfolio_id': 21229599}, {'photo_id': 1342581898, 'portfolio_id': 21229599}, {'photo_id': 1342581801, 'portfolio_id': 21229599}, {'photo_id': 1342581764, 'portfolio_id': 21229599}, {'photo_id': 1342581750, 'portfolio_id': 21229599}, {'photo_id': 1342581739, 'portfolio_id': 21229599}, {'photo_id': 1342581455, 'portfolio_id': 21229599}, {'photo_id': 1342581431, 'portfolio_id': 21229599}, {'photo_id': 1342581388, 'portfolio_id': 21229599}, {'photo_id': 1342581277, 'portfolio_id': 21229599}, {'photo_id': 1342581272, 'portfolio_id': 21229599}, {'photo_id': 1342581268, 'portfolio_id': 21229599}, {'photo_id': 1342581263, 'portfolio_id': 21229599}, {'photo_id': 1342581256, 'portfolio_id': 21229599}, {'photo_id': 1342581251, 'portfolio_id': 21229599}, {'photo_id': 1342581094, 'portfolio_id': 21229599}, {'photo_id': 1342581057, 'portfolio_id': 21229599}, {'photo_id': 1342580991, 'portfolio_id': 21229599}, {'photo_id': 1342580987, 'portfolio_id': 21229599}, {'photo_id': 1342580983, 'portfolio_id': 21229599}] map_portfolio_id_photo_id: {21229599: [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349, 1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259, 1342582925, 1342582870, 1342582786, 1342582527, 1342582483, 1342582404, 1342582345, 1342582259, 1342581994, 1342581952, 1342581898, 1342581801, 1342581764, 1342581750, 1342581739, 1342581455, 1342581431, 1342581388, 1342581277, 1342581272, 1342581268, 1342581263, 1342581256, 1342581251, 1342581094, 1342581057, 1342580991, 1342580987, 1342580983]} ##### 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.018032550811767578 #### 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 Mon Mar 10 17:30:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21229599) 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 : 21229599 get user id for portfolio 21229599 get sub ptf for main ptf 21229599, type 3726 and hashtags ['plastique', 'cartonnette', 'Carton_brun', 'flou', 'Carton_gris', 'autre_refus', 'environnement', 'Teint_Dans_La_Masse', 'papier', 'metal', 'mal_croppe', 'kraft'] 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`=21229599 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_brun','flou','Carton_gris','autre_refus','environnement','Teint_Dans_La_Masse','papier','metal','mal_croppe','kraft')) 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`=21229599 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_brun','flou','Carton_gris','autre_refus','environnement','Teint_Dans_La_Masse','papier','metal','mal_croppe','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21229599, 'sub_port_id': 21229624, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820054, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'kraft': {'main_port_id': 21229599, 'sub_port_id': 21229625, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820055, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'plastique': {'main_port_id': 21229599, 'sub_port_id': 21229626, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820056, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'autre_refus': {'main_port_id': 21229599, 'sub_port_id': 21229627, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820057, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'cartonnette': {'main_port_id': 21229599, 'sub_port_id': 21229628, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820058, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'mal_croppe': {'main_port_id': 21229599, 'sub_port_id': 21229629, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820059, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'Carton_brun': {'main_port_id': 21229599, 'sub_port_id': 21229630, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820060, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'flou': {'main_port_id': 21229599, 'sub_port_id': 21229631, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820061, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'papier': {'main_port_id': 21229599, 'sub_port_id': 21229632, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820062, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'Carton_gris': {'main_port_id': 21229599, 'sub_port_id': 21229633, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820063, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'environnement': {'main_port_id': 21229599, 'sub_port_id': 21229634, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820064, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}, 'metal': {'main_port_id': 21229599, 'sub_port_id': 21229635, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820065, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 1)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21229624 , 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=21229599 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 (21229624) result : ((1342581775,), (1342581776,), (1342581778,), (1342583487,), (1342583536,), (1342583541,), (1342583550,), (1342583559,), (1342583569,), (1342583577,), (1342583612,), (1342583676,), (1342583678,), (1342584059,), (1342585317,), (1342585318,), (1342585495,), (1342585497,), (1342585499,), (1342585501,), (1342585608,), (1342585657,), (1342585661,), (1342585662,), (1342585664,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229625 , 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=21229599 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 (21229625) result : ((1342583534,), (1342583623,), (1342583624,), (1342584074,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229626 , 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=21229599 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 (21229626) result : ((1342583527,), (1342583528,), (1342583529,), (1342583530,), (1342583610,), (1342583614,), (1342585374,), (1342585375,), (1342585429,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229627 , 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=21229599 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 (21229627) result : ((1342581897,), (1342581900,), (1342581902,), (1342583488,), (1342583489,), (1342583492,), (1342583493,), (1342583494,), (1342583495,), (1342583496,), (1342583582,), (1342583583,), (1342583585,), (1342583586,), (1342583587,), (1342583590,), (1342583591,), (1342583620,), (1342583694,), (1342583695,), (1342583700,), (1342583701,), (1342583702,), (1342583991,), (1342583992,), (1342584066,), (1342584067,), (1342584068,), (1342584069,), (1342585331,), (1342585332,), (1342585333,), (1342585334,), (1342585337,), (1342585413,), (1342585414,), (1342585415,), (1342585416,), (1342585418,), (1342585516,), (1342585522,), (1342585524,), (1342585629,), (1342585689,), (1342585691,), (1342585694,), (1342585697,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229628 , 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=21229599 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 (21229628) result : ((1342583520,), (1342583718,), (1342583719,), (1342585346,), (1342585347,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229629 , 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=21229599 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 (21229629) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229630 , 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=21229599 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 (21229630) result : ((1342581948,), (1342583523,), (1342583596,), (1342583597,), (1342583598,), (1342583725,), (1342583726,), (1342583727,), (1342583996,), (1342585360,), (1342585361,), (1342585362,), (1342585363,), (1342585364,), (1342585365,), (1342585552,), (1342585554,), (1342585556,), (1342585653,), (1342585759,), (1342585765,), (1342585766,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229631 , 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=21229599 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 (21229631) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229632 , 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=21229599 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 (21229632) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229633 , 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=21229599 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 (21229633) result : ((1342581936,), (1342583509,), (1342583510,), (1342583512,), (1342583594,), (1342583708,), (1342583709,), (1342583710,), (1342583711,), (1342583712,), (1342583713,), (1342583714,), (1342583715,), (1342583716,), (1342583717,), (1342585539,), (1342585726,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229634 , 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=21229599 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 (21229634) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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 21229635 , 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=21229599 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 (21229635) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21229599) result : ((1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) 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`=21229599 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_brun','flou','Carton_gris','autre_refus','environnement','Teint_Dans_La_Masse','papier','metal','mal_croppe','kraft')) 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`=21229599 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_brun','flou','Carton_gris','autre_refus','environnement','Teint_Dans_La_Masse','papier','metal','mal_croppe','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21229599, 'sub_port_id': 21229636, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820066, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'kraft': {'main_port_id': 21229599, 'sub_port_id': 21229637, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820067, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'plastique': {'main_port_id': 21229599, 'sub_port_id': 21229638, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820068, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'autre_refus': {'main_port_id': 21229599, 'sub_port_id': 21229639, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820069, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'cartonnette': {'main_port_id': 21229599, 'sub_port_id': 21229640, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820070, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'mal_croppe': {'main_port_id': 21229599, 'sub_port_id': 21229641, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820071, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'Carton_brun': {'main_port_id': 21229599, 'sub_port_id': 21229642, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820072, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'flou': {'main_port_id': 21229599, 'sub_port_id': 21229643, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820073, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'papier': {'main_port_id': 21229599, 'sub_port_id': 21229644, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820074, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'Carton_gris': {'main_port_id': 21229599, 'sub_port_id': 21229645, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820075, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'environnement': {'main_port_id': 21229599, 'sub_port_id': 21229646, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820076, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 19, 6), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}, 'metal': {'main_port_id': 21229599, 'sub_port_id': 21229647, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13820077, 'last_updated_at': datetime.datetime(2025, 3, 10, 17, 27, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 27, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 17, 19, 6)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229636,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229624 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229637,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229625 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229638,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229626 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229639,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229627 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229640,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229628 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229641,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229629 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229642,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229630 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229643,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229631 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229644,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229632 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229645,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229633 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229646,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229634 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21229647,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21229635 lien utilise dans velours : https://www.fotonower.com/velours/21229636,21229637,21229638,21229639,21229640,21229641,21229642,21229643,21229644,21229645,21229646,21229647?tags=Teint_Dans_La_Masse,kraft,plastique,autre_refus,cartonnette,mal_croppe,Carton_brun,flou,papier,Carton_gris,environnement,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21229599]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] map_info['map_portfolio_photo'] : {21229599: [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349, 1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259, 1342582925, 1342582870, 1342582786, 1342582527, 1342582483, 1342582404, 1342582345, 1342582259, 1342581994, 1342581952, 1342581898, 1342581801, 1342581764, 1342581750, 1342581739, 1342581455, 1342581431, 1342581388, 1342581277, 1342581272, 1342581268, 1342581263, 1342581256, 1342581251, 1342581094, 1342581057, 1342580991, 1342580987, 1342580983]} final : False mtd_id 4302 list_pids : [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] Looping around the photos to save general results len do output : 1 /21229599. 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, '2654944') ('4302', '21229599', '1342585434', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '21229599', "{'Teint_Dans_La_Masse': 21229624, 'kraft': 21229625, 'plastique': 21229626, 'autre_refus': 21229627, 'cartonnette': 21229628, 'mal_croppe': 21229629, 'Carton_brun': 21229630, 'flou': 21229631, 'papier': 21229632, 'Carton_gris': 21229633, 'environnement': 21229634, 'metal': 21229635}", None, None, None, None, '2654944'), ('4302', '21229599', '1342585434', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944')] time used for this insertion : 0.01631617546081543 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.68117094039917 time spend to save output : 0.016809940338134766 total time spend for step 1 : 1.6979808807373047 step2:final Mon Mar 10 17:31: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 (21229599) 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 21229599 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1342581094,1342581057,1342580991,1342580987,1342580983,1342581277,1342581272,1342581268,1342581263,1342581256,1342581251,1342581455,1342581431,1342581388,1342581952,1342581898,1342581801,1342581764,1342581750,1342581739,1342582527,1342582483,1342582404,1342582345,1342582259,1342581994,1342582925,1342582870,1342582786,1342583305,1342583291,1342583279,1342583259,1342583697,1342583638,1342583626,1342583601,1342583588,1342583948,1342583914,1342583881,1342583848,1342583757,1342583812,1342584072,1342584044,1342584026,1342584559,1342584503,1342584455,1342584409,1342584370,1342584349,1342584911,1342584893,1342584860,1342584830,1342585166,1342585144,1342585122,1342585096,1342585065,1342585024,1342585434,1342585397,1342585371,1342585335,1342585307); 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([21229599]) Inside saveOutput : final : False verbose : True original output for save of step final : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} new output for save of step final : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] map_info['map_portfolio_photo'] : {21229599: [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349, 1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259, 1342582925, 1342582870, 1342582786, 1342582527, 1342582483, 1342582404, 1342582345, 1342582259, 1342581994, 1342581952, 1342581898, 1342581801, 1342581764, 1342581750, 1342581739, 1342581455, 1342581431, 1342581388, 1342581277, 1342581272, 1342581268, 1342581263, 1342581256, 1342581251, 1342581094, 1342581057, 1342580991, 1342580987, 1342580983]} final : False mtd_id 4302 list_pids : [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] Looping around the photos to save general results len do output : 21 /1342585434.Didn't retrieve data . /1342585397.Didn't retrieve data . /1342585371.Didn't retrieve data . /1342585335.Didn't retrieve data . /1342585307.Didn't retrieve data . /1342585166.Didn't retrieve data . /1342585144.Didn't retrieve data . /1342585122.Didn't retrieve data . /1342585096.Didn't retrieve data . /1342585065.Didn't retrieve data . /1342585024.Didn't retrieve data . /1342584911.Didn't retrieve data . /1342584893.Didn't retrieve data . /1342584860.Didn't retrieve data . /1342584830.Didn't retrieve data . /1342584559.Didn't retrieve data . /1342584503.Didn't retrieve data . /1342584455.Didn't retrieve data . /1342584409.Didn't retrieve data . /1342584370.Didn't retrieve data . /1342584349.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, '2654944') ('4302', '21229599', '1342585434', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 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', '21229599', '1342585434', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585397', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585371', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585335', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585307', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585166', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585144', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585122', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585096', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585065', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342585024', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584911', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584893', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584860', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584830', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584559', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584503', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584455', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584409', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584370', '0.08649160769198813', None, None, None, None, '2654944'), ('4302', '21229599', '1342584349', '0.08649160769198813', None, None, None, None, '2654944')] time used for this insertion : 0.015413522720336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08213567733764648 time spend to save output : 0.01644730567932129 total time spend for step 2 : 0.09858298301696777 step3:velours_tree Mon Mar 10 17:31: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 : {21229599: [{'Teint_Dans_La_Masse': 21229624, 'kraft': 21229625, 'plastique': 21229626, 'autre_refus': 21229627, 'cartonnette': 21229628, 'mal_croppe': 21229629, 'Carton_brun': 21229630, 'flou': 21229631, 'papier': 21229632, 'Carton_gris': 21229633, 'environnement': 21229634, 'metal': 21229635}]} input_args_next_step : {21229599: ()} output_args : {21229599: [{'Teint_Dans_La_Masse': 21229624, 'kraft': 21229625, 'plastique': 21229626, 'autre_refus': 21229627, 'cartonnette': 21229628, 'mal_croppe': 21229629, 'Carton_brun': 21229630, 'flou': 21229631, 'papier': 21229632, 'Carton_gris': 21229633, 'environnement': 21229634, 'metal': 21229635}]} args : 21229599 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 21229624, 'kraft': 21229625, 'plastique': 21229626, 'autre_refus': 21229627, 'cartonnette': 21229628, 'mal_croppe': 21229629, 'Carton_brun': 21229630, 'flou': 21229631, 'papier': 21229632, 'Carton_gris': 21229633, 'environnement': 21229634, 'metal': 21229635},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21229599) 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([21229599]) 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.7613909244537354 time spend to save output : 9.059906005859375e-05 total time spend for step 3 : 0.761481523513794 step4:send_mail_cod Mon Mar 10 17:31:01 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 : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} input_args_next_step : {1342585434: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585434 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585397 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585371 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585335 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585307 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585166 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585144 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585122 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585096 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585065 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342585024 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584911 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584893 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584860 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584830 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584559 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584503 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584455 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584409 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584370 depend.output_id : 0 input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ()} output_args : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',)} args : 1342584349 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 : {21229599: [{'Teint_Dans_La_Masse': 21229624, 'kraft': 21229625, 'plastique': 21229626, 'autre_refus': 21229627, 'cartonnette': 21229628, 'mal_croppe': 21229629, 'Carton_brun': 21229630, 'flou': 21229631, 'papier': 21229632, 'Carton_gris': 21229633, 'environnement': 21229634, 'metal': 21229635}]} input_args_next_step : {1342585434: ('0.08649160769198813',), 1342585397: ('0.08649160769198813',), 1342585371: ('0.08649160769198813',), 1342585335: ('0.08649160769198813',), 1342585307: ('0.08649160769198813',), 1342585166: ('0.08649160769198813',), 1342585144: ('0.08649160769198813',), 1342585122: ('0.08649160769198813',), 1342585096: ('0.08649160769198813',), 1342585065: ('0.08649160769198813',), 1342585024: ('0.08649160769198813',), 1342584911: ('0.08649160769198813',), 1342584893: ('0.08649160769198813',), 1342584860: ('0.08649160769198813',), 1342584830: ('0.08649160769198813',), 1342584559: ('0.08649160769198813',), 1342584503: ('0.08649160769198813',), 1342584455: ('0.08649160769198813',), 1342584409: ('0.08649160769198813',), 1342584370: ('0.08649160769198813',), 1342584349: ('0.08649160769198813',), 21229599: ()} output_args : {21229599: [{'Teint_Dans_La_Masse': 21229624, 'kraft': 21229625, 'plastique': 21229626, 'autre_refus': 21229627, 'cartonnette': 21229628, 'mal_croppe': 21229629, 'Carton_brun': 21229630, 'flou': 21229631, 'papier': 21229632, 'Carton_gris': 21229633, 'environnement': 21229634, 'metal': 21229635}]} args : 21229599 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 :22, first value : ('0.08649160769198813',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21229599) 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 (1342585434,1342585397,1342585371,1342585335,1342585307,1342585166,1342585144,1342585122,1342585096,1342585065,1342585024,1342584911,1342584893,1342584860,1342584830,1342584559,1342584503,1342584455,1342584409,1342584370,1342584349) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1342584349 begin to download photo : 1342584559 begin to download photo : 1342585024 begin to download photo : 1342585166 begin to download photo : 1342585434 download finish for photo 1342585166 begin to download photo : 1342585307 download finish for photo 1342585024 begin to download photo : 1342585065 download finish for photo 1342584349 begin to download photo : 1342584370 download finish for photo 1342585434 download finish for photo 1342584559 begin to download photo : 1342584830 download finish for photo 1342585065 begin to download photo : 1342585096 download finish for photo 1342584370 begin to download photo : 1342584409 download finish for photo 1342585307 begin to download photo : 1342585335 download finish for photo 1342584830 begin to download photo : 1342584860 download finish for photo 1342585096 begin to download photo : 1342585122 download finish for photo 1342584409 begin to download photo : 1342584455 download finish for photo 1342585335 begin to download photo : 1342585371 download finish for photo 1342584860 begin to download photo : 1342584893 download finish for photo 1342584455 begin to download photo : 1342584503 download finish for photo 1342585122 begin to download photo : 1342585144 download finish for photo 1342585371 begin to download photo : 1342585397 download finish for photo 1342584893 begin to download photo : 1342584911 download finish for photo 1342584503 download finish for photo 1342585397 download finish for photo 1342585144 download finish for photo 1342584911 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P21229599_10-03-2025_17_31_01.pdf 21229625 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=21229625 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342583534: '1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081319_0.png', 1342583623: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081347_0.png', 1342583624: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084200_0.png', 1342584074: '1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087543_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8d74cbe6ca5eaef9b286686538479f95_35868116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ce2b43ad5ad69393fbcffcfaf0709f5f_96388945.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/94c711bac652f342cae3ef489f65ab0b_87780714.png change filename to text .imagette212296251741624261/ imagette212296251741624261/1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081319_0.png.png imagette212296251741624261/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081347_0.png.png imagette212296251741624261/1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087543_0.png.png imagette212296251741624261/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084200_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ccfd7e0094098a5d3a4b6aea06365e70_8706700.png imagette212296251741624261 21229626 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=21229626 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342583527: '1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081326_0.png', 1342583528: '1741623732_3917738_1342582259_8953a19836f74272547483d699a4946e_rle_crop_3703081423_0.png', 1342583529: '1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081506_0.png', 1342583530: '1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081509_0.png', 1342583610: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081343_0.png', 1342583614: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084205_0.png', 1342585374: '1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094303_0.png', 1342585375: '1741624133_3921961_1342584349_9592b4cd7f2415a0feaddb18c711a6a4_rle_crop_3703094605_0.png', 1342585429: '1741624153_3922141_1342584559_6a0ec270facbe79072d7892ffb413633_rle_crop_3703094617_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/5331454e50d62cdf50cc0fdf4fc013d5_21669586.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e10cb86bf9cf25238e7d9043f622e4cc_31616344.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3c3f5765a908e1354919e9f53e479360_67886837.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9abc518db5f21977e21a86bd9f488c0c_88595321.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a95b958fb2d1022efdad90889f01c8e8_99099953.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9e6dfdf0f8e6bb0eda4df05f620dccd4_80279546.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/bbc4555ac74aa8bef282e89a67b48927_54297366.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0e8d5ab1974d0b931e102df02d5acf67_31891257.png change filename to text .imagette212296261741624261/ imagette212296261741624261/1741623732_3917738_1342582259_8953a19836f74272547483d699a4946e_rle_crop_3703081423_0.png.png imagette212296261741624261/1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094303_0.png.png imagette212296261741624261/1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081509_0.png.png imagette212296261741624261/1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081326_0.png.png imagette212296261741624261/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081343_0.png.png imagette212296261741624261/1741624153_3922141_1342584559_6a0ec270facbe79072d7892ffb413633_rle_crop_3703094617_0.png.png imagette212296261741624261/1741624133_3921961_1342584349_9592b4cd7f2415a0feaddb18c711a6a4_rle_crop_3703094605_0.png.png imagette212296261741624261/1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081506_0.png.png imagette212296261741624261/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084205_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/328c251b342e0e7638adaa2c462b835e_45560889.png imagette212296261741624261 21229627 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=21229627 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342585414: '1741624153_3922141_1342584044_7b3f78f26a5c4e451dcd2f714fd9f7ff_rle_crop_3703094645_0.png', 1342583992: '1741623872_3919572_1342582786_1320fdd13e95e6cc4b13d3092b448045_rle_crop_3703087319_0.png', 1342584066: '1741623894_3919886_1342583291_9b7770b89fe70e8fa3b998f01664c876_rle_crop_3703087535_0.png', 1342584067: '1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087544_0.png', 1342584068: '1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087558_0.png', 1342584069: '1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087565_0.png', 1342585331: '1741624133_3921961_1342584503_31b107514353780f194e9344225fda1c_rle_crop_3703094268_0.png', 1342585332: '1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094296_0.png', 1342585333: '1741624133_3921961_1342584409_84643add5f9c0632dc8b08eb80a49be4_rle_crop_3703094324_0.png', 1342585334: '1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094491_0.png', 1342585337: '1741624133_3921961_1342584349_9592b4cd7f2415a0feaddb18c711a6a4_rle_crop_3703094602_0.png', 1342585413: '1741624153_3922141_1342584559_6a0ec270facbe79072d7892ffb413633_rle_crop_3703094621_0.png', 1342583991: '1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087294_0.png', 1342585415: '1741624153_3922141_1342584044_7b3f78f26a5c4e451dcd2f714fd9f7ff_rle_crop_3703094641_0.png', 1342585416: '1741624153_3922141_1342584026_c2cb3fd45a05ecf9cd6f0bf97383c3ca_rle_crop_3703094821_0.png', 1342585418: '1741624153_3922141_1342584026_c2cb3fd45a05ecf9cd6f0bf97383c3ca_rle_crop_3703094827_0.png', 1342585516: '1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094916_0.png', 1342585522: '1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094934_0.png', 1342585524: '1741624166_65951_1342583812_5879bdad8c3e87ab7223c12d6f341c6b_rle_crop_3703094960_0.png', 1342585629: '1741624192_3922529_1342583697_9ba8839456feaad319088db2ea614b3b_rle_crop_3703095217_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/205516d63ee9da7eb42e39f321a56fd4_85993402.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ee1aad1d783991f4e1140df284844d56_55214374.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/39e8dd73f2b9137f2911a337a68f4689_6486014.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/da7b7eda83def219e0631e82b4ff9470_30809239.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b489aaff116393f43e245e7ab5879c22_46079507.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8506d2384606246c361a0382c45a21d4_19818767.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f5e81eefc874778ad70953d8a9b53d72_11047336.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/459c3c6d73022ead7a057831aee3f941_47016566.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/db044cce4917fe4e335dbceab198c813_49595486.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f779782247d22dffc0b3202085f3fd66_71993226.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8844533fd715c9fc623b38a2c87eaa4e_83210201.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/480ff9ddefcd586950d72a22e9cb824c_96965471.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c68fa75672598ecada80ab2bda3e4d6e_17968505.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/94fa7e7f0c85b21397e5b0f0c396044c_60336756.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/67095476ff0d0048c30720a285554260_57892549.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a4e472ea2ab188560943329dbbd68761_8169173.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b4fda15e2d1cf75527012e23c36782bd_36297968.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/be4a3a0e72973c9d178c86ba642957c8_84316405.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c067b0f36632e0d8e65d4531d2142acc_10006064.png change filename to text .imagette212296271741624262/ imagette212296271741624262/1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094916_0.png.png imagette212296271741624262/1741624153_3922141_1342584044_7b3f78f26a5c4e451dcd2f714fd9f7ff_rle_crop_3703094645_0.png.png imagette212296271741624262/1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094491_0.png.png imagette212296271741624262/1741624153_3922141_1342584026_c2cb3fd45a05ecf9cd6f0bf97383c3ca_rle_crop_3703094821_0.png.png imagette212296271741624262/1741624153_3922141_1342584026_c2cb3fd45a05ecf9cd6f0bf97383c3ca_rle_crop_3703094827_0.png.png imagette212296271741624262/1741624133_3921961_1342584349_9592b4cd7f2415a0feaddb18c711a6a4_rle_crop_3703094602_0.png.png imagette212296271741624262/1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087565_0.png.png imagette212296271741624262/1741623894_3919886_1342583291_9b7770b89fe70e8fa3b998f01664c876_rle_crop_3703087535_0.png.png imagette212296271741624262/1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094934_0.png.png imagette212296271741624262/1741624133_3921961_1342584409_84643add5f9c0632dc8b08eb80a49be4_rle_crop_3703094324_0.png.png imagette212296271741624262/1741623872_3919572_1342582786_1320fdd13e95e6cc4b13d3092b448045_rle_crop_3703087319_0.png.png imagette212296271741624262/1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087294_0.png.png imagette212296271741624262/1741624192_3922529_1342583697_9ba8839456feaad319088db2ea614b3b_rle_crop_3703095217_0.png.png imagette212296271741624262/1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094296_0.png.png imagette212296271741624262/1741624153_3922141_1342584559_6a0ec270facbe79072d7892ffb413633_rle_crop_3703094621_0.png.png imagette212296271741624262/1741624166_65951_1342583812_5879bdad8c3e87ab7223c12d6f341c6b_rle_crop_3703094960_0.png.png imagette212296271741624262/1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087558_0.png.png imagette212296271741624262/1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087544_0.png.png imagette212296271741624262/1741624133_3921961_1342584503_31b107514353780f194e9344225fda1c_rle_crop_3703094268_0.png.png imagette212296271741624262/1741624153_3922141_1342584044_7b3f78f26a5c4e451dcd2f714fd9f7ff_rle_crop_3703094641_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a6efaafb76ba1f5d91468059669f3a75_40201899.png imagette212296271741624262 21229628 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=21229628 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342583520: '1741623732_3917738_1342582345_2a7ad7091ac0efd777877aa91b19fa06_rle_crop_3703081392_0.png', 1342583718: '1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084337_0.png', 1342583719: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084428_0.png', 1342585346: '1741624133_3921961_1342584503_31b107514353780f194e9344225fda1c_rle_crop_3703094258_0.png', 1342585347: '1741624133_3921961_1342584349_9592b4cd7f2415a0feaddb18c711a6a4_rle_crop_3703094603_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/33550ca7cc3ccd2283a2ee12dafa5168_42535463.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/be753471bb8166c3dc44f212a8e35050_90667747.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e5b626ea7a7b039d6b390b4aeecf7480_48197445.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/84aa185f2d516184db455796b0a7df3a_82689211.png change filename to text .imagette212296281741624263/ imagette212296281741624263/1741624133_3921961_1342584503_31b107514353780f194e9344225fda1c_rle_crop_3703094258_0.png.png imagette212296281741624263/1741624133_3921961_1342584349_9592b4cd7f2415a0feaddb18c711a6a4_rle_crop_3703094603_0.png.png imagette212296281741624263/1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084337_0.png.png imagette212296281741624263/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084428_0.png.png imagette212296281741624263/1741623732_3917738_1342582345_2a7ad7091ac0efd777877aa91b19fa06_rle_crop_3703081392_0.png.png imagette212296291741624263/ imagette212296311741624263/ imagette212296351741624263/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d5842af219881a8eca072b8ad32b88ec_89977816.png imagette212296281741624263 21229629 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=21229629 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212296291741624263 21229631 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=21229631 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212296311741624263 21229635 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=21229635 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212296351741624263 21229624 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=21229624 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342583678: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084436_0.png', 1342585664: '1741624171_3922346_1342583588_989b18fb722a6c81c7c5988742be068f_rle_crop_3703095228_0.png', 1342585662: '1741624171_3922346_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0_rle_crop_3703095163_0.png', 1342585661: '1741624171_3922346_1342583626_8fcefad587ae552c55ae8ee1b041f391_rle_crop_3703095142_0.png', 1342585657: '1741624171_3922346_1342583948_39bccf0cf5ee1556cbfa1c505daa51bd_rle_crop_3703095020_0.png', 1342585608: '1741624192_3922529_1342583697_9ba8839456feaad319088db2ea614b3b_rle_crop_3703095212_0.png', 1342585501: '1741624166_65951_1342583848_9b795afc8983b8fa6910eb1be39ec1e1_rle_crop_3703094946_0.png', 1342585499: '1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094912_0.png', 1342585497: '1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094911_0.png', 1342585495: '1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094920_0.png', 1342585318: '1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094489_0.png', 1342585317: '1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094490_0.png', 1342584059: '1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087560_0.png', 1342581775: '1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077810_0.png', 1342583676: '1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084341_0.png', 1342583612: '1741623792_3918372_1342581277_a36649a68f2d9e1c090db8eb85def123_rle_crop_3703084373_0.png', 1342583577: '1741623745_60137_1342581739_fe6c98a2b05d0534a65042f8c7628c2b_rle_crop_3703084230_0.png', 1342583569: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084215_0.png', 1342583559: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084209_0.png', 1342583550: '1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081490_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0377f699ade1c3876f61e49496bd446e_1535100.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e3b037d0e5f9fc34cf55f7b196c37130_67786526.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/51993a2fe5b6e0f9d93fccbc21eba719_9653925.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/591f639db06027b414a892f332f0100c_35540070.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/70975eeb2998da7af715a26db4b24369_7383867.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/da9bfdc5af0e057ac305a47b6be253ae_65700866.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c8ac547036b459a80a9f6840d8553aca_84648717.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8b1d67ea9562ec429ee99cd6eb05567a_92377445.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/42844d5af860ae5c5785298220356736_21700120.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/65347a0dc5cfbbe25e6481edbd556974_99926014.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f82449c8516bf6d729a6c1011eb0e7b7_26259600.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/629b540a6a730b846115cda48cdb84d9_90187530.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4f53eb6d38b26bac7dd0a1159fe9317a_19633373.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/773fb64d912e7621e8248ef2b7107a8f_11392141.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f18a587b0b5d21d7cd51924b430d42b6_86256821.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1257d502c1c22382db9c4c911855ab29_49545505.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/616c778067e25b1e435ba4963587dfcb_61273625.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/be5f62594e78f95d35d96eaad50952b9_61897342.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2711c7dd7aa24c51c0f90c5b7869f043_19590554.png change filename to text .imagette212296241741624263/ imagette212296241741624263/1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094920_0.png.png imagette212296241741624263/1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081490_0.png.png imagette212296241741624263/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084215_0.png.png imagette212296241741624263/1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087560_0.png.png imagette212296241741624263/1741624171_3922346_1342583948_39bccf0cf5ee1556cbfa1c505daa51bd_rle_crop_3703095020_0.png.png imagette212296241741624263/1741623792_3918372_1342581277_a36649a68f2d9e1c090db8eb85def123_rle_crop_3703084373_0.png.png imagette212296241741624263/1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077810_0.png.png imagette212296241741624263/1741623745_60137_1342581739_fe6c98a2b05d0534a65042f8c7628c2b_rle_crop_3703084230_0.png.png imagette212296241741624263/1741624166_65951_1342583848_9b795afc8983b8fa6910eb1be39ec1e1_rle_crop_3703094946_0.png.png imagette212296241741624263/1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094490_0.png.png imagette212296241741624263/1741624171_3922346_1342583588_989b18fb722a6c81c7c5988742be068f_rle_crop_3703095228_0.png.png imagette212296241741624263/1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094911_0.png.png imagette212296241741624263/1741624166_65951_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17_rle_crop_3703094912_0.png.png imagette212296241741624263/1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084341_0.png.png imagette212296241741624263/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084436_0.png.png imagette212296241741624263/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084209_0.png.png imagette212296241741624263/1741624171_3922346_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0_rle_crop_3703095163_0.png.png imagette212296241741624263/1741624192_3922529_1342583697_9ba8839456feaad319088db2ea614b3b_rle_crop_3703095212_0.png.png imagette212296241741624263/1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094489_0.png.png imagette212296241741624263/1741624171_3922346_1342583626_8fcefad587ae552c55ae8ee1b041f391_rle_crop_3703095142_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f1ee9640e75b78a20b144150778aebd7_58004963.png imagette212296241741624263 21229630 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=21229630 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342585362: '1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094295_0.png', 1342585766: '1741624171_3922346_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0_rle_crop_3703095160_0.png', 1342585765: '1741624171_3922346_1342583626_8fcefad587ae552c55ae8ee1b041f391_rle_crop_3703095148_0.png', 1342585759: '1741624171_3922346_1342583638_f900e0e83a210453ea4483ad93542794_rle_crop_3703095133_0.png', 1342585653: '1741624192_3922529_1342583697_9ba8839456feaad319088db2ea614b3b_rle_crop_3703095214_0.png', 1342585556: '1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094926_0.png', 1342585554: '1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094928_0.png', 1342585552: '1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094931_0.png', 1342585365: '1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094488_0.png', 1342585364: '1741624133_3921961_1342584409_84643add5f9c0632dc8b08eb80a49be4_rle_crop_3703094318_0.png', 1342585363: '1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094292_0.png', 1342581948: '1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078196_0.png', 1342585361: '1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094291_0.png', 1342585360: '1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094290_0.png', 1342583996: '1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087291_0.png', 1342583727: '1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084416_0.png', 1342583726: '1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084350_0.png', 1342583725: '1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084326_0.png', 1342583598: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084208_0.png', 1342583597: '1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081487_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2ad3037bab8eba35232b9fa4d9a97608_15770967.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/812ac170bc3ce6ce47670bb0ab98ae30_70883525.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/43e43214064a21870b861ffb560fa747_32438145.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/5ae8afa7a0d5076e8162049ea1021a87_51266613.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/331246633a63fb19ac50a8b316e78990_52498355.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d871a170267b7c99f61b71cf97a757e3_52338478.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a479b63d9aab37d71d2051e698dbdb99_26584986.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c71274b47d670bd397d8637d479a639a_34413334.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c67d515fb2013c1473b217216407b542_19714447.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2d7f683bee0de1d409544089e28da608_8755558.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/76bab45367e9b2eac2479c37f072b136_75645473.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d993057823577b4487f21125f0e742c0_59494692.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/7788dcdbd32b424c5900bc2155d09ee3_15583246.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1a85e7095771a844f5a07a54b7940a0c_81901322.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/64d3223d0e8809bcee7419d1dc8a4151_85240228.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/94677c303ecefc3ff4354e44c09ca727_63982525.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/04bebc0717283f278e50454cf4b318d7_14768187.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/235a90f875fec2ae98004ada3db85801_80432405.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/858a095796bc9784dc05a13a3085bafb_27909074.png change filename to text .imagette212296301741624264/ imagette212296301741624264/1741624192_3922529_1342583697_9ba8839456feaad319088db2ea614b3b_rle_crop_3703095214_0.png.png imagette212296301741624264/1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094928_0.png.png imagette212296301741624264/1741624171_3922346_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0_rle_crop_3703095160_0.png.png imagette212296301741624264/1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087291_0.png.png imagette212296301741624264/1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084416_0.png.png imagette212296301741624264/1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084326_0.png.png imagette212296301741624264/1741624133_3921961_1342584370_bccc39c3799201f4270131d0b67caf9f_rle_crop_3703094488_0.png.png imagette212296301741624264/1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081487_0.png.png imagette212296301741624264/1741624133_3921961_1342584409_84643add5f9c0632dc8b08eb80a49be4_rle_crop_3703094318_0.png.png imagette212296301741624264/1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078196_0.png.png imagette212296301741624264/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084208_0.png.png imagette212296301741624264/1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094290_0.png.png imagette212296301741624264/1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094292_0.png.png imagette212296301741624264/1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094931_0.png.png imagette212296301741624264/1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094295_0.png.png imagette212296301741624264/1741624171_3922346_1342583638_f900e0e83a210453ea4483ad93542794_rle_crop_3703095133_0.png.png imagette212296301741624264/1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084350_0.png.png imagette212296301741624264/1741624171_3922346_1342583626_8fcefad587ae552c55ae8ee1b041f391_rle_crop_3703095148_0.png.png imagette212296301741624264/1741624133_3921961_1342584455_e4306c400a965bed2e099ccb02431c79_rle_crop_3703094291_0.png.png imagette212296301741624264/1741624166_65951_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0_rle_crop_3703094926_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/36ce3b2468257a79e2e31608629a0c86_69739437.png imagette212296301741624264 21229633 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=21229633 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342583711: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084398_0.png', 1342585726: '1741624171_3922346_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0_rle_crop_3703095154_0.png', 1342585539: '1741624166_65951_1342584072_52cadeb747be9dd76eb615dd45626e43_rle_crop_3703094838_0.png', 1342583717: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084432_0.png', 1342583716: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084427_0.png', 1342583715: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084430_0.png', 1342583714: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084433_0.png', 1342583713: '1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084418_0.png', 1342583712: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084403_0.png', 1342581936: '1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078197_0.png', 1342583710: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084407_0.png', 1342583709: '1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084351_0.png', 1342583708: '1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084321_0.png', 1342583594: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081344_0.png', 1342583512: '1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081360_0.png', 1342583510: '1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081358_0.png', 1342583509: '1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081325_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/aa2dc21c55fc1f5591f11987c0def947_28107656.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e9d85a5afb6d466ce3b9c8efa4c01ace_34566326.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/dfc6e8f23aeee35ce48790f7db6ad5ec_70815642.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6157b8269ef85755385822be267c1fed_7633741.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/dc4c1b3094b56aa6de42e384d9fd02dd_1967432.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f6cc25b7dcc34adfd9109dff0eabeb4f_78550575.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/07e356c3f2e64c01af830ace9f771cb3_7263049.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d524941081abab5d454c38104d8914f9_63663633.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/74d13a9ebc23685c5329d7173ab3337f_55751147.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/cc559fd4033276d0580800e29c3436de_60317352.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/fd3b1201542934f674a6c0c4fb0c2015_86725315.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/76ba05b2e920136a6a91da34679cad77_91266124.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/59518e2fe4a3207fe5b89c44f3e7ce91_44614207.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ac95518eb9b40d59498cf7a4c03f0d36_64143341.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6967dfa9c595af3f99b69621c1d620bd_59792641.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/51a943df58014547b3e74de7cd66bc1f_14467610.png change filename to text .imagette212296331741624265/ imagette212296331741624265/1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078197_0.png.png imagette212296331741624265/1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084321_0.png.png imagette212296331741624265/1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084351_0.png.png imagette212296331741624265/1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081358_0.png.png imagette212296331741624265/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084403_0.png.png imagette212296331741624265/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084427_0.png.png imagette212296331741624265/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084407_0.png.png imagette212296331741624265/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084432_0.png.png imagette212296331741624265/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084398_0.png.png imagette212296331741624265/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084433_0.png.png imagette212296331741624265/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084430_0.png.png imagette212296331741624265/1741624171_3922346_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0_rle_crop_3703095154_0.png.png imagette212296331741624265/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081344_0.png.png imagette212296331741624265/1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081360_0.png.png imagette212296331741624265/1741624166_65951_1342584072_52cadeb747be9dd76eb615dd45626e43_rle_crop_3703094838_0.png.png imagette212296331741624265/1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084418_0.png.png imagette212296331741624265/1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081325_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/63f037d7a4707cd2dba9042f5b809271_9130351.png imagette212296331741624265 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21229599 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21229636,21229637,21229638,21229639,21229640,21229641,21229642,21229643,21229644,21229645,21229646,21229647?tags=Teint_Dans_La_Masse,kraft,plastique,autre_refus,cartonnette,mal_croppe,Carton_brun,flou,papier,Carton_gris,environnement,metal your option no_mail is active, we will not send the real mail to your client args[1342585434] : ('0.08649160769198813',) no score found for photo 1342585434 We are sending mail with results at report@fotonower.com args[1342585397] : ('0.08649160769198813',) no score found for photo 1342585397 We are sending mail with results at report@fotonower.com args[1342585371] : ('0.08649160769198813',) no score found for photo 1342585371 We are sending mail with results at report@fotonower.com args[1342585335] : ('0.08649160769198813',) no score found for photo 1342585335 We are sending mail with results at report@fotonower.com args[1342585307] : ('0.08649160769198813',) no score found for photo 1342585307 We are sending mail with results at report@fotonower.com args[1342585166] : ('0.08649160769198813',) no score found for photo 1342585166 We are sending mail with results at report@fotonower.com args[1342585144] : ('0.08649160769198813',) no score found for photo 1342585144 We are sending mail with results at report@fotonower.com args[1342585122] : ('0.08649160769198813',) no score found for photo 1342585122 We are sending mail with results at report@fotonower.com args[1342585096] : ('0.08649160769198813',) no score found for photo 1342585096 We are sending mail with results at report@fotonower.com args[1342585065] : ('0.08649160769198813',) no score found for photo 1342585065 We are sending mail with results at report@fotonower.com args[1342585024] : ('0.08649160769198813',) no score found for photo 1342585024 We are sending mail with results at report@fotonower.com args[1342584911] : ('0.08649160769198813',) no score found for photo 1342584911 We are sending mail with results at report@fotonower.com args[1342584893] : ('0.08649160769198813',) no score found for photo 1342584893 We are sending mail with results at report@fotonower.com args[1342584860] : ('0.08649160769198813',) no score found for photo 1342584860 We are sending mail with results at report@fotonower.com args[1342584830] : ('0.08649160769198813',) no score found for photo 1342584830 We are sending mail with results at report@fotonower.com args[1342584559] : ('0.08649160769198813',) no score found for photo 1342584559 We are sending mail with results at report@fotonower.com args[1342584503] : ('0.08649160769198813',) no score found for photo 1342584503 We are sending mail with results at report@fotonower.com args[1342584455] : ('0.08649160769198813',) no score found for photo 1342584455 We are sending mail with results at report@fotonower.com args[1342584409] : ('0.08649160769198813',) no score found for photo 1342584409 We are sending mail with results at report@fotonower.com args[1342584370] : ('0.08649160769198813',) no score found for photo 1342584370 We are sending mail with results at report@fotonower.com args[1342584349] : ('0.08649160769198813',) no score found for photo 1342584349 We are sending mail with results at report@fotonower.com refus_total : 0.08649160769198813 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=21229599 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_P21229599_10-03-2025_17_31_01.pdf results_Auto_P21229599_10-03-2025_17_31_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_10-03-2025_17_31_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21229599','results_Auto_P21229599_10-03-2025_17_31_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_10-03-2025_17_31_01.pdf','pdf','','0.5','0.08649160769198813') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21229599]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] map_info['map_portfolio_photo'] : {21229599: [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349, 1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259, 1342582925, 1342582870, 1342582786, 1342582527, 1342582483, 1342582404, 1342582345, 1342582259, 1342581994, 1342581952, 1342581898, 1342581801, 1342581764, 1342581750, 1342581739, 1342581455, 1342581431, 1342581388, 1342581277, 1342581272, 1342581268, 1342581263, 1342581256, 1342581251, 1342581094, 1342581057, 1342580991, 1342580987, 1342580983]} final : False mtd_id 4302 list_pids : [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] 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, '2654944') ('4302', '21229599', '1342585434', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '21229599', '1342585434', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944')] time used for this insertion : 0.018851280212402344 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.753255128860474 time spend to save output : 0.019322872161865234 total time spend for step 4 : 7.772578001022339 step5:split_time_score Mon Mar 10 17:31:08 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 : ['21229599'] 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 : [('21229599',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21229599) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1342585434: {'path': 'temp/1741624261_3881171_1342585434_b6b1121cc1e858bb1844a83f9d75ab38.jpg', 'extension': 'jpg'}, 1342584349: {'path': 'temp/1741624261_3881171_1342584349_9592b4cd7f2415a0feaddb18c711a6a4.jpg', 'extension': 'jpg'}, 1342584370: {'path': 'temp/1741624261_3881171_1342584370_bccc39c3799201f4270131d0b67caf9f.jpg', 'extension': 'jpg'}, 1342584409: {'path': 'temp/1741624261_3881171_1342584409_84643add5f9c0632dc8b08eb80a49be4.jpg', 'extension': 'jpg'}, 1342584455: {'path': 'temp/1741624261_3881171_1342584455_e4306c400a965bed2e099ccb02431c79.jpg', 'extension': 'jpg'}, 1342584503: {'path': 'temp/1741624261_3881171_1342584503_31b107514353780f194e9344225fda1c.jpg', 'extension': 'jpg'}, 1342585166: {'path': 'temp/1741624261_3881171_1342585166_04240b93b66641ffb8bb2e786305bb35.jpg', 'extension': 'jpg'}, 1342585307: {'path': 'temp/1741624261_3881171_1342585307_03c6ce7f1d9ebae9fe81b58c41b3a240.jpg', 'extension': 'jpg'}, 1342585335: {'path': 'temp/1741624261_3881171_1342585335_bbf4ac94bf93619da0d0901ee1430054.jpg', 'extension': 'jpg'}, 1342585371: {'path': 'temp/1741624261_3881171_1342585371_5f0b83ab8535ab9aa07befedfba5d962.jpg', 'extension': 'jpg'}, 1342585397: {'path': 'temp/1741624261_3881171_1342585397_0fdccda8842b4b535463bc563c7d50b0.jpg', 'extension': 'jpg'}, 1342585024: {'path': 'temp/1741624261_3881171_1342585024_814f06395ad0b9e1b7710ee345724e1e.jpg', 'extension': 'jpg'}, 1342585065: {'path': 'temp/1741624261_3881171_1342585065_43291575c6132bc1d41b3cb7aa00c7e4.jpg', 'extension': 'jpg'}, 1342585096: {'path': 'temp/1741624261_3881171_1342585096_5131be3780dfdfe73aa611ad932a6f8a.jpg', 'extension': 'jpg'}, 1342585122: {'path': 'temp/1741624261_3881171_1342585122_887b36fe254e791457ed0dda67271da9.jpg', 'extension': 'jpg'}, 1342585144: {'path': 'temp/1741624261_3881171_1342585144_ce64b4a68fc8499f483557e12f180467.jpg', 'extension': 'jpg'}, 1342584559: {'path': 'temp/1741624261_3881171_1342584559_6a0ec270facbe79072d7892ffb413633.jpg', 'extension': 'jpg'}, 1342584830: {'path': 'temp/1741624261_3881171_1342584830_68a20977297463ad6f1eee4bf412a93b.jpg', 'extension': 'jpg'}, 1342584860: {'path': 'temp/1741624261_3881171_1342584860_4573da3d9eff3779dd1a222533848723.jpg', 'extension': 'jpg'}, 1342584893: {'path': 'temp/1741624261_3881171_1342584893_324dc3e04ad1bb362b1e072e05ec1393.jpg', 'extension': 'jpg'}, 1342584911: {'path': 'temp/1741624261_3881171_1342584911_fbf8821321e64aefe3833aa163143cee.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 = 21229599; (('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 = 21229599 group by h (('17', 68),) 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=21229599 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 (21229599) 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 (21229599) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10032025 21229599 Nombre de photos uploadées : 68 / 23040 (0%) 10032025 21229599 Nombre de photos taguées (types de déchets): 0 / 68 (0%) 10032025 21229599 Nombre de photos taguées (volume) : 0 / 68 (0%) [{'photo_id': 1342581094, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/5b38281a91109d74a9695fe2a79bbb48.jpg', 'username': None, 'uploaded_at': 1741623396, 'text': 'image_10032025_17_15_04_009148m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342581057, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f7f17c7fe44d97ad5db7af9a60980eed.jpg', 'username': None, 'uploaded_at': 1741623396, 'text': 'image_10032025_17_15_14_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342580991, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c08aad96010788b6397549a38134a649.jpg', 'username': None, 'uploaded_at': 1741623396, 'text': 'image_10032025_17_15_24_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342580987, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/13fadb595a1ff9e4c4beae34d74f4acc.jpg', 'username': None, 'uploaded_at': 1741623396, 'text': 'image_10032025_17_15_34_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 9.298324584960938e-06 ???????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0035212039947509766 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21229599, '2025-03-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1654691,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.4173598289489746 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= 1654691 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1654691, 'dashboard_run_id': 1663004, 'mtr_portfolio_id': 21228123, 'dashboard_result_id': 9314366, '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_P21228123_10-03-2025_17_05_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21228230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21228231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21228232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21228233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21228234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21228235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21228236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21228237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21228238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21228239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21228240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21228241, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1663004, 'mtr_portfolio_id': 21229167, 'dashboard_result_id': 9314367, '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_P21229167_10-03-2025_17_19_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229195, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1663004, 'mtr_portfolio_id': 21229599, 'dashboard_result_id': 9314368, '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_P21229599_10-03-2025_17_27_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229635, '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 = 21228123 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': 2654864, 'mtr_portfolio_id': 21228123, 'created_at': datetime.datetime(2025, 3, 10, 17, 5, 2), 'result': '0.07246077982881656', 'result_long': None, 'result_double': None}] Qualite : 0.07246077982881656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21228123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21228123_10-03-2025_17_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21228123 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_P21228123_10-03-2025_17_05_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21228230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21228231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21228232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21228233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21228234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21228235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21228236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21228237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21228238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21228239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21228240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21228241, 'pht': 3726}}" where mtr_portfolio_id = 21228123 and dashboard_run_id = 1663004 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`=21228123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9314366, 0.07246077982881656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21228123_10-03-2025_17_05_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21228230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21228231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21228232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21228233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21228234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21228235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21228236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21228237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21228238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21228239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21228240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21228241, '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 = 21229167 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': 2654917, 'mtr_portfolio_id': 21229167, 'created_at': datetime.datetime(2025, 3, 10, 17, 19, 36), 'result': '0.07781920176515993', 'result_long': None, 'result_double': None}] Qualite : 0.07781920176515993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21229167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229167_10-03-2025_17_19_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21229167 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_P21229167_10-03-2025_17_19_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229195, 'pht': 3726}}" where mtr_portfolio_id = 21229167 and dashboard_run_id = 1663004 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`=21229167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9314367, 0.07781920176515993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229167_10-03-2025_17_19_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229195, '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 = 21229599 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': 2654944, 'mtr_portfolio_id': 21229599, 'created_at': datetime.datetime(2025, 3, 10, 17, 31), 'result': '0.08649160769198813', 'result_long': None, 'result_double': None}] Qualite : 0.08649160769198813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21229599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_10-03-2025_17_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21229599 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_P21229599_10-03-2025_17_31_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229635, 'pht': 3726}}" where mtr_portfolio_id = 21229599 and dashboard_run_id = 1663004 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`=21229599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9314368, 0.08649160769198813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_10-03-2025_17_31_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229635, '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 (21228123,21229167,21229599) result : ((1342573738,), (1342573739,), (1342573770,), (1342573771,), (1342573777,), (1342573797,), (1342573799,), (1342573802,), (1342573805,), (1342573806,), (1342573877,), (1342573881,), (1342573886,), (1342573890,), (1342573893,), (1342573907,), (1342573973,), (1342573975,), (1342573977,), (1342573993,), (1342574226,), (1342574232,), (1342574238,), (1342574245,), (1342574259,), (1342574279,), (1342574290,), (1342574306,), (1342574334,), (1342574359,), (1342574466,), (1342574487,), (1342574506,), (1342574557,), (1342574577,), (1342574852,), (1342574859,), (1342574993,), (1342574998,), (1342575003,), (1342575366,), (1342575886,), (1342576049,), (1342576061,), (1342576933,), (1342576987,), (1342577107,), (1342577146,), (1342577985,), (1342577887,), (1342577924,), (1342577940,), (1342577960,), (1342577963,), (1342578027,), (1342578031,), (1342578060,), (1342578110,), (1342578484,), (1342578527,), (1342578585,), (1342578629,), (1342578674,), (1342578719,), (1342578858,), (1342578872,), (1342578875,), (1342578879,), (1342578883,), (1342578894,), (1342578938,), (1342578945,), (1342579061,), (1342579070,), (1342579079,), (1342579087,), (1342579092,), (1342579096,), (1342579130,), (1342579144,), (1342579161,), (1342579338,), (1342579425,), (1342580053,), (1342580056,), (1342580061,), (1342580066,), (1342580071,), (1342580074,), (1342580116,), (1342580120,), (1342580137,), (1342580227,), (1342580301,), (1342580518,), (1342580562,), (1342580565,), (1342580578,), (1342580672,), (1342580692,), (1342580696,), (1342580716,), (1342580774,), (1342580819,), (1342580861,), (1342580869,), (1342580874,), (1342580879,), (1342580885,), (1342580888,), (1342580909,), (1342580917,), (1342580924,), (1342580930,), (1342580936,), (1342581144,), (1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10032025': {'nb_upload': 68, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21229599]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] map_info['map_portfolio_photo'] : {21229599: [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349, 1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259, 1342582925, 1342582870, 1342582786, 1342582527, 1342582483, 1342582404, 1342582345, 1342582259, 1342581994, 1342581952, 1342581898, 1342581801, 1342581764, 1342581750, 1342581739, 1342581455, 1342581431, 1342581388, 1342581277, 1342581272, 1342581268, 1342581263, 1342581256, 1342581251, 1342581094, 1342581057, 1342580991, 1342580987, 1342580983]} final : True mtd_id 4302 list_pids : [1342585434, 1342585397, 1342585371, 1342585335, 1342585307, 1342585166, 1342585144, 1342585122, 1342585096, 1342585065, 1342585024, 1342584911, 1342584893, 1342584860, 1342584830, 1342584559, 1342584503, 1342584455, 1342584409, 1342584370, 1342584349] Looping around the photos to save general results len do output : 1 /21229599Didn'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, '2654944') ('4302', '21229599', '1342585434', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '21229599', 'None', None, None, None, None, '2654944'), ('4302', '21229599', '1342585434', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585397', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585371', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585335', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585307', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585166', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585144', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585122', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585096', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585065', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342585024', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584911', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584893', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584860', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584830', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584559', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584503', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584455', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584409', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584370', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584349', None, None, None, None, None, '2654944')] time used for this insertion : 0.019901514053344727 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8210175037384033 time spend to save output : 0.020452260971069336 total time spend for step 5 : 0.8414697647094727 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 (2654944) 3.65user 2.22system 0:13.70elapsed 42%CPU (0avgtext+0avgdata 162800maxresident)k 103312inputs+28904outputs (437major+82926minor)pagefaults 0swaps