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 : 2957071 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 (2659744) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2659744) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311536 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2659744'] with mtr_portfolio_ids : ['21311536'] and first list_photo_ids : [] new path : /proc/2957071/ Name: python3 Umask: 0002 State: R (running) Tgid: 2957071 Ngid: 0 Pid: 2957071 PPid: 2957070 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2957071 NSpid: 2957071 NSpgid: 2953335 NSsid: 2953335 VmPeak: 1106832 kB VmSize: 1106832 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98208 kB VmRSS: 98208 kB RssAnon: 59808 kB RssFile: 38400 kB RssShmem: 0 kB VmData: 865580 kB VmStk: 132 kB VmExe: 2644 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: 74 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2957071', 'Ngid': '0', 'Pid': '2957071', 'PPid': '2957070', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2957071', 'NSpid': '2957071', 'NSpgid': '2953335', 'NSsid': '2953335', 'VmPeak': '1106832 kB', 'VmSize': '1106832 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98208 kB', 'VmRSS': '98208 kB', 'RssAnon': '59808 kB', 'RssFile': '38400 kB', 'RssShmem': '0 kB', 'VmData': '865580 kB', 'VmStk': '132 kB', 'VmExe': '2644 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': '74'} ('datou_batch_current', '2957071', '1106832', '0', '1106832', '865580', '98208', b'', 'marlene', '2659744') 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 (21311536) 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 (2659744 ) ) 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 (21311536) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343213559, 'portfolio_id': 21311536}, {'photo_id': 1343213338, 'portfolio_id': 21311536}, {'photo_id': 1343213333, 'portfolio_id': 21311536}, {'photo_id': 1343213301, 'portfolio_id': 21311536}, {'photo_id': 1343213157, 'portfolio_id': 21311536}, {'photo_id': 1343213040, 'portfolio_id': 21311536}, {'photo_id': 1343213025, 'portfolio_id': 21311536}, {'photo_id': 1343212995, 'portfolio_id': 21311536}, {'photo_id': 1343212968, 'portfolio_id': 21311536}, {'photo_id': 1343212815, 'portfolio_id': 21311536}, {'photo_id': 1343212794, 'portfolio_id': 21311536}, {'photo_id': 1343212785, 'portfolio_id': 21311536}, {'photo_id': 1343212781, 'portfolio_id': 21311536}, {'photo_id': 1343212768, 'portfolio_id': 21311536}, {'photo_id': 1343212761, 'portfolio_id': 21311536}, {'photo_id': 1343212639, 'portfolio_id': 21311536}, {'photo_id': 1343212612, 'portfolio_id': 21311536}, {'photo_id': 1343212589, 'portfolio_id': 21311536}, {'photo_id': 1343212571, 'portfolio_id': 21311536}, {'photo_id': 1343212552, 'portfolio_id': 21311536}, {'photo_id': 1343212539, 'portfolio_id': 21311536}, {'photo_id': 1343212299, 'portfolio_id': 21311536}, {'photo_id': 1343212275, 'portfolio_id': 21311536}, {'photo_id': 1343212246, 'portfolio_id': 21311536}, {'photo_id': 1343212223, 'portfolio_id': 21311536}, {'photo_id': 1343212085, 'portfolio_id': 21311536}, {'photo_id': 1343212061, 'portfolio_id': 21311536}, {'photo_id': 1343212015, 'portfolio_id': 21311536}, {'photo_id': 1343211972, 'portfolio_id': 21311536}, {'photo_id': 1343211954, 'portfolio_id': 21311536}, {'photo_id': 1343211927, 'portfolio_id': 21311536}, {'photo_id': 1343211868, 'portfolio_id': 21311536}, {'photo_id': 1343211865, 'portfolio_id': 21311536}, {'photo_id': 1343211862, 'portfolio_id': 21311536}, {'photo_id': 1343211835, 'portfolio_id': 21311536}, {'photo_id': 1343211831, 'portfolio_id': 21311536}, {'photo_id': 1343211788, 'portfolio_id': 21311536}, {'photo_id': 1343211780, 'portfolio_id': 21311536}, {'photo_id': 1343211769, 'portfolio_id': 21311536}, {'photo_id': 1343211766, 'portfolio_id': 21311536}, {'photo_id': 1343211679, 'portfolio_id': 21311536}, {'photo_id': 1343211644, 'portfolio_id': 21311536}, {'photo_id': 1343211640, 'portfolio_id': 21311536}, {'photo_id': 1343211568, 'portfolio_id': 21311536}, {'photo_id': 1343211566, 'portfolio_id': 21311536}, {'photo_id': 1343211562, 'portfolio_id': 21311536}, {'photo_id': 1343211556, 'portfolio_id': 21311536}, {'photo_id': 1343211507, 'portfolio_id': 21311536}, {'photo_id': 1343211483, 'portfolio_id': 21311536}, {'photo_id': 1343211461, 'portfolio_id': 21311536}, {'photo_id': 1343211438, 'portfolio_id': 21311536}, {'photo_id': 1343211421, 'portfolio_id': 21311536}] map_portfolio_id_photo_id: {21311536: [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539, 1343212299, 1343212275, 1343212246, 1343212223, 1343212085, 1343212061, 1343212015, 1343211972, 1343211954, 1343211927, 1343211868, 1343211865, 1343211862, 1343211835, 1343211831, 1343211788, 1343211780, 1343211769, 1343211766, 1343211679, 1343211644, 1343211640, 1343211568, 1343211566, 1343211562, 1343211556, 1343211507, 1343211483, 1343211461, 1343211438, 1343211421]} ##### 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.017609357833862305 #### 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 Tue Mar 11 21:58:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21311536) 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 : 21311536 get user id for portfolio 21311536 get sub ptf for main ptf 21311536, type 3726 and hashtags ['kraft', 'Carton_gris', 'metal', 'plastique', 'Teint_Dans_La_Masse', 'mal_croppe', 'flou', 'environnement', 'Carton_brun', 'papier', 'cartonnette', 'autre_refus'] 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`=21311536 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','metal','plastique','Teint_Dans_La_Masse','mal_croppe','flou','environnement','Carton_brun','papier','cartonnette','autre_refus')) 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`=21311536 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','metal','plastique','Teint_Dans_La_Masse','mal_croppe','flou','environnement','Carton_brun','papier','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21311536, 'sub_port_id': 21311537, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895004, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'Carton_brun': {'main_port_id': 21311536, 'sub_port_id': 21311538, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895005, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'mal_croppe': {'main_port_id': 21311536, 'sub_port_id': 21311539, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895006, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'papier': {'main_port_id': 21311536, 'sub_port_id': 21311540, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895007, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'environnement': {'main_port_id': 21311536, 'sub_port_id': 21311541, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895008, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'autre_refus': {'main_port_id': 21311536, 'sub_port_id': 21311542, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895009, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'plastique': {'main_port_id': 21311536, 'sub_port_id': 21311543, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895010, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'Carton_gris': {'main_port_id': 21311536, 'sub_port_id': 21311544, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895011, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'metal': {'main_port_id': 21311536, 'sub_port_id': 21311545, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895012, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'flou': {'main_port_id': 21311536, 'sub_port_id': 21311546, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895013, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'kraft': {'main_port_id': 21311536, 'sub_port_id': 21311547, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895014, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}, 'cartonnette': {'main_port_id': 21311536, 'sub_port_id': 21311548, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895015, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 33)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21311537 , 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=21311536 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 (21311537) result : ((1343211870,), (1343211905,), (1343212495,), (1343212497,), (1343212536,), (1343213666,), (1343213670,), (1343213674,), (1343214004,), (1343214006,), (1343214007,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311538 , 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=21311536 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 (21311538) result : ((1343211878,), (1343211879,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311539 , 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=21311536 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 (21311539) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311540 , 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=21311536 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 (21311540) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311541 , 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=21311536 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 (21311541) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311542 , 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=21311536 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 (21311542) result : ((1343211873,), (1343211874,), (1343211906,), (1343212770,), (1343212771,), (1343212772,), (1343212773,), (1343212774,), (1343212775,), (1343212776,), (1343213682,), (1343213685,), (1343213691,), (1343213919,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311543 , 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=21311536 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 (21311543) result : ((1343212783,), (1343213741,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311544 , 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=21311536 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 (21311544) result : ((1343211876,), (1343212777,), (1343212779,), (1343213710,), (1343213923,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311545 , 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=21311536 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 (21311545) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311546 , 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=21311536 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 (21311546) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311547 , 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=21311536 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 (21311547) result : ((1343211885,), (1343211911,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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 21311548 , 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=21311536 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 (21311548) result : ((1343212780,), (1343212782,), (1343213723,), (1343213925,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21311536) result : ((1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) 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`=21311536 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','metal','plastique','Teint_Dans_La_Masse','mal_croppe','flou','environnement','Carton_brun','papier','cartonnette','autre_refus')) 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`=21311536 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','metal','plastique','Teint_Dans_La_Masse','mal_croppe','flou','environnement','Carton_brun','papier','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21311536, 'sub_port_id': 21311549, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895016, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'Carton_brun': {'main_port_id': 21311536, 'sub_port_id': 21311550, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895017, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'mal_croppe': {'main_port_id': 21311536, 'sub_port_id': 21311551, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895018, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'papier': {'main_port_id': 21311536, 'sub_port_id': 21311552, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895019, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'environnement': {'main_port_id': 21311536, 'sub_port_id': 21311553, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895020, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'autre_refus': {'main_port_id': 21311536, 'sub_port_id': 21311554, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895021, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'plastique': {'main_port_id': 21311536, 'sub_port_id': 21311555, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895022, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'Carton_gris': {'main_port_id': 21311536, 'sub_port_id': 21311556, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895023, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'metal': {'main_port_id': 21311536, 'sub_port_id': 21311557, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895024, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'flou': {'main_port_id': 21311536, 'sub_port_id': 21311558, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895025, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'kraft': {'main_port_id': 21311536, 'sub_port_id': 21311559, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895026, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 49, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}, 'cartonnette': {'main_port_id': 21311536, 'sub_port_id': 21311560, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13895027, 'last_updated_at': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 21, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 21, 49, 36)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311537 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311538 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311539 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311541 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311554,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311542 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311543 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311556,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311544 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311557,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311545 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311558,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311546 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311547 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21311560,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21311548 lien utilise dans velours : https://www.fotonower.com/velours/21311549,21311550,21311551,21311552,21311553,21311554,21311555,21311556,21311557,21311558,21311559,21311560?tags=Teint_Dans_La_Masse,Carton_brun,mal_croppe,papier,environnement,autre_refus,plastique,Carton_gris,metal,flou,kraft,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21311536]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] map_info['map_portfolio_photo'] : {21311536: [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539, 1343212299, 1343212275, 1343212246, 1343212223, 1343212085, 1343212061, 1343212015, 1343211972, 1343211954, 1343211927, 1343211868, 1343211865, 1343211862, 1343211835, 1343211831, 1343211788, 1343211780, 1343211769, 1343211766, 1343211679, 1343211644, 1343211640, 1343211568, 1343211566, 1343211562, 1343211556, 1343211507, 1343211483, 1343211461, 1343211438, 1343211421]} final : False mtd_id 4302 list_pids : [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] Looping around the photos to save general results len do output : 1 /21311536. 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, '2659744') ('4302', '21311536', '1343213559', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21311536', "{'Teint_Dans_La_Masse': 21311537, 'Carton_brun': 21311538, 'mal_croppe': 21311539, 'papier': 21311540, 'environnement': 21311541, 'autre_refus': 21311542, 'plastique': 21311543, 'Carton_gris': 21311544, 'metal': 21311545, 'flou': 21311546, 'kraft': 21311547, 'cartonnette': 21311548}", None, None, None, None, '2659744'), ('4302', '21311536', '1343213559', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744')] time used for this insertion : 5.1573402881622314 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5554401874542236 time spend to save output : 5.157732725143433 total time spend for step 1 : 6.713172912597656 step2:final Tue Mar 11 21:59:05 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 (21311536) 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 21311536 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343211507,1343211483,1343211461,1343211438,1343211421,1343211568,1343211566,1343211562,1343211556,1343211679,1343211644,1343211640,1343211788,1343211780,1343211769,1343211766,1343211868,1343211865,1343211862,1343211835,1343211831,1343212085,1343212061,1343212015,1343211972,1343211954,1343211927,1343212299,1343212275,1343212246,1343212223,1343213040,1343212639,1343212612,1343213025,1343212589,1343212995,1343212571,1343212968,1343212552,1343212815,1343212539,1343212794,1343212785,1343212781,1343212768,1343212761,1343213338,1343213333,1343213301,1343213157,1343213559); 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([21311536]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} new output for save of step final : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] map_info['map_portfolio_photo'] : {21311536: [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539, 1343212299, 1343212275, 1343212246, 1343212223, 1343212085, 1343212061, 1343212015, 1343211972, 1343211954, 1343211927, 1343211868, 1343211865, 1343211862, 1343211835, 1343211831, 1343211788, 1343211780, 1343211769, 1343211766, 1343211679, 1343211644, 1343211640, 1343211568, 1343211566, 1343211562, 1343211556, 1343211507, 1343211483, 1343211461, 1343211438, 1343211421]} final : False mtd_id 4302 list_pids : [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] Looping around the photos to save general results len do output : 21 /1343213559.Didn't retrieve data . /1343213338.Didn't retrieve data . /1343213333.Didn't retrieve data . /1343213301.Didn't retrieve data . /1343213157.Didn't retrieve data . /1343213040.Didn't retrieve data . /1343213025.Didn't retrieve data . /1343212995.Didn't retrieve data . /1343212968.Didn't retrieve data . /1343212815.Didn't retrieve data . /1343212794.Didn't retrieve data . /1343212785.Didn't retrieve data . /1343212781.Didn't retrieve data . /1343212768.Didn't retrieve data . /1343212761.Didn't retrieve data . /1343212639.Didn't retrieve data . /1343212612.Didn't retrieve data . /1343212589.Didn't retrieve data . /1343212571.Didn't retrieve data . /1343212552.Didn't retrieve data . /1343212539.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, '2659744') ('4302', '21311536', '1343213559', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21311536', '1343213559', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343213338', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343213333', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343213301', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343213157', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343213040', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343213025', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212995', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212968', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212815', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212794', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212785', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212781', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212768', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212761', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212639', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212612', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212589', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212571', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212552', '0.06506181217861799', None, None, None, None, '2659744'), ('4302', '21311536', '1343212539', '0.06506181217861799', None, None, None, None, '2659744')] time used for this insertion : 0.013153553009033203 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07003235816955566 time spend to save output : 0.014084815979003906 total time spend for step 2 : 0.08411717414855957 step3:velours_tree Tue Mar 11 21:59:05 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 : {21311536: [{'Teint_Dans_La_Masse': 21311537, 'Carton_brun': 21311538, 'mal_croppe': 21311539, 'papier': 21311540, 'environnement': 21311541, 'autre_refus': 21311542, 'plastique': 21311543, 'Carton_gris': 21311544, 'metal': 21311545, 'flou': 21311546, 'kraft': 21311547, 'cartonnette': 21311548}]} input_args_next_step : {21311536: ()} output_args : {21311536: [{'Teint_Dans_La_Masse': 21311537, 'Carton_brun': 21311538, 'mal_croppe': 21311539, 'papier': 21311540, 'environnement': 21311541, 'autre_refus': 21311542, 'plastique': 21311543, 'Carton_gris': 21311544, 'metal': 21311545, 'flou': 21311546, 'kraft': 21311547, 'cartonnette': 21311548}]} args : 21311536 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 21311537, 'Carton_brun': 21311538, 'mal_croppe': 21311539, 'papier': 21311540, 'environnement': 21311541, 'autre_refus': 21311542, 'plastique': 21311543, 'Carton_gris': 21311544, 'metal': 21311545, 'flou': 21311546, 'kraft': 21311547, 'cartonnette': 21311548},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21311536) 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([21311536]) 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.32829713821411133 time spend to save output : 5.2928924560546875e-05 total time spend for step 3 : 0.3283500671386719 step4:send_mail_cod Tue Mar 11 21:59:05 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 : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} input_args_next_step : {1343213559: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213559 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213338 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213333 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213301 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213157 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213040 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343213025 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212995 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212968 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212815 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212794 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212785 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212781 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212768 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212761 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212639 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212612 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212589 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212571 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212552 depend.output_id : 0 input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ()} output_args : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',)} args : 1343212539 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 : {21311536: [{'Teint_Dans_La_Masse': 21311537, 'Carton_brun': 21311538, 'mal_croppe': 21311539, 'papier': 21311540, 'environnement': 21311541, 'autre_refus': 21311542, 'plastique': 21311543, 'Carton_gris': 21311544, 'metal': 21311545, 'flou': 21311546, 'kraft': 21311547, 'cartonnette': 21311548}]} input_args_next_step : {1343213559: ('0.06506181217861799',), 1343213338: ('0.06506181217861799',), 1343213333: ('0.06506181217861799',), 1343213301: ('0.06506181217861799',), 1343213157: ('0.06506181217861799',), 1343213040: ('0.06506181217861799',), 1343213025: ('0.06506181217861799',), 1343212995: ('0.06506181217861799',), 1343212968: ('0.06506181217861799',), 1343212815: ('0.06506181217861799',), 1343212794: ('0.06506181217861799',), 1343212785: ('0.06506181217861799',), 1343212781: ('0.06506181217861799',), 1343212768: ('0.06506181217861799',), 1343212761: ('0.06506181217861799',), 1343212639: ('0.06506181217861799',), 1343212612: ('0.06506181217861799',), 1343212589: ('0.06506181217861799',), 1343212571: ('0.06506181217861799',), 1343212552: ('0.06506181217861799',), 1343212539: ('0.06506181217861799',), 21311536: ()} output_args : {21311536: [{'Teint_Dans_La_Masse': 21311537, 'Carton_brun': 21311538, 'mal_croppe': 21311539, 'papier': 21311540, 'environnement': 21311541, 'autre_refus': 21311542, 'plastique': 21311543, 'Carton_gris': 21311544, 'metal': 21311545, 'flou': 21311546, 'kraft': 21311547, 'cartonnette': 21311548}]} args : 21311536 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :22, first value : ('0.06506181217861799',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21311536) 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 (1343213559,1343213338,1343213333,1343213301,1343213157,1343213040,1343213025,1343212995,1343212968,1343212815,1343212794,1343212785,1343212781,1343212768,1343212761,1343212639,1343212612,1343212589,1343212571,1343212552,1343212539) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343212539 begin to download photo : 1343212639 begin to download photo : 1343212794 begin to download photo : 1343213040 begin to download photo : 1343213559 download finish for photo 1343213040 begin to download photo : 1343213157 download finish for photo 1343212539 begin to download photo : 1343212552 download finish for photo 1343212794 begin to download photo : 1343212815 download finish for photo 1343212639 begin to download photo : 1343212761 download finish for photo 1343213559 download finish for photo 1343213157 begin to download photo : 1343213301 download finish for photo 1343212552 begin to download photo : 1343212571 download finish for photo 1343212761 begin to download photo : 1343212768 download finish for photo 1343212815 begin to download photo : 1343212968 download finish for photo 1343212571 begin to download photo : 1343212589 download finish for photo 1343212768 begin to download photo : 1343212781 download finish for photo 1343212968 begin to download photo : 1343212995 download finish for photo 1343213301 begin to download photo : 1343213333 download finish for photo 1343212589 begin to download photo : 1343212612 download finish for photo 1343212781 begin to download photo : 1343212785 download finish for photo 1343212995 begin to download photo : 1343213025 download finish for photo 1343213333 begin to download photo : 1343213338 download finish for photo 1343212785 download finish for photo 1343212612 download finish for photo 1343213025 download finish for photo 1343213338 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette213115391741726746/ length of list_filenames : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P21311536_11-03-2025_21_59_06.pdf 21311539 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=21311539 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213115391741726746 21311542 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=21311542 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343211873: '1741726211_1786932_1343211566_13c9caa40b7e2531f474aae78f55c2ea_rle_crop_3706433304_0.png', 1343211874: '1741726211_1786932_1343211556_e3cbd90ba57385b536e5d64ecf189d7a_rle_crop_3706433340_0.png', 1343211906: '1741726232_1787103_1343211644_993c2165090e0d0161fd4b74e934bf55_rle_crop_3706433351_0.png', 1343212770: '1741726333_1787865_1343211769_1512d6cb0cb67be7c172d128cdbec75f_rle_crop_3706439393_0.png', 1343212771: '1741726333_1787865_1343211766_02bfd4dfaf0910721be4631b80cb8f92_rle_crop_3706439499_0.png', 1343212772: '1741726350_1788063_1343211865_e2d87b738e7e3ab7a8f44c5bc108928c_rle_crop_3706439352_0.png', 1343212773: '1741726350_1788063_1343211862_9aefbd1cf8baf73ee8bc7ed4c38da36b_rle_crop_3706439406_0.png', 1343212774: '1741726350_1788063_1343211835_90118f0bf6b74135f2d0b0e3b11fc7b0_rle_crop_3706439506_0.png', 1343212775: '1741726350_1788063_1343211835_90118f0bf6b74135f2d0b0e3b11fc7b0_rle_crop_3706439515_0.png', 1343212776: '1741726350_1788063_1343211831_c6d4d59e616e6fcc3e11822547a401a4_rle_crop_3706439540_0.png', 1343213682: '1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440920_0.png', 1343213685: '1741726586_2553621_1343212768_896358d5d0f7a18209581b121c7163da_rle_crop_3706440935_0.png', 1343213691: '1741726586_2553621_1343212761_e8306cc852aebd51145d9cf91c4474d0_rle_crop_3706441179_0.png', 1343213919: '1741726633_1789710_1343212085_25597b35982f49ec22141312342285cc_rle_crop_3706441503_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f20bd08ad4bbe095f7b63e652ec68f88_144447.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f85355a8d26e02df7ad826691435ecc9_7171485.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/6d3e55e37a2650288ce78e9e74be7a43_33916768.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/cb4cdba6f49db2ba4fb5802f4dfb1388_93214840.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/24b2f28619b191aa71873f0afc42cecb_18968995.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bd794d3a5d4b75faafe90fedf2b20911_28008580.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/24cb9f6a0a0132455e1b943ef28eadf0_21299944.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8c3e1824165b8fc77257861ae60c215e_11517458.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/68affb6ee72728c5f75ff5d47a707104_73106053.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/288d6138a8e00d28570dff493db594cb_9255926.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b08f5124b9ce1df6c46482203daf5b42_34022320.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c757c31c35473449c84224bca64e6ec9_53785577.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/6e4a5bd6be2ab5cacc7dfb264d8a2c57_24021565.png change filename to text .imagette213115421741726746/ imagette213115421741726746/1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440920_0.png.png imagette213115421741726746/1741726350_1788063_1343211865_e2d87b738e7e3ab7a8f44c5bc108928c_rle_crop_3706439352_0.png.png imagette213115421741726746/1741726586_2553621_1343212768_896358d5d0f7a18209581b121c7163da_rle_crop_3706440935_0.png.png imagette213115421741726746/1741726350_1788063_1343211831_c6d4d59e616e6fcc3e11822547a401a4_rle_crop_3706439540_0.png.png imagette213115421741726746/1741726232_1787103_1343211644_993c2165090e0d0161fd4b74e934bf55_rle_crop_3706433351_0.png.png imagette213115421741726746/1741726350_1788063_1343211835_90118f0bf6b74135f2d0b0e3b11fc7b0_rle_crop_3706439515_0.png.png imagette213115421741726746/1741726211_1786932_1343211556_e3cbd90ba57385b536e5d64ecf189d7a_rle_crop_3706433340_0.png.png imagette213115421741726746/1741726586_2553621_1343212761_e8306cc852aebd51145d9cf91c4474d0_rle_crop_3706441179_0.png.png imagette213115421741726746/1741726350_1788063_1343211835_90118f0bf6b74135f2d0b0e3b11fc7b0_rle_crop_3706439506_0.png.png imagette213115421741726746/1741726633_1789710_1343212085_25597b35982f49ec22141312342285cc_rle_crop_3706441503_0.png.png imagette213115421741726746/1741726211_1786932_1343211566_13c9caa40b7e2531f474aae78f55c2ea_rle_crop_3706433304_0.png.png imagette213115421741726746/1741726350_1788063_1343211862_9aefbd1cf8baf73ee8bc7ed4c38da36b_rle_crop_3706439406_0.png.png imagette213115421741726746/1741726333_1787865_1343211766_02bfd4dfaf0910721be4631b80cb8f92_rle_crop_3706439499_0.png.png imagette213115421741726746/1741726333_1787865_1343211769_1512d6cb0cb67be7c172d128cdbec75f_rle_crop_3706439393_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/66428caa3308c7f3d9770823e168c6d7_37452279.png imagette213115421741726746 21311543 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=21311543 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343212783: '1741726333_1787865_1343211780_6d372d15969122082b4a931baff7bd4f_rle_crop_3706439330_0.png', 1343213741: '1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440918_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/38d95f92d021758e9302fafa68460acb_89325351.png change filename to text .imagette213115431741726747/ imagette213115431741726747/1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440918_0.png.png imagette213115431741726747/1741726333_1787865_1343211780_6d372d15969122082b4a931baff7bd4f_rle_crop_3706439330_0.png.png imagette213115451741726747/ imagette213115461741726747/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2c8507751917e98695fb2adf61504dad_99578808.png imagette213115431741726747 21311545 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=21311545 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213115451741726747 21311546 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=21311546 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213115461741726747 21311547 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=21311547 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343211885: '1741726211_1786932_1343211566_13c9caa40b7e2531f474aae78f55c2ea_rle_crop_3706433294_0.png', 1343211911: '1741726232_1787103_1343211644_993c2165090e0d0161fd4b74e934bf55_rle_crop_3706433346_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/54cacf2708a4172de9bbe7791f186a00_20763034.png change filename to text .imagette213115471741726747/ imagette213115471741726747/1741726232_1787103_1343211644_993c2165090e0d0161fd4b74e934bf55_rle_crop_3706433346_0.png.png imagette213115471741726747/1741726211_1786932_1343211566_13c9caa40b7e2531f474aae78f55c2ea_rle_crop_3706433294_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/25b344640bc542e7536cd1f5ce9cc2ca_1858554.png imagette213115471741726747 21311548 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=21311548 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343212780: '1741726350_1788063_1343211835_90118f0bf6b74135f2d0b0e3b11fc7b0_rle_crop_3706439507_0.png', 1343212782: '1741726333_1787865_1343211780_6d372d15969122082b4a931baff7bd4f_rle_crop_3706439329_0.png', 1343213723: '1741726586_2553621_1343212768_896358d5d0f7a18209581b121c7163da_rle_crop_3706440932_0.png', 1343213925: '1741726633_1789710_1343212085_25597b35982f49ec22141312342285cc_rle_crop_3706441499_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/de9c1dce0e2dab2e39513cc6f572dc59_8003164.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9a2beddbd0245aac0eee463bd1f68735_79273639.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a3aedc34820cc7c1fc4f5a07e100af88_32223293.png change filename to text .imagette213115481741726747/ imagette213115481741726747/1741726633_1789710_1343212085_25597b35982f49ec22141312342285cc_rle_crop_3706441499_0.png.png imagette213115481741726747/1741726350_1788063_1343211835_90118f0bf6b74135f2d0b0e3b11fc7b0_rle_crop_3706439507_0.png.png imagette213115481741726747/1741726586_2553621_1343212768_896358d5d0f7a18209581b121c7163da_rle_crop_3706440932_0.png.png imagette213115481741726747/1741726333_1787865_1343211780_6d372d15969122082b4a931baff7bd4f_rle_crop_3706439329_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/68da7dab71ce7de911790aaeef019bb6_39629163.png imagette213115481741726747 21311537 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=21311537 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343211870: '1741726211_1786932_1343211679_c0fa1251f10fcf6a6114948469dea8bd_rle_crop_3706433282_0.png', 1343211905: '1741726232_1787103_1343211644_993c2165090e0d0161fd4b74e934bf55_rle_crop_3706433349_0.png', 1343212495: '1741726333_1787865_1343211868_6bb1467f13b4007486110d8a8a5907cd_rle_crop_3706439310_0.png', 1343212497: '1741726333_1787865_1343211766_02bfd4dfaf0910721be4631b80cb8f92_rle_crop_3706439497_0.png', 1343212536: '1741726350_1788063_1343211831_c6d4d59e616e6fcc3e11822547a401a4_rle_crop_3706439538_0.png', 1343213666: '1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440921_0.png', 1343213670: '1741726586_2553621_1343212768_896358d5d0f7a18209581b121c7163da_rle_crop_3706440938_0.png', 1343213674: '1741726586_2553621_1343212761_e8306cc852aebd51145d9cf91c4474d0_rle_crop_3706441183_0.png', 1343214004: '1741726653_1790118_1343212061_f06188cd5f3e133684200a1c87f5119d_rle_crop_3706448675_0.png', 1343214006: '1741726653_1790118_1343211972_faae110d35c302b49b2acab592e250d6_rle_crop_3706453907_0.png', 1343214007: '1741726653_1790118_1343211954_8cb8bbdfc286f0eae43f7f943cab5468_rle_crop_3706456860_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/980884fa070d21851c585e5938af8dfa_80305772.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/196d4d000ec39850e7f0567988f687f4_89025214.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/154dfcef18958659fe97022ae7c9031a_89246633.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ab54466f3809f6ba6dfc052b425b7816_46308999.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/824a08ee271a752f6e6bfce654a33555_74943243.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/70c424b27fa288a788e5d4f4fd2f3c85_11589606.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ba2c0efa56c0138dddb1579e832037e9_76323929.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/978dab992b41f7722f6f561dac0901b4_94038944.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/72c488efef297e6a87123377fc001bb7_29713354.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7bd4bf567af64e22030252dcdbb84042_1106358.png change filename to text .imagette213115371741726747/ imagette213115371741726747/1741726653_1790118_1343211954_8cb8bbdfc286f0eae43f7f943cab5468_rle_crop_3706456860_0.png.png imagette213115371741726747/1741726333_1787865_1343211766_02bfd4dfaf0910721be4631b80cb8f92_rle_crop_3706439497_0.png.png imagette213115371741726747/1741726232_1787103_1343211644_993c2165090e0d0161fd4b74e934bf55_rle_crop_3706433349_0.png.png imagette213115371741726747/1741726211_1786932_1343211679_c0fa1251f10fcf6a6114948469dea8bd_rle_crop_3706433282_0.png.png imagette213115371741726747/1741726586_2553621_1343212761_e8306cc852aebd51145d9cf91c4474d0_rle_crop_3706441183_0.png.png imagette213115371741726747/1741726653_1790118_1343212061_f06188cd5f3e133684200a1c87f5119d_rle_crop_3706448675_0.png.png imagette213115371741726747/1741726333_1787865_1343211868_6bb1467f13b4007486110d8a8a5907cd_rle_crop_3706439310_0.png.png imagette213115371741726747/1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440921_0.png.png imagette213115371741726747/1741726350_1788063_1343211831_c6d4d59e616e6fcc3e11822547a401a4_rle_crop_3706439538_0.png.png imagette213115371741726747/1741726586_2553621_1343212768_896358d5d0f7a18209581b121c7163da_rle_crop_3706440938_0.png.png imagette213115371741726747/1741726653_1790118_1343211972_faae110d35c302b49b2acab592e250d6_rle_crop_3706453907_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/cd6bd92b860f978d2040c28aeacafca8_66920664.png imagette213115371741726747 21311538 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=21311538 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343211878: '1741726211_1786932_1343211562_801a0ea0a2c93c2cfafa4d333873fc4f_rle_crop_3706433321_0.png', 1343211879: '1741726211_1786932_1343211556_e3cbd90ba57385b536e5d64ecf189d7a_rle_crop_3706433338_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/734d5ed8caf85bee4cadf2d79ef8fe7c_87592320.png change filename to text .imagette213115381741726748/ imagette213115381741726748/1741726211_1786932_1343211562_801a0ea0a2c93c2cfafa4d333873fc4f_rle_crop_3706433321_0.png.png imagette213115381741726748/1741726211_1786932_1343211556_e3cbd90ba57385b536e5d64ecf189d7a_rle_crop_3706433338_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/939f5fe0c7928d6ce464e7ecf20d1dc6_49202243.png imagette213115381741726748 21311544 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=21311544 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343211876: '1741726211_1786932_1343211562_801a0ea0a2c93c2cfafa4d333873fc4f_rle_crop_3706433319_0.png', 1343212777: '1741726333_1787865_1343211868_6bb1467f13b4007486110d8a8a5907cd_rle_crop_3706439305_0.png', 1343212779: '1741726350_1788063_1343211865_e2d87b738e7e3ab7a8f44c5bc108928c_rle_crop_3706439342_0.png', 1343213710: '1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440915_0.png', 1343213923: '1741726633_1789710_1343212085_25597b35982f49ec22141312342285cc_rle_crop_3706441504_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9ea123db5864233da8681e35061aa921_98698903.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9467ff965529481a7ae4d75560b81d93_29194393.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/12f7dadb3b675487fcb77d7aa9c0aa1c_30307697.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b679ba30629e7f0bcb76bce128806b13_54222712.png change filename to text .imagette213115441741726748/ imagette213115441741726748/1741726586_2553621_1343212781_fa878cfbe436760946ddf1838ea29916_rle_crop_3706440915_0.png.png imagette213115441741726748/1741726350_1788063_1343211865_e2d87b738e7e3ab7a8f44c5bc108928c_rle_crop_3706439342_0.png.png imagette213115441741726748/1741726633_1789710_1343212085_25597b35982f49ec22141312342285cc_rle_crop_3706441504_0.png.png imagette213115441741726748/1741726211_1786932_1343211562_801a0ea0a2c93c2cfafa4d333873fc4f_rle_crop_3706433319_0.png.png imagette213115441741726748/1741726333_1787865_1343211868_6bb1467f13b4007486110d8a8a5907cd_rle_crop_3706439305_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/413ec9795f07b63eac6a43464f0f82ee_36130503.png imagette213115441741726748 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21311536 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21311549,21311550,21311551,21311552,21311553,21311554,21311555,21311556,21311557,21311558,21311559,21311560?tags=Teint_Dans_La_Masse,Carton_brun,mal_croppe,papier,environnement,autre_refus,plastique,Carton_gris,metal,flou,kraft,cartonnette your option no_mail is active, we will not send the real mail to your client args[1343213559] : ('0.06506181217861799',) no score found for photo 1343213559 We are sending mail with results at report@fotonower.com args[1343213338] : ('0.06506181217861799',) no score found for photo 1343213338 We are sending mail with results at report@fotonower.com args[1343213333] : ('0.06506181217861799',) no score found for photo 1343213333 We are sending mail with results at report@fotonower.com args[1343213301] : ('0.06506181217861799',) no score found for photo 1343213301 We are sending mail with results at report@fotonower.com args[1343213157] : ('0.06506181217861799',) no score found for photo 1343213157 We are sending mail with results at report@fotonower.com args[1343213040] : ('0.06506181217861799',) no score found for photo 1343213040 We are sending mail with results at report@fotonower.com args[1343213025] : ('0.06506181217861799',) no score found for photo 1343213025 We are sending mail with results at report@fotonower.com args[1343212995] : ('0.06506181217861799',) no score found for photo 1343212995 We are sending mail with results at report@fotonower.com args[1343212968] : ('0.06506181217861799',) no score found for photo 1343212968 We are sending mail with results at report@fotonower.com args[1343212815] : ('0.06506181217861799',) no score found for photo 1343212815 We are sending mail with results at report@fotonower.com args[1343212794] : ('0.06506181217861799',) no score found for photo 1343212794 We are sending mail with results at report@fotonower.com args[1343212785] : ('0.06506181217861799',) no score found for photo 1343212785 We are sending mail with results at report@fotonower.com args[1343212781] : ('0.06506181217861799',) no score found for photo 1343212781 We are sending mail with results at report@fotonower.com args[1343212768] : ('0.06506181217861799',) no score found for photo 1343212768 We are sending mail with results at report@fotonower.com args[1343212761] : ('0.06506181217861799',) no score found for photo 1343212761 We are sending mail with results at report@fotonower.com args[1343212639] : ('0.06506181217861799',) no score found for photo 1343212639 We are sending mail with results at report@fotonower.com args[1343212612] : ('0.06506181217861799',) no score found for photo 1343212612 We are sending mail with results at report@fotonower.com args[1343212589] : ('0.06506181217861799',) no score found for photo 1343212589 We are sending mail with results at report@fotonower.com args[1343212571] : ('0.06506181217861799',) no score found for photo 1343212571 We are sending mail with results at report@fotonower.com args[1343212552] : ('0.06506181217861799',) no score found for photo 1343212552 We are sending mail with results at report@fotonower.com args[1343212539] : ('0.06506181217861799',) no score found for photo 1343212539 We are sending mail with results at report@fotonower.com refus_total : 0.06506181217861799 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=21311536 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'autre_refus' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21311536]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] map_info['map_portfolio_photo'] : {21311536: [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539, 1343212299, 1343212275, 1343212246, 1343212223, 1343212085, 1343212061, 1343212015, 1343211972, 1343211954, 1343211927, 1343211868, 1343211865, 1343211862, 1343211835, 1343211831, 1343211788, 1343211780, 1343211769, 1343211766, 1343211679, 1343211644, 1343211640, 1343211568, 1343211566, 1343211562, 1343211556, 1343211507, 1343211483, 1343211461, 1343211438, 1343211421]} final : False mtd_id 4302 list_pids : [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] 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, '2659744') ('4302', '21311536', '1343213559', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744') 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', '21311536', '1343213559', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744')] time used for this insertion : 0.015085458755493164 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.690063238143921 time spend to save output : 0.015406131744384766 total time spend for step 4 : 3.7054693698883057 step5:split_time_score Tue Mar 11 21:59:09 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 : ['21311536'] 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 : [('21311536',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21311536) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343213559: {'path': 'temp/1741726745_2957071_1343213559_71283f30c5276cab87a5ff51463b25ed.jpg', 'extension': 'jpg'}, 1343212639: {'path': 'temp/1741726745_2957071_1343212639_57218a94fc7a88c463fea58db4b000e8.jpg', 'extension': 'jpg'}, 1343212761: {'path': 'temp/1741726745_2957071_1343212761_e8306cc852aebd51145d9cf91c4474d0.jpg', 'extension': 'jpg'}, 1343212768: {'path': 'temp/1741726745_2957071_1343212768_896358d5d0f7a18209581b121c7163da.jpg', 'extension': 'jpg'}, 1343212781: {'path': 'temp/1741726745_2957071_1343212781_fa878cfbe436760946ddf1838ea29916.jpg', 'extension': 'jpg'}, 1343212785: {'path': 'temp/1741726745_2957071_1343212785_605fb9ce97060eeaf9cd4fa60ab3f126.jpg', 'extension': 'jpg'}, 1343212539: {'path': 'temp/1741726745_2957071_1343212539_6a97f455ad940ec81d3e542bc78075ac.jpg', 'extension': 'jpg'}, 1343212552: {'path': 'temp/1741726745_2957071_1343212552_a1b88d9e601ba525bf2d29f0cd5dac6b.jpg', 'extension': 'jpg'}, 1343212571: {'path': 'temp/1741726745_2957071_1343212571_c3efe8dd99c4e6806e33d9d3ba06f034.jpg', 'extension': 'jpg'}, 1343212589: {'path': 'temp/1741726745_2957071_1343212589_401fb19c1dceeded65e1eeee57393af9.jpg', 'extension': 'jpg'}, 1343212612: {'path': 'temp/1741726745_2957071_1343212612_97579e99400346cb90201e60a71c3ed1.jpg', 'extension': 'jpg'}, 1343212794: {'path': 'temp/1741726745_2957071_1343212794_331f131278bc5b9fd2750798a0726e15.jpg', 'extension': 'jpg'}, 1343212815: {'path': 'temp/1741726745_2957071_1343212815_7d644157dfab34deee9b64b261eca44c.jpg', 'extension': 'jpg'}, 1343212968: {'path': 'temp/1741726745_2957071_1343212968_4bf7d1d949707348be9d2192cfc3b6d7.jpg', 'extension': 'jpg'}, 1343212995: {'path': 'temp/1741726745_2957071_1343212995_bcf397cd90ce3d8ddd7f8e8df9e6b95f.jpg', 'extension': 'jpg'}, 1343213025: {'path': 'temp/1741726745_2957071_1343213025_590b5be5043f516a07f6726066ad8c10.jpg', 'extension': 'jpg'}, 1343213040: {'path': 'temp/1741726745_2957071_1343213040_62ac01388c01fc98b6ba350ce99d90a9.jpg', 'extension': 'jpg'}, 1343213157: {'path': 'temp/1741726745_2957071_1343213157_f584e98555db9db03a5a1eb87a7a2145.jpg', 'extension': 'jpg'}, 1343213301: {'path': 'temp/1741726745_2957071_1343213301_b6284acc9573b29da66b9dfe483fa8f3.jpg', 'extension': 'jpg'}, 1343213333: {'path': 'temp/1741726745_2957071_1343213333_090816bd15311fc52776910d1a0d8577.jpg', 'extension': 'jpg'}, 1343213338: {'path': 'temp/1741726745_2957071_1343213338_61591cc1dd7e00f5bd21594eeaeae7e0.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 = 21311536; (('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 = 21311536 group by h (('21', 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=21311536 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 (21311536) 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 (21311536) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21311536 Nombre de photos uploadées : 52 / 23040 (0%) 11032025 21311536 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 11032025 21311536 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1343211507, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5a7b6f47f4cf9d5eac21c879796c2030.jpg', 'username': None, 'uploaded_at': 1741726000, 'text': 'image_11032025_21_45_04_10154.jpg'}, {'photo_id': 1343211483, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/017145746672b99dcff70f6de2903873.jpg', 'username': None, 'uploaded_at': 1741726000, 'text': 'image_11032025_21_45_14_10137.jpg'}, {'photo_id': 1343211461, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ad4812c493e45d967e1f486a6f848157.jpg', 'username': None, 'uploaded_at': 1741726000, 'text': 'image_11032025_21_45_24_10136.jpg'}, {'photo_id': 1343211438, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7621109424ccc4278e85a078e3ba38fa.jpg', 'username': None, 'uploaded_at': 1741726000, 'text': 'image_11032025_21_45_34_10139.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023124217987060547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21311536, '2025-03-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1656727,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023839950561523438 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= 1656727 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1656727, 'dashboard_run_id': 1668014, 'mtr_portfolio_id': 21310213, 'dashboard_result_id': 9364939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1668014, 'mtr_portfolio_id': 21310476, 'dashboard_result_id': 9364940, '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_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1668014, 'mtr_portfolio_id': 21310997, 'dashboard_result_id': 9364941, '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_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1668014, 'mtr_portfolio_id': 21311536, 'dashboard_result_id': 9364942, '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_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, '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 = 21310213 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': 2659643, 'mtr_portfolio_id': 21310213, 'created_at': datetime.datetime(2025, 3, 11, 21, 19, 59), 'result': '0.08173754257695107', 'result_long': None, 'result_double': None}] Qualite : 0.08173754257695107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310213 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21310213%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21310213 and dashboard_run_id = 1668014 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`=21310213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9364939, 0.08173754257695107, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}") 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 = 21310476 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': 2659663, 'mtr_portfolio_id': 21310476, 'created_at': datetime.datetime(2025, 3, 11, 21, 33, 36), 'result': '0.07168354068959866', 'result_long': None, 'result_double': None}] Qualite : 0.07168354068959866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310476 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_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}" where mtr_portfolio_id = 21310476 and dashboard_run_id = 1668014 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`=21310476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9364940, 0.07168354068959866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, '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 = 21310997 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': 2659701, 'mtr_portfolio_id': 21310997, 'created_at': datetime.datetime(2025, 3, 11, 21, 49, 33), 'result': '0.059853846064212325', 'result_long': None, 'result_double': None}] Qualite : 0.059853846064212325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310997 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_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}" where mtr_portfolio_id = 21310997 and dashboard_run_id = 1668014 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`=21310997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9364941, 0.059853846064212325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, '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 = 21311536 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': 2659744, 'mtr_portfolio_id': 21311536, 'created_at': datetime.datetime(2025, 3, 11, 21, 59, 5), 'result': '0.06506181217861799', 'result_long': None, 'result_double': None}] Qualite : 0.06506181217861799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21311536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21311536 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_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, 'pht': 3726}}" where mtr_portfolio_id = 21311536 and dashboard_run_id = 1668014 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`=21311536 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9364942, 0.06506181217861799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, '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 (21310213,21310476,21310997,21311536) result : ((1343199623,), (1343201302,), (1343201340,), (1343201342,), (1343201347,), (1343201614,), (1343201768,), (1343201781,), (1343201818,), (1343201829,), (1343202177,), (1343202192,), (1343202206,), (1343202232,), (1343202253,), (1343202426,), (1343202434,), (1343202439,), (1343202799,), (1343202837,), (1343203444,), (1343203542,), (1343203592,), (1343203615,), (1343203678,), (1343204357,), (1343204158,), (1343204213,), (1343204220,), (1343204295,), (1343204681,), (1343204695,), (1343204711,), (1343204733,), (1343204756,), (1343204933,), (1343204953,), (1343205292,), (1343205296,), (1343205301,), (1343205306,), (1343205318,), (1343205412,), (1343205456,), (1343205493,), (1343205559,), (1343205609,), (1343205672,), (1343205986,), (1343206022,), (1343206046,), (1343206297,), (1343206367,), (1343206389,), (1343206405,), (1343206431,), (1343206450,), (1343206541,), (1343206569,), (1343206594,), (1343206625,), (1343206643,), (1343206823,), (1343206850,), (1343206877,), (1343206902,), (1343207191,), (1343207269,), (1343207300,), (1343207420,), (1343207470,), (1343207500,), (1343207694,), (1343207723,), (1343207728,), (1343207733,), (1343207735,), (1343207747,), (1343207772,), (1343207785,), (1343207791,), (1343207835,), (1343207840,), (1343207851,), (1343207870,), (1343207876,), (1343207941,), (1343208345,), (1343208407,), (1343208424,), (1343208429,), (1343208434,), (1343208451,), (1343208520,), (1343208523,), (1343208527,), (1343208683,), (1343208655,), (1343208669,), (1343208673,), (1343208679,), (1343208736,), (1343208739,), (1343208743,), (1343208746,), (1343208766,), (1343208840,), (1343208916,), (1343208973,), (1343209006,), (1343209024,), (1343209091,), (1343209222,), (1343209229,), (1343209233,), (1343209277,), (1343209283,), (1343209289,), (1343209342,), (1343209378,), (1343209411,), (1343209416,), (1343209418,), (1343209448,), (1343209457,), (1343209500,), (1343209504,), (1343209509,), (1343209514,), (1343209518,), (1343209520,), (1343209607,), (1343209659,), (1343209676,), (1343210139,), (1343210168,), (1343210282,), (1343210655,), (1343210663,), (1343210676,), (1343210683,), (1343210690,), (1343210868,), (1343210882,), (1343210911,), (1343210920,), (1343210995,), (1343211011,), (1343211017,), (1343211020,), (1343211025,), (1343211027,), (1343211099,), (1343211106,), (1343211110,), (1343211113,), (1343211291,), (1343211319,), (1343211345,), (1343211364,), (1343211373,), (1343211388,), (1343211526,), (1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'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([21311536]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] map_info['map_portfolio_photo'] : {21311536: [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539, 1343212299, 1343212275, 1343212246, 1343212223, 1343212085, 1343212061, 1343212015, 1343211972, 1343211954, 1343211927, 1343211868, 1343211865, 1343211862, 1343211835, 1343211831, 1343211788, 1343211780, 1343211769, 1343211766, 1343211679, 1343211644, 1343211640, 1343211568, 1343211566, 1343211562, 1343211556, 1343211507, 1343211483, 1343211461, 1343211438, 1343211421]} final : True mtd_id 4302 list_pids : [1343213559, 1343213338, 1343213333, 1343213301, 1343213157, 1343213040, 1343213025, 1343212995, 1343212968, 1343212815, 1343212794, 1343212785, 1343212781, 1343212768, 1343212761, 1343212639, 1343212612, 1343212589, 1343212571, 1343212552, 1343212539] Looping around the photos to save general results len do output : 1 /21311536Didn'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, '2659744') ('4302', '21311536', '1343213559', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744') ('4302', None, None, None, None, None, None, None, '2659744') ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21311536', 'None', None, None, None, None, '2659744'), ('4302', '21311536', '1343213559', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213338', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213333', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213301', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213157', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213040', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343213025', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212995', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212968', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212815', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212794', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212785', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212781', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212768', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212761', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212639', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212612', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212589', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212571', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212552', None, None, None, None, None, '2659744'), ('4302', '21311536', '1343212539', None, None, None, None, None, '2659744')] time used for this insertion : 0.016226530075073242 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2014579772949219 time spend to save output : 0.01651287078857422 total time spend for step 5 : 1.217970848083496 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 (2659744) 1.84user 2.50system 0:15.83elapsed 27%CPU (0avgtext+0avgdata 152688maxresident)k 272inputs+20176outputs (9major+60702minor)pagefaults 0swaps