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 : 784276 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 (2614919) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2614919) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826652 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2614919'] with mtr_portfolio_ids : ['20826652'] and first list_photo_ids : [] new path : /proc/784276/ Name: python3 Umask: 0002 State: R (running) Tgid: 784276 Ngid: 0 Pid: 784276 PPid: 784275 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 784276 NSpid: 784276 NSpgid: 780379 NSsid: 780379 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98436 kB VmRSS: 98436 kB RssAnon: 59752 kB RssFile: 38684 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 49 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '784276', 'Ngid': '0', 'Pid': '784276', 'PPid': '784275', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '784276', 'NSpid': '784276', 'NSpgid': '780379', 'NSsid': '780379', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98436 kB', 'VmRSS': '98436 kB', 'RssAnon': '59752 kB', 'RssFile': '38684 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '49', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '784276', '1106844', '0', '1106844', '865592', '98436', b'', 'marlene', '2614919') 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 (20826652) 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 (2614919 ) ) 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 (20826652) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339679199, 'portfolio_id': 20826652}, {'photo_id': 1339679193, 'portfolio_id': 20826652}, {'photo_id': 1339679187, 'portfolio_id': 20826652}, {'photo_id': 1339679184, 'portfolio_id': 20826652}, {'photo_id': 1339679179, 'portfolio_id': 20826652}, {'photo_id': 1339679176, 'portfolio_id': 20826652}, {'photo_id': 1339679167, 'portfolio_id': 20826652}, {'photo_id': 1339679164, 'portfolio_id': 20826652}, {'photo_id': 1339679136, 'portfolio_id': 20826652}, {'photo_id': 1339679132, 'portfolio_id': 20826652}, {'photo_id': 1339679123, 'portfolio_id': 20826652}, {'photo_id': 1339679110, 'portfolio_id': 20826652}, {'photo_id': 1339679097, 'portfolio_id': 20826652}, {'photo_id': 1339679093, 'portfolio_id': 20826652}, {'photo_id': 1339679084, 'portfolio_id': 20826652}, {'photo_id': 1339679082, 'portfolio_id': 20826652}, {'photo_id': 1339679023, 'portfolio_id': 20826652}, {'photo_id': 1339679019, 'portfolio_id': 20826652}, {'photo_id': 1339679015, 'portfolio_id': 20826652}, {'photo_id': 1339679010, 'portfolio_id': 20826652}, {'photo_id': 1339679005, 'portfolio_id': 20826652}, {'photo_id': 1339679000, 'portfolio_id': 20826652}, {'photo_id': 1339678991, 'portfolio_id': 20826652}, {'photo_id': 1339678989, 'portfolio_id': 20826652}, {'photo_id': 1339678943, 'portfolio_id': 20826652}, {'photo_id': 1339678920, 'portfolio_id': 20826652}, {'photo_id': 1339678914, 'portfolio_id': 20826652}, {'photo_id': 1339678905, 'portfolio_id': 20826652}, {'photo_id': 1339678897, 'portfolio_id': 20826652}, {'photo_id': 1339678889, 'portfolio_id': 20826652}, {'photo_id': 1339678882, 'portfolio_id': 20826652}, {'photo_id': 1339678879, 'portfolio_id': 20826652}, {'photo_id': 1339678875, 'portfolio_id': 20826652}, {'photo_id': 1339678872, 'portfolio_id': 20826652}, {'photo_id': 1339678867, 'portfolio_id': 20826652}, {'photo_id': 1339678862, 'portfolio_id': 20826652}, {'photo_id': 1339678855, 'portfolio_id': 20826652}, {'photo_id': 1339678822, 'portfolio_id': 20826652}, {'photo_id': 1339678817, 'portfolio_id': 20826652}, {'photo_id': 1339678812, 'portfolio_id': 20826652}, {'photo_id': 1339678789, 'portfolio_id': 20826652}, {'photo_id': 1339678784, 'portfolio_id': 20826652}, {'photo_id': 1339678779, 'portfolio_id': 20826652}, {'photo_id': 1339678774, 'portfolio_id': 20826652}, {'photo_id': 1339678769, 'portfolio_id': 20826652}, {'photo_id': 1339678761, 'portfolio_id': 20826652}, {'photo_id': 1339678739, 'portfolio_id': 20826652}, {'photo_id': 1339678735, 'portfolio_id': 20826652}, {'photo_id': 1339678730, 'portfolio_id': 20826652}, {'photo_id': 1339678725, 'portfolio_id': 20826652}, {'photo_id': 1339678720, 'portfolio_id': 20826652}, {'photo_id': 1339678699, 'portfolio_id': 20826652}, {'photo_id': 1339678669, 'portfolio_id': 20826652}, {'photo_id': 1339678639, 'portfolio_id': 20826652}, {'photo_id': 1339678628, 'portfolio_id': 20826652}, {'photo_id': 1339678623, 'portfolio_id': 20826652}, {'photo_id': 1339678497, 'portfolio_id': 20826652}, {'photo_id': 1339677986, 'portfolio_id': 20826652}, {'photo_id': 1339677862, 'portfolio_id': 20826652}, {'photo_id': 1339677857, 'portfolio_id': 20826652}, {'photo_id': 1339677853, 'portfolio_id': 20826652}, {'photo_id': 1339677850, 'portfolio_id': 20826652}, {'photo_id': 1339677778, 'portfolio_id': 20826652}, {'photo_id': 1339677771, 'portfolio_id': 20826652}, {'photo_id': 1339677763, 'portfolio_id': 20826652}, {'photo_id': 1339677757, 'portfolio_id': 20826652}, {'photo_id': 1339677753, 'portfolio_id': 20826652}, {'photo_id': 1339677741, 'portfolio_id': 20826652}, {'photo_id': 1339677738, 'portfolio_id': 20826652}, {'photo_id': 1339677734, 'portfolio_id': 20826652}, {'photo_id': 1339677729, 'portfolio_id': 20826652}, {'photo_id': 1339677724, 'portfolio_id': 20826652}, {'photo_id': 1339677720, 'portfolio_id': 20826652}, {'photo_id': 1339677677, 'portfolio_id': 20826652}, {'photo_id': 1339677673, 'portfolio_id': 20826652}, {'photo_id': 1339677669, 'portfolio_id': 20826652}] map_portfolio_id_photo_id: {20826652: [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000, 1339678991, 1339678989, 1339678943, 1339678920, 1339678914, 1339678905, 1339678897, 1339678889, 1339678882, 1339678879, 1339678875, 1339678872, 1339678867, 1339678862, 1339678855, 1339678822, 1339678817, 1339678812, 1339678789, 1339678784, 1339678779, 1339678774, 1339678769, 1339678761, 1339678739, 1339678735, 1339678730, 1339678725, 1339678720, 1339678699, 1339678669, 1339678639, 1339678628, 1339678623, 1339678497, 1339677986, 1339677862, 1339677857, 1339677853, 1339677850, 1339677778, 1339677771, 1339677763, 1339677757, 1339677753, 1339677741, 1339677738, 1339677734, 1339677729, 1339677724, 1339677720, 1339677677, 1339677673, 1339677669]} ##### 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.01617121696472168 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Feb 26 07:22:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20826652) 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 : 20826652 get user id for portfolio 20826652 get sub ptf for main ptf 20826652, type 3726 and hashtags ['Teint_Dans_La_Masse', 'autre_refus', 'metal', 'kraft', 'cartonnette', 'mal_croppe', 'flou', 'Carton_brun', 'environnement', 'papier', 'plastique', 'Carton_gris'] 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`=20826652 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','metal','kraft','cartonnette','mal_croppe','flou','Carton_brun','environnement','papier','plastique','Carton_gris')) 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`=20826652 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','metal','kraft','cartonnette','mal_croppe','flou','Carton_brun','environnement','papier','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20826652, 'sub_port_id': 20826653, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462499, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'environnement': {'main_port_id': 20826652, 'sub_port_id': 20826654, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462500, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'metal': {'main_port_id': 20826652, 'sub_port_id': 20826655, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462501, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'cartonnette': {'main_port_id': 20826652, 'sub_port_id': 20826656, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462502, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20826652, 'sub_port_id': 20826657, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462503, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'Carton_brun': {'main_port_id': 20826652, 'sub_port_id': 20826658, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462504, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'Carton_gris': {'main_port_id': 20826652, 'sub_port_id': 20826659, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462505, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'flou': {'main_port_id': 20826652, 'sub_port_id': 20826660, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462506, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'mal_croppe': {'main_port_id': 20826652, 'sub_port_id': 20826661, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462507, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'plastique': {'main_port_id': 20826652, 'sub_port_id': 20826662, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462508, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'papier': {'main_port_id': 20826652, 'sub_port_id': 20826663, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462509, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}, 'autre_refus': {'main_port_id': 20826652, 'sub_port_id': 20826664, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462510, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826653 , 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=20826652 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 (20826653) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826654 , 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=20826652 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 (20826654) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826655 , 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=20826652 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 (20826655) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826656 , 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=20826652 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 (20826656) result : ((1339678768,), (1339678853,), (1339679092,), (1339679094,), (1339679152,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826657 , 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=20826652 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 (20826657) result : ((1339678070,), (1339678072,), (1339678762,), (1339678790,), (1339678791,), (1339678792,), (1339678844,), (1339678845,), (1339678846,), (1339678847,), (1339678848,), (1339679090,), (1339679098,), (1339679099,), (1339679100,), (1339679101,), (1339679102,), (1339679103,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826658 , 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=20826652 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 (20826658) result : ((1339678237,), (1339678239,), (1339678241,), (1339678243,), (1339678798,), (1339678799,), (1339678854,), (1339679034,), (1339679119,), (1339679120,), (1339679121,), (1339679122,), (1339679155,), (1339679156,), (1339679157,), (1339679158,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826659 , 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=20826652 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 (20826659) result : ((1339678186,), (1339678188,), (1339678190,), (1339678767,), (1339678796,), (1339678850,), (1339679032,), (1339679033,), (1339679075,), (1339679076,), (1339679077,), (1339679112,), (1339679113,), (1339679114,), (1339679115,), (1339679116,), (1339679149,), (1339679150,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826660 , 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=20826652 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 (20826660) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826661 , 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=20826652 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 (20826661) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826662 , 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=20826652 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 (20826662) result : ((1339678486,), (1339678800,), (1339678857,), (1339678858,), (1339679036,), (1339679124,), (1339679125,), (1339679126,), (1339679159,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826663 , 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=20826652 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 (20826663) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20826664 , 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=20826652 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 (20826664) result : ((1339678126,), (1339678128,), (1339678765,), (1339678793,), (1339678794,), (1339679071,), (1339679072,), (1339679091,), (1339679106,), (1339679107,), (1339679108,), (1339679109,), (1339679146,), (1339679147,), (1339679148,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20826652) result : ((1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,)) 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 (1339679000) and cspi.crop_hashtag_id = chi.id; 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`=20826652 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','metal','kraft','cartonnette','mal_croppe','flou','Carton_brun','environnement','papier','plastique','Carton_gris')) 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`=20826652 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','metal','kraft','cartonnette','mal_croppe','flou','Carton_brun','environnement','papier','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20826652, 'sub_port_id': 20826665, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462511, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'environnement': {'main_port_id': 20826652, 'sub_port_id': 20826666, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462512, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'metal': {'main_port_id': 20826652, 'sub_port_id': 20826667, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462513, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'cartonnette': {'main_port_id': 20826652, 'sub_port_id': 20826668, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462514, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20826652, 'sub_port_id': 20826669, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462515, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'Carton_brun': {'main_port_id': 20826652, 'sub_port_id': 20826670, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462516, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'Carton_gris': {'main_port_id': 20826652, 'sub_port_id': 20826671, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462517, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'flou': {'main_port_id': 20826652, 'sub_port_id': 20826672, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462518, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'mal_croppe': {'main_port_id': 20826652, 'sub_port_id': 20826673, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462519, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'plastique': {'main_port_id': 20826652, 'sub_port_id': 20826674, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462520, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'papier': {'main_port_id': 20826652, 'sub_port_id': 20826675, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462521, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}, 'autre_refus': {'main_port_id': 20826652, 'sub_port_id': 20826676, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13462522, 'last_updated_at': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 7, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 7, 6, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826665,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826653 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826666,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826654 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826667,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826655 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826668,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826656 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826669,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826657 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826670,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826658 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826671,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826659 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826672,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826660 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826673,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826661 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826674,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826662 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826675,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826663 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20826676,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20826664 lien utilise dans velours : https://www.fotonower.com/velours/20826665,20826666,20826667,20826668,20826669,20826670,20826671,20826672,20826673,20826674,20826675,20826676?tags=kraft,environnement,metal,cartonnette,Teint_Dans_La_Masse,Carton_brun,Carton_gris,flou,mal_croppe,plastique,papier,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20826652]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] map_info['map_portfolio_photo'] : {20826652: [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000, 1339678991, 1339678989, 1339678943, 1339678920, 1339678914, 1339678905, 1339678897, 1339678889, 1339678882, 1339678879, 1339678875, 1339678872, 1339678867, 1339678862, 1339678855, 1339678822, 1339678817, 1339678812, 1339678789, 1339678784, 1339678779, 1339678774, 1339678769, 1339678761, 1339678739, 1339678735, 1339678730, 1339678725, 1339678720, 1339678699, 1339678669, 1339678639, 1339678628, 1339678623, 1339678497, 1339677986, 1339677862, 1339677857, 1339677853, 1339677850, 1339677778, 1339677771, 1339677763, 1339677757, 1339677753, 1339677741, 1339677738, 1339677734, 1339677729, 1339677724, 1339677720, 1339677677, 1339677673, 1339677669]} final : False mtd_id 4302 list_pids : [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] Looping around the photos to save general results len do output : 1 /20826652. 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, '2614919') ('4302', '20826652', '1339679199', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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, '20826652', "{'kraft': 20826653, 'environnement': 20826654, 'metal': 20826655, 'cartonnette': 20826656, 'Teint_Dans_La_Masse': 20826657, 'Carton_brun': 20826658, 'Carton_gris': 20826659, 'flou': 20826660, 'mal_croppe': 20826661, 'plastique': 20826662, 'papier': 20826663, 'autre_refus': 20826664}", None, None, None, None, '2614919'), ('4302', '20826652', '1339679199', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919')] time used for this insertion : 0.014705896377563477 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4770784378051758 time spend to save output : 0.015047550201416016 total time spend for step 1 : 0.4921259880065918 step2:final Wed Feb 26 07:22: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 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 (20826652) 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 20826652 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339677677,1339677673,1339677669,1339677741,1339677738,1339677734,1339677729,1339677724,1339677720,1339677778,1339677771,1339677763,1339677757,1339677753,1339677986,1339677862,1339677857,1339677853,1339677850,1339678699,1339678669,1339678639,1339678628,1339678623,1339678497,1339678739,1339678735,1339678730,1339678725,1339678720,1339678789,1339678784,1339678779,1339678774,1339678769,1339678761,1339678822,1339678817,1339678812,1339678879,1339678875,1339678872,1339678867,1339678862,1339678855,1339679199,1339679193,1339679187,1339679184,1339679179,1339679176,1339679167,1339679164,1339679136,1339679132,1339679123,1339679110,1339679097,1339679093,1339679084,1339679082,1339679023,1339679019,1339679015,1339679010,1339679005,1339679000,1339678991,1339678989,1339678920,1339678914,1339678905,1339678897,1339678889,1339678882,1339678943); 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([20826652]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} new output for save of step final : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] map_info['map_portfolio_photo'] : {20826652: [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000, 1339678991, 1339678989, 1339678943, 1339678920, 1339678914, 1339678905, 1339678897, 1339678889, 1339678882, 1339678879, 1339678875, 1339678872, 1339678867, 1339678862, 1339678855, 1339678822, 1339678817, 1339678812, 1339678789, 1339678784, 1339678779, 1339678774, 1339678769, 1339678761, 1339678739, 1339678735, 1339678730, 1339678725, 1339678720, 1339678699, 1339678669, 1339678639, 1339678628, 1339678623, 1339678497, 1339677986, 1339677862, 1339677857, 1339677853, 1339677850, 1339677778, 1339677771, 1339677763, 1339677757, 1339677753, 1339677741, 1339677738, 1339677734, 1339677729, 1339677724, 1339677720, 1339677677, 1339677673, 1339677669]} final : False mtd_id 4302 list_pids : [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] Looping around the photos to save general results len do output : 22 /1339679199.Didn't retrieve data . /1339679193.Didn't retrieve data . /1339679187.Didn't retrieve data . /1339679184.Didn't retrieve data . /1339679179.Didn't retrieve data . /1339679176.Didn't retrieve data . /1339679167.Didn't retrieve data . /1339679164.Didn't retrieve data . /1339679136.Didn't retrieve data . /1339679132.Didn't retrieve data . /1339679123.Didn't retrieve data . /1339679110.Didn't retrieve data . /1339679097.Didn't retrieve data . /1339679093.Didn't retrieve data . /1339679084.Didn't retrieve data . /1339679082.Didn't retrieve data . /1339679023.Didn't retrieve data . /1339679019.Didn't retrieve data . /1339679015.Didn't retrieve data . /1339679010.Didn't retrieve data . /1339679005.Didn't retrieve data . /1339679000.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, '2614919') ('4302', '20826652', '1339679199', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 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', '20826652', '1339679199', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679193', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679187', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679184', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679179', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679176', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679167', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679164', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679136', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679132', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679123', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679110', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679097', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679093', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679084', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679082', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679023', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679019', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679015', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679010', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679005', '0.09362376607214386', None, None, None, None, '2614919'), ('4302', '20826652', '1339679000', '0.09362376607214386', None, None, None, None, '2614919')] time used for this insertion : 0.014070272445678711 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0730276107788086 time spend to save output : 0.01497960090637207 total time spend for step 2 : 0.08800721168518066 step3:velours_tree Wed Feb 26 07:22: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 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 : {20826652: [{'kraft': 20826653, 'environnement': 20826654, 'metal': 20826655, 'cartonnette': 20826656, 'Teint_Dans_La_Masse': 20826657, 'Carton_brun': 20826658, 'Carton_gris': 20826659, 'flou': 20826660, 'mal_croppe': 20826661, 'plastique': 20826662, 'papier': 20826663, 'autre_refus': 20826664}]} input_args_next_step : {20826652: ()} output_args : {20826652: [{'kraft': 20826653, 'environnement': 20826654, 'metal': 20826655, 'cartonnette': 20826656, 'Teint_Dans_La_Masse': 20826657, 'Carton_brun': 20826658, 'Carton_gris': 20826659, 'flou': 20826660, 'mal_croppe': 20826661, 'plastique': 20826662, 'papier': 20826663, 'autre_refus': 20826664}]} args : 20826652 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 20826653, 'environnement': 20826654, 'metal': 20826655, 'cartonnette': 20826656, 'Teint_Dans_La_Masse': 20826657, 'Carton_brun': 20826658, 'Carton_gris': 20826659, 'flou': 20826660, 'mal_croppe': 20826661, 'plastique': 20826662, 'papier': 20826663, 'autre_refus': 20826664},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20826652) 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([20826652]) 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.35309743881225586 time spend to save output : 6.794929504394531e-05 total time spend for step 3 : 0.3531653881072998 step4:send_mail_cod Wed Feb 26 07:22: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 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 : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} input_args_next_step : {1339679199: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679199 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679193 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679187 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679184 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679179 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679176 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679167 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679164 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679136 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679132 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679123 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679110 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679097 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679093 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679084 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679082 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679023 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679019 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679015 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679010 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679005 depend.output_id : 0 input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ()} output_args : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',)} args : 1339679000 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 : {20826652: [{'kraft': 20826653, 'environnement': 20826654, 'metal': 20826655, 'cartonnette': 20826656, 'Teint_Dans_La_Masse': 20826657, 'Carton_brun': 20826658, 'Carton_gris': 20826659, 'flou': 20826660, 'mal_croppe': 20826661, 'plastique': 20826662, 'papier': 20826663, 'autre_refus': 20826664}]} input_args_next_step : {1339679199: ('0.09362376607214386',), 1339679193: ('0.09362376607214386',), 1339679187: ('0.09362376607214386',), 1339679184: ('0.09362376607214386',), 1339679179: ('0.09362376607214386',), 1339679176: ('0.09362376607214386',), 1339679167: ('0.09362376607214386',), 1339679164: ('0.09362376607214386',), 1339679136: ('0.09362376607214386',), 1339679132: ('0.09362376607214386',), 1339679123: ('0.09362376607214386',), 1339679110: ('0.09362376607214386',), 1339679097: ('0.09362376607214386',), 1339679093: ('0.09362376607214386',), 1339679084: ('0.09362376607214386',), 1339679082: ('0.09362376607214386',), 1339679023: ('0.09362376607214386',), 1339679019: ('0.09362376607214386',), 1339679015: ('0.09362376607214386',), 1339679010: ('0.09362376607214386',), 1339679005: ('0.09362376607214386',), 1339679000: ('0.09362376607214386',), 20826652: ()} output_args : {20826652: [{'kraft': 20826653, 'environnement': 20826654, 'metal': 20826655, 'cartonnette': 20826656, 'Teint_Dans_La_Masse': 20826657, 'Carton_brun': 20826658, 'Carton_gris': 20826659, 'flou': 20826660, 'mal_croppe': 20826661, 'plastique': 20826662, 'papier': 20826663, 'autre_refus': 20826664}]} args : 20826652 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 :23, first value : ('0.09362376607214386',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20826652) 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 (1339679199,1339679193,1339679187,1339679184,1339679179,1339679176,1339679167,1339679164,1339679136,1339679132,1339679123,1339679110,1339679097,1339679093,1339679084,1339679082,1339679023,1339679019,1339679015,1339679010,1339679005,1339679000) Found this number of photos: 22 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339679000 begin to download photo : 1339679023 begin to download photo : 1339679110 begin to download photo : 1339679167 begin to download photo : 1339679193 download finish for photo 1339679193 begin to download photo : 1339679199 download finish for photo 1339679023 begin to download photo : 1339679082 download finish for photo 1339679167 begin to download photo : 1339679176 download finish for photo 1339679000 begin to download photo : 1339679005 download finish for photo 1339679110 begin to download photo : 1339679123 download finish for photo 1339679176 begin to download photo : 1339679179 download finish for photo 1339679005 begin to download photo : 1339679010 download finish for photo 1339679199 download finish for photo 1339679123 begin to download photo : 1339679132 download finish for photo 1339679082 begin to download photo : 1339679084 download finish for photo 1339679179 begin to download photo : 1339679184 download finish for photo 1339679010 begin to download photo : 1339679015 download finish for photo 1339679084 begin to download photo : 1339679093 download finish for photo 1339679184 begin to download photo : 1339679187 download finish for photo 1339679093 begin to download photo : 1339679097 download finish for photo 1339679015 begin to download photo : 1339679019 download finish for photo 1339679187 download finish for photo 1339679019 download finish for photo 1339679132 begin to download photo : 1339679136 download finish for photo 1339679097 download finish for photo 1339679136 begin to download photo : 1339679164 download finish for photo 1339679164 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208266531740550979/ imagette208266551740550979/ length of list_filenames : 22 ; length of list_pids : 22 ; length of list_args : 22 results_Auto_P20826652_26-02-2025_07_22_59.pdf 20826653 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=20826653 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208266531740550979 20826655 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=20826655 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208266551740550979 20826656 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=20826656 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339678768: '1740549991_2428106_1339677850_c61311f128309004c2171d17c6c5941e_rle_crop_3687184191_0.png', 1339678853: '1740550094_2429767_1339678669_c916fa726d949a11e51fdb3e3c283b8a_rle_crop_3687185416_0.png', 1339679092: '1740550772_2436039_1339678879_d97b7d2dd6a7c2870e4639e6cea31cd8_rle_crop_3687187330_0.png', 1339679094: '1740550772_2436039_1339678879_d97b7d2dd6a7c2870e4639e6cea31cd8_rle_crop_3687187333_0.png', 1339679152: '1740550792_2436310_1339678855_8b9dad308a7e68d3f55fd0fd8698aeaa_rle_crop_3687187671_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7385d82d88f236504b97fa24d457a6fe_59488809.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/791812a5f77a96cdd1b4c745e00b8285_70386073.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/50093215897569f66f66ce079f66512c_14422655.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ad378425b7bef1dcf9969c4aaa32f787_46403184.png change filename to text .imagette208266561740550979/ imagette208266561740550979/1740549991_2428106_1339677850_c61311f128309004c2171d17c6c5941e_rle_crop_3687184191_0.png.png imagette208266561740550979/1740550772_2436039_1339678879_d97b7d2dd6a7c2870e4639e6cea31cd8_rle_crop_3687187333_0.png.png imagette208266561740550979/1740550772_2436039_1339678879_d97b7d2dd6a7c2870e4639e6cea31cd8_rle_crop_3687187330_0.png.png imagette208266561740550979/1740550792_2436310_1339678855_8b9dad308a7e68d3f55fd0fd8698aeaa_rle_crop_3687187671_0.png.png imagette208266561740550979/1740550094_2429767_1339678669_c916fa726d949a11e51fdb3e3c283b8a_rle_crop_3687185416_0.png.png imagette208266601740550979/ imagette208266611740550979/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/26a6d2f241bfaad762b18c2e2b2c8d7c_1210956.png imagette208266561740550979 20826660 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=20826660 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208266601740550979 20826661 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=20826661 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208266611740550979 20826662 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=20826662 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339678486: '1740549871_2426097_1339677673_8e07f3a8ebfc6375e2bd4b0ebc1846b4_rle_crop_3687183252_0.png', 1339678800: '1740550012_2428472_1339677771_ca3cbc7327b54ed71024b0989d6e7d3d_rle_crop_3687184285_0.png', 1339678857: '1740550094_2429767_1339678639_8b951e7211750f5a46b28270806419d3_rle_crop_3687185436_0.png', 1339678858: '1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185452_0.png', 1339679036: '1740550714_2435206_1339678889_621599b67cc80212b6947ef73db84809_rle_crop_3687186383_0.png', 1339679124: '1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187302_0.png', 1339679125: '1740550752_2435772_1339678769_fbdb3ee448d75839a1d5582d23f004cd_rle_crop_3687187399_0.png', 1339679126: '1740550752_2435772_1339678761_61866cffa3094266dbc80baa12fac306_rle_crop_3687187506_0.png', 1339679159: '1740550792_2436310_1339678875_e2eac3ee80b09ebc6b47326470531abf_rle_crop_3687187608_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e0b966d01ae037636b75729e069364f9_49689295.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8dc8e6b90624e5f563226d6f0aed4577_73166078.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4808227395d26ada7dee209cbbc81dc9_80318012.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e47f4bc897265b50ac9204ed2c9aa3db_894953.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e57b6a61d858ea5f846071083a845cff_94354682.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4b1469dc9f0a14432f48e8c4d10cfff5_97269728.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fbea008126fa1972ec91901a6e02b947_87185715.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b29713f0a5e812fc73d451b1c01dea33_40932699.png change filename to text .imagette208266621740550979/ imagette208266621740550979/1740549871_2426097_1339677673_8e07f3a8ebfc6375e2bd4b0ebc1846b4_rle_crop_3687183252_0.png.png imagette208266621740550979/1740550094_2429767_1339678639_8b951e7211750f5a46b28270806419d3_rle_crop_3687185436_0.png.png imagette208266621740550979/1740550792_2436310_1339678875_e2eac3ee80b09ebc6b47326470531abf_rle_crop_3687187608_0.png.png imagette208266621740550979/1740550752_2435772_1339678769_fbdb3ee448d75839a1d5582d23f004cd_rle_crop_3687187399_0.png.png imagette208266621740550979/1740550012_2428472_1339677771_ca3cbc7327b54ed71024b0989d6e7d3d_rle_crop_3687184285_0.png.png imagette208266621740550979/1740550752_2435772_1339678761_61866cffa3094266dbc80baa12fac306_rle_crop_3687187506_0.png.png imagette208266621740550979/1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187302_0.png.png imagette208266621740550979/1740550714_2435206_1339678889_621599b67cc80212b6947ef73db84809_rle_crop_3687186383_0.png.png imagette208266621740550979/1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185452_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/bf8346cca9a7d280e1ee8ad9b5f7d4ae_52259811.png imagette208266621740550979 20826664 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=20826664 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339678126: '1740549852_2425886_1339677720_b0a162007b31de123f098937d88ca9b2_rle_crop_3687183226_0.png', 1339678128: '1740549852_2425886_1339677720_b0a162007b31de123f098937d88ca9b2_rle_crop_3687183216_0.png', 1339678765: '1740549991_2428106_1339677853_8f70879c195fce00a3f2148299173694_rle_crop_3687184176_0.png', 1339678793: '1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184342_0.png', 1339678794: '1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184333_0.png', 1339679071: '1740550734_2435485_1339678920_fc392743c0a504538136abf9a4374006_rle_crop_3687186804_0.png', 1339679072: '1740550734_2435485_1339678920_fc392743c0a504538136abf9a4374006_rle_crop_3687186806_0.png', 1339679091: '1740550772_2436039_1339678879_d97b7d2dd6a7c2870e4639e6cea31cd8_rle_crop_3687187335_0.png', 1339679106: '1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187285_0.png', 1339679107: '1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187303_0.png', 1339679108: '1740550752_2435772_1339678769_fbdb3ee448d75839a1d5582d23f004cd_rle_crop_3687187395_0.png', 1339679109: '1740550752_2435772_1339678769_fbdb3ee448d75839a1d5582d23f004cd_rle_crop_3687187396_0.png', 1339679146: '1740550792_2436310_1339678872_68f95b3dee24eeea29f4b3c9399fa15c_rle_crop_3687187621_0.png', 1339679147: '1740550792_2436310_1339678872_68f95b3dee24eeea29f4b3c9399fa15c_rle_crop_3687187622_0.png', 1339679148: '1740550792_2436310_1339678862_1a269be97d31514f6db65421bfefbf3f_rle_crop_3687187663_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/01181a78a43b86f46d14168a9f932141_98117610.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/24c7ef08e2eaf4ebbaa3161f58dfcf0a_99695524.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/021e83a1ecb4ced64702dd05c91f4841_50953598.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/daaad9087783b6e8fcfe553eeb7bc1f3_2859263.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fdbb03104687bb1d3221aebb6c0d5009_57570039.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2fbee723ed144f4694f9636efec04b32_45582042.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/637cdb6800586dc8d5e719b01449e23d_46475141.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5483037e2ffbd781650222efe9617815_39357461.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f7c7bb6cd8e5065105797da241f09ed0_31242002.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2697512684287ef6809c40069afcde87_86547459.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7095668e5ff26f2499c11aa7a1619818_25258641.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c5029c05d379f69d56979c1a10115989_49163655.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fa1a7495293183d95a6081eba2464cdf_24253994.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/48413f0df9ca6e4224ef03b9821ddf66_48227381.png change filename to text .imagette208266641740550980/ imagette208266641740550980/1740550734_2435485_1339678920_fc392743c0a504538136abf9a4374006_rle_crop_3687186804_0.png.png imagette208266641740550980/1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184342_0.png.png imagette208266641740550980/1740549852_2425886_1339677720_b0a162007b31de123f098937d88ca9b2_rle_crop_3687183226_0.png.png imagette208266641740550980/1740550792_2436310_1339678872_68f95b3dee24eeea29f4b3c9399fa15c_rle_crop_3687187621_0.png.png imagette208266641740550980/1740549991_2428106_1339677853_8f70879c195fce00a3f2148299173694_rle_crop_3687184176_0.png.png imagette208266641740550980/1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187303_0.png.png imagette208266641740550980/1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184333_0.png.png imagette208266641740550980/1740549852_2425886_1339677720_b0a162007b31de123f098937d88ca9b2_rle_crop_3687183216_0.png.png imagette208266641740550980/1740550752_2435772_1339678769_fbdb3ee448d75839a1d5582d23f004cd_rle_crop_3687187396_0.png.png imagette208266641740550980/1740550792_2436310_1339678872_68f95b3dee24eeea29f4b3c9399fa15c_rle_crop_3687187622_0.png.png imagette208266641740550980/1740550772_2436039_1339678879_d97b7d2dd6a7c2870e4639e6cea31cd8_rle_crop_3687187335_0.png.png imagette208266641740550980/1740550752_2435772_1339678769_fbdb3ee448d75839a1d5582d23f004cd_rle_crop_3687187395_0.png.png imagette208266641740550980/1740550734_2435485_1339678920_fc392743c0a504538136abf9a4374006_rle_crop_3687186806_0.png.png imagette208266641740550980/1740550792_2436310_1339678862_1a269be97d31514f6db65421bfefbf3f_rle_crop_3687187663_0.png.png imagette208266641740550980/1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187285_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5e59c79342a0413710b557becf6646b6_18104956.png imagette208266641740550980 20826657 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=20826657 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339678847: '1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185454_0.png', 1339679103: '1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187364_0.png', 1339679102: '1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187358_0.png', 1339679101: '1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187367_0.png', 1339679100: '1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187306_0.png', 1339679099: '1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187317_0.png', 1339679098: '1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187293_0.png', 1339679090: '1740550772_2436039_1339678812_7145867f3095d5dcd84678b91d0cd281_rle_crop_3687187381_0.png', 1339678848: '1740550094_2429767_1339678497_ffb56ce8cf5038f0830d0831b7435cfa_rle_crop_3687185502_0.png', 1339678070: '1740549852_2425886_1339677734_c543e6ef3e10bb539ddb60750cf2e2b8_rle_crop_3687183178_0.png', 1339678846: '1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185453_0.png', 1339678845: '1740550094_2429767_1339678639_8b951e7211750f5a46b28270806419d3_rle_crop_3687185444_0.png', 1339678844: '1740550094_2429767_1339678739_43f24e651561144545c9aa496ecb83b1_rle_crop_3687185407_0.png', 1339678792: '1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184338_0.png', 1339678791: '1740550012_2428472_1339677757_3c21283636a297365911f45684d56704_rle_crop_3687184318_0.png', 1339678790: '1740550012_2428472_1339677763_6d3b45e5a2be5ce3c9ad4f7697949e54_rle_crop_3687184304_0.png', 1339678762: '1740549991_2428106_1339677862_34dbeb59eaf82a527d5f450c322dab24_rle_crop_3687184156_0.png', 1339678072: '1740549852_2425886_1339677724_bc11fe7c3d2e2005d1bf1b7407d84c4a_rle_crop_3687183207_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9c8544c9ae9a6c65325907765c27cacb_47944618.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e8e61e8529001e56955b749aa4fbc988_59377646.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3061864b6b7abe1c3438d251acd9f49e_34360834.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7047648381937a2988ef850f73f67b18_52352316.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fc4893eeefbdbcabdcf5ca5201e0a4ae_49056181.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a0539d1580ad988b454e3e040823da75_77678308.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aff7b7f13832c0cc9cbaaba7c9b67a8e_49047771.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6a3103ffa2113c7d97d648b6c1dc7191_61894151.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0186b2df68b35c93336e68d40050eb08_59001588.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b9f7397cd6a0931861bd6335b9b2fff9_49021454.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0bc50894134666b272ba6f464d7bcb04_19019197.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/307b2c5077e36813c1994be62c7eec9c_89811935.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4148269243abd81de1aa16d073ed0891_71776052.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/db1e6f9b8c6f85a0ffcc782395364fb6_63735170.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f867450cfcea0c80dcf8f6f32ed910d8_33648279.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c41976a13affc280f8792d6963ad9fc5_44425894.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fdd69921d68a728e4dec9702c70f27a1_60719667.png change filename to text .imagette208266571740550980/ imagette208266571740550980/1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184338_0.png.png imagette208266571740550980/1740550012_2428472_1339677757_3c21283636a297365911f45684d56704_rle_crop_3687184318_0.png.png imagette208266571740550980/1740549991_2428106_1339677862_34dbeb59eaf82a527d5f450c322dab24_rle_crop_3687184156_0.png.png imagette208266571740550980/1740550094_2429767_1339678739_43f24e651561144545c9aa496ecb83b1_rle_crop_3687185407_0.png.png imagette208266571740550980/1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185453_0.png.png imagette208266571740550980/1740550094_2429767_1339678639_8b951e7211750f5a46b28270806419d3_rle_crop_3687185444_0.png.png imagette208266571740550980/1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187317_0.png.png imagette208266571740550980/1740550012_2428472_1339677763_6d3b45e5a2be5ce3c9ad4f7697949e54_rle_crop_3687184304_0.png.png imagette208266571740550980/1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187364_0.png.png imagette208266571740550980/1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187293_0.png.png imagette208266571740550980/1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187306_0.png.png imagette208266571740550980/1740550094_2429767_1339678497_ffb56ce8cf5038f0830d0831b7435cfa_rle_crop_3687185502_0.png.png imagette208266571740550980/1740549852_2425886_1339677734_c543e6ef3e10bb539ddb60750cf2e2b8_rle_crop_3687183178_0.png.png imagette208266571740550980/1740550772_2436039_1339678812_7145867f3095d5dcd84678b91d0cd281_rle_crop_3687187381_0.png.png imagette208266571740550980/1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187367_0.png.png imagette208266571740550980/1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185454_0.png.png imagette208266571740550980/1740549852_2425886_1339677724_bc11fe7c3d2e2005d1bf1b7407d84c4a_rle_crop_3687183207_0.png.png imagette208266571740550980/1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187358_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3f9a930a8a1981b556ce9298a8a44244_35077184.png imagette208266571740550980 20826658 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=20826658 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339678237: '1740549852_2425886_1339677734_c543e6ef3e10bb539ddb60750cf2e2b8_rle_crop_3687183171_0.png', 1339678239: '1740549852_2425886_1339677729_e7c3f46b3510d034bd4551e22bcb582d_rle_crop_3687183191_0.png', 1339678241: '1740549852_2425886_1339677729_e7c3f46b3510d034bd4551e22bcb582d_rle_crop_3687183193_0.png', 1339678243: '1740549852_2425886_1339677720_b0a162007b31de123f098937d88ca9b2_rle_crop_3687183222_0.png', 1339678798: '1740550012_2428472_1339677986_1dfdf940c16222ae7839394ad32d5892_rle_crop_3687184281_0.png', 1339678799: '1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184339_0.png', 1339678854: '1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185451_0.png', 1339679034: '1740550714_2435206_1339678889_621599b67cc80212b6947ef73db84809_rle_crop_3687186388_0.png', 1339679119: '1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187292_0.png', 1339679120: '1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187311_0.png', 1339679121: '1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187359_0.png', 1339679122: '1740550752_2435772_1339678761_61866cffa3094266dbc80baa12fac306_rle_crop_3687187507_0.png', 1339679155: '1740550792_2436310_1339678875_e2eac3ee80b09ebc6b47326470531abf_rle_crop_3687187609_0.png', 1339679156: '1740550792_2436310_1339678872_68f95b3dee24eeea29f4b3c9399fa15c_rle_crop_3687187625_0.png', 1339679157: '1740550792_2436310_1339678867_1937bce9b93016174bf61c4ac5533028_rle_crop_3687187642_0.png', 1339679158: '1740550792_2436310_1339678855_8b9dad308a7e68d3f55fd0fd8698aeaa_rle_crop_3687187675_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c6bb9adf7cc176364cd0cb9e62926f21_2046595.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/976e368142e96b91726468a3ff377b09_54355004.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/728c1f9e8cd8fba15d6a88331df86fd2_86157729.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/64822030a0f821b6df93281068fa9bc0_28110034.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9e6e1d0025b448cf1b70dec02fc94d70_6274041.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4f7bbefc1d4b65b65776cf5a769f04b1_38208203.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3726024ebf181db4ad432b89015926b3_60295530.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8865f2e59bca46b46b23d952ab68c2b2_69521439.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f0bd0f4cb3dd75723f43a9f1afc817df_74758464.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cb0caeb4acf15c60f2423902029547be_14557348.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/49385601fd9b5a092e84184e6a085a37_31334959.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3e3bbdeff47a201c9f7d0040e9991b9e_29349036.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c649e3cd2b8876849d641c12f63ff18a_82888021.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7c0825b3dba126a40892b09baa692a95_42974027.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/66bcb8d57c00a09e32e71da6c107079f_73686682.png change filename to text .imagette208266581740550981/ imagette208266581740550981/1740550012_2428472_1339677986_1dfdf940c16222ae7839394ad32d5892_rle_crop_3687184281_0.png.png imagette208266581740550981/1740549852_2425886_1339677729_e7c3f46b3510d034bd4551e22bcb582d_rle_crop_3687183193_0.png.png imagette208266581740550981/1740550792_2436310_1339678867_1937bce9b93016174bf61c4ac5533028_rle_crop_3687187642_0.png.png imagette208266581740550981/1740549852_2425886_1339677734_c543e6ef3e10bb539ddb60750cf2e2b8_rle_crop_3687183171_0.png.png imagette208266581740550981/1740550792_2436310_1339678855_8b9dad308a7e68d3f55fd0fd8698aeaa_rle_crop_3687187675_0.png.png imagette208266581740550981/1740550792_2436310_1339678872_68f95b3dee24eeea29f4b3c9399fa15c_rle_crop_3687187625_0.png.png imagette208266581740550981/1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187311_0.png.png imagette208266581740550981/1740549852_2425886_1339677720_b0a162007b31de123f098937d88ca9b2_rle_crop_3687183222_0.png.png imagette208266581740550981/1740550792_2436310_1339678875_e2eac3ee80b09ebc6b47326470531abf_rle_crop_3687187609_0.png.png imagette208266581740550981/1740550094_2429767_1339678628_3763a020a7d4e0e59e4a8fda545f8c24_rle_crop_3687185451_0.png.png imagette208266581740550981/1740549852_2425886_1339677729_e7c3f46b3510d034bd4551e22bcb582d_rle_crop_3687183191_0.png.png imagette208266581740550981/1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187359_0.png.png imagette208266581740550981/1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184339_0.png.png imagette208266581740550981/1740550714_2435206_1339678889_621599b67cc80212b6947ef73db84809_rle_crop_3687186388_0.png.png imagette208266581740550981/1740550752_2435772_1339678761_61866cffa3094266dbc80baa12fac306_rle_crop_3687187507_0.png.png imagette208266581740550981/1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187292_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a7b775b6b0da75bc164dc2bb85bead3b_28364007.png imagette208266581740550981 20826659 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=20826659 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339679076: '1740550734_2435485_1339678914_180d84e2d8929c5fb76d945f17460c0b_rle_crop_3687186820_0.png', 1339679150: '1740550792_2436310_1339678867_1937bce9b93016174bf61c4ac5533028_rle_crop_3687187636_0.png', 1339679149: '1740550792_2436310_1339678867_1937bce9b93016174bf61c4ac5533028_rle_crop_3687187645_0.png', 1339679116: '1740550752_2435772_1339678761_61866cffa3094266dbc80baa12fac306_rle_crop_3687187502_0.png', 1339679115: '1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187362_0.png', 1339679114: '1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187312_0.png', 1339679113: '1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187296_0.png', 1339679112: '1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187287_0.png', 1339679077: '1740550734_2435485_1339678897_7528d62355547cc132ea1e4b2c0bb8af_rle_crop_3687187194_0.png', 1339678186: '1740549852_2425886_1339677738_f3c2f29ab3ab4431387f8fcf5d9831e6_rle_crop_3687183091_0.png', 1339679075: '1740550734_2435485_1339678920_fc392743c0a504538136abf9a4374006_rle_crop_3687186796_0.png', 1339679033: '1740550714_2435206_1339678882_06c4197c3d66f9d125261814200c1b76_rle_crop_3687186404_0.png', 1339679032: '1740550714_2435206_1339678889_621599b67cc80212b6947ef73db84809_rle_crop_3687186382_0.png', 1339678850: '1740550094_2429767_1339678669_c916fa726d949a11e51fdb3e3c283b8a_rle_crop_3687185419_0.png', 1339678796: '1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184330_0.png', 1339678767: '1740549991_2428106_1339677853_8f70879c195fce00a3f2148299173694_rle_crop_3687184181_0.png', 1339678190: '1740549852_2425886_1339677729_e7c3f46b3510d034bd4551e22bcb582d_rle_crop_3687183194_0.png', 1339678188: '1740549852_2425886_1339677734_c543e6ef3e10bb539ddb60750cf2e2b8_rle_crop_3687183169_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/14c2b1e08a8913788e874a7ac75d85ec_88067259.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8d84d407c8f5cf45611136e3d4b0f469_22694404.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ba2767e0cc59953deafdc87597a2117d_96821479.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/963d0e4395950e509687c5adf57d7851_32663194.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/168abc7bd61761153ff6ba6f559523e2_21529664.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/04b0da6930434d74e4a05576fbb18592_10142031.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/efd4aee02591ca14d7a0f265add4559f_200995.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d49e6e1d134744ae5f1c1568a3e0f546_9388896.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/72dd91ff1ab7d907fe701fa8c22d0397_20864171.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/11f9eff0bdb2fc2fffb5c04d0810111b_76717898.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/860635370dd7fe0e9eb89cfc6f1d734b_35072800.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/509c0275d673d914721f84f09c2c8e46_35048633.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/43ef7b82e136f571c8f1684228c3d281_17695813.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/af537e149ba33129727ecbb9d20516ca_68139869.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/47af59982711d3c5950a196a3d78e1e8_62632878.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/32f8186d57fb6752db2dff756809563d_4873037.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/12287381647e15440a0a218ea461c035_22144708.png change filename to text .imagette208266591740550982/ imagette208266591740550982/1740550792_2436310_1339678867_1937bce9b93016174bf61c4ac5533028_rle_crop_3687187645_0.png.png imagette208266591740550982/1740550734_2435485_1339678920_fc392743c0a504538136abf9a4374006_rle_crop_3687186796_0.png.png imagette208266591740550982/1740549852_2425886_1339677729_e7c3f46b3510d034bd4551e22bcb582d_rle_crop_3687183194_0.png.png imagette208266591740550982/1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187296_0.png.png imagette208266591740550982/1740550752_2435772_1339678779_57e100f0452ce746113317fbb3859c82_rle_crop_3687187362_0.png.png imagette208266591740550982/1740549991_2428106_1339677853_8f70879c195fce00a3f2148299173694_rle_crop_3687184181_0.png.png imagette208266591740550982/1740550752_2435772_1339678822_518ebde0c81abfd5b3d39641d3a3d7a6_rle_crop_3687187287_0.png.png imagette208266591740550982/1740549852_2425886_1339677734_c543e6ef3e10bb539ddb60750cf2e2b8_rle_crop_3687183169_0.png.png imagette208266591740550982/1740550094_2429767_1339678669_c916fa726d949a11e51fdb3e3c283b8a_rle_crop_3687185419_0.png.png imagette208266591740550982/1740550012_2428472_1339677753_f501085341923030614072371174eb97_rle_crop_3687184330_0.png.png imagette208266591740550982/1740549852_2425886_1339677738_f3c2f29ab3ab4431387f8fcf5d9831e6_rle_crop_3687183091_0.png.png imagette208266591740550982/1740550714_2435206_1339678889_621599b67cc80212b6947ef73db84809_rle_crop_3687186382_0.png.png imagette208266591740550982/1740550734_2435485_1339678897_7528d62355547cc132ea1e4b2c0bb8af_rle_crop_3687187194_0.png.png imagette208266591740550982/1740550734_2435485_1339678914_180d84e2d8929c5fb76d945f17460c0b_rle_crop_3687186820_0.png.png imagette208266591740550982/1740550752_2435772_1339678784_9e9140f8fd6b70a72cbda5e5ead46e4a_rle_crop_3687187312_0.png.png imagette208266591740550982/1740550752_2435772_1339678761_61866cffa3094266dbc80baa12fac306_rle_crop_3687187502_0.png.png imagette208266591740550982/1740550792_2436310_1339678867_1937bce9b93016174bf61c4ac5533028_rle_crop_3687187636_0.png.png imagette208266591740550982/1740550714_2435206_1339678882_06c4197c3d66f9d125261814200c1b76_rle_crop_3687186404_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aea59cf9a030989af67dc0c995db6d7e_90772638.png imagette208266591740550982 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20826652 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20826665,20826666,20826667,20826668,20826669,20826670,20826671,20826672,20826673,20826674,20826675,20826676?tags=kraft,environnement,metal,cartonnette,Teint_Dans_La_Masse,Carton_brun,Carton_gris,flou,mal_croppe,plastique,papier,autre_refus your option no_mail is active, we will not send the real mail to your client args[1339679199] : ('0.09362376607214386',) no score found for photo 1339679199 We are sending mail with results at report@fotonower.com args[1339679193] : ('0.09362376607214386',) no score found for photo 1339679193 We are sending mail with results at report@fotonower.com args[1339679187] : ('0.09362376607214386',) no score found for photo 1339679187 We are sending mail with results at report@fotonower.com args[1339679184] : ('0.09362376607214386',) no score found for photo 1339679184 We are sending mail with results at report@fotonower.com args[1339679179] : ('0.09362376607214386',) no score found for photo 1339679179 We are sending mail with results at report@fotonower.com args[1339679176] : ('0.09362376607214386',) no score found for photo 1339679176 We are sending mail with results at report@fotonower.com args[1339679167] : ('0.09362376607214386',) no score found for photo 1339679167 We are sending mail with results at report@fotonower.com args[1339679164] : ('0.09362376607214386',) no score found for photo 1339679164 We are sending mail with results at report@fotonower.com args[1339679136] : ('0.09362376607214386',) no score found for photo 1339679136 We are sending mail with results at report@fotonower.com args[1339679132] : ('0.09362376607214386',) no score found for photo 1339679132 We are sending mail with results at report@fotonower.com args[1339679123] : ('0.09362376607214386',) no score found for photo 1339679123 We are sending mail with results at report@fotonower.com args[1339679110] : ('0.09362376607214386',) no score found for photo 1339679110 We are sending mail with results at report@fotonower.com args[1339679097] : ('0.09362376607214386',) no score found for photo 1339679097 We are sending mail with results at report@fotonower.com args[1339679093] : ('0.09362376607214386',) no score found for photo 1339679093 We are sending mail with results at report@fotonower.com args[1339679084] : ('0.09362376607214386',) no score found for photo 1339679084 We are sending mail with results at report@fotonower.com args[1339679082] : ('0.09362376607214386',) no score found for photo 1339679082 We are sending mail with results at report@fotonower.com args[1339679023] : ('0.09362376607214386',) no score found for photo 1339679023 We are sending mail with results at report@fotonower.com args[1339679019] : ('0.09362376607214386',) no score found for photo 1339679019 We are sending mail with results at report@fotonower.com args[1339679015] : ('0.09362376607214386',) no score found for photo 1339679015 We are sending mail with results at report@fotonower.com args[1339679010] : ('0.09362376607214386',) no score found for photo 1339679010 We are sending mail with results at report@fotonower.com args[1339679005] : ('0.09362376607214386',) no score found for photo 1339679005 We are sending mail with results at report@fotonower.com args[1339679000] : ('0.09362376607214386',) no score found for photo 1339679000 We are sending mail with results at report@fotonower.com refus_total : 0.09362376607214386 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=20826652 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_26-02-2025_07_22_59.pdf results_Auto_P20826652_26-02-2025_07_22_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_26-02-2025_07_22_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20826652','results_Auto_P20826652_26-02-2025_07_22_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_26-02-2025_07_22_59.pdf','pdf','','0.42','0.09362376607214386') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20826652]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] map_info['map_portfolio_photo'] : {20826652: [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000, 1339678991, 1339678989, 1339678943, 1339678920, 1339678914, 1339678905, 1339678897, 1339678889, 1339678882, 1339678879, 1339678875, 1339678872, 1339678867, 1339678862, 1339678855, 1339678822, 1339678817, 1339678812, 1339678789, 1339678784, 1339678779, 1339678774, 1339678769, 1339678761, 1339678739, 1339678735, 1339678730, 1339678725, 1339678720, 1339678699, 1339678669, 1339678639, 1339678628, 1339678623, 1339678497, 1339677986, 1339677862, 1339677857, 1339677853, 1339677850, 1339677778, 1339677771, 1339677763, 1339677757, 1339677753, 1339677741, 1339677738, 1339677734, 1339677729, 1339677724, 1339677720, 1339677677, 1339677673, 1339677669]} final : False mtd_id 4302 list_pids : [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] 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, '2614919') ('4302', '20826652', '1339679199', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919') 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', '20826652', '1339679199', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919')] time used for this insertion : 0.014551639556884766 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.0208494663238525 time spend to save output : 0.01489567756652832 total time spend for step 4 : 7.035745143890381 step5:split_time_score Wed Feb 26 07:23: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 : ['20826652'] 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 : [('20826652',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20826652) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339679193: {'path': 'temp/1740550978_784276_1339679193_8c9987beada376b1cae049944cbec84e.jpg', 'extension': 'jpg'}, 1339679199: {'path': 'temp/1740550978_784276_1339679199_3944d41c8229320a32f0325220f79880.jpg', 'extension': 'jpg'}, 1339679167: {'path': 'temp/1740550978_784276_1339679167_29309c0e5e5251bae60dc43769a4be37.jpg', 'extension': 'jpg'}, 1339679176: {'path': 'temp/1740550978_784276_1339679176_1c0e4bd5dc2a8a54a01f2f439f1fe578.jpg', 'extension': 'jpg'}, 1339679179: {'path': 'temp/1740550978_784276_1339679179_c170af38c843c9bffa8790f6f0f5ad52.jpg', 'extension': 'jpg'}, 1339679184: {'path': 'temp/1740550978_784276_1339679184_4caac107cba237122807b24fcb7a848f.jpg', 'extension': 'jpg'}, 1339679187: {'path': 'temp/1740550978_784276_1339679187_fedf395fadcb18816b6ffa0cca861a30.jpg', 'extension': 'jpg'}, 1339679000: {'path': 'temp/1740550978_784276_1339679000_b7165e2652a4e8209fb8fef2c9e81f08.jpg', 'extension': 'jpg'}, 1339679005: {'path': 'temp/1740550978_784276_1339679005_840bf7d3608d794587e829bb8b4dbcf3.jpg', 'extension': 'jpg'}, 1339679010: {'path': 'temp/1740550978_784276_1339679010_4182e7ac28c3800a42a063d066db317a.jpg', 'extension': 'jpg'}, 1339679015: {'path': 'temp/1740550978_784276_1339679015_7f8c28cf8a5cb8384710799cafd063b7.jpg', 'extension': 'jpg'}, 1339679019: {'path': 'temp/1740550978_784276_1339679019_6461e4218e70c84ea2249f36e5b62777.jpg', 'extension': 'jpg'}, 1339679023: {'path': 'temp/1740550978_784276_1339679023_e13227af3c0b298434d04bf920d9c436.jpg', 'extension': 'jpg'}, 1339679082: {'path': 'temp/1740550978_784276_1339679082_ae51a109895565144e67742302a904f7.jpg', 'extension': 'jpg'}, 1339679084: {'path': 'temp/1740550978_784276_1339679084_81488e5be6be8ed26a6de27b16dcb4d1.jpg', 'extension': 'jpg'}, 1339679093: {'path': 'temp/1740550978_784276_1339679093_893db6122b5b0e1a585e5674968694b2.jpg', 'extension': 'jpg'}, 1339679097: {'path': 'temp/1740550978_784276_1339679097_be49a6804a6f4521fd759e8d1c190122.jpg', 'extension': 'jpg'}, 1339679110: {'path': 'temp/1740550978_784276_1339679110_3a3dc2933ea3844e0096cf71f6d0b8f0.jpg', 'extension': 'jpg'}, 1339679123: {'path': 'temp/1740550978_784276_1339679123_2aabfd83fb196c0d3c974a622ece63eb.jpg', 'extension': 'jpg'}, 1339679132: {'path': 'temp/1740550978_784276_1339679132_1bddebbcfabf74c936d2ad8d8b450ea7.jpg', 'extension': 'jpg'}, 1339679136: {'path': 'temp/1740550978_784276_1339679136_ed021965beb49651c489fdf2a7011936.jpg', 'extension': 'jpg'}, 1339679164: {'path': 'temp/1740550978_784276_1339679164_4b169c049e7726c088f45b6c448c45da.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 = 20826652; (('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 = 20826652 group by h (('07', 76),) 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=20826652 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 (20826652) 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 (20826652) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20826652 Nombre de photos uploadées : 76 / 23040 (0%) 26022025 20826652 Nombre de photos taguées (types de déchets): 0 / 76 (0%) 26022025 20826652 Nombre de photos taguées (volume) : 0 / 76 (0%) [{'photo_id': 1339677677, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7900237c20d2a7ebb30db50c65cca1a6.jpg', 'username': None, 'uploaded_at': 1740549695, 'text': 'image_26022025_07_00_03_010139m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339677673, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8e07f3a8ebfc6375e2bd4b0ebc1846b4.jpg', 'username': None, 'uploaded_at': 1740549695, 'text': 'image_26022025_07_00_14_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339677669, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8ecd82c23f092a81e8fb3bfcfd0ad2d8.jpg', 'username': None, 'uploaded_at': 1740549695, 'text': 'image_26022025_07_00_24_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339677741, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3f95fcbf247e249963c8e1a78f45bd27.jpg', 'username': None, 'uploaded_at': 1740549755, 'text': 'image_26022025_07_00_53_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ???????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0038526058197021484 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20826652, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022142410278320312 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= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632580, 'mtr_portfolio_id': 20825658, 'dashboard_result_id': 9065497, '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_P20825658_26-02-2025_06_49_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632580, 'mtr_portfolio_id': 20826103, 'dashboard_result_id': 9065498, '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_P20826103_26-02-2025_07_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632580, 'mtr_portfolio_id': 20826652, 'dashboard_result_id': 9065499, '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_P20826652_26-02-2025_07_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632580, 'mtr_portfolio_id': 20826951, 'dashboard_result_id': 9065500, '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_P20826951_26-02-2025_07_19_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, '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 = 20825658 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': 2614832, 'mtr_portfolio_id': 20825658, 'created_at': datetime.datetime(2025, 2, 26, 6, 49, 31), 'result': '0.08817757645894735', 'result_long': None, 'result_double': None}] Qualite : 0.08817757645894735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_26-02-2025_06_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825658 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_P20825658_26-02-2025_06_49_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}" where mtr_portfolio_id = 20825658 and dashboard_run_id = 1632580 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`=20825658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9065497, 0.08817757645894735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_26-02-2025_06_49_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, '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 = 20826103 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': 2614860, 'mtr_portfolio_id': 20826103, 'created_at': datetime.datetime(2025, 2, 26, 7, 2, 59), 'result': '0.09778675087806922', 'result_long': None, 'result_double': None}] Qualite : 0.09778675087806922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_26-02-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826103 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_P20826103_26-02-2025_07_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}" where mtr_portfolio_id = 20826103 and dashboard_run_id = 1632580 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`=20826103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9065498, 0.09778675087806922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_26-02-2025_07_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, '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 = 20826652 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': 2614919, 'mtr_portfolio_id': 20826652, 'created_at': datetime.datetime(2025, 2, 26, 7, 22, 58), 'result': '0.09362376607214386', 'result_long': None, 'result_double': None}] Qualite : 0.09362376607214386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_26-02-2025_07_22_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826652 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_P20826652_26-02-2025_07_22_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}" where mtr_portfolio_id = 20826652 and dashboard_run_id = 1632580 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`=20826652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9065499, 0.09362376607214386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_26-02-2025_07_22_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, '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 = 20826951 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 20826951 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20826951 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826951 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826951 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_26-02-2025_07_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826951 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_P20826951_26-02-2025_07_19_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}" where mtr_portfolio_id = 20826951 and dashboard_run_id = 1632580 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20825658,20826103,20826652,20826951) result : ((1339675625,), (1339675636,), (1339675643,), (1339675647,), (1339675650,), (1339675671,), (1339675676,), (1339675680,), (1339675685,), (1339675709,), (1339675800,), (1339675954,), (1339676114,), (1339676246,), (1339676268,), (1339676406,), (1339676409,), (1339676450,), (1339676454,), (1339676476,), (1339676478,), (1339676483,), (1339676492,), (1339676498,), (1339676500,), (1339676507,), (1339676510,), (1339676514,), (1339676518,), (1339676522,), (1339676549,), (1339676553,), (1339676557,), (1339676561,), (1339676565,), (1339676568,), (1339676571,), (1339676581,), (1339676585,), (1339676588,), (1339676610,), (1339676615,), (1339676619,), (1339676623,), (1339676627,), (1339676629,), (1339676656,), (1339676658,), (1339676661,), (1339676664,), (1339676802,), (1339676805,), (1339676808,), (1339676811,), (1339676813,), (1339676815,), (1339676841,), (1339676844,), (1339676847,), (1339676853,), (1339676854,), (1339676880,), (1339676883,), (1339676886,), (1339676889,), (1339676891,), (1339676905,), (1339676907,), (1339676910,), (1339676913,), (1339676917,), (1339676924,), (1339676938,), (1339676952,), (1339676959,), (1339676971,), (1339677059,), (1339677040,), (1339677044,), (1339677050,), (1339677053,), (1339677057,), (1339677098,), (1339677115,), (1339677121,), (1339677125,), (1339677128,), (1339677137,), (1339677140,), (1339677145,), (1339677162,), (1339677172,), (1339677176,), (1339677189,), (1339677193,), (1339677196,), (1339677200,), (1339677205,), (1339677206,), (1339677222,), (1339677224,), (1339677236,), (1339677242,), (1339677269,), (1339677271,), (1339677273,), (1339677275,), (1339677276,), (1339677277,), (1339677292,), (1339677294,), (1339677296,), (1339677298,), (1339677392,), (1339677394,), (1339677397,), (1339677400,), (1339677402,), (1339677404,), (1339677418,), (1339677421,), (1339677423,), (1339677426,), (1339677456,), (1339677458,), (1339677461,), (1339677464,), (1339677467,), (1339677469,), (1339677481,), (1339677484,), (1339677486,), (1339677489,), (1339677492,), (1339677494,), (1339677518,), (1339677520,), (1339677522,), (1339677526,), (1339677567,), (1339677570,), (1339677582,), (1339677591,), (1339677594,), (1339677596,), (1339677619,), (1339677621,), (1339677623,), (1339677625,), (1339677634,), (1339677638,), (1339677642,), (1339677646,), (1339677649,), (1339677682,), (1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,), (1339678930,), (1339678931,), (1339678932,), (1339678934,), (1339678939,), (1339678963,), (1339678976,), (1339678982,), (1339678987,), (1339679028,), (1339679031,), (1339679039,), (1339679043,), (1339679046,), (1339679049,), (1339679060,), (1339679065,), (1339679070,), (1339679078,), (1339679144,), (1339679153,), (1339679160,), (1339679161,), (1339679209,), (1339679211,), (1339679214,), (1339679219,), (1339679225,), (1339679231,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 76, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20826652]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] map_info['map_portfolio_photo'] : {20826652: [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000, 1339678991, 1339678989, 1339678943, 1339678920, 1339678914, 1339678905, 1339678897, 1339678889, 1339678882, 1339678879, 1339678875, 1339678872, 1339678867, 1339678862, 1339678855, 1339678822, 1339678817, 1339678812, 1339678789, 1339678784, 1339678779, 1339678774, 1339678769, 1339678761, 1339678739, 1339678735, 1339678730, 1339678725, 1339678720, 1339678699, 1339678669, 1339678639, 1339678628, 1339678623, 1339678497, 1339677986, 1339677862, 1339677857, 1339677853, 1339677850, 1339677778, 1339677771, 1339677763, 1339677757, 1339677753, 1339677741, 1339677738, 1339677734, 1339677729, 1339677724, 1339677720, 1339677677, 1339677673, 1339677669]} final : True mtd_id 4302 list_pids : [1339679199, 1339679193, 1339679187, 1339679184, 1339679179, 1339679176, 1339679167, 1339679164, 1339679136, 1339679132, 1339679123, 1339679110, 1339679097, 1339679093, 1339679084, 1339679082, 1339679023, 1339679019, 1339679015, 1339679010, 1339679005, 1339679000] Looping around the photos to save general results len do output : 1 /20826652Didn'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, '2614919') ('4302', '20826652', '1339679199', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919') ('4302', None, None, None, None, None, None, None, '2614919') ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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, '20826652', 'None', None, None, None, None, '2614919'), ('4302', '20826652', '1339679199', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679193', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679187', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679184', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679179', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679176', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679167', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679164', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679136', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679132', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679123', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679110', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679097', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679093', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679084', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679082', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679023', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679019', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679015', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679010', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679005', None, None, None, None, None, '2614919'), ('4302', '20826652', '1339679000', None, None, None, None, None, '2614919')] time used for this insertion : 0.016579389572143555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.33003902435302734 time spend to save output : 0.01696920394897461 total time spend for step 5 : 0.34700822830200195 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 (2614919) 2.75user 2.63system 0:09.96elapsed 54%CPU (0avgtext+0avgdata 162360maxresident)k 23584inputs+25080outputs (112major+76913minor)pagefaults 0swaps