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 : 1059196 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 (3274086) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3274086) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868411 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3274086'] with mtr_portfolio_ids : ['24868411'] and first list_photo_ids : [] new path : /proc/1059196/ Name: python3 Umask: 0002 State: R (running) Tgid: 1059196 Ngid: 0 Pid: 1059196 PPid: 1059195 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1059196 NSpid: 1059196 NSpgid: 1057206 NSsid: 1057206 VmPeak: 1106864 kB VmSize: 1106864 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98776 kB VmRSS: 98776 kB RssAnon: 59816 kB RssFile: 38960 kB RssShmem: 0 kB VmData: 865616 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 6/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 49 nonvoluntary_ctxt_switches: 62 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1059196', 'Ngid': '0', 'Pid': '1059196', 'PPid': '1059195', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1059196', 'NSpid': '1059196', 'NSpgid': '1057206', 'NSsid': '1057206', 'VmPeak': '1106864 kB', 'VmSize': '1106864 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98776 kB', 'VmRSS': '98776 kB', 'RssAnon': '59816 kB', 'RssFile': '38960 kB', 'RssShmem': '0 kB', 'VmData': '865616 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '6/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '49', 'nonvoluntary_ctxt_switches': '62'} ('datou_batch_current', '1059196', '1106864', '0', '1106864', '865616', '98776', b'', 'marlene', '3274086') 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 (24868411) 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 (3274086 ) ) 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 (24868411) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1371775872, 'portfolio_id': 24868411}, {'photo_id': 1371775870, 'portfolio_id': 24868411}, {'photo_id': 1371775868, 'portfolio_id': 24868411}, {'photo_id': 1371775865, 'portfolio_id': 24868411}, {'photo_id': 1371775862, 'portfolio_id': 24868411}, {'photo_id': 1371775859, 'portfolio_id': 24868411}, {'photo_id': 1371775730, 'portfolio_id': 24868411}, {'photo_id': 1371775729, 'portfolio_id': 24868411}, {'photo_id': 1371775728, 'portfolio_id': 24868411}, {'photo_id': 1371775724, 'portfolio_id': 24868411}, {'photo_id': 1371775706, 'portfolio_id': 24868411}, {'photo_id': 1371775671, 'portfolio_id': 24868411}, {'photo_id': 1371775562, 'portfolio_id': 24868411}, {'photo_id': 1371775551, 'portfolio_id': 24868411}, {'photo_id': 1371775516, 'portfolio_id': 24868411}, {'photo_id': 1371775501, 'portfolio_id': 24868411}, {'photo_id': 1371775468, 'portfolio_id': 24868411}, {'photo_id': 1371775461, 'portfolio_id': 24868411}, {'photo_id': 1371775424, 'portfolio_id': 24868411}, {'photo_id': 1371775415, 'portfolio_id': 24868411}, {'photo_id': 1371775374, 'portfolio_id': 24868411}, {'photo_id': 1371775363, 'portfolio_id': 24868411}, {'photo_id': 1371775333, 'portfolio_id': 24868411}, {'photo_id': 1371775332, 'portfolio_id': 24868411}, {'photo_id': 1371775184, 'portfolio_id': 24868411}, {'photo_id': 1371775160, 'portfolio_id': 24868411}, {'photo_id': 1371775139, 'portfolio_id': 24868411}, {'photo_id': 1371775116, 'portfolio_id': 24868411}, {'photo_id': 1371775091, 'portfolio_id': 24868411}, {'photo_id': 1371775067, 'portfolio_id': 24868411}, {'photo_id': 1371774953, 'portfolio_id': 24868411}, {'photo_id': 1371774950, 'portfolio_id': 24868411}, {'photo_id': 1371774946, 'portfolio_id': 24868411}, {'photo_id': 1371774941, 'portfolio_id': 24868411}, {'photo_id': 1371774936, 'portfolio_id': 24868411}, {'photo_id': 1371774931, 'portfolio_id': 24868411}, {'photo_id': 1371774855, 'portfolio_id': 24868411}, {'photo_id': 1371774852, 'portfolio_id': 24868411}, {'photo_id': 1371774849, 'portfolio_id': 24868411}, {'photo_id': 1371774845, 'portfolio_id': 24868411}, {'photo_id': 1371774841, 'portfolio_id': 24868411}, {'photo_id': 1371774832, 'portfolio_id': 24868411}, {'photo_id': 1371774814, 'portfolio_id': 24868411}, {'photo_id': 1371774813, 'portfolio_id': 24868411}, {'photo_id': 1371774812, 'portfolio_id': 24868411}, {'photo_id': 1371774811, 'portfolio_id': 24868411}, {'photo_id': 1371774809, 'portfolio_id': 24868411}, {'photo_id': 1371774807, 'portfolio_id': 24868411}, {'photo_id': 1371774778, 'portfolio_id': 24868411}, {'photo_id': 1371774776, 'portfolio_id': 24868411}, {'photo_id': 1371774773, 'portfolio_id': 24868411}, {'photo_id': 1371774771, 'portfolio_id': 24868411}, {'photo_id': 1371774767, 'portfolio_id': 24868411}, {'photo_id': 1371774765, 'portfolio_id': 24868411}, {'photo_id': 1371774745, 'portfolio_id': 24868411}, {'photo_id': 1371774744, 'portfolio_id': 24868411}, {'photo_id': 1371774741, 'portfolio_id': 24868411}, {'photo_id': 1371774738, 'portfolio_id': 24868411}, {'photo_id': 1371774734, 'portfolio_id': 24868411}, {'photo_id': 1371774729, 'portfolio_id': 24868411}, {'photo_id': 1371774715, 'portfolio_id': 24868411}, {'photo_id': 1371774707, 'portfolio_id': 24868411}, {'photo_id': 1371774703, 'portfolio_id': 24868411}, {'photo_id': 1371774702, 'portfolio_id': 24868411}, {'photo_id': 1371774699, 'portfolio_id': 24868411}, {'photo_id': 1371774697, 'portfolio_id': 24868411}, {'photo_id': 1371774655, 'portfolio_id': 24868411}, {'photo_id': 1371774653, 'portfolio_id': 24868411}, {'photo_id': 1371774643, 'portfolio_id': 24868411}, {'photo_id': 1371774640, 'portfolio_id': 24868411}, {'photo_id': 1371774636, 'portfolio_id': 24868411}, {'photo_id': 1371774626, 'portfolio_id': 24868411}, {'photo_id': 1371774555, 'portfolio_id': 24868411}, {'photo_id': 1371774527, 'portfolio_id': 24868411}, {'photo_id': 1371774492, 'portfolio_id': 24868411}, {'photo_id': 1371774465, 'portfolio_id': 24868411}, {'photo_id': 1371774442, 'portfolio_id': 24868411}, {'photo_id': 1371774417, 'portfolio_id': 24868411}] map_portfolio_id_photo_id: {24868411: [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067, 1371774953, 1371774950, 1371774946, 1371774941, 1371774936, 1371774931, 1371774855, 1371774852, 1371774849, 1371774845, 1371774841, 1371774832, 1371774814, 1371774813, 1371774812, 1371774811, 1371774809, 1371774807, 1371774778, 1371774776, 1371774773, 1371774771, 1371774767, 1371774765, 1371774745, 1371774744, 1371774741, 1371774738, 1371774734, 1371774729, 1371774715, 1371774707, 1371774703, 1371774702, 1371774699, 1371774697, 1371774655, 1371774653, 1371774643, 1371774640, 1371774636, 1371774626, 1371774555, 1371774527, 1371774492, 1371774465, 1371774442, 1371774417]} ##### 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.016170024871826172 #### 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 Sat Jul 12 01:58: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 (24868411) 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 : 24868411 get user id for portfolio 24868411 get sub ptf for main ptf 24868411, type 3726 and hashtags ['flou', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_brun', 'plastique', 'Carton_gris', 'environnement', 'cartonnette', 'mal_croppe', 'metal', 'kraft', 'papier'] 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`=24868411 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','autre_refus','Carton_brun','plastique','Carton_gris','environnement','cartonnette','mal_croppe','metal','kraft','papier')) 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`=24868411 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','autre_refus','Carton_brun','plastique','Carton_gris','environnement','cartonnette','mal_croppe','metal','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 24868411, 'sub_port_id': 24868440, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741655, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 24868411, 'sub_port_id': 24868441, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741656, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'autre_refus': {'main_port_id': 24868411, 'sub_port_id': 24868442, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741657, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'kraft': {'main_port_id': 24868411, 'sub_port_id': 24868443, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741658, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'flou': {'main_port_id': 24868411, 'sub_port_id': 24868444, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741659, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'mal_croppe': {'main_port_id': 24868411, 'sub_port_id': 24868445, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741660, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'environnement': {'main_port_id': 24868411, 'sub_port_id': 24868446, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741661, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'plastique': {'main_port_id': 24868411, 'sub_port_id': 24868447, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741662, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'Carton_gris': {'main_port_id': 24868411, 'sub_port_id': 24868448, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741663, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'cartonnette': {'main_port_id': 24868411, 'sub_port_id': 24868449, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741664, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'Carton_brun': {'main_port_id': 24868411, 'sub_port_id': 24868450, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741665, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}, 'papier': {'main_port_id': 24868411, 'sub_port_id': 24868451, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741666, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868440 , 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=24868411 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 (24868440) result : ((1371774838,), (1371774839,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868441 , 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=24868411 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 (24868441) result : ((1371774780,), (1371774781,), (1371774782,), (1371774823,), (1371774824,), (1371774825,), (1371774826,), (1371774827,), (1371774861,), (1371775180,), (1371775827,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868442 , 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=24868411 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 (24868442) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868443 , 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=24868411 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 (24868443) result : ((1371774971,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868444 , 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=24868411 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 (24868444) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868445 , 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=24868411 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 (24868445) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868446 , 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=24868411 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 (24868446) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868447 , 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=24868411 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 (24868447) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868448 , 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=24868411 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 (24868448) result : ((1371774969,), (1371775188,), (1371775830,), (1371775958,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868449 , 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=24868411 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 (24868449) result : ((1371774784,), (1371774785,), (1371774786,), (1371774788,), (1371774789,), (1371774829,), (1371774830,), (1371774831,), (1371774863,), (1371774864,), (1371774866,), (1371774970,), (1371775195,), (1371775197,), (1371775199,), (1371775834,), (1371775835,), (1371775836,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868450 , 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=24868411 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 (24868450) result : ((1371774835,), (1371774836,), (1371774872,), (1371775208,), (1371775837,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24868451 , 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=24868411 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 (24868451) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24868411) result : ((1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24868411 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','autre_refus','Carton_brun','plastique','Carton_gris','environnement','cartonnette','mal_croppe','metal','kraft','papier')) 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`=24868411 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','autre_refus','Carton_brun','plastique','Carton_gris','environnement','cartonnette','mal_croppe','metal','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 24868411, 'sub_port_id': 24868454, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741667, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 24868411, 'sub_port_id': 24868455, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741668, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'autre_refus': {'main_port_id': 24868411, 'sub_port_id': 24868457, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741669, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'kraft': {'main_port_id': 24868411, 'sub_port_id': 24868458, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741670, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'flou': {'main_port_id': 24868411, 'sub_port_id': 24868459, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741671, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'mal_croppe': {'main_port_id': 24868411, 'sub_port_id': 24868461, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741672, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'environnement': {'main_port_id': 24868411, 'sub_port_id': 24868462, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741673, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'plastique': {'main_port_id': 24868411, 'sub_port_id': 24868463, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741674, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'Carton_gris': {'main_port_id': 24868411, 'sub_port_id': 24868464, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741675, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'cartonnette': {'main_port_id': 24868411, 'sub_port_id': 24868466, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741676, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'Carton_brun': {'main_port_id': 24868411, 'sub_port_id': 24868467, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741677, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}, 'papier': {'main_port_id': 24868411, 'sub_port_id': 24868468, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16741678, 'last_updated_at': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 12, 1, 54, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 12, 1, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868454,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868440 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868455,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868441 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868457,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868442 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868458,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868443 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868459,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868444 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868461,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868445 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868462,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868446 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868463,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868447 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868464,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868448 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868466,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868449 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868467,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868450 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24868468,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24868451 lien utilise dans velours : https://www.fotonower.com/velours/24868454,24868455,24868457,24868458,24868459,24868461,24868462,24868463,24868464,24868466,24868467,24868468?tags=metal,Teint_Dans_La_Masse,autre_refus,kraft,flou,mal_croppe,environnement,plastique,Carton_gris,cartonnette,Carton_brun,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24868411]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] map_info['map_portfolio_photo'] : {24868411: [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067, 1371774953, 1371774950, 1371774946, 1371774941, 1371774936, 1371774931, 1371774855, 1371774852, 1371774849, 1371774845, 1371774841, 1371774832, 1371774814, 1371774813, 1371774812, 1371774811, 1371774809, 1371774807, 1371774778, 1371774776, 1371774773, 1371774771, 1371774767, 1371774765, 1371774745, 1371774744, 1371774741, 1371774738, 1371774734, 1371774729, 1371774715, 1371774707, 1371774703, 1371774702, 1371774699, 1371774697, 1371774655, 1371774653, 1371774643, 1371774640, 1371774636, 1371774626, 1371774555, 1371774527, 1371774492, 1371774465, 1371774442, 1371774417]} final : False mtd_id 4302 list_pids : [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] Looping around the photos to save general results len do output : 1 /24868411. 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, '3274086') ('4302', '24868411', '1371775872', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '24868411', "{'metal': 24868440, 'Teint_Dans_La_Masse': 24868441, 'autre_refus': 24868442, 'kraft': 24868443, 'flou': 24868444, 'mal_croppe': 24868445, 'environnement': 24868446, 'plastique': 24868447, 'Carton_gris': 24868448, 'cartonnette': 24868449, 'Carton_brun': 24868450, 'papier': 24868451}", None, None, None, None, '3274086'), ('4302', '24868411', '1371775872', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086')] time used for this insertion : 0.5686206817626953 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7404766082763672 time spend to save output : 0.569066047668457 total time spend for step 1 : 2.309542655944824 step2:final Sat Jul 12 01:59:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (24868411) 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 24868411 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1371774555,1371774527,1371774492,1371774465,1371774442,1371774417,1371774655,1371774653,1371774643,1371774640,1371774636,1371774626,1371774715,1371774707,1371774703,1371774702,1371774699,1371774697,1371774745,1371774744,1371774741,1371774738,1371774734,1371774729,1371774778,1371774776,1371774773,1371774771,1371774767,1371774765,1371774814,1371774813,1371774812,1371774811,1371774809,1371774807,1371774855,1371774852,1371774849,1371774845,1371774841,1371774832,1371774953,1371774950,1371774946,1371774941,1371774936,1371774931,1371775184,1371775160,1371775139,1371775116,1371775091,1371775067,1371775562,1371775551,1371775516,1371775501,1371775468,1371775461,1371775415,1371775424,1371775374,1371775363,1371775333,1371775332,1371775730,1371775729,1371775728,1371775724,1371775706,1371775671,1371775872,1371775870,1371775868,1371775865,1371775862,1371775859); 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([24868411]) Inside saveOutput : final : False verbose : True original output for save of step final : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} new output for save of step final : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] map_info['map_portfolio_photo'] : {24868411: [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067, 1371774953, 1371774950, 1371774946, 1371774941, 1371774936, 1371774931, 1371774855, 1371774852, 1371774849, 1371774845, 1371774841, 1371774832, 1371774814, 1371774813, 1371774812, 1371774811, 1371774809, 1371774807, 1371774778, 1371774776, 1371774773, 1371774771, 1371774767, 1371774765, 1371774745, 1371774744, 1371774741, 1371774738, 1371774734, 1371774729, 1371774715, 1371774707, 1371774703, 1371774702, 1371774699, 1371774697, 1371774655, 1371774653, 1371774643, 1371774640, 1371774636, 1371774626, 1371774555, 1371774527, 1371774492, 1371774465, 1371774442, 1371774417]} final : False mtd_id 4302 list_pids : [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] Looping around the photos to save general results len do output : 30 /1371775872.Didn't retrieve data . /1371775870.Didn't retrieve data . /1371775868.Didn't retrieve data . /1371775865.Didn't retrieve data . /1371775862.Didn't retrieve data . /1371775859.Didn't retrieve data . /1371775730.Didn't retrieve data . /1371775729.Didn't retrieve data . /1371775728.Didn't retrieve data . /1371775724.Didn't retrieve data . /1371775706.Didn't retrieve data . /1371775671.Didn't retrieve data . /1371775562.Didn't retrieve data . /1371775551.Didn't retrieve data . /1371775516.Didn't retrieve data . /1371775501.Didn't retrieve data . /1371775468.Didn't retrieve data . /1371775461.Didn't retrieve data . /1371775424.Didn't retrieve data . /1371775415.Didn't retrieve data . /1371775374.Didn't retrieve data . /1371775363.Didn't retrieve data . /1371775333.Didn't retrieve data . /1371775332.Didn't retrieve data . /1371775184.Didn't retrieve data . /1371775160.Didn't retrieve data . /1371775139.Didn't retrieve data . /1371775116.Didn't retrieve data . /1371775091.Didn't retrieve data . /1371775067.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, '3274086') ('4302', '24868411', '1371775872', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 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', '24868411', '1371775872', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775870', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775868', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775865', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775862', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775859', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775730', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775729', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775728', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775724', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775706', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775671', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775562', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775551', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775516', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775501', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775468', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775461', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775424', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775415', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775374', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775363', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775333', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775332', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775184', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775160', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775139', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775116', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775091', '0.029756866129471333', None, None, None, None, '3274086'), ('4302', '24868411', '1371775067', '0.029756866129471333', None, None, None, None, '3274086')] time used for this insertion : 0.02094435691833496 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14333462715148926 time spend to save output : 0.022378921508789062 total time spend for step 2 : 0.16571354866027832 step3:velours_tree Sat Jul 12 01:59:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {24868411: [{'metal': 24868440, 'Teint_Dans_La_Masse': 24868441, 'autre_refus': 24868442, 'kraft': 24868443, 'flou': 24868444, 'mal_croppe': 24868445, 'environnement': 24868446, 'plastique': 24868447, 'Carton_gris': 24868448, 'cartonnette': 24868449, 'Carton_brun': 24868450, 'papier': 24868451}]} input_args_next_step : {24868411: ()} output_args : {24868411: [{'metal': 24868440, 'Teint_Dans_La_Masse': 24868441, 'autre_refus': 24868442, 'kraft': 24868443, 'flou': 24868444, 'mal_croppe': 24868445, 'environnement': 24868446, 'plastique': 24868447, 'Carton_gris': 24868448, 'cartonnette': 24868449, 'Carton_brun': 24868450, 'papier': 24868451}]} args : 24868411 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 : ({'metal': 24868440, 'Teint_Dans_La_Masse': 24868441, 'autre_refus': 24868442, 'kraft': 24868443, 'flou': 24868444, 'mal_croppe': 24868445, 'environnement': 24868446, 'plastique': 24868447, 'Carton_gris': 24868448, 'cartonnette': 24868449, 'Carton_brun': 24868450, 'papier': 24868451},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24868411) 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([24868411]) 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.2779061794281006 time spend to save output : 5.0067901611328125e-05 total time spend for step 3 : 0.2779562473297119 step4:send_mail_cod Sat Jul 12 01:59:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} input_args_next_step : {1371775872: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775872 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775870 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775868 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775865 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775862 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775859 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775730 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775729 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775728 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775724 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775706 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775671 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775562 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775551 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775516 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775501 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775468 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775461 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775424 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775415 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775374 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775363 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775333 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775332 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775184 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775160 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775139 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775116 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775091 depend.output_id : 0 input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ()} output_args : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',)} args : 1371775067 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 : {24868411: [{'metal': 24868440, 'Teint_Dans_La_Masse': 24868441, 'autre_refus': 24868442, 'kraft': 24868443, 'flou': 24868444, 'mal_croppe': 24868445, 'environnement': 24868446, 'plastique': 24868447, 'Carton_gris': 24868448, 'cartonnette': 24868449, 'Carton_brun': 24868450, 'papier': 24868451}]} input_args_next_step : {1371775872: ('0.029756866129471333',), 1371775870: ('0.029756866129471333',), 1371775868: ('0.029756866129471333',), 1371775865: ('0.029756866129471333',), 1371775862: ('0.029756866129471333',), 1371775859: ('0.029756866129471333',), 1371775730: ('0.029756866129471333',), 1371775729: ('0.029756866129471333',), 1371775728: ('0.029756866129471333',), 1371775724: ('0.029756866129471333',), 1371775706: ('0.029756866129471333',), 1371775671: ('0.029756866129471333',), 1371775562: ('0.029756866129471333',), 1371775551: ('0.029756866129471333',), 1371775516: ('0.029756866129471333',), 1371775501: ('0.029756866129471333',), 1371775468: ('0.029756866129471333',), 1371775461: ('0.029756866129471333',), 1371775424: ('0.029756866129471333',), 1371775415: ('0.029756866129471333',), 1371775374: ('0.029756866129471333',), 1371775363: ('0.029756866129471333',), 1371775333: ('0.029756866129471333',), 1371775332: ('0.029756866129471333',), 1371775184: ('0.029756866129471333',), 1371775160: ('0.029756866129471333',), 1371775139: ('0.029756866129471333',), 1371775116: ('0.029756866129471333',), 1371775091: ('0.029756866129471333',), 1371775067: ('0.029756866129471333',), 24868411: ()} output_args : {24868411: [{'metal': 24868440, 'Teint_Dans_La_Masse': 24868441, 'autre_refus': 24868442, 'kraft': 24868443, 'flou': 24868444, 'mal_croppe': 24868445, 'environnement': 24868446, 'plastique': 24868447, 'Carton_gris': 24868448, 'cartonnette': 24868449, 'Carton_brun': 24868450, 'papier': 24868451}]} args : 24868411 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 :31, first value : ('0.029756866129471333',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24868411) 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 (1371775872,1371775870,1371775868,1371775865,1371775862,1371775859,1371775730,1371775729,1371775728,1371775724,1371775706,1371775671,1371775562,1371775551,1371775516,1371775501,1371775468,1371775461,1371775424,1371775415,1371775374,1371775363,1371775333,1371775332,1371775184,1371775160,1371775139,1371775116,1371775091,1371775067) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1371775067 begin to download photo : 1371775333 begin to download photo : 1371775501 begin to download photo : 1371775728 begin to download photo : 1371775870 download finish for photo 1371775501 begin to download photo : 1371775516 download finish for photo 1371775333 begin to download photo : 1371775363 download finish for photo 1371775728 begin to download photo : 1371775729 download finish for photo 1371775067 begin to download photo : 1371775091 download finish for photo 1371775870 begin to download photo : 1371775872 download finish for photo 1371775516 begin to download photo : 1371775551 download finish for photo 1371775729 begin to download photo : 1371775730 download finish for photo 1371775363 begin to download photo : 1371775374 download finish for photo 1371775091 begin to download photo : 1371775116 download finish for photo 1371775872 download finish for photo 1371775551 begin to download photo : 1371775562 download finish for photo 1371775730 begin to download photo : 1371775859 download finish for photo 1371775374 begin to download photo : 1371775415 download finish for photo 1371775116 begin to download photo : 1371775139 download finish for photo 1371775562 begin to download photo : 1371775671 download finish for photo 1371775415 begin to download photo : 1371775424 download finish for photo 1371775859 begin to download photo : 1371775862 download finish for photo 1371775139 begin to download photo : 1371775160 download finish for photo 1371775424 begin to download photo : 1371775461 download finish for photo 1371775160 begin to download photo : 1371775184 download finish for photo 1371775862 begin to download photo : 1371775865 download finish for photo 1371775671 begin to download photo : 1371775706 download finish for photo 1371775865 begin to download photo : 1371775868 download finish for photo 1371775461 begin to download photo : 1371775468 download finish for photo 1371775184 begin to download photo : 1371775332 download finish for photo 1371775706 begin to download photo : 1371775724 download finish for photo 1371775332 download finish for photo 1371775724 download finish for photo 1371775868 download finish for photo 1371775468 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P24868411_12-07-2025_01_59_02.pdf 24868440 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=24868440 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371774838: '1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869893_0.png', 1371774839: '1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869907_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f208e620fc382f75a20f03a9384a9654_61010745.png change filename to text .imagette248684401752278342/ imagette248684401752278342/1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869893_0.png.png imagette248684401752278342/1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869907_0.png.png imagette248684421752278342/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4919300607939b27054b6d52fc83a4b2_16431589.png imagette248684401752278342 24868442 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=24868442 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248684421752278342 24868443 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=24868443 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371774971: '1752278007_2128733_1371774832_ee607edd0c9ec099e28e2223eb58c86a_rle_crop_3880873787_0.png'} change filename to text .imagette248684431752278342/ imagette248684431752278342/1752278007_2128733_1371774832_ee607edd0c9ec099e28e2223eb58c86a_rle_crop_3880873787_0.png.png imagette248684441752278342/ imagette248684451752278342/ imagette248684471752278342/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75bcdbda14529263ed28037b6500d105_40018777.png imagette248684431752278342 24868444 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=24868444 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248684441752278342 24868445 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=24868445 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248684451752278342 24868447 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=24868447 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248684471752278342 24868449 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=24868449 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371774864: '1752277925_3912642_1371774703_b477cbbc986e9803acd0debd2b1156b9_rle_crop_3880870215_0.png', 1371775836: '1752278166_3921374_1371774936_12c3f1f20121d501bca16e7f04d87c78_rle_crop_3880878482_0.png', 1371775835: '1752278166_3921374_1371774941_67087bebd33c0e28301796df0da6ad2c_rle_crop_3880878469_0.png', 1371775834: '1752278166_3921374_1371774946_2d97b093402f0eec6662145a179d74d7_rle_crop_3880876304_0.png', 1371775199: '1752278047_3916219_1371774812_ef100e115b50fa22b96ce65b15cbf1cc_rle_crop_3880873914_0.png', 1371775197: '1752278047_3916219_1371774813_6c103ae318e76c44e97b214f6f8ac89b_rle_crop_3880873900_0.png', 1371775195: '1752278047_3916219_1371774814_f238d7e830b16a75027ca1377e9c5dd7_rle_crop_3880873885_0.png', 1371774970: '1752278007_2128733_1371774845_b452b136b3a548d004cfa3b2e2185b36_rle_crop_3880873761_0.png', 1371774866: '1752277925_3912642_1371774702_6dac41aaa1ff569ab6602feb51026340_rle_crop_3880871975_0.png', 1371774784: '1752277805_3908102_1371774655_d8ee6e17b102791660373ca32b8070f7_rle_crop_3880869028_0.png', 1371774863: '1752277925_3912642_1371774707_79917955ec4f4758e04638a6b2b0c939_rle_crop_3880870203_0.png', 1371774831: '1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869906_0.png', 1371774830: '1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869894_0.png', 1371774829: '1752277887_2125594_1371774741_fcb6ac9a5490b1618385940034e33fd9_rle_crop_3880869884_0.png', 1371774789: '1752277805_3908102_1371774636_db87f62998f7e8cc25c288e8ccde76ad_rle_crop_3880869308_0.png', 1371774788: '1752277805_3908102_1371774640_aaa901d650b06c44424f026f872f6637_rle_crop_3880869298_0.png', 1371774786: '1752277805_3908102_1371774643_0c3a7b92982cca682e40b7cdcb7cccea_rle_crop_3880869171_0.png', 1371774785: '1752277805_3908102_1371774643_0c3a7b92982cca682e40b7cdcb7cccea_rle_crop_3880869169_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/444ff0b0ef72f8cecb0a2c88da34e54f_23958008.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28634785afa079e32ae24155d02fe715_75755694.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7589499953985b92cc83257b4c2d7840_59194376.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b4bca3a70c8de452f3530a2fa0f50a3_89272595.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ce5ca2e4a010f6f780ba3898a0f3c5e_41959566.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/903cea36fbf323c8e76e826b708994a4_55122666.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/048c3724e2e604c84b797109e3f3a65d_58394561.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c9b50394565ace2900b197aa2ef51ce_9715861.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0a3329e6e00b6b44266ab460bb389a1_94340564.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8655e4a9841e23760d8748ce1f7e0ebd_98845708.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/683bf6e67bc7beddb080ed63ddb87701_84426577.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f89365055bbc712e8f28a4ea0ca0eb67_83838675.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd4d2fcf92e18a534aeb6b5453ea84fd_58334753.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ec84d2019e8c749fc7a427db0abe589_25935212.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/439a60b1481d0411e0721f030c4299b7_39499892.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe39a83410268231a8b0e37ba2f37b14_98745167.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e25dbb7f7a70624869ec9326ae3582de_9974191.png change filename to text .imagette248684491752278342/ imagette248684491752278342/1752278047_3916219_1371774813_6c103ae318e76c44e97b214f6f8ac89b_rle_crop_3880873900_0.png.png imagette248684491752278342/1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869906_0.png.png imagette248684491752278342/1752278007_2128733_1371774845_b452b136b3a548d004cfa3b2e2185b36_rle_crop_3880873761_0.png.png imagette248684491752278342/1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869894_0.png.png imagette248684491752278342/1752278166_3921374_1371774936_12c3f1f20121d501bca16e7f04d87c78_rle_crop_3880878482_0.png.png imagette248684491752278342/1752277805_3908102_1371774640_aaa901d650b06c44424f026f872f6637_rle_crop_3880869298_0.png.png imagette248684491752278342/1752278166_3921374_1371774946_2d97b093402f0eec6662145a179d74d7_rle_crop_3880876304_0.png.png imagette248684491752278342/1752277925_3912642_1371774702_6dac41aaa1ff569ab6602feb51026340_rle_crop_3880871975_0.png.png imagette248684491752278342/1752278166_3921374_1371774941_67087bebd33c0e28301796df0da6ad2c_rle_crop_3880878469_0.png.png imagette248684491752278342/1752277805_3908102_1371774636_db87f62998f7e8cc25c288e8ccde76ad_rle_crop_3880869308_0.png.png imagette248684491752278342/1752277805_3908102_1371774643_0c3a7b92982cca682e40b7cdcb7cccea_rle_crop_3880869169_0.png.png imagette248684491752278342/1752277925_3912642_1371774707_79917955ec4f4758e04638a6b2b0c939_rle_crop_3880870203_0.png.png imagette248684491752278342/1752278047_3916219_1371774814_f238d7e830b16a75027ca1377e9c5dd7_rle_crop_3880873885_0.png.png imagette248684491752278342/1752277887_2125594_1371774741_fcb6ac9a5490b1618385940034e33fd9_rle_crop_3880869884_0.png.png imagette248684491752278342/1752277805_3908102_1371774643_0c3a7b92982cca682e40b7cdcb7cccea_rle_crop_3880869171_0.png.png imagette248684491752278342/1752277925_3912642_1371774703_b477cbbc986e9803acd0debd2b1156b9_rle_crop_3880870215_0.png.png imagette248684491752278342/1752277805_3908102_1371774655_d8ee6e17b102791660373ca32b8070f7_rle_crop_3880869028_0.png.png imagette248684491752278342/1752278047_3916219_1371774812_ef100e115b50fa22b96ce65b15cbf1cc_rle_crop_3880873914_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3ab775870d6c80b16e9c11a4f1eaf4a_58506089.png imagette248684491752278342 24868441 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=24868441 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371774780: '1752277805_3908102_1371774655_d8ee6e17b102791660373ca32b8070f7_rle_crop_3880869031_0.png', 1371774781: '1752277805_3908102_1371774653_08c1c7689d3856276c04ce743bd0c9a9_rle_crop_3880869044_0.png', 1371774782: '1752277805_3908102_1371774626_2b857bb7324613dc8513325beae878e8_rle_crop_3880869331_0.png', 1371774823: '1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869895_0.png', 1371774824: '1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869901_0.png', 1371774825: '1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869908_0.png', 1371774826: '1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869914_0.png', 1371774827: '1752277887_2125594_1371774729_ec1e8eb572524c60a346d0ff735d9e45_rle_crop_3880869922_0.png', 1371774861: '1752277925_3912642_1371774715_c903e198720fe219fd4229a7b088fc57_rle_crop_3880870198_0.png', 1371775180: '1752278047_3916219_1371774814_f238d7e830b16a75027ca1377e9c5dd7_rle_crop_3880873890_0.png', 1371775827: '1752278166_3921374_1371774953_81da7d103eda4c4e6b67548f440e0d0c_rle_crop_3880876286_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2d36298de683feacbb0e8f6b15982df_73760824.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1742b4937b587e2690430bf07741181e_1996884.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/317227e0de23f2ed9acc6797fe95bb0b_33846797.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c746ca6aa45d2add60e0f9f4a881ec1_79710303.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6419fe9f98d794a93c6fb8075249039c_86862507.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/764d0bd726e284cd9669b47f91c73676_68862593.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/850c48f31fdb99c8f40cbbcfe2e2f9c1_63039267.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47e5608c4d7dcce9381fcdf53b01bb8b_46178336.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30f9712516a4e1f22284179b90526aa0_86938819.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e10b0f64ddb94069af182c9b1be4163e_9391023.png change filename to text .imagette248684411752278343/ imagette248684411752278343/1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869908_0.png.png imagette248684411752278343/1752277925_3912642_1371774715_c903e198720fe219fd4229a7b088fc57_rle_crop_3880870198_0.png.png imagette248684411752278343/1752277805_3908102_1371774626_2b857bb7324613dc8513325beae878e8_rle_crop_3880869331_0.png.png imagette248684411752278343/1752277887_2125594_1371774729_ec1e8eb572524c60a346d0ff735d9e45_rle_crop_3880869922_0.png.png imagette248684411752278343/1752277805_3908102_1371774655_d8ee6e17b102791660373ca32b8070f7_rle_crop_3880869031_0.png.png imagette248684411752278343/1752278166_3921374_1371774953_81da7d103eda4c4e6b67548f440e0d0c_rle_crop_3880876286_0.png.png imagette248684411752278343/1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869895_0.png.png imagette248684411752278343/1752277887_2125594_1371774738_ce838c0f0fc0e9d2b4c0237133195ec2_rle_crop_3880869901_0.png.png imagette248684411752278343/1752278047_3916219_1371774814_f238d7e830b16a75027ca1377e9c5dd7_rle_crop_3880873890_0.png.png imagette248684411752278343/1752277805_3908102_1371774653_08c1c7689d3856276c04ce743bd0c9a9_rle_crop_3880869044_0.png.png imagette248684411752278343/1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869914_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea62af3b5a502150eff2b8740d5b7e07_84225742.png imagette248684411752278343 24868448 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=24868448 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371774969: '1752278007_2128733_1371774832_ee607edd0c9ec099e28e2223eb58c86a_rle_crop_3880873784_0.png', 1371775188: '1752278047_3916219_1371774813_6c103ae318e76c44e97b214f6f8ac89b_rle_crop_3880873903_0.png', 1371775830: '1752278166_3921374_1371774941_67087bebd33c0e28301796df0da6ad2c_rle_crop_3880878468_0.png', 1371775958: '1752278247_2132317_1371775067_16c6bb90642b3a230323f73c03421155_rle_crop_3880880162_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90ac9ca6fd2e8a2d811b83026adf719c_82022297.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d55831422bd5f16a728b33368aa87692_57783920.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73034b57048bbf4db3133a2327ebf740_76738658.png change filename to text .imagette248684481752278344/ imagette248684481752278344/1752278247_2132317_1371775067_16c6bb90642b3a230323f73c03421155_rle_crop_3880880162_0.png.png imagette248684481752278344/1752278166_3921374_1371774941_67087bebd33c0e28301796df0da6ad2c_rle_crop_3880878468_0.png.png imagette248684481752278344/1752278047_3916219_1371774813_6c103ae318e76c44e97b214f6f8ac89b_rle_crop_3880873903_0.png.png imagette248684481752278344/1752278007_2128733_1371774832_ee607edd0c9ec099e28e2223eb58c86a_rle_crop_3880873784_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d17c1de9d102a663d00e18098ec13037_97329560.png imagette248684481752278344 24868450 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=24868450 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1371774835: '1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869909_0.png', 1371774836: '1752277887_2125594_1371774729_ec1e8eb572524c60a346d0ff735d9e45_rle_crop_3880869921_0.png', 1371774872: '1752277925_3912642_1371774702_6dac41aaa1ff569ab6602feb51026340_rle_crop_3880871986_0.png', 1371775208: '1752278047_3916219_1371774814_f238d7e830b16a75027ca1377e9c5dd7_rle_crop_3880873886_0.png', 1371775837: '1752278166_3921374_1371774936_12c3f1f20121d501bca16e7f04d87c78_rle_crop_3880878485_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0acaa0f6106c8f29833d512ea7219a05_70672945.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/776c92fb49d188ad8d689476cddd43bd_3693842.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eabf99cc1ab538ce790143c46c7107e4_40537027.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1546d82db4d804543599f39c9d654728_71650563.png change filename to text .imagette248684501752278344/ imagette248684501752278344/1752278166_3921374_1371774936_12c3f1f20121d501bca16e7f04d87c78_rle_crop_3880878485_0.png.png imagette248684501752278344/1752277887_2125594_1371774729_ec1e8eb572524c60a346d0ff735d9e45_rle_crop_3880869921_0.png.png imagette248684501752278344/1752277887_2125594_1371774734_208b0140ab59e59b9ae8897fe0cf31e7_rle_crop_3880869909_0.png.png imagette248684501752278344/1752277925_3912642_1371774702_6dac41aaa1ff569ab6602feb51026340_rle_crop_3880871986_0.png.png imagette248684501752278344/1752278047_3916219_1371774814_f238d7e830b16a75027ca1377e9c5dd7_rle_crop_3880873886_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/794f60adf7b7c44e90658d8b87bf7b9c_86152711.png imagette248684501752278344 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24868411 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24868454,24868455,24868457,24868458,24868459,24868461,24868462,24868463,24868464,24868466,24868467,24868468?tags=metal,Teint_Dans_La_Masse,autre_refus,kraft,flou,mal_croppe,environnement,plastique,Carton_gris,cartonnette,Carton_brun,papier your option no_mail is active, we will not send the real mail to your client args[1371775872] : ('0.029756866129471333',) no score found for photo 1371775872 We are sending mail with results at report@fotonower.com args[1371775870] : ('0.029756866129471333',) no score found for photo 1371775870 We are sending mail with results at report@fotonower.com args[1371775868] : ('0.029756866129471333',) no score found for photo 1371775868 We are sending mail with results at report@fotonower.com args[1371775865] : ('0.029756866129471333',) no score found for photo 1371775865 We are sending mail with results at report@fotonower.com args[1371775862] : ('0.029756866129471333',) no score found for photo 1371775862 We are sending mail with results at report@fotonower.com args[1371775859] : ('0.029756866129471333',) no score found for photo 1371775859 We are sending mail with results at report@fotonower.com args[1371775730] : ('0.029756866129471333',) no score found for photo 1371775730 We are sending mail with results at report@fotonower.com args[1371775729] : ('0.029756866129471333',) no score found for photo 1371775729 We are sending mail with results at report@fotonower.com args[1371775728] : ('0.029756866129471333',) no score found for photo 1371775728 We are sending mail with results at report@fotonower.com args[1371775724] : ('0.029756866129471333',) no score found for photo 1371775724 We are sending mail with results at report@fotonower.com args[1371775706] : ('0.029756866129471333',) no score found for photo 1371775706 We are sending mail with results at report@fotonower.com args[1371775671] : ('0.029756866129471333',) no score found for photo 1371775671 We are sending mail with results at report@fotonower.com args[1371775562] : ('0.029756866129471333',) no score found for photo 1371775562 We are sending mail with results at report@fotonower.com args[1371775551] : ('0.029756866129471333',) no score found for photo 1371775551 We are sending mail with results at report@fotonower.com args[1371775516] : ('0.029756866129471333',) no score found for photo 1371775516 We are sending mail with results at report@fotonower.com args[1371775501] : ('0.029756866129471333',) no score found for photo 1371775501 We are sending mail with results at report@fotonower.com args[1371775468] : ('0.029756866129471333',) no score found for photo 1371775468 We are sending mail with results at report@fotonower.com args[1371775461] : ('0.029756866129471333',) no score found for photo 1371775461 We are sending mail with results at report@fotonower.com args[1371775424] : ('0.029756866129471333',) no score found for photo 1371775424 We are sending mail with results at report@fotonower.com args[1371775415] : ('0.029756866129471333',) no score found for photo 1371775415 We are sending mail with results at report@fotonower.com args[1371775374] : ('0.029756866129471333',) no score found for photo 1371775374 We are sending mail with results at report@fotonower.com args[1371775363] : ('0.029756866129471333',) no score found for photo 1371775363 We are sending mail with results at report@fotonower.com args[1371775333] : ('0.029756866129471333',) no score found for photo 1371775333 We are sending mail with results at report@fotonower.com args[1371775332] : ('0.029756866129471333',) no score found for photo 1371775332 We are sending mail with results at report@fotonower.com args[1371775184] : ('0.029756866129471333',) no score found for photo 1371775184 We are sending mail with results at report@fotonower.com args[1371775160] : ('0.029756866129471333',) no score found for photo 1371775160 We are sending mail with results at report@fotonower.com args[1371775139] : ('0.029756866129471333',) no score found for photo 1371775139 We are sending mail with results at report@fotonower.com args[1371775116] : ('0.029756866129471333',) no score found for photo 1371775116 We are sending mail with results at report@fotonower.com args[1371775091] : ('0.029756866129471333',) no score found for photo 1371775091 We are sending mail with results at report@fotonower.com args[1371775067] : ('0.029756866129471333',) no score found for photo 1371775067 We are sending mail with results at report@fotonower.com refus_total : 0.029756866129471333 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=24868411 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_P24868411_12-07-2025_01_59_02.pdf results_Auto_P24868411_12-07-2025_01_59_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24868411_12-07-2025_01_59_02.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','24868411','results_Auto_P24868411_12-07-2025_01_59_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24868411_12-07-2025_01_59_02.pdf','pdf','','0.33','0.029756866129471333') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24868411]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] map_info['map_portfolio_photo'] : {24868411: [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067, 1371774953, 1371774950, 1371774946, 1371774941, 1371774936, 1371774931, 1371774855, 1371774852, 1371774849, 1371774845, 1371774841, 1371774832, 1371774814, 1371774813, 1371774812, 1371774811, 1371774809, 1371774807, 1371774778, 1371774776, 1371774773, 1371774771, 1371774767, 1371774765, 1371774745, 1371774744, 1371774741, 1371774738, 1371774734, 1371774729, 1371774715, 1371774707, 1371774703, 1371774702, 1371774699, 1371774697, 1371774655, 1371774653, 1371774643, 1371774640, 1371774636, 1371774626, 1371774555, 1371774527, 1371774492, 1371774465, 1371774442, 1371774417]} final : False mtd_id 4302 list_pids : [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] 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, '3274086') ('4302', '24868411', '1371775872', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '24868411', '1371775872', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086')] time used for this insertion : 0.6181285381317139 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.038270473480225 time spend to save output : 0.6185920238494873 total time spend for step 4 : 6.656862497329712 step5:split_time_score Sat Jul 12 01:59:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['24868411'] 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 : [('24868411',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24868411) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1371775870: {'path': 'temp/1752278340_1059196_1371775870_344ade097a7433a0c868db4e06dd79de.jpg', 'extension': 'jpg'}, 1371775872: {'path': 'temp/1752278340_1059196_1371775872_be2efd5f8c4b503f7d643e8826404e3d.jpg', 'extension': 'jpg'}, 1371775067: {'path': 'temp/1752278340_1059196_1371775067_16c6bb90642b3a230323f73c03421155.jpg', 'extension': 'jpg'}, 1371775091: {'path': 'temp/1752278340_1059196_1371775091_e93578dd6390b11f22b28e2e67792c8b.jpg', 'extension': 'jpg'}, 1371775116: {'path': 'temp/1752278340_1059196_1371775116_ec298dbe4d02da98e9109d0da5a4fbcb.jpg', 'extension': 'jpg'}, 1371775139: {'path': 'temp/1752278340_1059196_1371775139_626afc52eedfa29aa49bd010acf80a63.jpg', 'extension': 'jpg'}, 1371775160: {'path': 'temp/1752278340_1059196_1371775160_8cdd5911a2d029429cc880a02d79ec91.jpg', 'extension': 'jpg'}, 1371775184: {'path': 'temp/1752278340_1059196_1371775184_1a7c3708b4e4ff5e534bbe5a8f98fe90.jpg', 'extension': 'jpg'}, 1371775332: {'path': 'temp/1752278340_1059196_1371775332_08d072228e55c08e8c1337401cf31b2e.jpg', 'extension': 'jpg'}, 1371775501: {'path': 'temp/1752278340_1059196_1371775501_e71c71f99d432cccdfbec12e883d45ff.jpg', 'extension': 'jpg'}, 1371775516: {'path': 'temp/1752278340_1059196_1371775516_93cb5e15ba88f999d78bd119d43bc77c.jpg', 'extension': 'jpg'}, 1371775551: {'path': 'temp/1752278340_1059196_1371775551_5086f426d1101b3ae22dda40c688661c.jpg', 'extension': 'jpg'}, 1371775562: {'path': 'temp/1752278340_1059196_1371775562_5ab534aaf8cfc7a686e038ba7b2d4460.jpg', 'extension': 'jpg'}, 1371775671: {'path': 'temp/1752278340_1059196_1371775671_d7c88fab5d792de2e3216537b01c02cb.jpg', 'extension': 'jpg'}, 1371775706: {'path': 'temp/1752278340_1059196_1371775706_12fa6f32d2e9cff0f4340dc4d3dc323d.jpg', 'extension': 'jpg'}, 1371775724: {'path': 'temp/1752278340_1059196_1371775724_ecff7be5657cd360255d0608f3f40ef6.jpg', 'extension': 'jpg'}, 1371775728: {'path': 'temp/1752278340_1059196_1371775728_fc818dbf564b74816f08524a693c9bae.jpg', 'extension': 'jpg'}, 1371775729: {'path': 'temp/1752278340_1059196_1371775729_d1e221c149cb8213de7d5bd5e1ad4a4e.jpg', 'extension': 'jpg'}, 1371775730: {'path': 'temp/1752278340_1059196_1371775730_bc68177e36e853580c748482d4b7f8ac.jpg', 'extension': 'jpg'}, 1371775859: {'path': 'temp/1752278340_1059196_1371775859_cae55431eef9cb49a34cc3b80eb5f1cb.jpg', 'extension': 'jpg'}, 1371775862: {'path': 'temp/1752278340_1059196_1371775862_764ae8b5d25ae3222407c1efc40d438d.jpg', 'extension': 'jpg'}, 1371775865: {'path': 'temp/1752278340_1059196_1371775865_052717a4628ac18820927531c3cde6f9.jpg', 'extension': 'jpg'}, 1371775868: {'path': 'temp/1752278340_1059196_1371775868_48a2497cba56a19d6b6c1e0ea4994fe0.jpg', 'extension': 'jpg'}, 1371775333: {'path': 'temp/1752278340_1059196_1371775333_88314debf9c620fe5f03177ddbf62515.jpg', 'extension': 'jpg'}, 1371775363: {'path': 'temp/1752278340_1059196_1371775363_9247ba33e8a4ee22c8c7b8409c578f27.jpg', 'extension': 'jpg'}, 1371775374: {'path': 'temp/1752278340_1059196_1371775374_74130e3a2a028465ebcd45fdc415da08.jpg', 'extension': 'jpg'}, 1371775415: {'path': 'temp/1752278340_1059196_1371775415_f823ad338c8e73c0b26559e56740233a.jpg', 'extension': 'jpg'}, 1371775424: {'path': 'temp/1752278340_1059196_1371775424_11dcabe58f7f2a0692386037f62ac792.jpg', 'extension': 'jpg'}, 1371775461: {'path': 'temp/1752278340_1059196_1371775461_458b8119332613c728394e5e54405450.jpg', 'extension': 'jpg'}, 1371775468: {'path': 'temp/1752278340_1059196_1371775468_71148c8b5b4c78cd262b633d3190d95a.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 = 24868411; (('arc_en_ciel_jrm_live',), ('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 = 24868411 group by h (('01', 78),) 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=24868411 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 (24868411) 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 (24868411) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12072025 24868411 Nombre de photos uploadées : 78 / 23040 (0%) 12072025 24868411 Nombre de photos taguées (types de déchets): 0 / 78 (0%) 12072025 24868411 Nombre de photos taguées (volume) : 0 / 78 (0%) [{'photo_id': 1371774555, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6498b5d7f99d03e9dc6dc1bd9e0686a6.jpg', 'username': None, 'uploaded_at': 1752277593, 'text': 'image_12072025_01_45_04_10152.jpg'}, {'photo_id': 1371774527, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92164aa02c22b55e5efbb94f8e2049f3.jpg', 'username': None, 'uploaded_at': 1752277593, 'text': 'image_12072025_01_45_14_10137.jpg'}, {'photo_id': 1371774492, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/895c7d2101a60db778102c5d51f8d884.jpg', 'username': None, 'uploaded_at': 1752277593, 'text': 'image_12072025_01_45_24_10134.jpg'}, {'photo_id': 1371774465, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45b0c32f2c87e557028dd2bce5ed9c1d.jpg', 'username': None, 'uploaded_at': 1752277593, 'text': 'image_12072025_01_45_34_10133.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0034437179565429688 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 24868411, '2025-07-12' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1972167,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028563261032104492 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= 1972167 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24862874, 'dashboard_result_id': 12450604, '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_P24862874_12-07-2025_00_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24862879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24862880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24862881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24862882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24862883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24862884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24862885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24862886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24862887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24862888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24862889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24862890, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24863716, 'dashboard_result_id': 12450605, '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_P24863716_12-07-2025_00_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24863736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24863737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24863738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24863739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24863740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24863741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24863742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24863743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24863744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24863745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24863746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24863747, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24864264, 'dashboard_result_id': 12450606, '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_P24864264_12-07-2025_00_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24864300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864303, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24864799, 'dashboard_result_id': 12450607, '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_P24864799_12-07-2025_01_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24864803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864814, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24865363, 'dashboard_result_id': 12450608, '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_P24865363_12-07-2025_01_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24865438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24865439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24865440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24865441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24865442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24865443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24865444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24865445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24865446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24865447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24865448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24865449, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24866369, 'dashboard_result_id': 12450609, '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_P24866369_12-07-2025_01_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24866430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24866432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24866433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24866434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24866435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24866437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24866438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24866440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24866441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24866442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24866443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24866445, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24867390, 'dashboard_result_id': 12450610, '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_P24867390_12-07-2025_01_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24867515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24867516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24867517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24867518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24867519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24867520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24867521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24867522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24867523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24867524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24867525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24867526, 'pht': 3726}}"}, {'dashboat_entry_day': 1972167, 'dashboard_run_id': 1979735, 'mtr_portfolio_id': 24868411, 'dashboard_result_id': 12450611, '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_P24868411_12-07-2025_01_54_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24868440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24868441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24868442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24868443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24868444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24868445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24868446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24868447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24868448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24868449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24868450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24868451, '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 = 24862874 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': 3273672, 'mtr_portfolio_id': 24862874, 'created_at': datetime.datetime(2025, 7, 12, 0, 16, 59), 'result': '0.037367531886799636', 'result_long': None, 'result_double': None}] Qualite : 0.037367531886799636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24862874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24862874_12-07-2025_00_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24862874 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_P24862874_12-07-2025_00_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24862879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24862880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24862881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24862882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24862883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24862884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24862885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24862886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24862887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24862888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24862889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24862890, 'pht': 3726}}" where mtr_portfolio_id = 24862874 and dashboard_run_id = 1979735 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`=24862874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450604, 0.037367531886799636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24862874_12-07-2025_00_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24862879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24862880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24862881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24862882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24862883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24862884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24862885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24862886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24862887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24862888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24862889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24862890, '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 = 24863716 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': 3273753, 'mtr_portfolio_id': 24863716, 'created_at': datetime.datetime(2025, 7, 12, 0, 32, 58), 'result': '0.03280463110763884', 'result_long': None, 'result_double': None}] Qualite : 0.03280463110763884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24863716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24863716_12-07-2025_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24863716 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_P24863716_12-07-2025_00_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24863736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24863737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24863738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24863739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24863740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24863741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24863742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24863743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24863744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24863745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24863746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24863747, 'pht': 3726}}" where mtr_portfolio_id = 24863716 and dashboard_run_id = 1979735 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`=24863716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450605, 0.03280463110763884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24863716_12-07-2025_00_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24863736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24863737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24863738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24863739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24863740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24863741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24863742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24863743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24863744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24863745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24863746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24863747, '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 = 24864264 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': 3273801, 'mtr_portfolio_id': 24864264, 'created_at': datetime.datetime(2025, 7, 12, 0, 46, 56), 'result': '0.045803300599373216', 'result_long': None, 'result_double': None}] Qualite : 0.045803300599373216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24864264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864264_12-07-2025_00_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24864264 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_P24864264_12-07-2025_00_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24864300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864303, 'pht': 3726}}" where mtr_portfolio_id = 24864264 and dashboard_run_id = 1979735 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`=24864264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450606, 0.045803300599373216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864264_12-07-2025_00_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24864300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864303, '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 = 24864799 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': 3273845, 'mtr_portfolio_id': 24864799, 'created_at': datetime.datetime(2025, 7, 12, 1, 2, 58), 'result': '0.05501512360551966', 'result_long': None, 'result_double': None}] Qualite : 0.05501512360551966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24864799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864799_12-07-2025_01_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24864799 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_P24864799_12-07-2025_01_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24864803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864814, 'pht': 3726}}" where mtr_portfolio_id = 24864799 and dashboard_run_id = 1979735 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`=24864799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450607, 0.05501512360551966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24864799_12-07-2025_01_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24864803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24864804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24864805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24864806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24864807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24864808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24864809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24864810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24864811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24864812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24864813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24864814, '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 = 24865363 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': 3273898, 'mtr_portfolio_id': 24865363, 'created_at': datetime.datetime(2025, 7, 12, 1, 16, 59), 'result': '0.03769358954030426', 'result_long': None, 'result_double': None}] Qualite : 0.03769358954030426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24865363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24865363_12-07-2025_01_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24865363 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_P24865363_12-07-2025_01_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24865438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24865439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24865440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24865441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24865442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24865443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24865444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24865445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24865446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24865447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24865448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24865449, 'pht': 3726}}" where mtr_portfolio_id = 24865363 and dashboard_run_id = 1979737 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`=24865363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450608, 0.03769358954030426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24865363_12-07-2025_01_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24865438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24865439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24865440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24865441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24865442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24865443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24865444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24865445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24865446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24865447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24865448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24865449, '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 = 24866369 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': 3273993, 'mtr_portfolio_id': 24866369, 'created_at': datetime.datetime(2025, 7, 12, 1, 32, 57), 'result': '0.04421412132428314', 'result_long': None, 'result_double': None}] Qualite : 0.04421412132428314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24866369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24866369_12-07-2025_01_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24866369 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_P24866369_12-07-2025_01_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24866430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24866432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24866433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24866434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24866435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24866437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24866438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24866440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24866441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24866442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24866443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24866445, 'pht': 3726}}" where mtr_portfolio_id = 24866369 and dashboard_run_id = 1979737 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`=24866369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450609, 0.04421412132428314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24866369_12-07-2025_01_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24866430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24866432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24866433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24866434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24866435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24866437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24866438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24866440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24866441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24866442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24866443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24866445, '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 = 24867390 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': 3274040, 'mtr_portfolio_id': 24867390, 'created_at': datetime.datetime(2025, 7, 12, 1, 46, 59), 'result': '0.039274434489525195', 'result_long': None, 'result_double': None}] Qualite : 0.039274434489525195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24867390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24867390_12-07-2025_01_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24867390 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_P24867390_12-07-2025_01_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24867515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24867516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24867517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24867518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24867519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24867520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24867521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24867522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24867523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24867524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24867525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24867526, 'pht': 3726}}" where mtr_portfolio_id = 24867390 and dashboard_run_id = 1979737 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`=24867390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450610, 0.039274434489525195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24867390_12-07-2025_01_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24867515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24867516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24867517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24867518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24867519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24867520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24867521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24867522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24867523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24867524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24867525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24867526, '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 = 24868411 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': 3274086, 'mtr_portfolio_id': 24868411, 'created_at': datetime.datetime(2025, 7, 12, 1, 59), 'result': '0.029756866129471333', 'result_long': None, 'result_double': None}] Qualite : 0.029756866129471333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24868411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24868411_12-07-2025_01_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24868411 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_P24868411_12-07-2025_01_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24868440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24868441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24868442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24868443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24868444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24868445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24868446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24868447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24868448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24868449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24868450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24868451, 'pht': 3726}}" where mtr_portfolio_id = 24868411 and dashboard_run_id = 1979737 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`=24868411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12450611, 0.029756866129471333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24868411_12-07-2025_01_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24868440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24868441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24868442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24868443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24868444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24868445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24868446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24868447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24868448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24868449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24868450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24868451, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24862874,24863716,24864264,24864799,24865363,24866369,24867390,24868411) result : ((1371742379,), (1371742409,), (1371742439,), (1371742467,), (1371742493,), (1371742810,), (1371742839,), (1371742869,), (1371742894,), (1371742918,), (1371742943,), (1371743083,), (1371743084,), (1371743103,), (1371743104,), (1371743131,), (1371743137,), (1371743164,), (1371743167,), (1371743191,), (1371743196,), (1371743220,), (1371743223,), (1371743306,), (1371743309,), (1371743312,), (1371743340,), (1371743358,), (1371743368,), (1371743470,), (1371743474,), (1371743479,), (1371743505,), (1371743531,), (1371743558,), (1371743769,), (1371743777,), (1371743781,), (1371743786,), (1371743808,), (1371743836,), (1371743987,), (1371744038,), (1371744092,), (1371744216,), (1371744321,), (1371744440,), (1371744789,), (1371744950,), (1371745105,), (1371745166,), (1371745248,), (1371745345,), (1371745593,), (1371745621,), (1371745663,), (1371745726,), (1371745808,), (1371745824,), (1371746189,), (1371746240,), (1371746298,), (1371746311,), (1371746325,), (1371746331,), (1371746501,), (1371746504,), (1371746508,), (1371746512,), (1371746515,), (1371746520,), (1371746569,), (1371746583,), (1371746607,), (1371746632,), (1371746659,), (1371746685,), (1371746815,), (1371746817,), (1371746818,), (1371746838,), (1371746843,), (1371746854,), (1371747126,), (1371747160,), (1371747186,), (1371747211,), (1371747235,), (1371747269,), (1371747638,), (1371747660,), (1371747687,), (1371747705,), (1371747710,), (1371747716,), (1371747773,), (1371747803,), (1371747842,), (1371747869,), (1371747882,), (1371747883,), (1371748191,), (1371748226,), (1371748292,), (1371748342,), (1371748367,), (1371748380,), (1371748740,), (1371748777,), (1371748817,), (1371748841,), (1371748871,), (1371748900,), (1371749035,), (1371749067,), (1371749121,), (1371749168,), (1371749218,), (1371749277,), (1371749616,), (1371749631,), (1371749649,), (1371749652,), (1371749653,), (1371749657,), (1371749730,), (1371749732,), (1371749735,), (1371749737,), (1371749739,), (1371749741,), (1371749784,), (1371749788,), (1371749791,), (1371749794,), (1371749799,), (1371749804,), (1371749818,), (1371749821,), (1371749823,), (1371749826,), (1371749829,), (1371749833,), (1371749877,), (1371749879,), (1371749883,), (1371749887,), (1371749891,), (1371749895,), (1371749945,), (1371749947,), (1371749949,), (1371749950,), (1371749970,), (1371749981,), (1371750000,), (1371750004,), (1371750007,), (1371750022,), (1371750048,), (1371750075,), (1371750384,), (1371750395,), (1371750398,), (1371750403,), (1371750406,), (1371750407,), (1371750451,), (1371750455,), (1371750459,), (1371750462,), (1371750467,), (1371750470,), (1371750523,), (1371750526,), (1371750528,), (1371750533,), (1371750538,), (1371750545,), (1371750621,), (1371750663,), (1371750711,), (1371750754,), (1371750800,), (1371750854,), (1371751193,), (1371751204,), (1371751218,), (1371751221,), (1371751224,), (1371751226,), (1371751298,), (1371751302,), (1371751313,), (1371751317,), (1371751321,), (1371751326,), (1371751335,), (1371751336,), (1371751343,), (1371751344,), (1371751351,), (1371751353,), (1371751356,), (1371751358,), (1371751362,), (1371751366,), (1371751374,), (1371751376,), (1371751394,), (1371751397,), (1371751399,), (1371751413,), (1371751421,), (1371751428,), (1371751438,), (1371751467,), (1371751472,), (1371751476,), (1371751480,), (1371751484,), (1371751492,), (1371751493,), (1371751495,), (1371751496,), (1371751498,), (1371751499,), (1371751501,), (1371751502,), (1371751504,), (1371751505,), (1371751508,), (1371751509,), (1371751527,), (1371751539,), (1371751544,), (1371751548,), (1371751552,), (1371751555,), (1371751613,), (1371751618,), (1371751622,), (1371751639,), (1371751665,), (1371751689,), (1371752002,), (1371752028,), (1371752051,), (1371752078,), (1371752104,), (1371752129,), (1371752184,), (1371752189,), (1371752193,), (1371752195,), (1371752198,), (1371752201,), (1371752337,), (1371752367,), (1371752392,), (1371752421,), (1371752446,), (1371752477,), (1371752620,), (1371752626,), (1371752631,), (1371752635,), (1371752639,), (1371752642,), (1371752818,), (1371752820,), (1371752824,), (1371752828,), (1371752832,), (1371752834,), (1371753104,), (1371753112,), (1371753115,), (1371753118,), (1371753120,), (1371753122,), (1371753173,), (1371753174,), (1371753177,), (1371753178,), (1371753182,), (1371753183,), (1371753189,), (1371753191,), (1371753200,), (1371753202,), (1371753207,), (1371753210,), (1371753216,), (1371753218,), (1371753221,), (1371753224,), (1371753228,), (1371753234,), (1371753581,), (1371753610,), (1371753640,), (1371753666,), (1371753691,), (1371753720,), (1371753908,), (1371753911,), (1371753915,), (1371753917,), (1371753921,), (1371753923,), (1371753927,), (1371753929,), (1371753931,), (1371753934,), (1371753935,), (1371753936,), (1371753944,), (1371753948,), (1371753952,), (1371753956,), (1371753961,), (1371753967,), (1371754076,), (1371754100,), (1371754130,), (1371754157,), (1371754182,), (1371754210,), (1371754604,), (1371754634,), (1371754669,), (1371754697,), (1371754727,), (1371754764,), (1371754875,), (1371754886,), (1371754892,), (1371754895,), (1371754905,), (1371754932,), (1371755073,), (1371755086,), (1371755089,), (1371755092,), (1371755095,), (1371755096,), (1371755158,), (1371755163,), (1371755165,), (1371755167,), (1371755169,), (1371755172,), (1371755218,), (1371755219,), (1371755221,), (1371755222,), (1371755226,), (1371755227,), (1371755229,), (1371755231,), (1371755232,), (1371755234,), (1371755237,), (1371755239,), (1371755249,), (1371755254,), (1371755259,), (1371755263,), (1371755266,), (1371755270,), (1371755321,), (1371755325,), (1371755332,), (1371755364,), (1371755411,), (1371755496,), (1371755650,), (1371755722,), (1371755786,), (1371755844,), (1371755870,), (1371755897,), (1371756004,), (1371756031,), (1371756036,), (1371756052,), (1371756079,), (1371756151,), (1371756377,), (1371756421,), (1371756510,), (1371756560,), (1371756623,), (1371756665,), (1371757110,), (1371757119,), (1371757123,), (1371757129,), (1371757172,), (1371757216,), (1371757558,), (1371757570,), (1371757572,), (1371757574,), (1371757576,), (1371757626,), (1371757629,), (1371757631,), (1371757634,), (1371757637,), (1371757640,), (1371757661,), (1371757663,), (1371757666,), (1371757668,), (1371757671,), (1371757675,), (1371757691,), (1371757694,), (1371757699,), (1371757702,), (1371757703,), (1371757706,), (1371757734,), (1371757736,), (1371757739,), (1371757743,), (1371757745,), (1371757750,), (1371757776,), (1371757779,), (1371757781,), (1371757783,), (1371757786,), (1371757789,), (1371757825,), (1371757830,), (1371757835,), (1371757839,), (1371757844,), (1371757849,), (1371757862,), (1371757870,), (1371757885,), (1371757908,), (1371757934,), (1371757961,), (1371758310,), (1371758334,), (1371758359,), (1371758382,), (1371758386,), (1371758404,), (1371758485,), (1371758498,), (1371758510,), (1371758552,), (1371758596,), (1371758636,), (1371759065,), (1371759135,), (1371759194,), (1371759254,), (1371759329,), (1371759391,), (1371760020,), (1371760075,), (1371760108,), (1371760146,), (1371760171,), (1371760195,), (1371760545,), (1371760549,), (1371760570,), (1371760576,), (1371760588,), (1371760593,), (1371760596,), (1371760598,), (1371760600,), (1371760602,), (1371760605,), (1371760607,), (1371760730,), (1371760833,), (1371760936,), (1371760993,), (1371761086,), (1371761140,), (1371761572,), (1371761631,), (1371761679,), (1371761682,), (1371761684,), (1371761687,), (1371762013,), (1371762042,), (1371762069,), (1371762094,), (1371762123,), (1371762174,), (1371762342,), (1371762372,), (1371762429,), (1371762520,), (1371762599,), (1371762662,), (1371763239,), (1371763288,), (1371763312,), (1371763315,), (1371763317,), (1371763324,), (1371763659,), (1371763663,), (1371763692,), (1371763738,), (1371763819,), (1371763888,), (1371763904,), (1371763916,), (1371763921,), (1371763924,), (1371763925,), (1371763926,), (1371764086,), (1371764112,), (1371764140,), (1371764170,), (1371764216,), (1371764267,), (1371764836,), (1371764868,), (1371764887,), (1371764913,), (1371764958,), (1371764978,), (1371765863,), (1371765866,), (1371765933,), (1371765937,), (1371766023,), (1371766030,), (1371766105,), (1371766122,), (1371766175,), (1371766196,), (1371766261,), (1371766277,), (1371766432,), (1371766474,), (1371766509,), (1371766535,), (1371766592,), (1371766622,), (1371766701,), (1371766705,), (1371766709,), (1371766711,), (1371766717,), (1371766719,), (1371766975,), (1371766977,), (1371766999,), (1371767003,), (1371767023,), (1371767028,), (1371767084,), (1371767099,), (1371767169,), (1371767188,), (1371767230,), (1371767235,), (1371767299,), (1371767323,), (1371767345,), (1371767407,), (1371767409,), (1371767415,), (1371767520,), (1371767523,), (1371767527,), (1371767531,), (1371767533,), (1371767536,), (1371767704,), (1371767706,), (1371767728,), (1371767730,), (1371767746,), (1371767789,), (1371767904,), (1371767932,), (1371767957,), (1371767984,), (1371767999,), (1371768000,), (1371768392,), (1371768431,), (1371768481,), (1371768538,), (1371768569,), (1371768674,), (1371769369,), (1371769405,), (1371769461,), (1371769523,), (1371769558,), (1371769585,), (1371769831,), (1371769857,), (1371769883,), (1371769917,), (1371769945,), (1371769979,), (1371770071,), (1371770099,), (1371770122,), (1371770148,), (1371770174,), (1371770199,), (1371770824,), (1371770863,), (1371770906,), (1371770952,), (1371771003,), (1371771056,), (1371771490,), (1371771564,), (1371771588,), (1371771631,), (1371771647,), (1371771675,), (1371771770,), (1371771774,), (1371771790,), (1371771811,), (1371771816,), (1371771836,), (1371772100,), (1371772123,), (1371772147,), (1371772175,), (1371772192,), (1371772224,), (1371772528,), (1371772550,), (1371772583,), (1371772623,), (1371772645,), (1371772666,), (1371772807,), (1371772830,), (1371772860,), (1371772886,), (1371772913,), (1371772918,), (1371773175,), (1371773198,), (1371773220,), (1371773232,), (1371773246,), (1371773254,), (1371773812,), (1371773843,), (1371773876,), (1371773932,), (1371773981,), (1371774026,), (1371774161,), (1371774164,), (1371774167,), (1371774169,), (1371774174,), (1371774180,), (1371774192,), (1371774200,), (1371774203,), (1371774205,), (1371774206,), (1371774207,), (1371774234,), (1371774237,), (1371774240,), (1371774242,), (1371774244,), (1371774247,), (1371774417,), (1371774442,), (1371774465,), (1371774492,), (1371774527,), (1371774555,), (1371774626,), (1371774636,), (1371774640,), (1371774643,), (1371774653,), (1371774655,), (1371774697,), (1371774699,), (1371774702,), (1371774703,), (1371774707,), (1371774715,), (1371774729,), (1371774734,), (1371774738,), (1371774741,), (1371774744,), (1371774745,), (1371774765,), (1371774767,), (1371774771,), (1371774773,), (1371774776,), (1371774778,), (1371774807,), (1371774809,), (1371774811,), (1371774812,), (1371774813,), (1371774814,), (1371774832,), (1371774841,), (1371774845,), (1371774849,), (1371774852,), (1371774855,), (1371774931,), (1371774936,), (1371774941,), (1371774946,), (1371774950,), (1371774953,), (1371775067,), (1371775091,), (1371775116,), (1371775139,), (1371775160,), (1371775184,), (1371775332,), (1371775333,), (1371775363,), (1371775374,), (1371775415,), (1371775424,), (1371775461,), (1371775468,), (1371775501,), (1371775516,), (1371775551,), (1371775562,), (1371775671,), (1371775706,), (1371775724,), (1371775728,), (1371775729,), (1371775730,), (1371775859,), (1371775862,), (1371775865,), (1371775868,), (1371775870,), (1371775872,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12072025': {'nb_upload': 78, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24868411]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] map_info['map_portfolio_photo'] : {24868411: [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067, 1371774953, 1371774950, 1371774946, 1371774941, 1371774936, 1371774931, 1371774855, 1371774852, 1371774849, 1371774845, 1371774841, 1371774832, 1371774814, 1371774813, 1371774812, 1371774811, 1371774809, 1371774807, 1371774778, 1371774776, 1371774773, 1371774771, 1371774767, 1371774765, 1371774745, 1371774744, 1371774741, 1371774738, 1371774734, 1371774729, 1371774715, 1371774707, 1371774703, 1371774702, 1371774699, 1371774697, 1371774655, 1371774653, 1371774643, 1371774640, 1371774636, 1371774626, 1371774555, 1371774527, 1371774492, 1371774465, 1371774442, 1371774417]} final : True mtd_id 4302 list_pids : [1371775872, 1371775870, 1371775868, 1371775865, 1371775862, 1371775859, 1371775730, 1371775729, 1371775728, 1371775724, 1371775706, 1371775671, 1371775562, 1371775551, 1371775516, 1371775501, 1371775468, 1371775461, 1371775424, 1371775415, 1371775374, 1371775363, 1371775333, 1371775332, 1371775184, 1371775160, 1371775139, 1371775116, 1371775091, 1371775067] Looping around the photos to save general results len do output : 1 /24868411Didn'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, '3274086') ('4302', '24868411', '1371775872', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086') ('4302', None, None, None, None, None, None, None, '3274086') ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '24868411', 'None', None, None, None, None, '3274086'), ('4302', '24868411', '1371775872', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775870', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775868', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775865', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775862', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775859', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775730', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775729', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775728', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775724', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775706', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775671', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775562', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775551', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775516', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775501', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775468', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775461', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775424', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775415', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775374', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775363', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775333', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775332', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775184', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775160', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775139', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775116', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775091', None, None, None, None, None, '3274086'), ('4302', '24868411', '1371775067', None, None, None, None, None, '3274086')] time used for this insertion : 0.027042388916015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8178343772888184 time spend to save output : 0.027444839477539062 total time spend for step 5 : 0.8452792167663574 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 (3274086) 2.77user 2.49system 0:13.66elapsed 38%CPU (0avgtext+0avgdata 167468maxresident)k 280inputs+20584outputs (3major+80834minor)pagefaults 0swaps