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 : 758248 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 (4238101) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4238101) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488001 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4238101'] with mtr_portfolio_ids : ['29488001'] and first list_photo_ids : [] new path : /proc/758248/ Name: python3 Umask: 0002 State: R (running) Tgid: 758248 Ngid: 0 Pid: 758248 PPid: 758247 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 758248 NSpid: 758248 NSpgid: 756862 NSsid: 756862 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105084 kB VmRSS: 105084 kB RssAnon: 66292 kB RssFile: 38792 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 624 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 40 nonvoluntary_ctxt_switches: 84 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '758248', 'Ngid': '0', 'Pid': '758248', 'PPid': '758247', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '758248', 'NSpid': '758248', 'NSpgid': '756862', 'NSsid': '756862', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105084 kB', 'VmRSS': '105084 kB', 'RssAnon': '66292 kB', 'RssFile': '38792 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '624 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '40', 'nonvoluntary_ctxt_switches': '84'} ('datou_batch_current', '758248', '1113364', '0', '1113364', '872092', '105084', b'', 'marlene', '4238101') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29488001) 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 (4238101 ) ) 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 (29488001) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1399748835, 'portfolio_id': 29488001}, {'photo_id': 1399748810, 'portfolio_id': 29488001}, {'photo_id': 1399748808, 'portfolio_id': 29488001}, {'photo_id': 1399748806, 'portfolio_id': 29488001}, {'photo_id': 1399748803, 'portfolio_id': 29488001}, {'photo_id': 1399748801, 'portfolio_id': 29488001}, {'photo_id': 1399748778, 'portfolio_id': 29488001}, {'photo_id': 1399748777, 'portfolio_id': 29488001}, {'photo_id': 1399748776, 'portfolio_id': 29488001}, {'photo_id': 1399748756, 'portfolio_id': 29488001}, {'photo_id': 1399748755, 'portfolio_id': 29488001}, {'photo_id': 1399748753, 'portfolio_id': 29488001}, {'photo_id': 1399748751, 'portfolio_id': 29488001}, {'photo_id': 1399748722, 'portfolio_id': 29488001}, {'photo_id': 1399748721, 'portfolio_id': 29488001}, {'photo_id': 1399748720, 'portfolio_id': 29488001}, {'photo_id': 1399748703, 'portfolio_id': 29488001}, {'photo_id': 1399748701, 'portfolio_id': 29488001}, {'photo_id': 1399748699, 'portfolio_id': 29488001}, {'photo_id': 1399748697, 'portfolio_id': 29488001}, {'photo_id': 1399748681, 'portfolio_id': 29488001}, {'photo_id': 1399748675, 'portfolio_id': 29488001}, {'photo_id': 1399748668, 'portfolio_id': 29488001}, {'photo_id': 1399748664, 'portfolio_id': 29488001}, {'photo_id': 1399748662, 'portfolio_id': 29488001}, {'photo_id': 1399748660, 'portfolio_id': 29488001}, {'photo_id': 1399748640, 'portfolio_id': 29488001}, {'photo_id': 1399748637, 'portfolio_id': 29488001}, {'photo_id': 1399748634, 'portfolio_id': 29488001}, {'photo_id': 1399748632, 'portfolio_id': 29488001}, {'photo_id': 1399748613, 'portfolio_id': 29488001}, {'photo_id': 1399748610, 'portfolio_id': 29488001}, {'photo_id': 1399748609, 'portfolio_id': 29488001}, {'photo_id': 1399748608, 'portfolio_id': 29488001}, {'photo_id': 1399748607, 'portfolio_id': 29488001}, {'photo_id': 1399748598, 'portfolio_id': 29488001}, {'photo_id': 1399748596, 'portfolio_id': 29488001}, {'photo_id': 1399748594, 'portfolio_id': 29488001}, {'photo_id': 1399748559, 'portfolio_id': 29488001}, {'photo_id': 1399748558, 'portfolio_id': 29488001}, {'photo_id': 1399748557, 'portfolio_id': 29488001}, {'photo_id': 1399748556, 'portfolio_id': 29488001}, {'photo_id': 1399748537, 'portfolio_id': 29488001}, {'photo_id': 1399748535, 'portfolio_id': 29488001}, {'photo_id': 1399748533, 'portfolio_id': 29488001}, {'photo_id': 1399748531, 'portfolio_id': 29488001}, {'photo_id': 1399748529, 'portfolio_id': 29488001}, {'photo_id': 1399748514, 'portfolio_id': 29488001}, {'photo_id': 1399748511, 'portfolio_id': 29488001}, {'photo_id': 1399748507, 'portfolio_id': 29488001}, {'photo_id': 1399748503, 'portfolio_id': 29488001}, {'photo_id': 1399748501, 'portfolio_id': 29488001}, {'photo_id': 1399748499, 'portfolio_id': 29488001}, {'photo_id': 1399748479, 'portfolio_id': 29488001}, {'photo_id': 1399748477, 'portfolio_id': 29488001}, {'photo_id': 1399748449, 'portfolio_id': 29488001}, {'photo_id': 1399748429, 'portfolio_id': 29488001}, {'photo_id': 1399748425, 'portfolio_id': 29488001}, {'photo_id': 1399748420, 'portfolio_id': 29488001}] map_portfolio_id_photo_id: {29488001: [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660, 1399748640, 1399748637, 1399748634, 1399748632, 1399748613, 1399748610, 1399748609, 1399748608, 1399748607, 1399748598, 1399748596, 1399748594, 1399748559, 1399748558, 1399748557, 1399748556, 1399748537, 1399748535, 1399748533, 1399748531, 1399748529, 1399748514, 1399748511, 1399748507, 1399748503, 1399748501, 1399748499, 1399748479, 1399748477, 1399748449, 1399748429, 1399748425, 1399748420]} ##### 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.023256540298461914 #### 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 Wed Dec 17 07:45:57 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 (29488001) 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 : 29488001 get user id for portfolio 29488001 get sub ptf for main ptf 29488001, type 3726 and hashtags ['mal_croppe', 'autre_refus', 'kraft', 'Teint_Dans_La_Masse', 'metal', 'papier', 'flou', 'Carton_brun', 'plastique', 'Carton_gris', 'cartonnette', 'environnement'] 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`=29488001 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_brun','plastique','Carton_gris','cartonnette','environnement')) 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`=29488001 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_brun','plastique','Carton_gris','cartonnette','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29488001, 'sub_port_id': 29488002, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105763, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'papier': {'main_port_id': 29488001, 'sub_port_id': 29488003, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105764, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'plastique': {'main_port_id': 29488001, 'sub_port_id': 29488004, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105765, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'Carton_brun': {'main_port_id': 29488001, 'sub_port_id': 29488005, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105766, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'metal': {'main_port_id': 29488001, 'sub_port_id': 29488006, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105767, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'environnement': {'main_port_id': 29488001, 'sub_port_id': 29488007, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105768, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'Carton_gris': {'main_port_id': 29488001, 'sub_port_id': 29488008, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105769, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'autre_refus': {'main_port_id': 29488001, 'sub_port_id': 29488009, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105770, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 29488001, 'sub_port_id': 29488010, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105771, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'flou': {'main_port_id': 29488001, 'sub_port_id': 29488011, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105772, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'cartonnette': {'main_port_id': 29488001, 'sub_port_id': 29488012, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105773, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}, 'mal_croppe': {'main_port_id': 29488001, 'sub_port_id': 29488013, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105774, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29488002 , 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=29488001 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 (29488002) result : ((1399748771,), (1399748881,), (1399748882,), (1399748883,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488003 , 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=29488001 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 (29488003) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488004 , 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=29488001 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 (29488004) result : ((1399748553,), (1399748685,), (1399748694,), (1399748695,), (1399748739,), (1399748770,), (1399748847,), (1399748854,), (1399748880,), (1399748910,), (1399748936,), (1399748937,), (1399748938,), (1399748939,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488005 , 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=29488001 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 (29488005) result : ((1399748846,), (1399748908,), (1399748909,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488006 , 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=29488001 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 (29488006) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488007 , 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=29488001 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 (29488007) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488008 , 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=29488001 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 (29488008) result : ((1399748549,), (1399748550,), (1399748680,), (1399748737,), (1399748768,), (1399748769,), (1399748797,), (1399748798,), (1399748799,), (1399748844,), (1399748877,), (1399748878,), (1399748934,), (1399748935,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488009 , 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=29488001 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 (29488009) result : ((1399748715,), (1399748734,), (1399748735,), (1399748736,), (1399748933,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488010 , 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=29488001 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 (29488010) result : ((1399748547,), (1399748548,), (1399748729,), (1399748730,), (1399748731,), (1399748766,), (1399748767,), (1399748793,), (1399748794,), (1399748795,), (1399748796,), (1399748842,), (1399748843,), (1399748873,), (1399748874,), (1399748875,), (1399748876,), (1399748905,), (1399748931,), (1399748932,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488011 , 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=29488001 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 (29488011) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488012 , 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=29488001 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 (29488012) result : ((1399748551,), (1399748682,), (1399748683,), (1399748684,), (1399748716,), (1399748738,), (1399748879,), (1399748906,), (1399748907,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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 29488013 , 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=29488001 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 (29488013) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29488001) result : ((1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,)) 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`=29488001 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_brun','plastique','Carton_gris','cartonnette','environnement')) 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`=29488001 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_brun','plastique','Carton_gris','cartonnette','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29488001, 'sub_port_id': 29488014, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105775, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'papier': {'main_port_id': 29488001, 'sub_port_id': 29488015, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105776, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'plastique': {'main_port_id': 29488001, 'sub_port_id': 29488016, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105777, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'Carton_brun': {'main_port_id': 29488001, 'sub_port_id': 29488017, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105778, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'metal': {'main_port_id': 29488001, 'sub_port_id': 29488018, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105779, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'environnement': {'main_port_id': 29488001, 'sub_port_id': 29488019, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105780, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'Carton_gris': {'main_port_id': 29488001, 'sub_port_id': 29488020, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105781, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'autre_refus': {'main_port_id': 29488001, 'sub_port_id': 29488021, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105782, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 29488001, 'sub_port_id': 29488022, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105783, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'flou': {'main_port_id': 29488001, 'sub_port_id': 29488023, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105784, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'cartonnette': {'main_port_id': 29488001, 'sub_port_id': 29488024, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105785, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}, 'mal_croppe': {'main_port_id': 29488001, 'sub_port_id': 29488025, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20105786, 'last_updated_at': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 6, 28, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 6, 17, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488007 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488008 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488021,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488009 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488022,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488010 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488023,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488011 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488024,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488012 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29488025,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29488013 lien utilise dans velours : https://marlene.fotonower.com/velours/29488014,29488015,29488016,29488017,29488018,29488019,29488020,29488021,29488022,29488023,29488024,29488025?tags=kraft,papier,plastique,Carton_brun,metal,environnement,Carton_gris,autre_refus,Teint_Dans_La_Masse,flou,cartonnette,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29488001]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] map_info['map_portfolio_photo'] : {29488001: [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660, 1399748640, 1399748637, 1399748634, 1399748632, 1399748613, 1399748610, 1399748609, 1399748608, 1399748607, 1399748598, 1399748596, 1399748594, 1399748559, 1399748558, 1399748557, 1399748556, 1399748537, 1399748535, 1399748533, 1399748531, 1399748529, 1399748514, 1399748511, 1399748507, 1399748503, 1399748501, 1399748499, 1399748479, 1399748477, 1399748449, 1399748429, 1399748425, 1399748420]} final : False mtd_id 4302 list_pids : [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] Looping around the photos to save general results len do output : 1 /29488001. 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, '4238101') ('4302', '29488001', '1399748835', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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, '29488001', "{'kraft': 29488002, 'papier': 29488003, 'plastique': 29488004, 'Carton_brun': 29488005, 'metal': 29488006, 'environnement': 29488007, 'Carton_gris': 29488008, 'autre_refus': 29488009, 'Teint_Dans_La_Masse': 29488010, 'flou': 29488011, 'cartonnette': 29488012, 'mal_croppe': 29488013}", None, None, None, None, '4238101'), ('4302', '29488001', '1399748835', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101')] time used for this insertion : 0.03672051429748535 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8846251964569092 time spend to save output : 0.03713369369506836 total time spend for step 1 : 1.9217588901519775 step2:final Wed Dec 17 07:45:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29488001) 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 29488001 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1399748429,1399748425,1399748420,1399748449,1399748479,1399748477,1399748514,1399748511,1399748507,1399748503,1399748501,1399748499,1399748537,1399748535,1399748533,1399748531,1399748529,1399748559,1399748558,1399748557,1399748556,1399748598,1399748596,1399748594,1399748613,1399748610,1399748609,1399748608,1399748607,1399748640,1399748637,1399748634,1399748632,1399748681,1399748675,1399748668,1399748664,1399748662,1399748660,1399748703,1399748701,1399748699,1399748697,1399748722,1399748721,1399748720,1399748756,1399748755,1399748753,1399748751,1399748778,1399748777,1399748776,1399748810,1399748808,1399748806,1399748803,1399748801,1399748835); 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([29488001]) Inside saveOutput : final : False verbose : True original output for save of step final : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} new output for save of step final : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] map_info['map_portfolio_photo'] : {29488001: [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660, 1399748640, 1399748637, 1399748634, 1399748632, 1399748613, 1399748610, 1399748609, 1399748608, 1399748607, 1399748598, 1399748596, 1399748594, 1399748559, 1399748558, 1399748557, 1399748556, 1399748537, 1399748535, 1399748533, 1399748531, 1399748529, 1399748514, 1399748511, 1399748507, 1399748503, 1399748501, 1399748499, 1399748479, 1399748477, 1399748449, 1399748429, 1399748425, 1399748420]} final : False mtd_id 4302 list_pids : [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] Looping around the photos to save general results len do output : 26 /1399748835.Didn't retrieve data . /1399748810.Didn't retrieve data . /1399748808.Didn't retrieve data . /1399748806.Didn't retrieve data . /1399748803.Didn't retrieve data . /1399748801.Didn't retrieve data . /1399748778.Didn't retrieve data . /1399748777.Didn't retrieve data . /1399748776.Didn't retrieve data . /1399748756.Didn't retrieve data . /1399748755.Didn't retrieve data . /1399748753.Didn't retrieve data . /1399748751.Didn't retrieve data . /1399748722.Didn't retrieve data . /1399748721.Didn't retrieve data . /1399748720.Didn't retrieve data . /1399748703.Didn't retrieve data . /1399748701.Didn't retrieve data . /1399748699.Didn't retrieve data . /1399748697.Didn't retrieve data . /1399748681.Didn't retrieve data . /1399748675.Didn't retrieve data . /1399748668.Didn't retrieve data . /1399748664.Didn't retrieve data . /1399748662.Didn't retrieve data . /1399748660.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, '4238101') ('4302', '29488001', '1399748835', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 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', '29488001', '1399748835', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748810', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748808', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748806', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748803', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748801', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748778', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748777', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748776', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748756', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748755', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748753', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748751', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748722', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748721', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748720', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748703', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748701', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748699', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748697', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748681', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748675', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748668', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748664', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748662', '0.06161135460556961', None, None, None, None, '4238101'), ('4302', '29488001', '1399748660', '0.06161135460556961', None, None, None, None, '4238101')] time used for this insertion : 0.0185089111328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10086560249328613 time spend to save output : 0.019745826721191406 total time spend for step 2 : 0.12061142921447754 step3:velours_tree Wed Dec 17 07:46:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29488001: [{'kraft': 29488002, 'papier': 29488003, 'plastique': 29488004, 'Carton_brun': 29488005, 'metal': 29488006, 'environnement': 29488007, 'Carton_gris': 29488008, 'autre_refus': 29488009, 'Teint_Dans_La_Masse': 29488010, 'flou': 29488011, 'cartonnette': 29488012, 'mal_croppe': 29488013}]} input_args_next_step : {29488001: ()} output_args : {29488001: [{'kraft': 29488002, 'papier': 29488003, 'plastique': 29488004, 'Carton_brun': 29488005, 'metal': 29488006, 'environnement': 29488007, 'Carton_gris': 29488008, 'autre_refus': 29488009, 'Teint_Dans_La_Masse': 29488010, 'flou': 29488011, 'cartonnette': 29488012, 'mal_croppe': 29488013}]} args : 29488001 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 : ({'kraft': 29488002, 'papier': 29488003, 'plastique': 29488004, 'Carton_brun': 29488005, 'metal': 29488006, 'environnement': 29488007, 'Carton_gris': 29488008, 'autre_refus': 29488009, 'Teint_Dans_La_Masse': 29488010, 'flou': 29488011, 'cartonnette': 29488012, 'mal_croppe': 29488013},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29488001) 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([29488001]) 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.2536025047302246 time spend to save output : 5.221366882324219e-05 total time spend for step 3 : 0.25365471839904785 step4:send_mail_cod Wed Dec 17 07:46:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} input_args_next_step : {1399748835: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748835 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748810 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748808 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748806 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748803 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748801 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748778 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748777 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748776 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748756 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748755 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748753 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748751 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748722 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748721 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748720 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748703 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748701 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748699 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748697 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748681 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748675 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748668 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748664 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748662 depend.output_id : 0 input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ()} output_args : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',)} args : 1399748660 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 : {29488001: [{'kraft': 29488002, 'papier': 29488003, 'plastique': 29488004, 'Carton_brun': 29488005, 'metal': 29488006, 'environnement': 29488007, 'Carton_gris': 29488008, 'autre_refus': 29488009, 'Teint_Dans_La_Masse': 29488010, 'flou': 29488011, 'cartonnette': 29488012, 'mal_croppe': 29488013}]} input_args_next_step : {1399748835: ('0.06161135460556961',), 1399748810: ('0.06161135460556961',), 1399748808: ('0.06161135460556961',), 1399748806: ('0.06161135460556961',), 1399748803: ('0.06161135460556961',), 1399748801: ('0.06161135460556961',), 1399748778: ('0.06161135460556961',), 1399748777: ('0.06161135460556961',), 1399748776: ('0.06161135460556961',), 1399748756: ('0.06161135460556961',), 1399748755: ('0.06161135460556961',), 1399748753: ('0.06161135460556961',), 1399748751: ('0.06161135460556961',), 1399748722: ('0.06161135460556961',), 1399748721: ('0.06161135460556961',), 1399748720: ('0.06161135460556961',), 1399748703: ('0.06161135460556961',), 1399748701: ('0.06161135460556961',), 1399748699: ('0.06161135460556961',), 1399748697: ('0.06161135460556961',), 1399748681: ('0.06161135460556961',), 1399748675: ('0.06161135460556961',), 1399748668: ('0.06161135460556961',), 1399748664: ('0.06161135460556961',), 1399748662: ('0.06161135460556961',), 1399748660: ('0.06161135460556961',), 29488001: ()} output_args : {29488001: [{'kraft': 29488002, 'papier': 29488003, 'plastique': 29488004, 'Carton_brun': 29488005, 'metal': 29488006, 'environnement': 29488007, 'Carton_gris': 29488008, 'autre_refus': 29488009, 'Teint_Dans_La_Masse': 29488010, 'flou': 29488011, 'cartonnette': 29488012, 'mal_croppe': 29488013}]} args : 29488001 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 :27, first value : ('0.06161135460556961',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29488001) 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_view ph WHERE photo_id IN (1399748835,1399748810,1399748808,1399748806,1399748803,1399748801,1399748778,1399748777,1399748776,1399748756,1399748755,1399748753,1399748751,1399748722,1399748721,1399748720,1399748703,1399748701,1399748699,1399748697,1399748681,1399748675,1399748668,1399748664,1399748662,1399748660) Found this number of photos: 26 ##### Call download_photos : nb_thread : 5 begin to download photo : 1399748660 begin to download photo : 1399748697 begin to download photo : 1399748722 begin to download photo : 1399748777 begin to download photo : 1399748810 download finish for photo 1399748777 begin to download photo : 1399748778 download finish for photo 1399748810 begin to download photo : 1399748835 download finish for photo 1399748722 begin to download photo : 1399748751 download finish for photo 1399748660 begin to download photo : 1399748662 download finish for photo 1399748697 begin to download photo : 1399748699 download finish for photo 1399748778 begin to download photo : 1399748801 download finish for photo 1399748835 download finish for photo 1399748751 begin to download photo : 1399748753 download finish for photo 1399748699 begin to download photo : 1399748701 download finish for photo 1399748662 begin to download photo : 1399748664 download finish for photo 1399748801 begin to download photo : 1399748803 download finish for photo 1399748753 begin to download photo : 1399748755 download finish for photo 1399748664 begin to download photo : 1399748668 download finish for photo 1399748701 begin to download photo : 1399748703 download finish for photo 1399748803 begin to download photo : 1399748806 download finish for photo 1399748755 begin to download photo : 1399748756 download finish for photo 1399748668 begin to download photo : 1399748675 download finish for photo 1399748703 begin to download photo : 1399748720 download finish for photo 1399748806 begin to download photo : 1399748808 download finish for photo 1399748756 begin to download photo : 1399748776 download finish for photo 1399748675 begin to download photo : 1399748681 download finish for photo 1399748720 begin to download photo : 1399748721 download finish for photo 1399748808 download finish for photo 1399748776 download finish for photo 1399748681 download finish for photo 1399748721 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 : 26 ; length of list_pids : 26 ; length of list_args : 26 results_Auto_P29488001_17-12-2025_07_46_01.pdf 29488002 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488002 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748771: '1765949306_2864384_1399748699_f0278d902aa3ea6256d3ccec9b2b8b08_rle_crop_4072575116_0.png', 1399748881: '1765949547_2878559_1399748535_9a47dfa80d872eb89178d19c8f3dcdf0_rle_crop_4072575854_0.png', 1399748882: '1765949547_2878559_1399748533_ecb85802913ed33fb3748f6adf0f4652_rle_crop_4072575873_0.png', 1399748883: '1765949547_2878559_1399748533_ecb85802913ed33fb3748f6adf0f4652_rle_crop_4072575876_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/faadc7cd1dbf81ea34d7e445571bd7db_95581493.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d84c7ad148769c332df93398b71debb_76499476.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5b2be651488a1e6424c16ed216d52bb_82652739.png change filename to text .imagette294880021765953961/ imagette294880021765953961/1765949547_2878559_1399748533_ecb85802913ed33fb3748f6adf0f4652_rle_crop_4072575873_0.png.png imagette294880021765953961/1765949547_2878559_1399748535_9a47dfa80d872eb89178d19c8f3dcdf0_rle_crop_4072575854_0.png.png imagette294880021765953961/1765949547_2878559_1399748533_ecb85802913ed33fb3748f6adf0f4652_rle_crop_4072575876_0.png.png imagette294880021765953961/1765949306_2864384_1399748699_f0278d902aa3ea6256d3ccec9b2b8b08_rle_crop_4072575116_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13e8cbb17c56ce3847abdcd691340b60_11444875.png imagette294880021765953961 29488004 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488004 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748553: '1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574045_0.png', 1399748685: '1765949107_2850589_1399748594_19311a9b0757edc42e4843d0ec0eacd1_rle_crop_4072574708_0.png', 1399748694: '1765949126_2851146_1399748558_29e0962ba05f47a224773dc4d43786ef_rle_crop_4072574770_0.png', 1399748695: '1765949126_2851146_1399748557_0a77ae90d751c50483e4c3423deab8b6_rle_crop_4072574774_0.png', 1399748739: '1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574952_0.png', 1399748770: '1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575102_0.png', 1399748847: '1765949465_2872558_1399748610_c8bb171447eb1fce87ecad0ec3a79507_rle_crop_4072575613_0.png', 1399748854: '1765949487_2873244_1399748613_22f5ae7e833ddd403eded3a4717e2053_rle_crop_4072575691_0.png', 1399748880: '1765949547_2878559_1399748531_360b3aa59a972a024b7370e050b4a954_rle_crop_4072575891_0.png', 1399748910: '1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576055_0.png', 1399748936: '1765949665_2887374_1399748537_ddbb4326d8a04129fcf6e6f681ea3ae4_rle_crop_4072576246_0.png', 1399748937: '1765949665_2887374_1399748507_a5bc806da0cefb34a8bacad06715d376_rle_crop_4072576270_0.png', 1399748938: '1765949665_2887374_1399748507_a5bc806da0cefb34a8bacad06715d376_rle_crop_4072576274_0.png', 1399748939: '1765949665_2887374_1399748503_400c4af3452d7595644493b2dad29b37_rle_crop_4072576285_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/857da3bc2b33274bf10060e8be9df903_48303432.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05f4a846c62f7e77a9928ce67f72a061_6793156.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6964f725a1760851c02445ddacd48823_27750204.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb2e5668f9c37e8250e3823a132f040c_113277.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d3cb51ebdc87339766313d0f1dad784_41777965.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52fbb4e8f2923e7b25c3404e34c61df4_86667760.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88fed15b3192f724a58b7465ce7409cf_59957217.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25515ce2614da1bbd21a2e2fc5db4242_88385078.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79b409a7180cb9219d3240ea0c8b4498_79822764.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b271c31a47a7df596bd71b80b0651b78_41082702.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0900775cbb44eb10b0c98b4b03f9634a_84001791.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1080133d9ffc4a1287e7c33b284ac7a5_79211588.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fe6195374960f4ac53f51f9e9f7f995_4933488.png change filename to text .imagette294880041765953961/ imagette294880041765953961/1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575102_0.png.png imagette294880041765953961/1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574952_0.png.png imagette294880041765953961/1765949465_2872558_1399748610_c8bb171447eb1fce87ecad0ec3a79507_rle_crop_4072575613_0.png.png imagette294880041765953961/1765949665_2887374_1399748503_400c4af3452d7595644493b2dad29b37_rle_crop_4072576285_0.png.png imagette294880041765953961/1765949665_2887374_1399748507_a5bc806da0cefb34a8bacad06715d376_rle_crop_4072576274_0.png.png imagette294880041765953961/1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574045_0.png.png imagette294880041765953961/1765949487_2873244_1399748613_22f5ae7e833ddd403eded3a4717e2053_rle_crop_4072575691_0.png.png imagette294880041765953961/1765949665_2887374_1399748537_ddbb4326d8a04129fcf6e6f681ea3ae4_rle_crop_4072576246_0.png.png imagette294880041765953961/1765949547_2878559_1399748531_360b3aa59a972a024b7370e050b4a954_rle_crop_4072575891_0.png.png imagette294880041765953961/1765949107_2850589_1399748594_19311a9b0757edc42e4843d0ec0eacd1_rle_crop_4072574708_0.png.png imagette294880041765953961/1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576055_0.png.png imagette294880041765953961/1765949126_2851146_1399748558_29e0962ba05f47a224773dc4d43786ef_rle_crop_4072574770_0.png.png imagette294880041765953961/1765949126_2851146_1399748557_0a77ae90d751c50483e4c3423deab8b6_rle_crop_4072574774_0.png.png imagette294880041765953961/1765949665_2887374_1399748507_a5bc806da0cefb34a8bacad06715d376_rle_crop_4072576270_0.png.png imagette294880061765953963/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4e5d323d40d76adce2a3260327c79b0_98778444.png imagette294880041765953961 29488006 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488006 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294880061765953963 29488009 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488009 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748715: '1765949187_2858785_1399748514_54e977a880f4f59375f87845001b1594_rle_crop_4072574833_0.png', 1399748734: '1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574955_0.png', 1399748735: '1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574954_0.png', 1399748736: '1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574969_0.png', 1399748933: '1765949665_2887374_1399748499_f99dd29b56c191e5facdd7d9ecc2701d_rle_crop_4072576311_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3b6046a871f93829d3b26eaa081eb2e_38478100.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6d548e3a6c2237498a8991f7030db28_49357559.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db4f84fc930f4425178625f69d2271c5_26731550.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b88521260309b0472f1b8c2acc4d1fca_29833962.png change filename to text .imagette294880091765953963/ imagette294880091765953963/1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574954_0.png.png imagette294880091765953963/1765949665_2887374_1399748499_f99dd29b56c191e5facdd7d9ecc2701d_rle_crop_4072576311_0.png.png imagette294880091765953963/1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574969_0.png.png imagette294880091765953963/1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574955_0.png.png imagette294880091765953963/1765949187_2858785_1399748514_54e977a880f4f59375f87845001b1594_rle_crop_4072574833_0.png.png imagette294880111765953963/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ea8fb5d6df94a100c8c6874db0a0235_58550075.png imagette294880091765953963 29488011 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488011 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294880111765953963 29488012 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488012 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748551: '1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574040_0.png', 1399748682: '1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574688_0.png', 1399748683: '1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574686_0.png', 1399748684: '1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574684_0.png', 1399748716: '1765949187_2858785_1399748514_54e977a880f4f59375f87845001b1594_rle_crop_4072574830_0.png', 1399748738: '1765949225_2859406_1399748632_9c119bdc51708eaf1f3349d97d3e053d_rle_crop_4072574982_0.png', 1399748879: '1765949547_2878559_1399748531_360b3aa59a972a024b7370e050b4a954_rle_crop_4072575883_0.png', 1399748906: '1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576053_0.png', 1399748907: '1765949606_2881054_1399748753_bb54bd2250572e5ea55231eacc0ef8d1_rle_crop_4072576067_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74c318513aff5ca60ca6b014ca5b3bb6_64078722.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/897af6dd51c15a5b2dfaaaf4d0f6c587_64509604.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf15396d7c2565c62028a32bfe17f4ae_47867788.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1d3d0b5b681065afbcfe3780aa4d533_8937921.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8bddb8c41d611fb3f4f1ba14814fc5a_72924286.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96829904dd682c10c3da09858bf989d1_34444206.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4c2ac08a77ef023e6f7cf0610d2ce4f_70587073.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae5c27be61a4f81fca194a9c31f7f578_66920982.png change filename to text .imagette294880121765953963/ imagette294880121765953963/1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574684_0.png.png imagette294880121765953963/1765949606_2881054_1399748753_bb54bd2250572e5ea55231eacc0ef8d1_rle_crop_4072576067_0.png.png imagette294880121765953963/1765949225_2859406_1399748632_9c119bdc51708eaf1f3349d97d3e053d_rle_crop_4072574982_0.png.png imagette294880121765953963/1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574686_0.png.png imagette294880121765953963/1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574040_0.png.png imagette294880121765953963/1765949187_2858785_1399748514_54e977a880f4f59375f87845001b1594_rle_crop_4072574830_0.png.png imagette294880121765953963/1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576053_0.png.png imagette294880121765953963/1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574688_0.png.png imagette294880121765953963/1765949547_2878559_1399748531_360b3aa59a972a024b7370e050b4a954_rle_crop_4072575883_0.png.png imagette294880131765953964/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d505c3b40f37b409c68777e295d0b1d2_88676113.png imagette294880121765953963 29488013 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488013 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294880131765953964 29488005 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748846: '1765949465_2872558_1399748608_f6e488797725b1daf3b966d6ba921677_rle_crop_4072575636_0.png', 1399748908: '1765949606_2881054_1399748778_3410239c929fb047921a4c5506f213f0_rle_crop_4072576043_0.png', 1399748909: '1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576059_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffe32702903b4e3d7861e72984896256_50284036.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c385ad648503d69a9cd3a2b282a47d32_91840257.png change filename to text .imagette294880051765953964/ imagette294880051765953964/1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576059_0.png.png imagette294880051765953964/1765949606_2881054_1399748778_3410239c929fb047921a4c5506f213f0_rle_crop_4072576043_0.png.png imagette294880051765953964/1765949465_2872558_1399748608_f6e488797725b1daf3b966d6ba921677_rle_crop_4072575636_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3d2799bd95ec4a1de8429a27733fa70_73745878.png imagette294880051765953964 29488008 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488008 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748549: '1765948824_2836769_1399748429_db4c0adecadf2b5500b1383cb47b00ce_rle_crop_4072574029_0.png', 1399748550: '1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574042_0.png', 1399748680: '1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574690_0.png', 1399748737: '1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574967_0.png', 1399748768: '1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575098_0.png', 1399748769: '1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575095_0.png', 1399748797: '1765949348_2865035_1399748664_606f0a3fda1235cc95d91f3de23ff57d_rle_crop_4072575376_0.png', 1399748798: '1765949348_2865035_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd_rle_crop_4072575388_0.png', 1399748799: '1765949348_2865035_1399748660_745378fdb117b11e435bd0787325f82e_rle_crop_4072575404_0.png', 1399748844: '1765949465_2872558_1399748609_71802fc1438f6629cbe45aeb771aa87f_rle_crop_4072575622_0.png', 1399748877: '1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575899_0.png', 1399748878: '1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575908_0.png', 1399748934: '1765949665_2887374_1399748511_282815e1d1f6d36f198d9d51c3be5cc0_rle_crop_4072576254_0.png', 1399748935: '1765949665_2887374_1399748507_a5bc806da0cefb34a8bacad06715d376_rle_crop_4072576272_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b63dbe8344c4c919e93fa80a5b0733b_38576332.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb5c1109f28d23b0e51c9a5f09efc7e9_12282445.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89a8876d1b4d679380e844d325ba3034_80363315.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5450795ac6771b9592873663bf60546e_49662691.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f6ef52889c37b7ea82a11025c2fdef7_19552018.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19c6560dbb341fe46a1628d29a413691_31490438.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c19908f2c0e24bfe300f1f342c061dd_76526724.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/500c7eb9d7bab5f0d3dbc7f12900ca98_9384789.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38f9f04f4ace31b62dae3f9f1ab64132_12839976.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69414e2e5d6e8fc53cad09dee511e251_9141899.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c8c77be4e5c8f2d38b924fb57ed3bf5_8160113.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d13999f26e901092540e1a44d89dba85_73869324.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/655c8156ba19d0ba46bd4e5de1b58d6a_33111463.png change filename to text .imagette294880081765953964/ imagette294880081765953964/1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574042_0.png.png imagette294880081765953964/1765949348_2865035_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd_rle_crop_4072575388_0.png.png imagette294880081765953964/1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575899_0.png.png imagette294880081765953964/1765949465_2872558_1399748609_71802fc1438f6629cbe45aeb771aa87f_rle_crop_4072575622_0.png.png imagette294880081765953964/1765949348_2865035_1399748660_745378fdb117b11e435bd0787325f82e_rle_crop_4072575404_0.png.png imagette294880081765953964/1765948824_2836769_1399748429_db4c0adecadf2b5500b1383cb47b00ce_rle_crop_4072574029_0.png.png imagette294880081765953964/1765949665_2887374_1399748511_282815e1d1f6d36f198d9d51c3be5cc0_rle_crop_4072576254_0.png.png imagette294880081765953964/1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575098_0.png.png imagette294880081765953964/1765949107_2850589_1399748596_dee38b44850d2f407b501013b5dd0d00_rle_crop_4072574690_0.png.png imagette294880081765953964/1765949665_2887374_1399748507_a5bc806da0cefb34a8bacad06715d376_rle_crop_4072576272_0.png.png imagette294880081765953964/1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575095_0.png.png imagette294880081765953964/1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575908_0.png.png imagette294880081765953964/1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574967_0.png.png imagette294880081765953964/1765949348_2865035_1399748664_606f0a3fda1235cc95d91f3de23ff57d_rle_crop_4072575376_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa21e7e5be32d25e2cc162b14a3fc78b_38808336.png imagette294880081765953964 29488010 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488010 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399748796: '1765949348_2865035_1399748660_745378fdb117b11e435bd0787325f82e_rle_crop_4072575405_0.png', 1399748932: '1765949665_2887374_1399748501_8073bf02c041fa0cf622aba557266841_rle_crop_4072576295_0.png', 1399748931: '1765949665_2887374_1399748511_282815e1d1f6d36f198d9d51c3be5cc0_rle_crop_4072576255_0.png', 1399748905: '1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576056_0.png', 1399748876: '1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575905_0.png', 1399748875: '1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575904_0.png', 1399748874: '1765949547_2878559_1399748531_360b3aa59a972a024b7370e050b4a954_rle_crop_4072575896_0.png', 1399748873: '1765949547_2878559_1399748535_9a47dfa80d872eb89178d19c8f3dcdf0_rle_crop_4072575853_0.png', 1399748843: '1765949465_2872558_1399748607_a6ab23fed16865d6c96ba07eb2193561_rle_crop_4072575656_0.png', 1399748842: '1765949465_2872558_1399748609_71802fc1438f6629cbe45aeb771aa87f_rle_crop_4072575625_0.png', 1399748547: '1765948824_2836769_1399748429_db4c0adecadf2b5500b1383cb47b00ce_rle_crop_4072574026_0.png', 1399748795: '1765949348_2865035_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd_rle_crop_4072575391_0.png', 1399748794: '1765949348_2865035_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd_rle_crop_4072575390_0.png', 1399748793: '1765949348_2865035_1399748703_734c20839d09774d5815600464886f9b_rle_crop_4072575305_0.png', 1399748767: '1765949306_2864384_1399748699_f0278d902aa3ea6256d3ccec9b2b8b08_rle_crop_4072575111_0.png', 1399748766: '1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575097_0.png', 1399748731: '1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574971_0.png', 1399748730: '1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574972_0.png', 1399748729: '1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574959_0.png', 1399748548: '1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574048_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e5f1e5d3c48cdf46914b1f1f0f91b9f_95806389.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e0f2cea9a391712023982cf08dbb865_63237923.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca88d187f6b7c042d573c436201606eb_35480004.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/992bbfa366a45c7ca8ca78253618089e_78878228.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1b38ab424aa468cb191ec1ae5f79bbb_43027626.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b04c1e2f19249d820578c9caedcd47bf_42184868.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/920d577f40b50a7b2698037d4d08ae47_42575435.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8f1c9cfc55a514f1c38af9d06175fe2_83829721.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa7f3c6f2801b294e878fecd56fca212_97594161.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c61a0f76fb94d6be4ea18d74922d2e1_97243230.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/755580372b103a5b98801154c372d379_39249858.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/983a2df6c88a5585a8f8b98fcd0cacc9_46631124.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/014480e9f666c0cff59c112e84619ae8_94512743.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c7bf97560a09609855199a7f0be5441_39640361.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11a6d1d75b257c319b9e2fe5fb6fc4f9_97135188.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3df37942235346f9ca667c4eca4d83d5_90263603.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2b48192f30632699d388a97fd1e1eeb_41213942.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b36725014111cf8849213695d6e15f2_86180244.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f663664be332240b4bb813dc67e23d2_83607236.png change filename to text .imagette294880101765953966/ imagette294880101765953966/1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575904_0.png.png imagette294880101765953966/1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574972_0.png.png imagette294880101765953966/1765948824_2836769_1399748425_96d90ea85a45fe317e8c7045ea449027_rle_crop_4072574048_0.png.png imagette294880101765953966/1765949348_2865035_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd_rle_crop_4072575390_0.png.png imagette294880101765953966/1765949348_2865035_1399748703_734c20839d09774d5815600464886f9b_rle_crop_4072575305_0.png.png imagette294880101765953966/1765949306_2864384_1399748701_809c9e2d056d7a4af98597f0aeed4609_rle_crop_4072575097_0.png.png imagette294880101765953966/1765949306_2864384_1399748699_f0278d902aa3ea6256d3ccec9b2b8b08_rle_crop_4072575111_0.png.png imagette294880101765953966/1765949547_2878559_1399748535_9a47dfa80d872eb89178d19c8f3dcdf0_rle_crop_4072575853_0.png.png imagette294880101765953966/1765949225_2859406_1399748637_16931cdf1309cc4293e4e00bf270a5c5_rle_crop_4072574959_0.png.png imagette294880101765953966/1765949348_2865035_1399748660_745378fdb117b11e435bd0787325f82e_rle_crop_4072575405_0.png.png imagette294880101765953966/1765949547_2878559_1399748531_360b3aa59a972a024b7370e050b4a954_rle_crop_4072575896_0.png.png imagette294880101765953966/1765948824_2836769_1399748429_db4c0adecadf2b5500b1383cb47b00ce_rle_crop_4072574026_0.png.png imagette294880101765953966/1765949606_2881054_1399748755_f46636d875de95dcb7abdb55bbafa705_rle_crop_4072576056_0.png.png imagette294880101765953966/1765949225_2859406_1399748634_92e1034e6d31d960d1c3a04d71d65a71_rle_crop_4072574971_0.png.png imagette294880101765953966/1765949665_2887374_1399748511_282815e1d1f6d36f198d9d51c3be5cc0_rle_crop_4072576255_0.png.png imagette294880101765953966/1765949665_2887374_1399748501_8073bf02c041fa0cf622aba557266841_rle_crop_4072576295_0.png.png imagette294880101765953966/1765949547_2878559_1399748529_179b2c278800c6b302eec9f5c4af09a3_rle_crop_4072575905_0.png.png imagette294880101765953966/1765949348_2865035_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd_rle_crop_4072575391_0.png.png imagette294880101765953966/1765949465_2872558_1399748607_a6ab23fed16865d6c96ba07eb2193561_rle_crop_4072575656_0.png.png imagette294880101765953966/1765949465_2872558_1399748609_71802fc1438f6629cbe45aeb771aa87f_rle_crop_4072575625_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43b1135ae02de6ebc680daa283897b6b_91313669.png imagette294880101765953966 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29488001 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29488014,29488015,29488016,29488017,29488018,29488019,29488020,29488021,29488022,29488023,29488024,29488025?tags=kraft,papier,plastique,Carton_brun,metal,environnement,Carton_gris,autre_refus,Teint_Dans_La_Masse,flou,cartonnette,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1399748835] : ('0.06161135460556961',) no score found for photo 1399748835 We are sending mail with results at report@fotonower.com args[1399748810] : ('0.06161135460556961',) no score found for photo 1399748810 We are sending mail with results at report@fotonower.com args[1399748808] : ('0.06161135460556961',) no score found for photo 1399748808 We are sending mail with results at report@fotonower.com args[1399748806] : ('0.06161135460556961',) no score found for photo 1399748806 We are sending mail with results at report@fotonower.com args[1399748803] : ('0.06161135460556961',) no score found for photo 1399748803 We are sending mail with results at report@fotonower.com args[1399748801] : ('0.06161135460556961',) no score found for photo 1399748801 We are sending mail with results at report@fotonower.com args[1399748778] : ('0.06161135460556961',) no score found for photo 1399748778 We are sending mail with results at report@fotonower.com args[1399748777] : ('0.06161135460556961',) no score found for photo 1399748777 We are sending mail with results at report@fotonower.com args[1399748776] : ('0.06161135460556961',) no score found for photo 1399748776 We are sending mail with results at report@fotonower.com args[1399748756] : ('0.06161135460556961',) no score found for photo 1399748756 We are sending mail with results at report@fotonower.com args[1399748755] : ('0.06161135460556961',) no score found for photo 1399748755 We are sending mail with results at report@fotonower.com args[1399748753] : ('0.06161135460556961',) no score found for photo 1399748753 We are sending mail with results at report@fotonower.com args[1399748751] : ('0.06161135460556961',) no score found for photo 1399748751 We are sending mail with results at report@fotonower.com args[1399748722] : ('0.06161135460556961',) no score found for photo 1399748722 We are sending mail with results at report@fotonower.com args[1399748721] : ('0.06161135460556961',) no score found for photo 1399748721 We are sending mail with results at report@fotonower.com args[1399748720] : ('0.06161135460556961',) no score found for photo 1399748720 We are sending mail with results at report@fotonower.com args[1399748703] : ('0.06161135460556961',) no score found for photo 1399748703 We are sending mail with results at report@fotonower.com args[1399748701] : ('0.06161135460556961',) no score found for photo 1399748701 We are sending mail with results at report@fotonower.com args[1399748699] : ('0.06161135460556961',) no score found for photo 1399748699 We are sending mail with results at report@fotonower.com args[1399748697] : ('0.06161135460556961',) no score found for photo 1399748697 We are sending mail with results at report@fotonower.com args[1399748681] : ('0.06161135460556961',) no score found for photo 1399748681 We are sending mail with results at report@fotonower.com args[1399748675] : ('0.06161135460556961',) no score found for photo 1399748675 We are sending mail with results at report@fotonower.com args[1399748668] : ('0.06161135460556961',) no score found for photo 1399748668 We are sending mail with results at report@fotonower.com args[1399748664] : ('0.06161135460556961',) no score found for photo 1399748664 We are sending mail with results at report@fotonower.com args[1399748662] : ('0.06161135460556961',) no score found for photo 1399748662 We are sending mail with results at report@fotonower.com args[1399748660] : ('0.06161135460556961',) no score found for photo 1399748660 We are sending mail with results at report@fotonower.com refus_total : 0.06161135460556961 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488001 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_P29488001_17-12-2025_07_46_01.pdf results_Auto_P29488001_17-12-2025_07_46_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_17-12-2025_07_46_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29488001','results_Auto_P29488001_17-12-2025_07_46_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_17-12-2025_07_46_01.pdf','pdf','','0.39','0.06161135460556961') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29488001]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] map_info['map_portfolio_photo'] : {29488001: [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660, 1399748640, 1399748637, 1399748634, 1399748632, 1399748613, 1399748610, 1399748609, 1399748608, 1399748607, 1399748598, 1399748596, 1399748594, 1399748559, 1399748558, 1399748557, 1399748556, 1399748537, 1399748535, 1399748533, 1399748531, 1399748529, 1399748514, 1399748511, 1399748507, 1399748503, 1399748501, 1399748499, 1399748479, 1399748477, 1399748449, 1399748429, 1399748425, 1399748420]} final : False mtd_id 4302 list_pids : [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] 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, '4238101') ('4302', '29488001', '1399748835', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 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', '29488001', '1399748835', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101')] time used for this insertion : 0.01928997039794922 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.056501388549805 time spend to save output : 0.0196230411529541 total time spend for step 4 : 10.076124429702759 step5:split_time_score Wed Dec 17 07:46:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29488001'] 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 : [('29488001',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29488001) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1399748810: {'path': 'temp/1765953960_758248_1399748810_c30e4a2225e9592523bc8c81f2a5f67d.jpg', 'extension': 'jpg'}, 1399748835: {'path': 'temp/1765953960_758248_1399748835_35dd1e65e204865122c0bc8df216f409.jpg', 'extension': 'jpg'}, 1399748777: {'path': 'temp/1765953960_758248_1399748777_153ef9361251ce8e5bb5e5aaf3a1b9e7.jpg', 'extension': 'jpg'}, 1399748778: {'path': 'temp/1765953960_758248_1399748778_3410239c929fb047921a4c5506f213f0.jpg', 'extension': 'jpg'}, 1399748801: {'path': 'temp/1765953960_758248_1399748801_afac3b8d7afe76bb934834eb62262229.jpg', 'extension': 'jpg'}, 1399748803: {'path': 'temp/1765953960_758248_1399748803_8eb7dc2daf4dec7cc7db2237e30b7759.jpg', 'extension': 'jpg'}, 1399748806: {'path': 'temp/1765953960_758248_1399748806_2f4e112debc3a0c76db72cc7a78c6159.jpg', 'extension': 'jpg'}, 1399748808: {'path': 'temp/1765953960_758248_1399748808_57d794cd72b219efb9091c52c76d4fd5.jpg', 'extension': 'jpg'}, 1399748722: {'path': 'temp/1765953960_758248_1399748722_6da7b12eab74539b5f0ba2466cbc1674.jpg', 'extension': 'jpg'}, 1399748751: {'path': 'temp/1765953960_758248_1399748751_18eb3bc3a8f7c802be2bd0ffe08091ce.jpg', 'extension': 'jpg'}, 1399748753: {'path': 'temp/1765953960_758248_1399748753_bb54bd2250572e5ea55231eacc0ef8d1.jpg', 'extension': 'jpg'}, 1399748755: {'path': 'temp/1765953960_758248_1399748755_f46636d875de95dcb7abdb55bbafa705.jpg', 'extension': 'jpg'}, 1399748756: {'path': 'temp/1765953960_758248_1399748756_57636f8093f1754fac60de67866768e6.jpg', 'extension': 'jpg'}, 1399748776: {'path': 'temp/1765953960_758248_1399748776_6872e029939e0b35010fc3f8fc89ab9e.jpg', 'extension': 'jpg'}, 1399748660: {'path': 'temp/1765953960_758248_1399748660_745378fdb117b11e435bd0787325f82e.jpg', 'extension': 'jpg'}, 1399748662: {'path': 'temp/1765953960_758248_1399748662_d8cbd38bf408818a31fe5e9b4fddeabd.jpg', 'extension': 'jpg'}, 1399748664: {'path': 'temp/1765953960_758248_1399748664_606f0a3fda1235cc95d91f3de23ff57d.jpg', 'extension': 'jpg'}, 1399748668: {'path': 'temp/1765953960_758248_1399748668_9398fcae5dad906239d8b7a8bc4cd753.jpg', 'extension': 'jpg'}, 1399748675: {'path': 'temp/1765953960_758248_1399748675_a41d970084434ba6dac0f6117be846ad.jpg', 'extension': 'jpg'}, 1399748681: {'path': 'temp/1765953960_758248_1399748681_e138a66077d5d724ffa0e1e395e62bba.jpg', 'extension': 'jpg'}, 1399748697: {'path': 'temp/1765953960_758248_1399748697_cd93232f88d5b2a855c8b4ee18eb50a2.jpg', 'extension': 'jpg'}, 1399748699: {'path': 'temp/1765953960_758248_1399748699_f0278d902aa3ea6256d3ccec9b2b8b08.jpg', 'extension': 'jpg'}, 1399748701: {'path': 'temp/1765953960_758248_1399748701_809c9e2d056d7a4af98597f0aeed4609.jpg', 'extension': 'jpg'}, 1399748703: {'path': 'temp/1765953960_758248_1399748703_734c20839d09774d5815600464886f9b.jpg', 'extension': 'jpg'}, 1399748720: {'path': 'temp/1765953960_758248_1399748720_9cbc74401d28d9c03224e4d77c8111fc.jpg', 'extension': 'jpg'}, 1399748721: {'path': 'temp/1765953960_758248_1399748721_9402d3030ba0edd8a83d1970d6216ab9.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 = 29488001; (('arc_en_ciel_jrm_bis',), ('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29488001 group by h (('06', 59),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29488001 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 (29488001) 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 (29488001) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17122025 29488001 Nombre de photos uploadées : 59 / 23040 (0%) 17122025 29488001 Nombre de photos taguées (types de déchets): 0 / 59 (0%) 17122025 29488001 Nombre de photos taguées (volume) : 0 / 59 (0%) [{'photo_id': 1399748429, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db4c0adecadf2b5500b1383cb47b00ce.jpg', 'username': None, 'uploaded_at': 1765948567, 'text': 'image_17122025_06_15_05_010160m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1399748425, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96d90ea85a45fe317e8c7045ea449027.jpg', 'username': None, 'uploaded_at': 1765948567, 'text': 'image_17122025_06_15_15_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399748420, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4156498e86b58af7ed1c6558dd6cda2e.jpg', 'username': None, 'uploaded_at': 1765948567, 'text': 'image_17122025_06_15_25_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399748449, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fd1c825c1cd326e9e69418a35622b9d.jpg', 'username': None, 'uploaded_at': 1765948627, 'text': 'image_17122025_06_15_54_009126m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00261688232421875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29488001, '2025-12-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-17' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2748388,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24464726448059082 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= 2748388 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29485245, 'dashboard_result_id': 18454620, '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_P29485245_17-12-2025_06_07_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485257, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29485330, 'dashboard_result_id': 18454621, '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_P29485330_17-12-2025_06_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485342, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29486151, 'dashboard_result_id': 18454622, '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_P29486151_17-12-2025_06_08_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486167, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29486387, 'dashboard_result_id': 18454623, '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_P29486387_17-12-2025_06_09_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29486392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486403, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29486785, 'dashboard_result_id': 18454624, '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_P29486785_17-12-2025_05_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486800, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29487088, 'dashboard_result_id': 18454625, '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_P29487088_17-12-2025_06_03_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487108, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29487491, 'dashboard_result_id': 18454626, '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_P29487491_17-12-2025_06_17_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487506, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29488001, 'dashboard_result_id': 18454627, '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_P29488001_17-12-2025_06_28_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488013, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29488439, 'dashboard_result_id': 18454628, '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_P29488439_17-12-2025_06_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488454, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29488957, 'dashboard_result_id': 18454629, '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_P29488957_17-12-2025_07_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488976, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29489376, 'dashboard_result_id': 18454630, '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_P29489376_17-12-2025_07_19_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29489402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29489403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29489404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29489405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29489406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29489407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29489408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29489409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29489410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29489411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29489412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29489413, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29489974, 'dashboard_result_id': 18454631, '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_P29489974_17-12-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490018, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2756962, 'mtr_portfolio_id': 29490515, 'dashboard_result_id': 18454632, '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_P29490515_17-12-2025_07_44_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490552, '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 = 29485245 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': 4237902, 'mtr_portfolio_id': 29485245, 'created_at': datetime.datetime(2025, 12, 17, 6, 7, 31), 'result': '0.02842152714867772', 'result_long': None, 'result_double': None}] Qualite : 0.02842152714867772 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29485245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485245_17-12-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29485245 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_P29485245_17-12-2025_06_07_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485257, 'pht': 3726}}" where mtr_portfolio_id = 29485245 and dashboard_run_id = 2756962 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`=29485245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454620, 0.02842152714867772, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485245_17-12-2025_06_07_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485257, '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 = 29485330 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': 4237903, 'mtr_portfolio_id': 29485330, 'created_at': datetime.datetime(2025, 12, 17, 6, 8), 'result': '0.07549590350533569', 'result_long': None, 'result_double': None}] Qualite : 0.07549590350533569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29485330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485330_17-12-2025_06_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29485330 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_P29485330_17-12-2025_06_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485342, 'pht': 3726}}" where mtr_portfolio_id = 29485330 and dashboard_run_id = 2756962 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`=29485330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454621, 0.07549590350533569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485330_17-12-2025_06_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485342, '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 = 29486151 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': 4237905, 'mtr_portfolio_id': 29486151, 'created_at': datetime.datetime(2025, 12, 17, 6, 8, 29), 'result': '0.03183617600169805', 'result_long': None, 'result_double': None}] Qualite : 0.03183617600169805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29486151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486151_17-12-2025_06_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29486151 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_P29486151_17-12-2025_06_08_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486167, 'pht': 3726}}" where mtr_portfolio_id = 29486151 and dashboard_run_id = 2756962 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`=29486151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454622, 0.03183617600169805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486151_17-12-2025_06_08_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486167, '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 = 29486387 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': 4237906, 'mtr_portfolio_id': 29486387, 'created_at': datetime.datetime(2025, 12, 17, 6, 9, 26), 'result': '0.0324798333062245', 'result_long': None, 'result_double': None}] Qualite : 0.0324798333062245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29486387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486387_17-12-2025_06_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29486387 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_P29486387_17-12-2025_06_09_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29486392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486403, 'pht': 3726}}" where mtr_portfolio_id = 29486387 and dashboard_run_id = 2756962 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`=29486387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454623, 0.0324798333062245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486387_17-12-2025_06_09_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29486392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486403, '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 = 29486785 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': 4237838, 'mtr_portfolio_id': 29486785, 'created_at': datetime.datetime(2025, 12, 17, 5, 46, 58), 'result': '0.04598327004340759', 'result_long': None, 'result_double': None}] Qualite : 0.04598327004340759 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29486785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486785_17-12-2025_05_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29486785 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_P29486785_17-12-2025_05_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486800, 'pht': 3726}}" where mtr_portfolio_id = 29486785 and dashboard_run_id = 2756962 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`=29486785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454624, 0.04598327004340759, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486785_17-12-2025_05_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486800, '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 = 29487088 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': 4237952, 'mtr_portfolio_id': 29487088, 'created_at': datetime.datetime(2025, 12, 17, 6, 3, 32), 'result': '0.06849932624904866', 'result_long': None, 'result_double': None}] Qualite : 0.06849932624904866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29487088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487088_17-12-2025_06_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29487088 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_P29487088_17-12-2025_06_03_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487108, 'pht': 3726}}" where mtr_portfolio_id = 29487088 and dashboard_run_id = 2756962 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`=29487088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454625, 0.06849932624904866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487088_17-12-2025_06_03_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487108, '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 = 29487491 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': 4238038, 'mtr_portfolio_id': 29487491, 'created_at': datetime.datetime(2025, 12, 17, 6, 17, 1), 'result': '0.04276553075229865', 'result_long': None, 'result_double': None}] Qualite : 0.04276553075229865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29487491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487491_17-12-2025_06_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29487491 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_P29487491_17-12-2025_06_17_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487506, 'pht': 3726}}" where mtr_portfolio_id = 29487491 and dashboard_run_id = 2756962 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`=29487491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454626, 0.04276553075229865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487491_17-12-2025_06_17_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487506, '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 = 29488001 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': 4238101, 'mtr_portfolio_id': 29488001, 'created_at': datetime.datetime(2025, 12, 17, 7, 46), 'result': '0.06161135460556961', 'result_long': None, 'result_double': None}] Qualite : 0.06161135460556961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29488001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_17-12-2025_07_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29488001 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_P29488001_17-12-2025_07_46_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488013, 'pht': 3726}}" where mtr_portfolio_id = 29488001 and dashboard_run_id = 2756962 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`=29488001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454627, 0.06161135460556961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_17-12-2025_07_46_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488013, '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 = 29488439 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': 4238167, 'mtr_portfolio_id': 29488439, 'created_at': datetime.datetime(2025, 12, 17, 6, 48, 57), 'result': '0.03138842258814577', 'result_long': None, 'result_double': None}] Qualite : 0.03138842258814577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29488439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488439_17-12-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29488439 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_P29488439_17-12-2025_06_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488454, 'pht': 3726}}" where mtr_portfolio_id = 29488439 and dashboard_run_id = 2756962 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`=29488439 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454628, 0.03138842258814577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488439_17-12-2025_06_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488454, '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 = 29488957 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': 4238245, 'mtr_portfolio_id': 29488957, 'created_at': datetime.datetime(2025, 12, 17, 7, 2, 57), 'result': '0.06134156506036359', 'result_long': None, 'result_double': None}] Qualite : 0.06134156506036359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29488957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488957_17-12-2025_07_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29488957 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_P29488957_17-12-2025_07_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488976, 'pht': 3726}}" where mtr_portfolio_id = 29488957 and dashboard_run_id = 2756965 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`=29488957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454629, 0.06134156506036359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488957_17-12-2025_07_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488976, '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 = 29489376 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': 4238312, 'mtr_portfolio_id': 29489376, 'created_at': datetime.datetime(2025, 12, 17, 7, 19, 1), 'result': '0.05220400425543265', 'result_long': None, 'result_double': None}] Qualite : 0.05220400425543265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29489376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489376_17-12-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29489376 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_P29489376_17-12-2025_07_19_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29489402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29489403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29489404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29489405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29489406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29489407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29489408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29489409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29489410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29489411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29489412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29489413, 'pht': 3726}}" where mtr_portfolio_id = 29489376 and dashboard_run_id = 2756965 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`=29489376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454630, 0.05220400425543265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489376_17-12-2025_07_19_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29489402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29489403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29489404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29489405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29489406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29489407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29489408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29489409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29489410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29489411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29489412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29489413, '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 = 29489974 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': 4238396, 'mtr_portfolio_id': 29489974, 'created_at': datetime.datetime(2025, 12, 17, 7, 32, 59), 'result': '0.05084775663673203', 'result_long': None, 'result_double': None}] Qualite : 0.05084775663673203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29489974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489974_17-12-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29489974 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_P29489974_17-12-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490018, 'pht': 3726}}" where mtr_portfolio_id = 29489974 and dashboard_run_id = 2756965 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`=29489974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454631, 0.05084775663673203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489974_17-12-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490018, '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 = 29490515 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': 4238455, 'mtr_portfolio_id': 29490515, 'created_at': datetime.datetime(2025, 12, 17, 7, 44, 58), 'result': '0.04009653043460874', 'result_long': None, 'result_double': None}] Qualite : 0.04009653043460874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29490515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29490515_17-12-2025_07_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29490515 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_P29490515_17-12-2025_07_44_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490552, 'pht': 3726}}" where mtr_portfolio_id = 29490515 and dashboard_run_id = 2756965 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`=29490515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18454632, 0.04009653043460874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29490515_17-12-2025_07_44_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490552, '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 (29485245,29485330,29486151,29486387,29486785,29487088,29487491,29488001,29488439,29488957,29489376,29489974,29490515) result : ((1399736565,), (1399736593,), (1399736649,), (1399736650,), (1399736692,), (1399736693,), (1399736694,), (1399736790,), (1399736818,), (1399736820,), (1399736821,), (1399736824,), (1399736845,), (1399736900,), (1399736932,), (1399736959,), (1399736961,), (1399736979,), (1399743998,), (1399744452,), (1399744765,), (1399744778,), (1399744780,), (1399744782,), (1399744786,), (1399744790,), (1399744802,), (1399744803,), (1399744804,), (1399744805,), (1399744808,), (1399744826,), (1399744827,), (1399744828,), (1399744829,), (1399744848,), (1399744849,), (1399744850,), (1399744851,), (1399744872,), (1399744873,), (1399744874,), (1399744875,), (1399744889,), (1399744890,), (1399744891,), (1399744892,), (1399744913,), (1399744914,), (1399744915,), (1399744916,), (1399744919,), (1399744934,), (1399744936,), (1399744937,), (1399744940,), (1399744944,), (1399744947,), (1399744958,), (1399744959,), (1399744963,), (1399744961,), (1399744962,), (1399744977,), (1399744978,), (1399744997,), (1399744998,), (1399744999,), (1399745000,), (1399745002,), (1399745005,), (1399745017,), (1399745019,), (1399745021,), (1399745024,), (1399745028,), (1399745036,), (1399745047,), (1399745060,), (1399745061,), (1399745062,), (1399745063,), (1399745066,), (1399745093,), (1399745094,), (1399745095,), (1399745096,), (1399745099,), (1399745111,), (1399745112,), (1399745113,), (1399745114,), (1399745117,), (1399745121,), (1399745135,), (1399745136,), (1399745137,), (1399745138,), (1399745151,), (1399745152,), (1399745153,), (1399745154,), (1399745156,), (1399745159,), (1399745186,), (1399745187,), (1399745188,), (1399745189,), (1399745192,), (1399745202,), (1399745203,), (1399745204,), (1399745280,), (1399745301,), (1399745299,), (1399745300,), (1399745326,), (1399745328,), (1399745330,), (1399745345,), (1399745346,), (1399745362,), (1399745364,), (1399745366,), (1399745367,), (1399745369,), (1399745382,), (1399745383,), (1399745384,), (1399745386,), (1399745391,), (1399745394,), (1399745404,), (1399745418,), (1399745420,), (1399745421,), (1399745422,), (1399745441,), (1399745442,), (1399745443,), (1399745444,), (1399745446,), (1399745463,), (1399745464,), (1399745465,), (1399745468,), (1399745470,), (1399745473,), (1399745481,), (1399745483,), (1399745485,), (1399745487,), (1399745491,), (1399745518,), (1399745520,), (1399745522,), (1399745526,), (1399745530,), (1399745534,), (1399745541,), (1399745542,), (1399745543,), (1399745544,), (1399745559,), (1399745560,), (1399745561,), (1399745578,), (1399745579,), (1399745580,), (1399745581,), (1399745584,), (1399745588,), (1399745601,), (1399745602,), (1399745603,), (1399745616,), (1399745617,), (1399745618,), (1399745621,), (1399745625,), (1399745629,), (1399745643,), (1399745641,), (1399745642,), (1399745655,), (1399745669,), (1399745671,), (1399745673,), (1399745677,), (1399745690,), (1399745691,), (1399745692,), (1399745693,), (1399745715,), (1399745716,), (1399745717,), (1399745718,), (1399745737,), (1399745738,), (1399745739,), (1399745757,), (1399745758,), (1399745759,), (1399745760,), (1399745763,), (1399745776,), (1399745778,), (1399745780,), (1399745784,), (1399745788,), (1399745820,), (1399745821,), (1399745822,), (1399745823,), (1399745845,), (1399745847,), (1399745851,), (1399745855,), (1399745859,), (1399745863,), (1399745873,), (1399745874,), (1399745875,), (1399745876,), (1399745877,), (1399745894,), (1399745895,), (1399745896,), (1399745897,), (1399745899,), (1399745902,), (1399745929,), (1399745930,), (1399745932,), (1399745935,), (1399745937,), (1399745939,), (1399745945,), (1399745947,), (1399745948,), (1399745950,), (1399745952,), (1399745954,), (1399746224,), (1399746269,), (1399746304,), (1399746634,), (1399746591,), (1399746594,), (1399746597,), (1399746601,), (1399746822,), (1399746823,), (1399746824,), (1399746825,), (1399747199,), (1399747231,), (1399747265,), (1399747651,), (1399747686,), (1399747717,), (1399747748,), (1399747781,), (1399747894,), (1399747932,), (1399747964,), (1399747981,), (1399747992,), (1399747996,), (1399748043,), (1399748062,), (1399748089,), (1399748093,), (1399748098,), (1399748103,), (1399748104,), (1399748107,), (1399748110,), (1399748124,), (1399748126,), (1399748128,), (1399748130,), (1399748133,), (1399748135,), (1399748159,), (1399748161,), (1399748162,), (1399748164,), (1399748166,), (1399748168,), (1399748197,), (1399748199,), (1399748202,), (1399748204,), (1399748206,), (1399748208,), (1399748230,), (1399748234,), (1399748236,), (1399748239,), (1399748245,), (1399748253,), (1399748259,), (1399748260,), (1399748262,), (1399748264,), (1399748266,), (1399748267,), (1399748271,), (1399748272,), (1399748275,), (1399748276,), (1399748277,), (1399748278,), (1399748282,), (1399748284,), (1399748285,), (1399748287,), (1399748292,), (1399748294,), (1399748303,), (1399748305,), (1399748306,), (1399748307,), (1399748310,), (1399748312,), (1399748335,), (1399748344,), (1399748430,), (1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,), (1399748826,), (1399748827,), (1399748828,), (1399748831,), (1399748856,), (1399748858,), (1399748859,), (1399748860,), (1399748884,), (1399748885,), (1399748886,), (1399748887,), (1399748890,), (1399748911,), (1399748912,), (1399748913,), (1399748916,), (1399748919,), (1399748920,), (1399748929,), (1399748930,), (1399748940,), (1399748941,), (1399748942,), (1399748969,), (1399749052,), (1399749053,), (1399749054,), (1399749055,), (1399749086,), (1399749087,), (1399749088,), (1399749107,), (1399749108,), (1399749127,), (1399749129,), (1399749131,), (1399749133,), (1399749135,), (1399749137,), (1399749151,), (1399749152,), (1399749153,), (1399749154,), (1399749156,), (1399749181,), (1399749183,), (1399749198,), (1399749199,), (1399749201,), (1399749202,), (1399749204,), (1399749206,), (1399749241,), (1399749231,), (1399749232,), (1399749234,), (1399749236,), (1399749239,), (1399749253,), (1399749255,), (1399749257,), (1399749261,), (1399749292,), (1399749293,), (1399749295,), (1399749297,), (1399749299,), (1399749301,), (1399749312,), (1399749315,), (1399749316,), (1399749317,), (1399749320,), (1399749323,), (1399749350,), (1399749352,), (1399749354,), (1399749375,), (1399749377,), (1399749379,), (1399749381,), (1399749383,), (1399749412,), (1399749414,), (1399749416,), (1399749431,), (1399749432,), (1399749434,), (1399749435,), (1399749437,), (1399749439,), (1399749481,), (1399749482,), (1399749483,), (1399749510,), (1399749513,), (1399749516,), (1399749520,), (1399749523,), (1399749526,), (1399749553,), (1399749554,), (1399749555,), (1399749556,), (1399749575,), (1399749578,), (1399749579,), (1399749581,), (1399749610,), (1399749611,), (1399749612,), (1399749615,), (1399749618,), (1399749621,), (1399749628,), (1399749629,), (1399749630,), (1399750064,), (1399750098,), (1399750132,), (1399750165,), (1399750299,), (1399750300,), (1399750331,), (1399750335,), (1399750364,), (1399750367,), (1399750576,), (1399750567,), (1399750570,), (1399750573,), (1399750937,), (1399750971,), (1399751005,), (1399751038,), (1399751071,), (1399751444,), (1399751481,), (1399751513,), (1399751545,), (1399751673,), (1399751675,), (1399751677,), (1399751679,), (1399751709,), (1399751986,), (1399751987,), (1399751988,), (1399752020,), (1399752030,), (1399752047,), (1399752066,), (1399752067,), (1399752071,), (1399752073,), (1399752075,), (1399752077,), (1399752080,), (1399752082,), (1399752108,), (1399752109,), (1399752110,), (1399752111,), (1399752138,), (1399752140,), (1399752142,), (1399752145,), (1399752148,), (1399752150,), (1399752160,), (1399752164,), (1399752167,), (1399752168,), (1399752169,), (1399752213,), (1399752215,), (1399752217,), (1399752235,), (1399752237,), (1399752239,), (1399752241,), (1399752269,), (1399752270,), (1399752271,), (1399752294,), (1399752313,), (1399752314,), (1399752315,), (1399752333,), (1399752335,), (1399752338,), (1399752395,), (1399752393,), (1399752394,), (1399752468,), (1399752475,), (1399752477,), (1399752478,), (1399752487,), (1399752489,), (1399752526,), (1399752528,), (1399752531,), (1399752535,), (1399752539,), (1399752541,), (1399752886,), (1399752943,), (1399752965,), (1399752966,), (1399752969,), (1399753141,), (1399753142,), (1399753191,), (1399753193,), (1399753194,), (1399753196,), (1399753286,), (1399753287,), (1399753288,), (1399753289,), (1399753292,), (1399753294,), (1399753485,), (1399753490,), (1399753501,), (1399753513,), (1399753520,), (1399753521,), (1399753543,), (1399753545,), (1399753553,), (1399753560,), (1399753594,), (1399753655,), (1399754118,), (1399754134,), (1399754138,), (1399754139,), (1399754213,), (1399754214,), (1399754215,), (1399754219,), (1399754221,), (1399754254,), (1399754256,), (1399754258,), (1399754261,), (1399754265,), (1399754267,), (1399754298,), (1399754300,), (1399754302,), (1399754304,), (1399754325,), (1399754327,), (1399754349,), (1399754344,), (1399754345,), (1399754346,), (1399754347,), (1399754369,), (1399754370,), (1399754371,), (1399754372,), (1399754375,), (1399754393,), (1399754394,), (1399754396,), (1399754398,), (1399754402,), (1399754447,), (1399754449,), (1399754659,), (1399754692,), (1399754743,), (1399754781,), (1399754785,), (1399754906,), (1399754907,), (1399754908,), (1399754909,), (1399754931,), (1399754933,), (1399754934,), (1399754936,), (1399755029,), (1399755059,), (1399755061,), (1399755158,), (1399755159,), (1399755160,), (1399755161,), (1399755187,), (1399755188,), (1399755189,), (1399755204,), (1399755205,), (1399755206,), (1399755207,), (1399755210,), (1399755247,), (1399755248,), (1399755249,), (1399755400,), (1399755411,), (1399755436,), (1399755438,), (1399755450,), (1399755506,), (1399755507,), (1399755508,), (1399755509,), (1399755512,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17122025': {'nb_upload': 59, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29488001]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] map_info['map_portfolio_photo'] : {29488001: [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660, 1399748640, 1399748637, 1399748634, 1399748632, 1399748613, 1399748610, 1399748609, 1399748608, 1399748607, 1399748598, 1399748596, 1399748594, 1399748559, 1399748558, 1399748557, 1399748556, 1399748537, 1399748535, 1399748533, 1399748531, 1399748529, 1399748514, 1399748511, 1399748507, 1399748503, 1399748501, 1399748499, 1399748479, 1399748477, 1399748449, 1399748429, 1399748425, 1399748420]} final : True mtd_id 4302 list_pids : [1399748835, 1399748810, 1399748808, 1399748806, 1399748803, 1399748801, 1399748778, 1399748777, 1399748776, 1399748756, 1399748755, 1399748753, 1399748751, 1399748722, 1399748721, 1399748720, 1399748703, 1399748701, 1399748699, 1399748697, 1399748681, 1399748675, 1399748668, 1399748664, 1399748662, 1399748660] Looping around the photos to save general results len do output : 1 /29488001Didn'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, '4238101') ('4302', '29488001', '1399748835', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101') ('4302', None, None, None, None, None, None, None, '4238101') ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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, '29488001', 'None', None, None, None, None, '4238101'), ('4302', '29488001', '1399748835', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748810', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748808', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748806', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748803', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748801', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748778', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748777', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748776', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748756', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748755', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748753', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748751', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748722', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748721', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748720', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748703', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748701', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748699', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748697', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748681', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748675', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748668', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748664', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748662', None, None, None, None, None, '4238101'), ('4302', '29488001', '1399748660', None, None, None, None, None, '4238101')] time used for this insertion : 0.021277427673339844 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3566904067993164 time spend to save output : 0.02158188819885254 total time spend for step 5 : 1.378272294998169 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 (4238101) 2.69user 2.52system 0:15.95elapsed 32%CPU (0avgtext+0avgdata 174700maxresident)k 0inputs+24808outputs (0major+82410minor)pagefaults 0swaps