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 : 3861048 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/3861048/ Name: python3 Umask: 0002 State: R (running) Tgid: 3861048 Ngid: 0 Pid: 3861048 PPid: 3861047 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3861048 NSpid: 3861048 NSpgid: 3857365 NSsid: 3857365 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99104 kB VmRSS: 99104 kB RssAnon: 59764 kB RssFile: 39340 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 65 nonvoluntary_ctxt_switches: 206 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3861048', 'Ngid': '0', 'Pid': '3861048', 'PPid': '3861047', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3861048', 'NSpid': '3861048', 'NSpgid': '3857365', 'NSsid': '3857365', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99104 kB', 'VmRSS': '99104 kB', 'RssAnon': '59764 kB', 'RssFile': '39340 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '65', 'nonvoluntary_ctxt_switches': '206'} ('datou_batch_current', '3861048', '1106844', '0', '1106844', '865592', '99104', 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': 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: [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.03523397445678711 #### 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:26: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 ['environnement', 'flou', 'Carton_gris', 'autre_refus', 'papier', 'metal', 'mal_croppe', 'Carton_brun', 'plastique', 'Teint_Dans_La_Masse', 'cartonnette', '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 ('environnement','flou','Carton_gris','autre_refus','papier','metal','mal_croppe','Carton_brun','plastique','Teint_Dans_La_Masse','cartonnette','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 ('environnement','flou','Carton_gris','autre_refus','papier','metal','mal_croppe','Carton_brun','plastique','Teint_Dans_La_Masse','cartonnette','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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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,)) 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 ('environnement','flou','Carton_gris','autre_refus','papier','metal','mal_croppe','Carton_brun','plastique','Teint_Dans_La_Masse','cartonnette','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 ('environnement','flou','Carton_gris','autre_refus','papier','metal','mal_croppe','Carton_brun','plastique','Teint_Dans_La_Masse','cartonnette','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, 22, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 17, 22, 59), '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 [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] map_info['map_portfolio_photo'] : {21229599: [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 : [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] 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', '1342584072', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 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', '1342584072', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944')] time used for this insertion : 0.03699135780334473 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4810550212860107 time spend to save output : 0.03734326362609863 total time spend for step 1 : 3.5183982849121094 step2:final Mon Mar 10 17:27:02 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); 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 : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} new output for save of step final : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] map_info['map_portfolio_photo'] : {21229599: [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 : [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] Looping around the photos to save general results len do output : 18 /1342584072.Didn't retrieve data . /1342584044.Didn't retrieve data . /1342584026.Didn't retrieve data . /1342583948.Didn't retrieve data . /1342583914.Didn't retrieve data . /1342583881.Didn't retrieve data . /1342583848.Didn't retrieve data . /1342583812.Didn't retrieve data . /1342583757.Didn't retrieve data . /1342583697.Didn't retrieve data . /1342583638.Didn't retrieve data . /1342583626.Didn't retrieve data . /1342583601.Didn't retrieve data . /1342583588.Didn't retrieve data . /1342583305.Didn't retrieve data . /1342583291.Didn't retrieve data . /1342583279.Didn't retrieve data . /1342583259.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', '1342584072', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 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', '1342584072', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342584044', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342584026', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583948', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583914', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583881', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583848', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583812', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583757', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583697', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583638', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583626', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583601', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583588', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583305', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583291', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583279', '0.09256823234362264', None, None, None, None, '2654944'), ('4302', '21229599', '1342583259', '0.09256823234362264', None, None, None, None, '2654944')] time used for this insertion : 0.030764341354370117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.23077893257141113 time spend to save output : 0.0317080020904541 total time spend for step 2 : 0.26248693466186523 step3:velours_tree Mon Mar 10 17:27:02 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.44379591941833496 time spend to save output : 9.179115295410156e-05 total time spend for step 3 : 0.44388771057128906 step4:send_mail_cod Mon Mar 10 17:27:02 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 : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} input_args_next_step : {1342584072: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342584072 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342584044 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342584026 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583948 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583914 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583881 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583848 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583812 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583757 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583697 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583638 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583626 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583601 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583588 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583305 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583291 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583279 depend.output_id : 0 input_args_next_step : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ()} output_args : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',)} args : 1342583259 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 : {1342584072: ('0.09256823234362264',), 1342584044: ('0.09256823234362264',), 1342584026: ('0.09256823234362264',), 1342583948: ('0.09256823234362264',), 1342583914: ('0.09256823234362264',), 1342583881: ('0.09256823234362264',), 1342583848: ('0.09256823234362264',), 1342583812: ('0.09256823234362264',), 1342583757: ('0.09256823234362264',), 1342583697: ('0.09256823234362264',), 1342583638: ('0.09256823234362264',), 1342583626: ('0.09256823234362264',), 1342583601: ('0.09256823234362264',), 1342583588: ('0.09256823234362264',), 1342583305: ('0.09256823234362264',), 1342583291: ('0.09256823234362264',), 1342583279: ('0.09256823234362264',), 1342583259: ('0.09256823234362264',), 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 :19, first value : ('0.09256823234362264',) 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 (1342584072,1342584044,1342584026,1342583948,1342583914,1342583881,1342583848,1342583812,1342583757,1342583697,1342583638,1342583626,1342583601,1342583588,1342583305,1342583291,1342583279,1342583259) Found this number of photos: 18 ##### Call download_photos : nb_thread : 5 begin to download photo : 1342583259 begin to download photo : 1342583588 begin to download photo : 1342583697 begin to download photo : 1342583881 begin to download photo : 1342584044 download finish for photo 1342583588 begin to download photo : 1342583601 download finish for photo 1342583259 begin to download photo : 1342583279 download finish for photo 1342584044 begin to download photo : 1342584072 download finish for photo 1342583881 begin to download photo : 1342583914 download finish for photo 1342583697 begin to download photo : 1342583757 download finish for photo 1342583279 begin to download photo : 1342583291 download finish for photo 1342584072 download finish for photo 1342583601 begin to download photo : 1342583626 download finish for photo 1342583914 begin to download photo : 1342583948 download finish for photo 1342583757 begin to download photo : 1342583812 download finish for photo 1342583291 begin to download photo : 1342583305 download finish for photo 1342583626 begin to download photo : 1342583638 download finish for photo 1342583948 begin to download photo : 1342584026 download finish for photo 1342583812 begin to download photo : 1342583848 download finish for photo 1342583305 download finish for photo 1342584026 download finish for photo 1342583638 download finish for photo 1342583848 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 : 18 ; length of list_pids : 18 ; length of list_args : 18 results_Auto_P21229599_10-03-2025_17_27_03.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 .imagette212296251741624023/ imagette212296251741624023/1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081319_0.png.png imagette212296251741624023/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081347_0.png.png imagette212296251741624023/1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087543_0.png.png imagette212296251741624023/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 imagette212296251741624023 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'} 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 .imagette212296261741624023/ imagette212296261741624023/1741623732_3917738_1342582259_8953a19836f74272547483d699a4946e_rle_crop_3703081423_0.png.png imagette212296261741624023/1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081509_0.png.png imagette212296261741624023/1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081326_0.png.png imagette212296261741624023/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081343_0.png.png imagette212296261741624023/1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081506_0.png.png imagette212296261741624023/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084205_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9e6dfdf0f8e6bb0eda4df05f620dccd4_80279546.png imagette212296261741624023 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 : {1342583587: '1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081485_0.png', 1342584069: '1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087565_0.png', 1342584068: '1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087558_0.png', 1342584067: '1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087544_0.png', 1342584066: '1741623894_3919886_1342583291_9b7770b89fe70e8fa3b998f01664c876_rle_crop_3703087535_0.png', 1342583992: '1741623872_3919572_1342582786_1320fdd13e95e6cc4b13d3092b448045_rle_crop_3703087319_0.png', 1342583991: '1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087294_0.png', 1342583702: '1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084421_0.png', 1342583701: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084406_0.png', 1342583700: '1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084352_0.png', 1342583695: '1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084343_0.png', 1342583694: '1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084323_0.png', 1342583620: '1741623792_3918372_1342581277_a36649a68f2d9e1c090db8eb85def123_rle_crop_3703084375_0.png', 1342583591: '1741623745_60137_1342581739_fe6c98a2b05d0534a65042f8c7628c2b_rle_crop_3703084229_0.png', 1342583590: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084213_0.png', 1342581897: '1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077804_0.png', 1342583586: '1741623745_60137_1342581801_36e5f419b42ec8148ddf82289c8c0e42_rle_crop_3703081404_0.png', 1342583585: '1741623745_60137_1342581898_0be346ffd54e1fa2e2e7f429a2fd822b_rle_crop_3703081380_0.png', 1342583583: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081346_0.png', 1342583582: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081335_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/e0dd604ba39b0135613a7480b5bf7d2d_13662559.png change filename to text .wget -O 2.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 3.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 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/39e8dd73f2b9137f2911a337a68f4689_6486014.png change filename to text .wget -O 6.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 7.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 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d7b2c113213676a87e6bcf23a0335589_92964932.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6934a46ddece9e3b6d53527a6795dec9_13393615.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/00c33f0a08d3fc4cb074d4fa9d88aa4c_15859913.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d700d485ea1bf9b18b4face4cbe08198_1685952.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/70afc0033661bf4bf161ea567163a7b7_41106702.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1e87078e7a544e92285d9aa474dc8cee_39750511.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8f75927a125a0eab699a224a090eff37_42216330.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/174faa94f244a310a0c9cdc6e1167978_75702236.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/cb45e430da84fdaf8dc8e1c3b6ef847b_1054366.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/36f813a259893fb409ae7541c0b115f3_2581024.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b07535e6cef593365d8d44c4c136b714_82287.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/52bf8e7e3942a35f39e604fa641df12c_23508845.png change filename to text .imagette212296271741624023/ imagette212296271741624023/1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084343_0.png.png imagette212296271741624023/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081346_0.png.png imagette212296271741624023/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084406_0.png.png imagette212296271741624023/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081335_0.png.png imagette212296271741624023/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084213_0.png.png imagette212296271741624023/1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087565_0.png.png imagette212296271741624023/1741623792_3918372_1342581277_a36649a68f2d9e1c090db8eb85def123_rle_crop_3703084375_0.png.png imagette212296271741624023/1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084352_0.png.png imagette212296271741624023/1741623894_3919886_1342583291_9b7770b89fe70e8fa3b998f01664c876_rle_crop_3703087535_0.png.png imagette212296271741624023/1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081485_0.png.png imagette212296271741624023/1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077804_0.png.png imagette212296271741624023/1741623872_3919572_1342582786_1320fdd13e95e6cc4b13d3092b448045_rle_crop_3703087319_0.png.png imagette212296271741624023/1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084323_0.png.png imagette212296271741624023/1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087294_0.png.png imagette212296271741624023/1741623745_60137_1342581801_36e5f419b42ec8148ddf82289c8c0e42_rle_crop_3703081404_0.png.png imagette212296271741624023/1741623745_60137_1342581898_0be346ffd54e1fa2e2e7f429a2fd822b_rle_crop_3703081380_0.png.png imagette212296271741624023/1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084421_0.png.png imagette212296271741624023/1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087558_0.png.png imagette212296271741624023/1741623894_3919886_1342583279_431dac628f2c6424ab4a8a1b884dfe4c_rle_crop_3703087544_0.png.png imagette212296271741624023/1741623745_60137_1342581739_fe6c98a2b05d0534a65042f8c7628c2b_rle_crop_3703084229_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/559e85d5bc773ad0c54d36fb2c31f5c6_77604193.png imagette212296271741624023 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'} 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 .imagette212296281741624025/ imagette212296281741624025/1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084337_0.png.png imagette212296281741624025/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084428_0.png.png imagette212296281741624025/1741623732_3917738_1342582345_2a7ad7091ac0efd777877aa91b19fa06_rle_crop_3703081392_0.png.png imagette212296291741624025/ imagette212296311741624025/ imagette212296351741624025/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e5b626ea7a7b039d6b390b4aeecf7480_48197445.png imagette212296281741624025 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 : {} imagette212296291741624025 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 : {} imagette212296311741624025 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 : {} imagette212296351741624025 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 : {1342581775: '1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077810_0.png', 1342581776: '1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077808_0.png', 1342581778: '1741623531_3915976_1342580987_13fadb595a1ff9e4c4beae34d74f4acc_rle_crop_3703078182_0.png', 1342583487: '1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081498_0.png', 1342583536: '1741623745_60137_1342581898_0be346ffd54e1fa2e2e7f429a2fd822b_rle_crop_3703081381_0.png', 1342583541: '1741623745_60137_1342581801_36e5f419b42ec8148ddf82289c8c0e42_rle_crop_3703081405_0.png', 1342583550: '1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081490_0.png', 1342583559: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084209_0.png', 1342583569: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084215_0.png', 1342583577: '1741623745_60137_1342581739_fe6c98a2b05d0534a65042f8c7628c2b_rle_crop_3703084230_0.png', 1342583612: '1741623792_3918372_1342581277_a36649a68f2d9e1c090db8eb85def123_rle_crop_3703084373_0.png', 1342583676: '1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084341_0.png', 1342583678: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084436_0.png', 1342584059: '1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087560_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/773fb64d912e7621e8248ef2b7107a8f_11392141.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e0e79c802135cbb6f5187c4fc6655bb4_61800227.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0c01b53191d7d0781903df8d4e3aafde_28023064.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c75d10720efa08fa90ac548708ec3910_94993255.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/733040406e5d970fc24123be291b3aa5_30983242.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/baca18df7a0e3c9f3056c43301101062_74616396.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f1ee9640e75b78a20b144150778aebd7_58004963.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2711c7dd7aa24c51c0f90c5b7869f043_19590554.png change filename to text .wget -O 9.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 10.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 11.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 12.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 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0377f699ade1c3876f61e49496bd446e_1535100.png change filename to text .imagette212296241741624025/ imagette212296241741624025/1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081490_0.png.png imagette212296241741624025/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084215_0.png.png imagette212296241741624025/1741623894_3919886_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38_rle_crop_3703087560_0.png.png imagette212296241741624025/1741623792_3918372_1342581277_a36649a68f2d9e1c090db8eb85def123_rle_crop_3703084373_0.png.png imagette212296241741624025/1741623732_3917738_1342581994_7e5d6cf0b1550cb1ebdd95586aa1c848_rle_crop_3703081498_0.png.png imagette212296241741624025/1741623745_60137_1342581801_36e5f419b42ec8148ddf82289c8c0e42_rle_crop_3703081405_0.png.png imagette212296241741624025/1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077810_0.png.png imagette212296241741624025/1741623745_60137_1342581739_fe6c98a2b05d0534a65042f8c7628c2b_rle_crop_3703084230_0.png.png imagette212296241741624025/1741623531_3915976_1342581094_5b38281a91109d74a9695fe2a79bbb48_rle_crop_3703077808_0.png.png imagette212296241741624025/1741623772_3918102_1342581272_4ef1deff1713a8516e96a3d234adc0d4_rle_crop_3703084341_0.png.png imagette212296241741624025/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084436_0.png.png imagette212296241741624025/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084209_0.png.png imagette212296241741624025/1741623745_60137_1342581898_0be346ffd54e1fa2e2e7f429a2fd822b_rle_crop_3703081381_0.png.png imagette212296241741624025/1741623531_3915976_1342580987_13fadb595a1ff9e4c4beae34d74f4acc_rle_crop_3703078182_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4f53eb6d38b26bac7dd0a1159fe9317a_19633373.png imagette212296241741624025 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 : {1342581948: '1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078196_0.png', 1342583523: '1741623732_3917738_1342582259_8953a19836f74272547483d699a4946e_rle_crop_3703081414_0.png', 1342583596: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081341_0.png', 1342583597: '1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081487_0.png', 1342583598: '1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084208_0.png', 1342583725: '1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084326_0.png', 1342583726: '1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084350_0.png', 1342583727: '1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084416_0.png', 1342583996: '1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087291_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/d993057823577b4487f21125f0e742c0_59494692.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/113484ac76efb553d287785cd638ce38_92936882.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/64cec8b69704d199e465a498229b363e_7269250.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/36ce3b2468257a79e2e31608629a0c86_69739437.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/858a095796bc9784dc05a13a3085bafb_27909074.png change filename to text .wget -O 6.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 7.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 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/94677c303ecefc3ff4354e44c09ca727_63982525.png change filename to text .imagette212296301741624025/ imagette212296301741624025/1741623872_3919572_1342582870_a51c7937d1807f66005a679a640e1d92_rle_crop_3703087291_0.png.png imagette212296301741624025/1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084416_0.png.png imagette212296301741624025/1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084326_0.png.png imagette212296301741624025/1741623745_60137_1342581764_d2d30208260cad009c4d4bfed2158e32_rle_crop_3703081487_0.png.png imagette212296301741624025/1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078196_0.png.png imagette212296301741624025/1741623745_60137_1342581750_9d87ae10fc03be36647bb1b4311c7315_rle_crop_3703084208_0.png.png imagette212296301741624025/1741623732_3917738_1342582259_8953a19836f74272547483d699a4946e_rle_crop_3703081414_0.png.png imagette212296301741624025/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081341_0.png.png imagette212296301741624025/1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084350_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/64d3223d0e8809bcee7419d1dc8a4151_85240228.png imagette212296301741624025 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 : {1342581936: '1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078197_0.png', 1342583509: '1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081325_0.png', 1342583510: '1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081358_0.png', 1342583512: '1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081360_0.png', 1342583594: '1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081344_0.png', 1342583708: '1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084321_0.png', 1342583709: '1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084351_0.png', 1342583710: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084407_0.png', 1342583711: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084398_0.png', 1342583712: '1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084403_0.png', 1342583713: '1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084418_0.png', 1342583714: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084433_0.png', 1342583715: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084430_0.png', 1342583716: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084427_0.png', 1342583717: '1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084432_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/cc559fd4033276d0580800e29c3436de_60317352.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/63f037d7a4707cd2dba9042f5b809271_9130351.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/51a943df58014547b3e74de7cd66bc1f_14467610.png change filename to text .wget -O 4.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 5.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 6.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 7.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 8.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 9.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 10.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 11.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 12.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 13.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 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/dc4c1b3094b56aa6de42e384d9fd02dd_1967432.png change filename to text .imagette212296331741624026/ imagette212296331741624026/1741623531_3915976_1342580983_ed95637223f34dd14988d5bc5295f18e_rle_crop_3703078197_0.png.png imagette212296331741624026/1741623772_3918102_1342581455_acb42c31a3e02698a0068acc0559f480_rle_crop_3703084321_0.png.png imagette212296331741624026/1741623772_3918102_1342581268_ce332ff9a837527cf2f5f3741402606f_rle_crop_3703084351_0.png.png imagette212296331741624026/1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081358_0.png.png imagette212296331741624026/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084403_0.png.png imagette212296331741624026/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084427_0.png.png imagette212296331741624026/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084407_0.png.png imagette212296331741624026/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084432_0.png.png imagette212296331741624026/1741623772_3918102_1342581263_0595bf3cce17c7a70af27d3d09a7d1f0_rle_crop_3703084398_0.png.png imagette212296331741624026/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084433_0.png.png imagette212296331741624026/1741623772_3918102_1342581251_36d36dbb049adea8281d4027abec1084_rle_crop_3703084430_0.png.png imagette212296331741624026/1741623745_60137_1342582527_ef78d0620ae94de06630c850ffc844ac_rle_crop_3703081344_0.png.png imagette212296331741624026/1741623732_3917738_1342582404_ca3e7c6404f306395f3d038c9e4b61d5_rle_crop_3703081360_0.png.png imagette212296331741624026/1741623772_3918102_1342581256_bafc584dde75e8ed7a6dcd4a5d9703c9_rle_crop_3703084418_0.png.png imagette212296331741624026/1741623732_3917738_1342582483_a94950e8dc5118a6e8e81fa1167bc5be_rle_crop_3703081325_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6157b8269ef85755385822be267c1fed_7633741.png imagette212296331741624026 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[1342584072] : ('0.09256823234362264',) no score found for photo 1342584072 We are sending mail with results at report@fotonower.com args[1342584044] : ('0.09256823234362264',) no score found for photo 1342584044 We are sending mail with results at report@fotonower.com args[1342584026] : ('0.09256823234362264',) no score found for photo 1342584026 We are sending mail with results at report@fotonower.com args[1342583948] : ('0.09256823234362264',) no score found for photo 1342583948 We are sending mail with results at report@fotonower.com args[1342583914] : ('0.09256823234362264',) no score found for photo 1342583914 We are sending mail with results at report@fotonower.com args[1342583881] : ('0.09256823234362264',) no score found for photo 1342583881 We are sending mail with results at report@fotonower.com args[1342583848] : ('0.09256823234362264',) no score found for photo 1342583848 We are sending mail with results at report@fotonower.com args[1342583812] : ('0.09256823234362264',) no score found for photo 1342583812 We are sending mail with results at report@fotonower.com args[1342583757] : ('0.09256823234362264',) no score found for photo 1342583757 We are sending mail with results at report@fotonower.com args[1342583697] : ('0.09256823234362264',) no score found for photo 1342583697 We are sending mail with results at report@fotonower.com args[1342583638] : ('0.09256823234362264',) no score found for photo 1342583638 We are sending mail with results at report@fotonower.com args[1342583626] : ('0.09256823234362264',) no score found for photo 1342583626 We are sending mail with results at report@fotonower.com args[1342583601] : ('0.09256823234362264',) no score found for photo 1342583601 We are sending mail with results at report@fotonower.com args[1342583588] : ('0.09256823234362264',) no score found for photo 1342583588 We are sending mail with results at report@fotonower.com args[1342583305] : ('0.09256823234362264',) no score found for photo 1342583305 We are sending mail with results at report@fotonower.com args[1342583291] : ('0.09256823234362264',) no score found for photo 1342583291 We are sending mail with results at report@fotonower.com args[1342583279] : ('0.09256823234362264',) no score found for photo 1342583279 We are sending mail with results at report@fotonower.com args[1342583259] : ('0.09256823234362264',) no score found for photo 1342583259 We are sending mail with results at report@fotonower.com refus_total : 0.09256823234362264 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_27_03.pdf results_Auto_P21229599_10-03-2025_17_27_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_10-03-2025_17_27_03.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_27_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_10-03-2025_17_27_03.pdf','pdf','','0.41','0.09256823234362264') 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 [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] map_info['map_portfolio_photo'] : {21229599: [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 : [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] 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', '1342584072', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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', '1342584072', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944')] time used for this insertion : 0.030799150466918945 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.101410150527954 time spend to save output : 0.03126692771911621 total time spend for step 4 : 6.13267707824707 step5:split_time_score Mon Mar 10 17:27: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 : {1342584044: {'path': 'temp/1741624022_3861048_1342584044_7b3f78f26a5c4e451dcd2f714fd9f7ff.jpg', 'extension': 'jpg'}, 1342584072: {'path': 'temp/1741624022_3861048_1342584072_52cadeb747be9dd76eb615dd45626e43.jpg', 'extension': 'jpg'}, 1342583259: {'path': 'temp/1741624022_3861048_1342583259_5b037cce0acd2dd5190da0bfb4eb1c38.jpg', 'extension': 'jpg'}, 1342583279: {'path': 'temp/1741624022_3861048_1342583279_431dac628f2c6424ab4a8a1b884dfe4c.jpg', 'extension': 'jpg'}, 1342583291: {'path': 'temp/1741624022_3861048_1342583291_9b7770b89fe70e8fa3b998f01664c876.jpg', 'extension': 'jpg'}, 1342583305: {'path': 'temp/1741624022_3861048_1342583305_cb50f37c682fe9ec7cda4e3533991dc4.jpg', 'extension': 'jpg'}, 1342583881: {'path': 'temp/1741624022_3861048_1342583881_eb3d342b5d5dcdbc5429107c1dad96d0.jpg', 'extension': 'jpg'}, 1342583914: {'path': 'temp/1741624022_3861048_1342583914_bb780630c9d3c3e70e04ed3c13ea5b17.jpg', 'extension': 'jpg'}, 1342583948: {'path': 'temp/1741624022_3861048_1342583948_39bccf0cf5ee1556cbfa1c505daa51bd.jpg', 'extension': 'jpg'}, 1342584026: {'path': 'temp/1741624022_3861048_1342584026_c2cb3fd45a05ecf9cd6f0bf97383c3ca.jpg', 'extension': 'jpg'}, 1342583588: {'path': 'temp/1741624022_3861048_1342583588_989b18fb722a6c81c7c5988742be068f.jpg', 'extension': 'jpg'}, 1342583601: {'path': 'temp/1741624022_3861048_1342583601_3321e3fce780ecf5cc25aec2b7bff2e0.jpg', 'extension': 'jpg'}, 1342583626: {'path': 'temp/1741624022_3861048_1342583626_8fcefad587ae552c55ae8ee1b041f391.jpg', 'extension': 'jpg'}, 1342583638: {'path': 'temp/1741624022_3861048_1342583638_f900e0e83a210453ea4483ad93542794.jpg', 'extension': 'jpg'}, 1342583697: {'path': 'temp/1741624022_3861048_1342583697_9ba8839456feaad319088db2ea614b3b.jpg', 'extension': 'jpg'}, 1342583757: {'path': 'temp/1741624022_3861048_1342583757_c8a4c56fb31b8db66fbbc25893275ca5.jpg', 'extension': 'jpg'}, 1342583812: {'path': 'temp/1741624022_3861048_1342583812_5879bdad8c3e87ab7223c12d6f341c6b.jpg', 'extension': 'jpg'}, 1342583848: {'path': 'temp/1741624022_3861048_1342583848_9b795afc8983b8fa6910eb1be39ec1e1.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', 47),) 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 : 47 / 23040 (0%) 10032025 21229599 Nombre de photos taguées (types de déchets): 0 / 47 (0%) 10032025 21229599 Nombre de photos taguées (volume) : 0 / 47 (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.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ??????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002327442169189453 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.05920243263244629 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': 1662990, 'mtr_portfolio_id': 21227642, 'dashboard_result_id': 9314309, '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_P21227642_10-03-2025_16_55_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21227679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21227680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21227686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21227694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21227696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21227708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21227709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21227710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21227711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21227712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21227713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21227714, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1662990, 'mtr_portfolio_id': 21228123, 'dashboard_result_id': 9314310, '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': 1662990, 'mtr_portfolio_id': 21229167, 'dashboard_result_id': 9314311, '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': 1662990, 'mtr_portfolio_id': 21229599, 'dashboard_result_id': 9314312, '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_23_05.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 = 21227642 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': 2654811, 'mtr_portfolio_id': 21227642, 'created_at': datetime.datetime(2025, 3, 10, 16, 55, 31), 'result': '0.07656148551135905', 'result_long': None, 'result_double': None}] Qualite : 0.07656148551135905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21227642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21227642_10-03-2025_16_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21227642 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_P21227642_10-03-2025_16_55_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21227679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21227680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21227686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21227694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21227696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21227708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21227709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21227710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21227711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21227712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21227713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21227714, 'pht': 3726}}" where mtr_portfolio_id = 21227642 and dashboard_run_id = 1662990 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`=21227642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9314309, 0.07656148551135905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21227642_10-03-2025_16_55_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21227679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21227680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21227686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21227694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21227696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21227708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21227709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21227710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21227711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21227712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21227713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21227714, '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 = 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 = 1662990 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 (9314310, 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 = 1662990 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 (9314311, 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, 27, 2), 'result': '0.09256823234362264', 'result_long': None, 'result_double': None}] Qualite : 0.09256823234362264 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_27_03.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_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}}" where mtr_portfolio_id = 21229599 and dashboard_run_id = 1662990 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 (9314312, 0.09256823234362264, "{'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}}") 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 (21227642,21228123,21229167,21229599) result : ((1342570678,), (1342570682,), (1342570686,), (1342570713,), (1342570799,), (1342570813,), (1342570819,), (1342570824,), (1342570836,), (1342570848,), (1342570940,), (1342570946,), (1342570965,), (1342570971,), (1342571062,), (1342571082,), (1342571121,), (1342571136,), (1342571142,), (1342571143,), (1342571223,), (1342571232,), (1342571238,), (1342571244,), (1342571248,), (1342571250,), (1342571254,), (1342571259,), (1342571265,), (1342571271,), (1342571279,), (1342571400,), (1342571847,), (1342571851,), (1342571855,), (1342571865,), (1342571872,), (1342571911,), (1342571915,), (1342571920,), (1342572076,), (1342572089,), (1342572093,), (1342572186,), (1342572190,), (1342572370,), (1342572422,), (1342572499,), (1342572512,), (1342572623,), (1342572649,), (1342572679,), (1342572683,), (1342572804,), (1342572807,), (1342573159,), (1342573162,), (1342573166,), (1342573171,), (1342573173,), (1342573174,), (1342573200,), (1342573223,), (1342573230,), (1342573231,), (1342573238,), (1342573261,), (1342573263,), (1342573265,), (1342573273,), (1342573300,), (1342573304,), (1342573318,), (1342573376,), (1342573381,), (1342573432,), (1342573441,), (1342573451,), (1342573460,), (1342573516,), (1342573523,), (1342573527,), (1342573532,), (1342573536,), (1342573539,), (1342573552,), (1342573558,), (1342573560,), (1342573566,), (1342573571,), (1342573575,), (1342573862,), (1342573864,), (1342573940,), (1342573943,), (1342573946,), (1342573953,), (1342573959,), (1342573964,), (1342574023,), (1342574046,), (1342574110,), (1342574132,), (1342574144,), (1342574176,), (1342574185,), (1342574188,), (1342574266,), (1342574399,), (1342574616,), (1342574725,), (1342574778,), (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,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10032025': {'nb_upload': 47, '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 [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] map_info['map_portfolio_photo'] : {21229599: [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 : [1342584072, 1342584044, 1342584026, 1342583948, 1342583914, 1342583881, 1342583848, 1342583812, 1342583757, 1342583697, 1342583638, 1342583626, 1342583601, 1342583588, 1342583305, 1342583291, 1342583279, 1342583259] 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', '1342584072', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944') ('4302', None, None, None, None, None, None, None, '2654944') ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 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', '1342584072', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584044', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342584026', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583948', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583914', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583881', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583848', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583812', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583757', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583697', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583638', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583626', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583601', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583588', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583305', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583291', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583279', None, None, None, None, None, '2654944'), ('4302', '21229599', '1342583259', None, None, None, None, None, '2654944')] time used for this insertion : 0.03141379356384277 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8699073791503906 time spend to save output : 0.03174185752868652 total time spend for step 5 : 0.9016492366790771 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) 2.73user 1.67system 0:15.66elapsed 28%CPU (0avgtext+0avgdata 161984maxresident)k 3080inputs+22688outputs (37major+72242minor)pagefaults 0swaps