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 : 2405392 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 (2581520) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2581520) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497769 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2581520'] with mtr_portfolio_ids : ['20497769'] and first list_photo_ids : [] new path : /proc/2405392/ Name: python3 Umask: 0002 State: R (running) Tgid: 2405392 Ngid: 0 Pid: 2405392 PPid: 2405391 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2405392 NSpid: 2405392 NSpgid: 2402870 NSsid: 2402870 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99276 kB VmRSS: 99276 kB RssAnon: 59744 kB RssFile: 39532 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 54 nonvoluntary_ctxt_switches: 104 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2405392', 'Ngid': '0', 'Pid': '2405392', 'PPid': '2405391', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2405392', 'NSpid': '2405392', 'NSpgid': '2402870', 'NSsid': '2402870', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99276 kB', 'VmRSS': '99276 kB', 'RssAnon': '59744 kB', 'RssFile': '39532 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '54', 'nonvoluntary_ctxt_switches': '104'} ('datou_batch_current', '2405392', '1106840', '0', '1106840', '865592', '99276', b'', 'marlene', '2581520') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (20497769) 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 (2581520 ) ) 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 (20497769) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1337278914, 'portfolio_id': 20497769}, {'photo_id': 1337278858, 'portfolio_id': 20497769}, {'photo_id': 1337278817, 'portfolio_id': 20497769}, {'photo_id': 1337278744, 'portfolio_id': 20497769}, {'photo_id': 1337278590, 'portfolio_id': 20497769}, {'photo_id': 1337278582, 'portfolio_id': 20497769}, {'photo_id': 1337278573, 'portfolio_id': 20497769}, {'photo_id': 1337278571, 'portfolio_id': 20497769}, {'photo_id': 1337278563, 'portfolio_id': 20497769}, {'photo_id': 1337278277, 'portfolio_id': 20497769}, {'photo_id': 1337278272, 'portfolio_id': 20497769}, {'photo_id': 1337278221, 'portfolio_id': 20497769}, {'photo_id': 1337278137, 'portfolio_id': 20497769}, {'photo_id': 1337278077, 'portfolio_id': 20497769}, {'photo_id': 1337277878, 'portfolio_id': 20497769}, {'photo_id': 1337277864, 'portfolio_id': 20497769}, {'photo_id': 1337277860, 'portfolio_id': 20497769}, {'photo_id': 1337277857, 'portfolio_id': 20497769}, {'photo_id': 1337277856, 'portfolio_id': 20497769}, {'photo_id': 1337277855, 'portfolio_id': 20497769}, {'photo_id': 1337277315, 'portfolio_id': 20497769}, {'photo_id': 1337277238, 'portfolio_id': 20497769}, {'photo_id': 1337277164, 'portfolio_id': 20497769}, {'photo_id': 1337276809, 'portfolio_id': 20497769}, {'photo_id': 1337276807, 'portfolio_id': 20497769}, {'photo_id': 1337276805, 'portfolio_id': 20497769}, {'photo_id': 1337276804, 'portfolio_id': 20497769}, {'photo_id': 1337276803, 'portfolio_id': 20497769}, {'photo_id': 1337276802, 'portfolio_id': 20497769}, {'photo_id': 1337276784, 'portfolio_id': 20497769}, {'photo_id': 1337276782, 'portfolio_id': 20497769}, {'photo_id': 1337276780, 'portfolio_id': 20497769}, {'photo_id': 1337276772, 'portfolio_id': 20497769}, {'photo_id': 1337276766, 'portfolio_id': 20497769}, {'photo_id': 1337276763, 'portfolio_id': 20497769}, {'photo_id': 1337276760, 'portfolio_id': 20497769}, {'photo_id': 1337276758, 'portfolio_id': 20497769}, {'photo_id': 1337276754, 'portfolio_id': 20497769}, {'photo_id': 1337276728, 'portfolio_id': 20497769}, {'photo_id': 1337276723, 'portfolio_id': 20497769}, {'photo_id': 1337276715, 'portfolio_id': 20497769}, {'photo_id': 1337276697, 'portfolio_id': 20497769}, {'photo_id': 1337276695, 'portfolio_id': 20497769}, {'photo_id': 1337276693, 'portfolio_id': 20497769}, {'photo_id': 1337276531, 'portfolio_id': 20497769}, {'photo_id': 1337276469, 'portfolio_id': 20497769}, {'photo_id': 1337276435, 'portfolio_id': 20497769}, {'photo_id': 1337275948, 'portfolio_id': 20497769}, {'photo_id': 1337275877, 'portfolio_id': 20497769}, {'photo_id': 1337275824, 'portfolio_id': 20497769}, {'photo_id': 1337275710, 'portfolio_id': 20497769}, {'photo_id': 1337275644, 'portfolio_id': 20497769}] map_portfolio_id_photo_id: {20497769: [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855, 1337277315, 1337277238, 1337277164, 1337276809, 1337276807, 1337276805, 1337276804, 1337276803, 1337276802, 1337276784, 1337276782, 1337276780, 1337276772, 1337276766, 1337276763, 1337276760, 1337276758, 1337276754, 1337276728, 1337276723, 1337276715, 1337276697, 1337276695, 1337276693, 1337276531, 1337276469, 1337276435, 1337275948, 1337275877, 1337275824, 1337275710, 1337275644]} ##### 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.017643451690673828 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Feb 13 05:57: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20497769) 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 : 20497769 get user id for portfolio 20497769 get sub ptf for main ptf 20497769, type 3726 and hashtags ['plastique', 'autre_refus', 'Carton_brun', 'papier', 'mal_croppe', 'metal', 'flou', 'Teint_Dans_La_Masse', 'Carton_gris', 'environnement', 'kraft', 'cartonnette'] 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`=20497769 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','autre_refus','Carton_brun','papier','mal_croppe','metal','flou','Teint_Dans_La_Masse','Carton_gris','environnement','kraft','cartonnette')) 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`=20497769 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','autre_refus','Carton_brun','papier','mal_croppe','metal','flou','Teint_Dans_La_Masse','Carton_gris','environnement','kraft','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20497769, 'sub_port_id': 20497772, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167065, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'kraft': {'main_port_id': 20497769, 'sub_port_id': 20497773, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167066, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'metal': {'main_port_id': 20497769, 'sub_port_id': 20497774, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167067, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'cartonnette': {'main_port_id': 20497769, 'sub_port_id': 20497775, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167068, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'flou': {'main_port_id': 20497769, 'sub_port_id': 20497776, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167069, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'autre_refus': {'main_port_id': 20497769, 'sub_port_id': 20497777, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167070, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'Carton_gris': {'main_port_id': 20497769, 'sub_port_id': 20497778, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167071, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'environnement': {'main_port_id': 20497769, 'sub_port_id': 20497779, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167072, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 20497769, 'sub_port_id': 20497780, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167073, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'plastique': {'main_port_id': 20497769, 'sub_port_id': 20497781, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167074, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'papier': {'main_port_id': 20497769, 'sub_port_id': 20497782, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167075, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}, 'mal_croppe': {'main_port_id': 20497769, 'sub_port_id': 20497783, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167076, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20497772 , 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=20497769 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 (20497772) result : ((1337277343,), (1337277344,), (1337277346,), (1337277347,), (1337277708,), (1337278406,), (1337278407,), (1337279044,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497773 , 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=20497769 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 (20497773) result : ((1337277361,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497774 , 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=20497769 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 (20497774) result : ((1337277377,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497775 , 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=20497769 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 (20497775) result : ((1337276769,), (1337277318,), (1337277319,), (1337277321,), (1337277322,), (1337277694,), (1337278306,), (1337278395,), (1337278397,), (1337278398,), (1337279041,), (1337279042,), (1337279043,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497776 , 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=20497769 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 (20497776) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497777 , 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=20497769 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 (20497777) result : ((1337277680,), (1337278279,), (1337278366,), (1337278367,), (1337279037,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497778 , 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=20497769 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 (20497778) result : ((1337276815,), (1337277285,), (1337278303,), (1337278304,), (1337278305,), (1337278368,), (1337279039,), (1337279040,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497779 , 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=20497769 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 (20497779) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497780 , 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=20497769 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 (20497780) result : ((1337276767,), (1337276768,), (1337276814,), (1337277270,), (1337277271,), (1337277665,), (1337277666,), (1337277858,), (1337277859,), (1337277885,), (1337277886,), (1337278273,), (1337278274,), (1337278275,), (1337278276,), (1337278358,), (1337278359,), (1337278360,), (1337278361,), (1337278362,), (1337278363,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497781 , 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=20497769 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 (20497781) result : ((1337278408,), (1337279046,), (1337279047,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497782 , 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=20497769 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 (20497782) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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 20497783 , 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=20497769 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 (20497783) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20497769) result : ((1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) 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`=20497769 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','autre_refus','Carton_brun','papier','mal_croppe','metal','flou','Teint_Dans_La_Masse','Carton_gris','environnement','kraft','cartonnette')) 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`=20497769 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','autre_refus','Carton_brun','papier','mal_croppe','metal','flou','Teint_Dans_La_Masse','Carton_gris','environnement','kraft','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20497769, 'sub_port_id': 20497784, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167077, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'kraft': {'main_port_id': 20497769, 'sub_port_id': 20497785, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167078, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'metal': {'main_port_id': 20497769, 'sub_port_id': 20497786, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167079, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'cartonnette': {'main_port_id': 20497769, 'sub_port_id': 20497787, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167080, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'flou': {'main_port_id': 20497769, 'sub_port_id': 20497788, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167081, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'autre_refus': {'main_port_id': 20497769, 'sub_port_id': 20497789, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167082, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'Carton_gris': {'main_port_id': 20497769, 'sub_port_id': 20497790, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167083, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'environnement': {'main_port_id': 20497769, 'sub_port_id': 20497791, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167084, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 20497769, 'sub_port_id': 20497792, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167085, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'plastique': {'main_port_id': 20497769, 'sub_port_id': 20497793, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167086, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'papier': {'main_port_id': 20497769, 'sub_port_id': 20497794, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167087, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 49, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}, 'mal_croppe': {'main_port_id': 20497769, 'sub_port_id': 20497795, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13167088, 'last_updated_at': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 13, 5, 52, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 13, 5, 49, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497784,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497772 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497785,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497773 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497786,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497774 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497787,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497775 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497788,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497776 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497789,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497777 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497790,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497778 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497791,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497779 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497792,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497780 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497793,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497781 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497794,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497782 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20497795,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20497783 lien utilise dans velours : https://www.fotonower.com/velours/20497784,20497785,20497786,20497787,20497788,20497789,20497790,20497791,20497792,20497793,20497794,20497795?tags=Carton_brun,kraft,metal,cartonnette,flou,autre_refus,Carton_gris,environnement,Teint_Dans_La_Masse,plastique,papier,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20497769]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] map_info['map_portfolio_photo'] : {20497769: [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855, 1337277315, 1337277238, 1337277164, 1337276809, 1337276807, 1337276805, 1337276804, 1337276803, 1337276802, 1337276784, 1337276782, 1337276780, 1337276772, 1337276766, 1337276763, 1337276760, 1337276758, 1337276754, 1337276728, 1337276723, 1337276715, 1337276697, 1337276695, 1337276693, 1337276531, 1337276469, 1337276435, 1337275948, 1337275877, 1337275824, 1337275710, 1337275644]} final : False mtd_id 4302 list_pids : [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] Looping around the photos to save general results len do output : 1 /20497769. 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, '2581520') ('4302', '20497769', '1337278914', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20497769', "{'Carton_brun': 20497772, 'kraft': 20497773, 'metal': 20497774, 'cartonnette': 20497775, 'flou': 20497776, 'autre_refus': 20497777, 'Carton_gris': 20497778, 'environnement': 20497779, 'Teint_Dans_La_Masse': 20497780, 'plastique': 20497781, 'papier': 20497782, 'mal_croppe': 20497783}", None, None, None, None, '2581520'), ('4302', '20497769', '1337278914', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520')] time used for this insertion : 0.01668548583984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7754085063934326 time spend to save output : 0.01703786849975586 total time spend for step 1 : 1.7924463748931885 step2:final Thu Feb 13 05:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (20497769) 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 20497769 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1337275948,1337275877,1337275824,1337275710,1337275644,1337276531,1337276469,1337276435,1337276728,1337276723,1337276715,1337276697,1337276695,1337276693,1337276772,1337276766,1337276763,1337276760,1337276758,1337276754,1337276784,1337276782,1337276780,1337276809,1337276807,1337276805,1337276804,1337276803,1337276802,1337277315,1337277238,1337277164,1337277878,1337277864,1337277860,1337277857,1337277856,1337277855,1337278277,1337278272,1337278221,1337278137,1337278077,1337278590,1337278582,1337278573,1337278571,1337278563,1337278914,1337278858,1337278817,1337278744); 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([20497769]) Inside saveOutput : final : False verbose : True original output for save of step final : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} new output for save of step final : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] map_info['map_portfolio_photo'] : {20497769: [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855, 1337277315, 1337277238, 1337277164, 1337276809, 1337276807, 1337276805, 1337276804, 1337276803, 1337276802, 1337276784, 1337276782, 1337276780, 1337276772, 1337276766, 1337276763, 1337276760, 1337276758, 1337276754, 1337276728, 1337276723, 1337276715, 1337276697, 1337276695, 1337276693, 1337276531, 1337276469, 1337276435, 1337275948, 1337275877, 1337275824, 1337275710, 1337275644]} final : False mtd_id 4302 list_pids : [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] Looping around the photos to save general results len do output : 20 /1337278914.Didn't retrieve data . /1337278858.Didn't retrieve data . /1337278817.Didn't retrieve data . /1337278744.Didn't retrieve data . /1337278590.Didn't retrieve data . /1337278582.Didn't retrieve data . /1337278573.Didn't retrieve data . /1337278571.Didn't retrieve data . /1337278563.Didn't retrieve data . /1337278277.Didn't retrieve data . /1337278272.Didn't retrieve data . /1337278221.Didn't retrieve data . /1337278137.Didn't retrieve data . /1337278077.Didn't retrieve data . /1337277878.Didn't retrieve data . /1337277864.Didn't retrieve data . /1337277860.Didn't retrieve data . /1337277857.Didn't retrieve data . /1337277856.Didn't retrieve data . /1337277855.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, '2581520') ('4302', '20497769', '1337278914', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 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', '20497769', '1337278914', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278858', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278817', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278744', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278590', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278582', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278573', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278571', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278563', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278277', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278272', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278221', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278137', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337278077', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337277878', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337277864', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337277860', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337277857', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337277856', '0.03972101626214592', None, None, None, None, '2581520'), ('4302', '20497769', '1337277855', '0.03972101626214592', None, None, None, None, '2581520')] time used for this insertion : 0.013620376586914062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1337747573852539 time spend to save output : 0.014429092407226562 total time spend for step 2 : 0.14820384979248047 step3:velours_tree Thu Feb 13 05:57:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20497769: [{'Carton_brun': 20497772, 'kraft': 20497773, 'metal': 20497774, 'cartonnette': 20497775, 'flou': 20497776, 'autre_refus': 20497777, 'Carton_gris': 20497778, 'environnement': 20497779, 'Teint_Dans_La_Masse': 20497780, 'plastique': 20497781, 'papier': 20497782, 'mal_croppe': 20497783}]} input_args_next_step : {20497769: ()} output_args : {20497769: [{'Carton_brun': 20497772, 'kraft': 20497773, 'metal': 20497774, 'cartonnette': 20497775, 'flou': 20497776, 'autre_refus': 20497777, 'Carton_gris': 20497778, 'environnement': 20497779, 'Teint_Dans_La_Masse': 20497780, 'plastique': 20497781, 'papier': 20497782, 'mal_croppe': 20497783}]} args : 20497769 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 : ({'Carton_brun': 20497772, 'kraft': 20497773, 'metal': 20497774, 'cartonnette': 20497775, 'flou': 20497776, 'autre_refus': 20497777, 'Carton_gris': 20497778, 'environnement': 20497779, 'Teint_Dans_La_Masse': 20497780, 'plastique': 20497781, 'papier': 20497782, 'mal_croppe': 20497783},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20497769) 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([20497769]) 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.31276965141296387 time spend to save output : 5.817413330078125e-05 total time spend for step 3 : 0.31282782554626465 step4:send_mail_cod Thu Feb 13 05:57:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} input_args_next_step : {1337278914: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278914 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278858 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278817 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278744 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278590 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278582 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278573 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278571 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278563 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278277 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278272 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278221 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278137 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337278077 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337277878 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337277864 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337277860 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337277857 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337277856 depend.output_id : 0 input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ()} output_args : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',)} args : 1337277855 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 : {20497769: [{'Carton_brun': 20497772, 'kraft': 20497773, 'metal': 20497774, 'cartonnette': 20497775, 'flou': 20497776, 'autre_refus': 20497777, 'Carton_gris': 20497778, 'environnement': 20497779, 'Teint_Dans_La_Masse': 20497780, 'plastique': 20497781, 'papier': 20497782, 'mal_croppe': 20497783}]} input_args_next_step : {1337278914: ('0.03972101626214592',), 1337278858: ('0.03972101626214592',), 1337278817: ('0.03972101626214592',), 1337278744: ('0.03972101626214592',), 1337278590: ('0.03972101626214592',), 1337278582: ('0.03972101626214592',), 1337278573: ('0.03972101626214592',), 1337278571: ('0.03972101626214592',), 1337278563: ('0.03972101626214592',), 1337278277: ('0.03972101626214592',), 1337278272: ('0.03972101626214592',), 1337278221: ('0.03972101626214592',), 1337278137: ('0.03972101626214592',), 1337278077: ('0.03972101626214592',), 1337277878: ('0.03972101626214592',), 1337277864: ('0.03972101626214592',), 1337277860: ('0.03972101626214592',), 1337277857: ('0.03972101626214592',), 1337277856: ('0.03972101626214592',), 1337277855: ('0.03972101626214592',), 20497769: ()} output_args : {20497769: [{'Carton_brun': 20497772, 'kraft': 20497773, 'metal': 20497774, 'cartonnette': 20497775, 'flou': 20497776, 'autre_refus': 20497777, 'Carton_gris': 20497778, 'environnement': 20497779, 'Teint_Dans_La_Masse': 20497780, 'plastique': 20497781, 'papier': 20497782, 'mal_croppe': 20497783}]} args : 20497769 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 :21, first value : ('0.03972101626214592',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20497769) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1337278914,1337278858,1337278817,1337278744,1337278590,1337278582,1337278573,1337278571,1337278563,1337278277,1337278272,1337278221,1337278137,1337278077,1337277878,1337277864,1337277860,1337277857,1337277856,1337277855) Found this number of photos: 20 ##### Call download_photos : nb_thread : 5 begin to download photo : 1337277855 begin to download photo : 1337277878 begin to download photo : 1337278277 begin to download photo : 1337278590 download finish for photo 1337277878 begin to download photo : 1337278077 download finish for photo 1337278590 begin to download photo : 1337278744 download finish for photo 1337278277 begin to download photo : 1337278563 download finish for photo 1337277855 begin to download photo : 1337277856 download finish for photo 1337278077 begin to download photo : 1337278137 download finish for photo 1337278744 begin to download photo : 1337278817 download finish for photo 1337278563 begin to download photo : 1337278571 download finish for photo 1337277856 begin to download photo : 1337277857 download finish for photo 1337278137 begin to download photo : 1337278221 download finish for photo 1337278817 begin to download photo : 1337278858 download finish for photo 1337278571 begin to download photo : 1337278573 download finish for photo 1337277857 begin to download photo : 1337277860 download finish for photo 1337278221 begin to download photo : 1337278272 download finish for photo 1337278858 begin to download photo : 1337278914 download finish for photo 1337278573 begin to download photo : 1337278582 download finish for photo 1337278272 download finish for photo 1337277860 begin to download photo : 1337277864 download finish for photo 1337278914 download finish for photo 1337278582 download finish for photo 1337277864 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 : 20 ; length of list_pids : 20 ; length of list_args : 20 results_Auto_P20497769_13-02-2025_05_57_03.pdf 20497773 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497773 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337277361: '1739422290_544608_1337276763_201ab793b6912c33c775a72b89ea521c_rle_crop_3672840059_0.png'} change filename to text .imagette204977731739422623/ imagette204977731739422623/1739422290_544608_1337276763_201ab793b6912c33c775a72b89ea521c_rle_crop_3672840059_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/eac99654efac56c2d4c09d9983b244db_4484543.png imagette204977731739422623 20497774 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497774 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337277377: '1739422290_544608_1337276766_33c977390052264adf3cbc2e6dd2a6d1_rle_crop_3672840044_0.png'} change filename to text .imagette204977741739422623/ imagette204977741739422623/1739422290_544608_1337276766_33c977390052264adf3cbc2e6dd2a6d1_rle_crop_3672840044_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a8090bb98cb29f382c2c7fa1a4fcfc95_97569968.png imagette204977741739422623 20497775 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497775 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337276769: '1739422140_543627_1337276435_c91cf01bdd69537a6c8548687d933b57_rle_crop_3672839773_0.png', 1337277318: '1739422290_544608_1337276758_4c3f7cec5c21df35fc13393de5e16404_rle_crop_3672840097_0.png', 1337277319: '1739422290_544608_1337276758_4c3f7cec5c21df35fc13393de5e16404_rle_crop_3672840100_0.png', 1337277321: '1739422290_544608_1337276754_767fe8bd03700f65a877f04a2d514697_rle_crop_3672840250_0.png', 1337277322: '1739422290_544608_1337276754_767fe8bd03700f65a877f04a2d514697_rle_crop_3672840251_0.png', 1337277694: '1739422313_544825_1337276697_1d3ca272b2ec82e79d8c6ff46eb80ada_rle_crop_3672840306_0.png', 1337278306: '1739422411_546099_1337276805_2980eb47931c73baeea478d6ccf00f8a_rle_crop_3672840898_0.png', 1337278395: '1739422433_546346_1337275948_803ed7c51ad83f3494e98b964b2d5963_rle_crop_3672840566_0.png', 1337278397: '1739422433_546346_1337275824_d3d6c8a55def356781446014eb8b4689_rle_crop_3672840603_0.png', 1337278398: '1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840656_0.png', 1337279041: '1739422572_547352_1337278573_c72e156d876847fd47890da1f870b378_rle_crop_3672842664_0.png', 1337279042: '1739422572_547352_1337278571_862e8a96549f077ea9844489f66507bf_rle_crop_3672842682_0.png', 1337279043: '1739422572_547352_1337278563_39741ba7ee92f7f399b01115deb5108b_rle_crop_3672842698_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/9f76b91161a35312716eeb57643db454_54971073.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/cc865ef24d7f1b9fd391c535d46c4acb_64388832.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/7a882e7540244dc7098792b1761b7c34_91520681.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/180ca16dcf71bd6aa3ae547ec67abc21_14558350.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ceefa06ae78fe36e30611d420bb94794_70686753.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/3c996c39c5f56b936cc0f08ae08b1fa3_27859476.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/620113d6e9eb058f36b9aa229130ec71_35787970.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/310a545c6c8e36c24e229ddc93de4f20_62183562.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/7d1c7ae1ebce93feefb49985bef8de0c_87535768.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/69b1e5509805dff529094fe2e63dff46_72902463.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/d0b949bd95e2529ada3ddfde6d800fc6_82074212.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/2cca84794c8ed28075b3145b4704762f_96938328.png change filename to text .imagette204977751739422623/ imagette204977751739422623/1739422572_547352_1337278563_39741ba7ee92f7f399b01115deb5108b_rle_crop_3672842698_0.png.png imagette204977751739422623/1739422313_544825_1337276697_1d3ca272b2ec82e79d8c6ff46eb80ada_rle_crop_3672840306_0.png.png imagette204977751739422623/1739422572_547352_1337278571_862e8a96549f077ea9844489f66507bf_rle_crop_3672842682_0.png.png imagette204977751739422623/1739422290_544608_1337276758_4c3f7cec5c21df35fc13393de5e16404_rle_crop_3672840097_0.png.png imagette204977751739422623/1739422572_547352_1337278573_c72e156d876847fd47890da1f870b378_rle_crop_3672842664_0.png.png imagette204977751739422623/1739422411_546099_1337276805_2980eb47931c73baeea478d6ccf00f8a_rle_crop_3672840898_0.png.png imagette204977751739422623/1739422433_546346_1337275824_d3d6c8a55def356781446014eb8b4689_rle_crop_3672840603_0.png.png imagette204977751739422623/1739422433_546346_1337275948_803ed7c51ad83f3494e98b964b2d5963_rle_crop_3672840566_0.png.png imagette204977751739422623/1739422140_543627_1337276435_c91cf01bdd69537a6c8548687d933b57_rle_crop_3672839773_0.png.png imagette204977751739422623/1739422290_544608_1337276754_767fe8bd03700f65a877f04a2d514697_rle_crop_3672840251_0.png.png imagette204977751739422623/1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840656_0.png.png imagette204977751739422623/1739422290_544608_1337276754_767fe8bd03700f65a877f04a2d514697_rle_crop_3672840250_0.png.png imagette204977751739422623/1739422290_544608_1337276758_4c3f7cec5c21df35fc13393de5e16404_rle_crop_3672840100_0.png.png imagette204977761739422623/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/4b1efdeaa94bea6afae8b199687fcaf5_85624664.png imagette204977751739422623 20497776 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497776 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette204977761739422623 20497777 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497777 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337277680: '1739422313_544825_1337276695_70905b936cec81f2aee68783cf1b979f_rle_crop_3672840320_0.png', 1337278279: '1739422411_546099_1337276803_9349614ec725656a4e5147a509d30a09_rle_crop_3672841100_0.png', 1337278366: '1739422433_546346_1337276531_24a3835ee988a46217313b5e2588e714_rle_crop_3672840547_0.png', 1337278367: '1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840586_0.png', 1337279037: '1739422572_547352_1337278571_862e8a96549f077ea9844489f66507bf_rle_crop_3672842675_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/7a55d408b3a52d814348b231d72fb8f6_84412020.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/18d9eca2b1c6a50214112a55a5f56d6a_48667182.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/00deb01930b8061274539c2b1013fd4d_6838268.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/55a8ff23efd7d6a26830be37bf66bd7a_76526974.png change filename to text .imagette204977771739422623/ imagette204977771739422623/1739422572_547352_1337278571_862e8a96549f077ea9844489f66507bf_rle_crop_3672842675_0.png.png imagette204977771739422623/1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840586_0.png.png imagette204977771739422623/1739422313_544825_1337276695_70905b936cec81f2aee68783cf1b979f_rle_crop_3672840320_0.png.png imagette204977771739422623/1739422411_546099_1337276803_9349614ec725656a4e5147a509d30a09_rle_crop_3672841100_0.png.png imagette204977771739422623/1739422433_546346_1337276531_24a3835ee988a46217313b5e2588e714_rle_crop_3672840547_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/47d9de0822923c381b59932859cfd0c8_67635470.png imagette204977771739422623 20497781 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497781 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337278408: '1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840591_0.png', 1337279046: '1739422572_547352_1337278582_537fe53df59e8543c603fa2695d389b6_rle_crop_3672842649_0.png', 1337279047: '1739422572_547352_1337278573_c72e156d876847fd47890da1f870b378_rle_crop_3672842668_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ebb2dc3c701ec6bf64c44a1f2a505e54_18951556.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/1189820979c650b36864c6726ab7a79b_23031781.png change filename to text .imagette204977811739422624/ imagette204977811739422624/1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840591_0.png.png imagette204977811739422624/1739422572_547352_1337278573_c72e156d876847fd47890da1f870b378_rle_crop_3672842668_0.png.png imagette204977811739422624/1739422572_547352_1337278582_537fe53df59e8543c603fa2695d389b6_rle_crop_3672842649_0.png.png imagette204977831739422624/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/75de621f46456221783d1c12567a2d3d_75754391.png imagette204977811739422624 20497783 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497783 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette204977831739422624 20497772 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497772 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337277343: '1739422290_544608_1337276766_33c977390052264adf3cbc2e6dd2a6d1_rle_crop_3672840048_0.png', 1337277344: '1739422290_544608_1337276763_201ab793b6912c33c775a72b89ea521c_rle_crop_3672840067_0.png', 1337277346: '1739422290_544608_1337276760_f453b950a363e9083d77a12e6ceebd59_rle_crop_3672840080_0.png', 1337277347: '1739422290_544608_1337276760_f453b950a363e9083d77a12e6ceebd59_rle_crop_3672840083_0.png', 1337277708: '1739422313_544825_1337276697_1d3ca272b2ec82e79d8c6ff46eb80ada_rle_crop_3672840308_0.png', 1337278406: '1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840588_0.png', 1337278407: '1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840664_0.png', 1337279044: '1739422572_547352_1337278563_39741ba7ee92f7f399b01115deb5108b_rle_crop_3672842702_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/abcded398d25bbaa889663c5cc4a718e_83216608.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/5e6fabf8ece58a66c91fe3b1b76d0a93_23731117.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e1ad7652d01ef8ca65d8ab77355e6d52_84434671.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/be6bd5ad94f386a18475b03bd22b98c5_66623886.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e19abad0845449652776be7666bdf16c_99781916.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/5f7f2cc9c9d3620db077c3ac33ec4f00_41429165.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/0590849b1629b62dbd5e336c4c3447d0_14072585.png change filename to text .imagette204977721739422624/ imagette204977721739422624/1739422313_544825_1337276697_1d3ca272b2ec82e79d8c6ff46eb80ada_rle_crop_3672840308_0.png.png imagette204977721739422624/1739422290_544608_1337276766_33c977390052264adf3cbc2e6dd2a6d1_rle_crop_3672840048_0.png.png imagette204977721739422624/1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840664_0.png.png imagette204977721739422624/1739422290_544608_1337276760_f453b950a363e9083d77a12e6ceebd59_rle_crop_3672840080_0.png.png imagette204977721739422624/1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840588_0.png.png imagette204977721739422624/1739422290_544608_1337276760_f453b950a363e9083d77a12e6ceebd59_rle_crop_3672840083_0.png.png imagette204977721739422624/1739422290_544608_1337276763_201ab793b6912c33c775a72b89ea521c_rle_crop_3672840067_0.png.png imagette204977721739422624/1739422572_547352_1337278563_39741ba7ee92f7f399b01115deb5108b_rle_crop_3672842702_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/71fb4ec56d5c3ce3c1f6f57d77e2e458_12082875.png imagette204977721739422624 20497778 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497778 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337276815: '1739422272_544426_1337276780_63112919a889708c20a3c892a5ca9948_rle_crop_3672839837_0.png', 1337277285: '1739422290_544608_1337276763_201ab793b6912c33c775a72b89ea521c_rle_crop_3672840062_0.png', 1337278303: '1739422411_546099_1337276807_231ef53b185201a89919de5f208e27de_rle_crop_3672840878_0.png', 1337278304: '1739422411_546099_1337276807_231ef53b185201a89919de5f208e27de_rle_crop_3672840882_0.png', 1337278305: '1739422411_546099_1337276804_f537429b71aa4c6b14e624ec1dbfc137_rle_crop_3672840999_0.png', 1337278368: '1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840661_0.png', 1337279039: '1739422572_547352_1337278582_537fe53df59e8543c603fa2695d389b6_rle_crop_3672842647_0.png', 1337279040: '1739422572_547352_1337278563_39741ba7ee92f7f399b01115deb5108b_rle_crop_3672842694_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e8466db046113ae8f3b1be15db854f5d_25508869.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/1135d20d66ac6df830837a04b8e5c895_36065292.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/8f0e63f82d45dd7108eb15c722415acd_71492398.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/414e284d8b8c99f7e526dc7a13a7c4f1_73522257.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/f0b9a5c9ee12b5b83e3681f53cdb42c9_58445190.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/78252b0a85a63c9ca25f4173649c366d_5434881.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/56e8fb58b0d8de6219a943b02471d559_27760641.png change filename to text .imagette204977781739422624/ imagette204977781739422624/1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840661_0.png.png imagette204977781739422624/1739422572_547352_1337278563_39741ba7ee92f7f399b01115deb5108b_rle_crop_3672842694_0.png.png imagette204977781739422624/1739422411_546099_1337276807_231ef53b185201a89919de5f208e27de_rle_crop_3672840882_0.png.png imagette204977781739422624/1739422272_544426_1337276780_63112919a889708c20a3c892a5ca9948_rle_crop_3672839837_0.png.png imagette204977781739422624/1739422411_546099_1337276807_231ef53b185201a89919de5f208e27de_rle_crop_3672840878_0.png.png imagette204977781739422624/1739422411_546099_1337276804_f537429b71aa4c6b14e624ec1dbfc137_rle_crop_3672840999_0.png.png imagette204977781739422624/1739422290_544608_1337276763_201ab793b6912c33c775a72b89ea521c_rle_crop_3672840062_0.png.png imagette204977781739422624/1739422572_547352_1337278582_537fe53df59e8543c603fa2695d389b6_rle_crop_3672842647_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/17fca6a9d23726fc422890361beafca8_74779869.png imagette204977781739422624 20497780 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497780 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1337277886: '1739422392_545828_1337277164_60d914ec7327d0a01512620b56b8e290_rle_crop_3672840697_0.png', 1337278363: '1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840667_0.png', 1337278362: '1739422433_546346_1337275824_d3d6c8a55def356781446014eb8b4689_rle_crop_3672840602_0.png', 1337278361: '1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840589_0.png', 1337278360: '1739422433_546346_1337275948_803ed7c51ad83f3494e98b964b2d5963_rle_crop_3672840563_0.png', 1337278359: '1739422433_546346_1337276531_24a3835ee988a46217313b5e2588e714_rle_crop_3672840557_0.png', 1337278358: '1739422433_546346_1337276531_24a3835ee988a46217313b5e2588e714_rle_crop_3672840552_0.png', 1337278276: '1739422411_546099_1337276802_9fe39a5c4f2f94980c4658d881a92c72_rle_crop_3672841115_0.png', 1337278275: '1739422411_546099_1337276803_9349614ec725656a4e5147a509d30a09_rle_crop_3672841105_0.png', 1337278274: '1739422411_546099_1337276803_9349614ec725656a4e5147a509d30a09_rle_crop_3672841108_0.png', 1337278273: '1739422411_546099_1337276804_f537429b71aa4c6b14e624ec1dbfc137_rle_crop_3672841006_0.png', 1337276767: '1739422140_543627_1337276469_c524f3b16bd0c6a1cec302d349479f07_rle_crop_3672839762_0.png', 1337277885: '1739422392_545828_1337277238_64790babe7a56a7c0db32cc35ba9e31e_rle_crop_3672840688_0.png', 1337277859: '1739422373_545566_1337276809_6b84ddee873c8fdd3dcf727011e230d6_rle_crop_3672840580_0.png', 1337277858: '1739422373_545566_1337276809_6b84ddee873c8fdd3dcf727011e230d6_rle_crop_3672840575_0.png', 1337277666: '1739422313_544825_1337276693_750aaec0cf01f980fe0bd750175716bf_rle_crop_3672840331_0.png', 1337277665: '1739422313_544825_1337276695_70905b936cec81f2aee68783cf1b979f_rle_crop_3672840326_0.png', 1337277271: '1739422290_544608_1337276758_4c3f7cec5c21df35fc13393de5e16404_rle_crop_3672840102_0.png', 1337277270: '1739422290_544608_1337276760_f453b950a363e9083d77a12e6ceebd59_rle_crop_3672840085_0.png', 1337276814: '1739422272_544426_1337276780_63112919a889708c20a3c892a5ca9948_rle_crop_3672839849_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/7644b9f09ad9c1b65df8080b9822e2c1_52997712.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/dd15d0111e81bf3c5f6a522919212e9d_62002659.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e17e764bcaae34421ffbab3ed512c0b7_89962994.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ea549cfa9d09a7b4dff9c463460edf62_72792721.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/d49ec2974058f69af1a34dbf8c29ac2f_63162737.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/2fe9332f573fddf0f2147e0175b2d6be_98852318.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/f30736a2a8a67db73094255f1c6e1a81_74490666.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/21b7456d0674956367d70868477e1517_52693611.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/b9573f32e89e1da2f850688a039b01f5_87027126.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/f37f2bc916c7add299d9062bcdeda801_11468611.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/7042bf019323079dbd6420b14afbab30_33627552.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/d929d1e2af40e039dbd299f873c7b59d_3700727.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/6c26a16dab41054278ff5bbfbbb0ba4e_45497842.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/46abfce9f061964464e56b98ee4d7353_83745724.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/204d8dded43ed4c14522bef45bd73f3a_3000576.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e63717557968b5379e072bd9fe2fddf9_9237762.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/965c715881cdc061b9d572b72cb1e7f4_63481087.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/ec7301791fc7d015da7b8c601d992666_23280371.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/744749221aa40987d1213a4a15bca2a3_32386904.png change filename to text .imagette204977801739422625/ imagette204977801739422625/1739422392_545828_1337277238_64790babe7a56a7c0db32cc35ba9e31e_rle_crop_3672840688_0.png.png imagette204977801739422625/1739422433_546346_1337275877_a9e5eae9c4ae5f4b10b6ea22c4982669_rle_crop_3672840589_0.png.png imagette204977801739422625/1739422140_543627_1337276469_c524f3b16bd0c6a1cec302d349479f07_rle_crop_3672839762_0.png.png imagette204977801739422625/1739422272_544426_1337276780_63112919a889708c20a3c892a5ca9948_rle_crop_3672839849_0.png.png imagette204977801739422625/1739422313_544825_1337276695_70905b936cec81f2aee68783cf1b979f_rle_crop_3672840326_0.png.png imagette204977801739422625/1739422290_544608_1337276760_f453b950a363e9083d77a12e6ceebd59_rle_crop_3672840085_0.png.png imagette204977801739422625/1739422433_546346_1337276531_24a3835ee988a46217313b5e2588e714_rle_crop_3672840557_0.png.png imagette204977801739422625/1739422290_544608_1337276758_4c3f7cec5c21df35fc13393de5e16404_rle_crop_3672840102_0.png.png imagette204977801739422625/1739422373_545566_1337276809_6b84ddee873c8fdd3dcf727011e230d6_rle_crop_3672840575_0.png.png imagette204977801739422625/1739422433_546346_1337275824_d3d6c8a55def356781446014eb8b4689_rle_crop_3672840602_0.png.png imagette204977801739422625/1739422373_545566_1337276809_6b84ddee873c8fdd3dcf727011e230d6_rle_crop_3672840580_0.png.png imagette204977801739422625/1739422411_546099_1337276804_f537429b71aa4c6b14e624ec1dbfc137_rle_crop_3672841006_0.png.png imagette204977801739422625/1739422433_546346_1337275710_492e3d7315a6cdb52e0fc0ad9544c5b3_rle_crop_3672840667_0.png.png imagette204977801739422625/1739422411_546099_1337276803_9349614ec725656a4e5147a509d30a09_rle_crop_3672841105_0.png.png imagette204977801739422625/1739422433_546346_1337275948_803ed7c51ad83f3494e98b964b2d5963_rle_crop_3672840563_0.png.png imagette204977801739422625/1739422433_546346_1337276531_24a3835ee988a46217313b5e2588e714_rle_crop_3672840552_0.png.png imagette204977801739422625/1739422313_544825_1337276693_750aaec0cf01f980fe0bd750175716bf_rle_crop_3672840331_0.png.png imagette204977801739422625/1739422392_545828_1337277164_60d914ec7327d0a01512620b56b8e290_rle_crop_3672840697_0.png.png imagette204977801739422625/1739422411_546099_1337276802_9fe39a5c4f2f94980c4658d881a92c72_rle_crop_3672841115_0.png.png imagette204977801739422625/1739422411_546099_1337276803_9349614ec725656a4e5147a509d30a09_rle_crop_3672841108_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/e0cd4158c77bac59cb4faac83026ccf7_11658310.png imagette204977801739422625 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20497769 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20497784,20497785,20497786,20497787,20497788,20497789,20497790,20497791,20497792,20497793,20497794,20497795?tags=Carton_brun,kraft,metal,cartonnette,flou,autre_refus,Carton_gris,environnement,Teint_Dans_La_Masse,plastique,papier,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1337278914] : ('0.03972101626214592',) no score found for photo 1337278914 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278858] : ('0.03972101626214592',) no score found for photo 1337278858 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278817] : ('0.03972101626214592',) no score found for photo 1337278817 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278744] : ('0.03972101626214592',) no score found for photo 1337278744 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278590] : ('0.03972101626214592',) no score found for photo 1337278590 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278582] : ('0.03972101626214592',) no score found for photo 1337278582 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278573] : ('0.03972101626214592',) no score found for photo 1337278573 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278571] : ('0.03972101626214592',) no score found for photo 1337278571 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278563] : ('0.03972101626214592',) no score found for photo 1337278563 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278277] : ('0.03972101626214592',) no score found for photo 1337278277 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278272] : ('0.03972101626214592',) no score found for photo 1337278272 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278221] : ('0.03972101626214592',) no score found for photo 1337278221 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278137] : ('0.03972101626214592',) no score found for photo 1337278137 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337278077] : ('0.03972101626214592',) no score found for photo 1337278077 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337277878] : ('0.03972101626214592',) no score found for photo 1337277878 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337277864] : ('0.03972101626214592',) no score found for photo 1337277864 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337277860] : ('0.03972101626214592',) no score found for photo 1337277860 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337277857] : ('0.03972101626214592',) no score found for photo 1337277857 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337277856] : ('0.03972101626214592',) no score found for photo 1337277856 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com args[1337277855] : ('0.03972101626214592',) no score found for photo 1337277855 apple ('0.03972101626214592',) We are sending mail with results at report@fotonower.com refus_total : 0.03972101626214592 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497769 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_P20497769_13-02-2025_05_57_03.pdf results_Auto_P20497769_13-02-2025_05_57_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_13-02-2025_05_57_03.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20497769','results_Auto_P20497769_13-02-2025_05_57_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_13-02-2025_05_57_03.pdf','pdf','','0.34','0.03972101626214592') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20497769]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] map_info['map_portfolio_photo'] : {20497769: [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855, 1337277315, 1337277238, 1337277164, 1337276809, 1337276807, 1337276805, 1337276804, 1337276803, 1337276802, 1337276784, 1337276782, 1337276780, 1337276772, 1337276766, 1337276763, 1337276760, 1337276758, 1337276754, 1337276728, 1337276723, 1337276715, 1337276697, 1337276695, 1337276693, 1337276531, 1337276469, 1337276435, 1337275948, 1337275877, 1337275824, 1337275710, 1337275644]} final : False mtd_id 4302 list_pids : [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] 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, '2581520') ('4302', '20497769', '1337278914', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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', '20497769', '1337278914', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520')] time used for this insertion : 0.015058517456054688 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.99290132522583 time spend to save output : 0.015371084213256836 total time spend for step 4 : 5.008272409439087 step5:split_time_score Thu Feb 13 05:57:07 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 : ['20497769'] 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 : [('20497769',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20497769) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1337277878: {'path': 'temp/1739422622_2405392_1337277878_599a3e8f20c34f00ecba62fd27ed8736.jpg', 'extension': 'jpg'}, 1337278077: {'path': 'temp/1739422622_2405392_1337278077_f01320c83b21f17b67ef2108f243f89f.jpg', 'extension': 'jpg'}, 1337278137: {'path': 'temp/1739422622_2405392_1337278137_fb9cd4623339af59f409096b78d90686.jpg', 'extension': 'jpg'}, 1337278221: {'path': 'temp/1739422622_2405392_1337278221_58a4516f8b499158955c862a480b165b.jpg', 'extension': 'jpg'}, 1337278272: {'path': 'temp/1739422622_2405392_1337278272_8b30e0796368ebd8ef69a323a097b4db.jpg', 'extension': 'jpg'}, 1337278590: {'path': 'temp/1739422622_2405392_1337278590_4cc586e1d8f884fc7ce523673eab80d7.jpg', 'extension': 'jpg'}, 1337278744: {'path': 'temp/1739422622_2405392_1337278744_cb080fa20c9c5c6f2e27df5b33c15dfc.jpg', 'extension': 'jpg'}, 1337278817: {'path': 'temp/1739422622_2405392_1337278817_00f0976d4713724d1514e3aae5ed2db3.jpg', 'extension': 'jpg'}, 1337278858: {'path': 'temp/1739422622_2405392_1337278858_c0ebfcf912b02fab1c75b9fc958eaa42.jpg', 'extension': 'jpg'}, 1337278914: {'path': 'temp/1739422622_2405392_1337278914_9a3c6e6f5f4c162c02a82c4f0d0b662e.jpg', 'extension': 'jpg'}, 1337278277: {'path': 'temp/1739422622_2405392_1337278277_ae0c07ba6480438807300c4adaff00d3.jpg', 'extension': 'jpg'}, 1337278563: {'path': 'temp/1739422622_2405392_1337278563_39741ba7ee92f7f399b01115deb5108b.jpg', 'extension': 'jpg'}, 1337278571: {'path': 'temp/1739422622_2405392_1337278571_862e8a96549f077ea9844489f66507bf.jpg', 'extension': 'jpg'}, 1337278573: {'path': 'temp/1739422622_2405392_1337278573_c72e156d876847fd47890da1f870b378.jpg', 'extension': 'jpg'}, 1337278582: {'path': 'temp/1739422622_2405392_1337278582_537fe53df59e8543c603fa2695d389b6.jpg', 'extension': 'jpg'}, 1337277855: {'path': 'temp/1739422622_2405392_1337277855_8de4ae048f7496e8cecde4ac5c44c80e.jpg', 'extension': 'jpg'}, 1337277856: {'path': 'temp/1739422622_2405392_1337277856_9ce9291f780b7c64cf562f7bfd509249.jpg', 'extension': 'jpg'}, 1337277857: {'path': 'temp/1739422622_2405392_1337277857_2ab8358a0a91b3a4f0f43fa113ea4000.jpg', 'extension': 'jpg'}, 1337277860: {'path': 'temp/1739422622_2405392_1337277860_1dd13c2f44f9f5fa7e576b617665c65c.jpg', 'extension': 'jpg'}, 1337277864: {'path': 'temp/1739422622_2405392_1337277864_f7b1711350dc7b2f6b6465789bf239a8.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 = 20497769; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20497769 group by h (('05', 52),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20497769 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 (20497769) 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 (20497769) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13022025 20497769 Nombre de photos uploadées : 52 / 23040 (0%) 13022025 20497769 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 13022025 20497769 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1337275948, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/803ed7c51ad83f3494e98b964b2d5963.jpg', 'username': None, 'uploaded_at': 1739421968, 'text': 'image_13022025_05_45_05_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1337275877, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/a9e5eae9c4ae5f4b10b6ea22c4982669.jpg', 'username': None, 'uploaded_at': 1739421968, 'text': 'image_13022025_05_45_15_010145m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1337275824, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/d3d6c8a55def356781446014eb8b4689.jpg', 'username': None, 'uploaded_at': 1739421968, 'text': 'image_13022025_05_45_25_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1337275710, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/13/492e3d7315a6cdb52e0fc0ad9544c5b3.jpg', 'username': None, 'uploaded_at': 1739421968, 'text': 'image_13022025_05_45_35_010138m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0024657249450683594 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20497769, '2025-02-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1599443,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025279521942138672 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= 1599443 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1599443, 'dashboard_run_id': 1607481, 'mtr_portfolio_id': 20496702, 'dashboard_result_id': 8853589, '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_P20496702_13-02-2025_05_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1607481, 'mtr_portfolio_id': 20496893, 'dashboard_result_id': 8853590, '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_P20496893_13-02-2025_05_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1607481, 'mtr_portfolio_id': 20497229, 'dashboard_result_id': 8853591, '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_P20497229_13-02-2025_05_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}"}, {'dashboat_entry_day': 1599443, 'dashboard_run_id': 1607481, 'mtr_portfolio_id': 20497769, 'dashboard_result_id': 8853592, '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_P20497769_13-02-2025_05_52_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, '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 = 20496702 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': 2581388, 'mtr_portfolio_id': 20496702, 'created_at': datetime.datetime(2025, 2, 13, 5, 18, 59), 'result': '0.0787631748319839', 'result_long': None, 'result_double': None}] Qualite : 0.0787631748319839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20496702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_13-02-2025_05_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20496702 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_P20496702_13-02-2025_05_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, 'pht': 3726}}" where mtr_portfolio_id = 20496702 and dashboard_run_id = 1607481 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`=20496702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8853589, 0.0787631748319839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496702_13-02-2025_05_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496714, '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 = 20496893 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': 2581408, 'mtr_portfolio_id': 20496893, 'created_at': datetime.datetime(2025, 2, 13, 5, 33), 'result': '0.04812007576667489', 'result_long': None, 'result_double': None}] Qualite : 0.04812007576667489 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20496893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_13-02-2025_05_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20496893 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_P20496893_13-02-2025_05_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, 'pht': 3726}}" where mtr_portfolio_id = 20496893 and dashboard_run_id = 1607481 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`=20496893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8853590, 0.04812007576667489, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20496893_13-02-2025_05_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20496895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20496896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20496897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20496898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20496899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20496900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20496901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20496902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20496903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20496904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20496905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20496906, '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 = 20497229 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': 2581424, 'mtr_portfolio_id': 20497229, 'created_at': datetime.datetime(2025, 2, 13, 5, 48, 56), 'result': '0.046455557296738774', 'result_long': None, 'result_double': None}] Qualite : 0.046455557296738774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20497229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_13-02-2025_05_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20497229 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_P20497229_13-02-2025_05_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, 'pht': 3726}}" where mtr_portfolio_id = 20497229 and dashboard_run_id = 1607481 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`=20497229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8853591, 0.046455557296738774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497229_13-02-2025_05_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497280, '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 = 20497769 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': 2581520, 'mtr_portfolio_id': 20497769, 'created_at': datetime.datetime(2025, 2, 13, 5, 57, 2), 'result': '0.03972101626214592', 'result_long': None, 'result_double': None}] Qualite : 0.03972101626214592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20497769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_13-02-2025_05_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20497769 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_P20497769_13-02-2025_05_57_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, 'pht': 3726}}" where mtr_portfolio_id = 20497769 and dashboard_run_id = 1607481 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`=20497769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8853592, 0.03972101626214592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20497769_13-02-2025_05_57_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20497772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20497773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20497775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20497776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20497777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20497778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20497779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20497780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20497781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20497782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20497783, '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 (20496702,20496893,20497229,20497769) result : ((1337269028,), (1337270069,), (1337270603,), (1337271192,), (1337271215,), (1337271241,), (1337271374,), (1337271398,), (1337271401,), (1337271428,), (1337271430,), (1337271455,), (1337271457,), (1337271475,), (1337271516,), (1337271534,), (1337271990,), (1337272064,), (1337272087,), (1337272088,), (1337272089,), (1337272415,), (1337272416,), (1337272474,), (1337272564,), (1337272565,), (1337272566,), (1337272576,), (1337272653,), (1337272654,), (1337272655,), (1337272659,), (1337272662,), (1337272699,), (1337272700,), (1337272725,), (1337272727,), (1337272729,), (1337272757,), (1337272759,), (1337272761,), (1337272789,), (1337272791,), (1337272792,), (1337272799,), (1337272803,), (1337272805,), (1337272823,), (1337272824,), (1337272825,), (1337272849,), (1337272850,), (1337272852,), (1337272857,), (1337272867,), (1337272882,), (1337273155,), (1337273000,), (1337273079,), (1337273081,), (1337273083,), (1337273138,), (1337273293,), (1337273356,), (1337273357,), (1337273387,), (1337273388,), (1337273389,), (1337273390,), (1337273395,), (1337273427,), (1337273429,), (1337273432,), (1337273434,), (1337273437,), (1337273462,), (1337273464,), (1337273467,), (1337273515,), (1337273526,), (1337273536,), (1337273537,), (1337273539,), (1337273650,), (1337273651,), (1337273652,), (1337273656,), (1337273658,), (1337273660,), (1337273681,), (1337273682,), (1337273683,), (1337273686,), (1337273717,), (1337273718,), (1337273719,), (1337273721,), (1337273724,), (1337273726,), (1337273744,), (1337273745,), (1337273748,), (1337273756,), (1337273759,), (1337273790,), (1337273791,), (1337273792,), (1337273793,), (1337273795,), (1337274102,), (1337274173,), (1337274245,), (1337274316,), (1337274455,), (1337274880,), (1337274881,), (1337274882,), (1337274883,), (1337274885,), (1337274887,), (1337275036,), (1337275085,), (1337275155,), (1337275218,), (1337275476,), (1337275478,), (1337275483,), (1337275490,), (1337275493,), (1337275981,), (1337275644,), (1337275710,), (1337275824,), (1337275877,), (1337275948,), (1337276435,), (1337276469,), (1337276531,), (1337276693,), (1337276695,), (1337276697,), (1337276715,), (1337276723,), (1337276728,), (1337276754,), (1337276758,), (1337276760,), (1337276763,), (1337276766,), (1337276772,), (1337276780,), (1337276782,), (1337276784,), (1337276802,), (1337276803,), (1337276804,), (1337276805,), (1337276807,), (1337276809,), (1337277164,), (1337277238,), (1337277315,), (1337277855,), (1337277856,), (1337277857,), (1337277860,), (1337277864,), (1337277878,), (1337278077,), (1337278137,), (1337278221,), (1337278272,), (1337278277,), (1337278563,), (1337278571,), (1337278573,), (1337278582,), (1337278590,), (1337278744,), (1337278817,), (1337278858,), (1337278914,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 52, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20497769]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] map_info['map_portfolio_photo'] : {20497769: [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855, 1337277315, 1337277238, 1337277164, 1337276809, 1337276807, 1337276805, 1337276804, 1337276803, 1337276802, 1337276784, 1337276782, 1337276780, 1337276772, 1337276766, 1337276763, 1337276760, 1337276758, 1337276754, 1337276728, 1337276723, 1337276715, 1337276697, 1337276695, 1337276693, 1337276531, 1337276469, 1337276435, 1337275948, 1337275877, 1337275824, 1337275710, 1337275644]} final : True mtd_id 4302 list_pids : [1337278914, 1337278858, 1337278817, 1337278744, 1337278590, 1337278582, 1337278573, 1337278571, 1337278563, 1337278277, 1337278272, 1337278221, 1337278137, 1337278077, 1337277878, 1337277864, 1337277860, 1337277857, 1337277856, 1337277855] Looping around the photos to save general results len do output : 1 /20497769Didn'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, '2581520') ('4302', '20497769', '1337278914', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520') ('4302', None, None, None, None, None, None, None, '2581520') ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20497769', 'None', None, None, None, None, '2581520'), ('4302', '20497769', '1337278914', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278858', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278817', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278744', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278590', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278582', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278573', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278571', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278563', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278277', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278272', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278221', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278137', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337278077', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277878', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277864', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277860', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277857', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277856', None, None, None, None, None, '2581520'), ('4302', '20497769', '1337277855', None, None, None, None, None, '2581520')] time used for this insertion : 0.017714738845825195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3449733257293701 time spend to save output : 0.018079757690429688 total time spend for step 5 : 0.3630530834197998 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 (2581520) 2.60user 2.35system 0:11.97elapsed 41%CPU (0avgtext+0avgdata 162632maxresident)k 384inputs+19768outputs (1major+77222minor)pagefaults 0swaps