python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4250 ' -s datou_consolidate -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'] process id : 2399072 load datou : 4250 # 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 ! 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 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 split_time_score have less inputs used (1) than in the step definition (2) : 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 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? 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 ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo 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 ? (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 TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4250, datou_cur_ids : ['4274448'] with mtr_portfolio_ids : ['25097139'] and first list_photo_ids : [] new path : /proc/2399072/ Inside batchDatouExec : verbose : 0 # 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 ! 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 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 split_time_score have less inputs used (1) than in the step definition (2) : 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 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 time to download the photos : 5.432493209838867 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Fri Dec 26 08:52:33 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 Begin step datou_step_copy_crop batch 1 Loaded 106 chid ids of type : 4207 batch 1 Loaded 213 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] Looping around the photos to save general results len do output : 27 /1372631840Didn't retrieve data . /1372631839Didn't retrieve data . /1372631828Didn't retrieve data . /1372631827Didn't retrieve data . /1372631826Didn't retrieve data . /1372631825Didn't retrieve data . /1372631823Didn't retrieve data . /1372631818Didn't retrieve data . /1372631817Didn't retrieve data . /1372631816Didn't retrieve data . /1372631815Didn't retrieve data . /1372631814Didn't retrieve data . /1372631813Didn't retrieve data . /1372631802Didn't retrieve data . /1372631801Didn't retrieve data . /1372631800Didn't retrieve data . /1372631799Didn't retrieve data . /1372631798Didn't retrieve data . /1372631797Didn't retrieve data . /1372631788Didn't retrieve data . /1372631787Didn't retrieve data . /1372631786Didn't retrieve data . /1372631785Didn't retrieve data . /1372631784Didn't retrieve data . /1372631783Didn't retrieve data . /1372631772Didn't retrieve data . /1372631771Didn'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 ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631840', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631839', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631828', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631827', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631826', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631825', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631823', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631818', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631817', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631816', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631815', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631814', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631813', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631802', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631801', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631800', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631799', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631798', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631797', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631788', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631787', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631786', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631785', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631784', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631783', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631772', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631771', None, None, None, None, None, '4274448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.02486562728881836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.138444185256958 time spend to save output : 0.0257413387298584 total time spend for step 1 : 0.1641855239868164 step2:consolidate_hashtags_from_manual_portfolio Fri Dec 26 08:52:33 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 ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25097139 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`=25097139 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do 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`=25097139 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do 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`=25097139 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097166 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 11 chid ids of type : 4207 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097167 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 9 chid ids of type : 4207 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097168 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097169 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 203 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097170 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 160 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097171 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097172 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097173 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097174 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 150 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097175 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097176 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097177 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097178 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097179 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 27 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097180 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097181 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29710912 AND mpp.hide_status=0 ORDER BY ph.size desc To test ! Use context local managing function ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : consolidate_hashtags_from_manual_portfolio we use saveGeneral [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.025793075561523438 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0534489154815674 time spend to save output : 0.02598857879638672 total time spend for step 2 : 3.079437494277954 step3:rle_unique_nms_with_priority Fri Dec 26 08:52:36 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 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 149 chid ids of type : 4207 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033130645751953125 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03178262710571289 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03217744827270508 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03225517272949219 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03252887725830078 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032100677490234375 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03153538703918457 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03240966796875 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032604217529296875 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03255963325500488 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032134294509887695 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03247809410095215 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032707929611206055 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.034348487854003906 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032036781311035156 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03240394592285156 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03297257423400879 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0318758487701416 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03204607963562012 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032549381256103516 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0312809944152832 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03200268745422363 No data in photo_id : 1372631785 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03181862831115723 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030940771102905273 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03198075294494629 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031193256378173828 Missing data for photo_id : 1372631785 in {1372631840: 0, 1372631839: 0, 1372631828: 0, 1372631827: 0, 1372631826: 0, 1372631825: 0, 1372631823: 0, 1372631818: 0, 1372631817: 0, 1372631816: 0, 1372631815: 0, 1372631814: 0, 1372631813: 0, 1372631802: 0, 1372631801: 0, 1372631800: 0, 1372631799: 0, 1372631798: 0, 1372631797: 0, 1372631788: 0, 1372631787: 0, 1372631786: 0, 1372631784: 0, 1372631783: 0, 1372631772: 0, 1372631771: 0} Missing data for photo_id : 1372631785 in {1372631840: 0, 1372631839: 0, 1372631828: 0, 1372631827: 0, 1372631826: 0, 1372631825: 0, 1372631823: 0, 1372631818: 0, 1372631817: 0, 1372631816: 0, 1372631815: 0, 1372631814: 0, 1372631813: 0, 1372631802: 0, 1372631801: 0, 1372631800: 0, 1372631799: 0, 1372631798: 0, 1372631797: 0, 1372631788: 0, 1372631787: 0, 1372631786: 0, 1372631784: 0, 1372631783: 0, 1372631772: 0, 1372631771: 0} map_output_result : {1372631840: (0.0, 'Should be the crop_list due to order', 0), 1372631839: (0.0, 'Should be the crop_list due to order', 0), 1372631828: (0.0, 'Should be the crop_list due to order', 0), 1372631827: (0.0, 'Should be the crop_list due to order', 0), 1372631826: (0.0, 'Should be the crop_list due to order', 0), 1372631825: (0.0, 'Should be the crop_list due to order', 0), 1372631823: (0.0, 'Should be the crop_list due to order', 0), 1372631818: (0.0, 'Should be the crop_list due to order', 0), 1372631817: (0.0, 'Should be the crop_list due to order', 0), 1372631816: (0.0, 'Should be the crop_list due to order', 0), 1372631815: (0.0, 'Should be the crop_list due to order', 0), 1372631814: (0.0, 'Should be the crop_list due to order', 0), 1372631813: (0.0, 'Should be the crop_list due to order', 0), 1372631802: (0.0, 'Should be the crop_list due to order', 0), 1372631801: (0.0, 'Should be the crop_list due to order', 0), 1372631800: (0.0, 'Should be the crop_list due to order', 0), 1372631799: (0.0, 'Should be the crop_list due to order', 0), 1372631798: (0.0, 'Should be the crop_list due to order', 0), 1372631797: (0.0, 'Should be the crop_list due to order', 0), 1372631788: (0.0, 'Should be the crop_list due to order', 0), 1372631787: (0.0, 'Should be the crop_list due to order', 0), 1372631786: (0.0, 'Should be the crop_list due to order', 0), 1372631784: (0.0, 'Should be the crop_list due to order', 0), 1372631783: (0.0, 'Should be the crop_list due to order', 0), 1372631772: (0.0, 'Should be the crop_list due to order', 0), 1372631771: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] Looping around the photos to save general results len do output : 26 /1372631840.Didn't retrieve data . /1372631839.Didn't retrieve data . /1372631828.Didn't retrieve data . /1372631827.Didn't retrieve data . /1372631826.Didn't retrieve data . /1372631825.Didn't retrieve data . /1372631823.Didn't retrieve data . /1372631818.Didn't retrieve data . /1372631817.Didn't retrieve data . /1372631816.Didn't retrieve data . /1372631815.Didn't retrieve data . /1372631814.Didn't retrieve data . /1372631813.Didn't retrieve data . /1372631802.Didn't retrieve data . /1372631801.Didn't retrieve data . /1372631800.Didn't retrieve data . /1372631799.Didn't retrieve data . /1372631798.Didn't retrieve data . /1372631797.Didn't retrieve data . /1372631788.Didn't retrieve data . /1372631787.Didn't retrieve data . /1372631786.Didn't retrieve data . /1372631784.Didn't retrieve data . /1372631783.Didn't retrieve data . /1372631772.Didn't retrieve data . /1372631771.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631840', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631839', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631828', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631827', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631826', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631825', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631823', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631818', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631817', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631816', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631815', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631814', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631813', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631802', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631801', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631800', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631799', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631798', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631797', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631788', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631787', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631786', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631785', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631784', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631783', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631772', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631771', None, None, None, None, None, '4274448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 79 time used for this insertion : 0.01888418197631836 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.5029826164245605 time spend to save output : 0.019861459732055664 total time spend for step 3 : 4.522844076156616 step4:ventilate_hashtags_in_portfolio Fri Dec 26 08:52:40 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 ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25097139 get user id for portfolio 25097139 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`=25097139 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do 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`=25097139 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25097166,25097167,25097168,25097169,25097170,25097171,25097172,25097173,25097174,25097175,25097176,25097177,25097178,25097179,25097180,25097181?tags=film_plastique,pet_opaque,ela,carton,papier,flou,barquette_opaque,pet_fonce,mal_croppe,etiquette,pehd,environnement,textiles_sanitaires,kraft,pet_clair,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] Looping around the photos to save general results len do output : 1 /25097139. 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 ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631840', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631839', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631828', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631827', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631826', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631825', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631823', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631818', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631817', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631816', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631815', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631814', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631813', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631802', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631801', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631800', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631799', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631798', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631797', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631788', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631787', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631786', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631785', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631784', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631783', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631772', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631771', None, None, None, None, None, '4274448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.022690773010253906 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4030892848968506 time spend to save output : 0.02298569679260254 total time spend for step 4 : 0.4260749816894531 step5:final Fri Dec 26 08:52:41 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 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1372631840: ('0.027659557880768',), 1372631839: ('0.027659557880768',), 1372631828: ('0.027659557880768',), 1372631827: ('0.027659557880768',), 1372631826: ('0.027659557880768',), 1372631825: ('0.027659557880768',), 1372631823: ('0.027659557880768',), 1372631818: ('0.027659557880768',), 1372631817: ('0.027659557880768',), 1372631816: ('0.027659557880768',), 1372631815: ('0.027659557880768',), 1372631814: ('0.027659557880768',), 1372631813: ('0.027659557880768',), 1372631802: ('0.027659557880768',), 1372631801: ('0.027659557880768',), 1372631800: ('0.027659557880768',), 1372631799: ('0.027659557880768',), 1372631798: ('0.027659557880768',), 1372631797: ('0.027659557880768',), 1372631788: ('0.027659557880768',), 1372631787: ('0.027659557880768',), 1372631786: ('0.027659557880768',), 1372631784: ('0.027659557880768',), 1372631783: ('0.027659557880768',), 1372631772: ('0.027659557880768',), 1372631771: ('0.027659557880768',)} new output for save of step final : {1372631840: ('0.027659557880768',), 1372631839: ('0.027659557880768',), 1372631828: ('0.027659557880768',), 1372631827: ('0.027659557880768',), 1372631826: ('0.027659557880768',), 1372631825: ('0.027659557880768',), 1372631823: ('0.027659557880768',), 1372631818: ('0.027659557880768',), 1372631817: ('0.027659557880768',), 1372631816: ('0.027659557880768',), 1372631815: ('0.027659557880768',), 1372631814: ('0.027659557880768',), 1372631813: ('0.027659557880768',), 1372631802: ('0.027659557880768',), 1372631801: ('0.027659557880768',), 1372631800: ('0.027659557880768',), 1372631799: ('0.027659557880768',), 1372631798: ('0.027659557880768',), 1372631797: ('0.027659557880768',), 1372631788: ('0.027659557880768',), 1372631787: ('0.027659557880768',), 1372631786: ('0.027659557880768',), 1372631784: ('0.027659557880768',), 1372631783: ('0.027659557880768',), 1372631772: ('0.027659557880768',), 1372631771: ('0.027659557880768',)} [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] Looping around the photos to save general results len do output : 26 /1372631840.Didn't retrieve data . /1372631839.Didn't retrieve data . /1372631828.Didn't retrieve data . /1372631827.Didn't retrieve data . /1372631826.Didn't retrieve data . /1372631825.Didn't retrieve data . /1372631823.Didn't retrieve data . /1372631818.Didn't retrieve data . /1372631817.Didn't retrieve data . /1372631816.Didn't retrieve data . /1372631815.Didn't retrieve data . /1372631814.Didn't retrieve data . /1372631813.Didn't retrieve data . /1372631802.Didn't retrieve data . /1372631801.Didn't retrieve data . /1372631800.Didn't retrieve data . /1372631799.Didn't retrieve data . /1372631798.Didn't retrieve data . /1372631797.Didn't retrieve data . /1372631788.Didn't retrieve data . /1372631787.Didn't retrieve data . /1372631786.Didn't retrieve data . /1372631784.Didn't retrieve data . /1372631783.Didn't retrieve data . /1372631772.Didn't retrieve data . /1372631771.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 ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631840', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631839', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631828', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631827', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631826', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631825', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631823', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631818', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631817', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631816', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631815', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631814', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631813', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631802', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631801', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631800', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631799', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631798', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631797', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631788', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631787', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631786', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631785', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631784', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631783', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631772', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631771', None, None, None, None, None, '4274448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 79 time used for this insertion : 0.02123260498046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.045909881591796875 time spend to save output : 0.02221536636352539 total time spend for step 5 : 0.06812524795532227 step6:blur_detection Fri Dec 26 08:52:41 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 ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 27 time used for this insertion : 0.013628721237182617 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.014963626861572266 save missing photos in datou_result : time spend for datou_step_exec : 0.02905869483947754 time spend to save output : 0.03374767303466797 total time spend for step 6 : 0.06280636787414551 step7:brightness Fri Dec 26 08:52:41 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 ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 27 time used for this insertion : 0.011842012405395508 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.011924982070922852 save missing photos in datou_result : time spend for datou_step_exec : 0.03584766387939453 time spend to save output : 0.0290985107421875 total time spend for step 7 : 0.06494617462158203 step8:send_mail_cod Fri Dec 26 08:52:41 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 complete output_args for input 1 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 2 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 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 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 results_COD_P25097139_26-12-2025_08_52_41.pdf 25097166 change filename to text .imagette250971661766735561 25097167 change filename to text .imagette250971671766735561 25097168 imagette250971681766735561 25097170 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette250971701766735561 25097172 imagette250971721766735564 25097173 imagette250971731766735564 25097175 imagette250971751766735564 25097176 imagette250971761766735564 25097178 imagette250971781766735564 25097179 change filename to text .change filename to text .change filename to text .imagette250971791766735564 25097180 imagette250971801766735565 25097181 imagette250971811766735565 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25097139 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25097166,25097167,25097168,25097169,25097170,25097171,25097172,25097173,25097174,25097175,25097176,25097177,25097178,25097179,25097180,25097181?tags=film_plastique,pet_opaque,ela,carton,papier,flou,barquette_opaque,pet_fonce,mal_croppe,etiquette,pehd,environnement,textiles_sanitaires,kraft,pet_clair,metal your option no_mail is active, we will not send the real mail to your client args[1372631840] : ((1372631840, -6.990409888413894, 492609224), (1372631840, 0.32666203906231195, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631839] : ((1372631839, -7.136207124502931, 492609224), (1372631839, 0.4134100542208322, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631828] : ((1372631828, -7.153519036592775, 492609224), (1372631828, 0.4233208024259261, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631827] : ((1372631827, -6.999985860349896, 492609224), (1372631827, 0.2947345656131224, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631826] : ((1372631826, -7.000130530937249, 492609224), (1372631826, 0.25510933298469585, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631825] : ((1372631825, -7.115924264571786, 492609224), (1372631825, 0.270802116695852, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631823] : ((1372631823, -7.093191750713982, 492609224), (1372631823, 0.3933879108095114, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631818] : ((1372631818, -6.932227251601928, 492609224), (1372631818, 0.33912745925168986, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631817] : ((1372631817, -6.977011018698531, 492609224), (1372631817, 0.328294392335761, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631816] : ((1372631816, -7.172686125728773, 492609224), (1372631816, 0.4979680540647591, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631815] : ((1372631815, -7.138550154114007, 492609224), (1372631815, 0.44476416926878265, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631814] : ((1372631814, -7.530108734054915, 492609224), (1372631814, 0.699251688457695, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631813] : ((1372631813, -7.6358733336223175, 492609224), (1372631813, 0.5711730359471218, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631802] : ((1372631802, -7.241699477492198, 492609224), (1372631802, 0.5164149600564085, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631801] : ((1372631801, -6.844993125825048, 492609224), (1372631801, -0.027515528014603937, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631800] : ((1372631800, -7.00472491516306, 492609224), (1372631800, 0.5122409401801427, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631799] : ((1372631799, -7.31025053820426, 492609224), (1372631799, 0.869552372280757, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631798] : ((1372631798, -7.147136863165052, 492609224), (1372631798, 0.5919574207336467, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631797] : ((1372631797, -7.32533664411107, 492609224), (1372631797, 0.485789224062291, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631788] : ((1372631788, -7.247032357113305, 492609224), (1372631788, 0.4495317396014309, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631787] : ((1372631787, -7.063593404774336, 492609224), (1372631787, 0.5620919431271583, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631786] : ((1372631786, -7.167666536228049, 492609224), (1372631786, 0.19691281588125067, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631785] : ((1372631785, -6.922587344499513, 492609224), (1372631785, 0.23608920738722128, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1372631784] : ((1372631784, -7.027891017053618, 492609224), (1372631784, 0.23960632280380678, 2107752395), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631783] : ((1372631783, -6.593079527605984, 492609224), (1372631783, -0.07115972141271992, 496442774), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631772] : ((1372631772, -4.592404990101431, 492609224), (1372631772, -1.010828361459546, 501862349), '0.027659557880768') We are sending mail with results at kexin@fotonower.com args[1372631771] : ((1372631771, -4.6333869899860645, 492609224), (1372631771, -0.7597795949299607, 501862349), '0.027659557880768') We are sending mail with results at kexin@fotonower.com refus_total : 0.027659557880768 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25097139 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_COD_P25097139_26-12-2025_08_52_41.pdf results_COD_P25097139_26-12-2025_08_52_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25097139_26-12-2025_08_52_41.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4250','25097139','results_COD_P25097139_26-12-2025_08_52_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25097139_26-12-2025_08_52_41.pdf','pdf','','1.05','0.027659557880768') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] 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 ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631840', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631839', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631828', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631827', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631826', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631825', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631823', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631818', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631817', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631816', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631815', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631814', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631813', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631802', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631801', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631800', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631799', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631798', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631797', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631788', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631787', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631786', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631785', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631784', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631783', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631772', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631771', None, None, None, None, None, '4274448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.019751310348510742 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.303473711013794 time spend to save output : 0.020041227340698242 total time spend for step 8 : 8.323514938354492 step9:split_time_score Fri Dec 26 08:52:49 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 ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score 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'}] (('12', 27),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18072025 25097139 Nombre de photos uploadées : 27 / 23040 (0%) 18072025 25097139 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 18072025 25097139 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002296924591064453 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.26596617698669434 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25062856_18-07-2025_07_15_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25062856 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25062871_18-07-2025_07_25_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25062871 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097122_19-07-2025_12_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097122 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097122_19-07-2025_12_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097122 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25071578_18-07-2025_10_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25071578 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25070428_19-07-2025_09_41_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25070428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25066725_18-07-2025_08_50_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25066725 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25066726_18-07-2025_08_38_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25066726 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25066726_18-07-2025_08_38_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25066726 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25066727_18-07-2025_09_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25066727 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25068069_18-07-2025_09_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25068069 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25068083_18-07-2025_09_10_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25068083 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25068083_18-07-2025_09_10_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25068083 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25068097_18-07-2025_09_22_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25068097 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25068099_18-07-2025_09_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25068099 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25068101_18-07-2025_09_13_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25068101 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25070444_18-07-2025_10_19_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25070444 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25070447_18-07-2025_10_10_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25070447 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25070447_18-07-2025_10_10_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25070447 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25070474_18-07-2025_17_48_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25070474 order by id desc limit 1 Qualite : 0.04993147681881933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25071594_04-09-2025_12_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25071594 order by id desc limit 1 # 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 ! 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 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 split_time_score have less inputs used (1) than in the step definition (2) : 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 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 doesn't seem to be define in the database( DataTypes for each output/input checked ! 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`=25071594 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25071609_19-07-2025_06_00_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25071609 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25071613_18-07-2025_17_44_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25071613 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25071613_18-07-2025_17_44_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25071613 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25071616_18-07-2025_17_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25071616 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097124_19-07-2025_08_58_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097124 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097127_19-07-2025_08_54_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097127 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097129_19-07-2025_08_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097129 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097131_19-07-2025_09_20_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097131 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097133_19-07-2025_08_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097133 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097133_19-07-2025_08_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097133 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097135_19-07-2025_08_53_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097135 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097138_19-07-2025_10_16_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097138 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25097139_26-12-2025_08_52_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097139 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25097139_26-12-2025_08_52_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097139 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097140_19-07-2025_08_58_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097140 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097141_19-07-2025_08_51_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097141 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25097141_19-07-2025_08_51_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25097141 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18072025': {'nb_upload': 27, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1372631840, 1372631839, 1372631828, 1372631827, 1372631826, 1372631825, 1372631823, 1372631818, 1372631817, 1372631816, 1372631815, 1372631814, 1372631813, 1372631802, 1372631801, 1372631800, 1372631799, 1372631798, 1372631797, 1372631788, 1372631787, 1372631786, 1372631785, 1372631784, 1372631783, 1372631772, 1372631771] Looping around the photos to save general results len do output : 1 /25097139Didn'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 ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631840', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631839', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631828', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631827', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631826', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631825', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631823', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631818', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631817', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631816', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631815', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631814', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631813', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631802', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631801', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631800', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631799', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631798', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631797', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631788', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631787', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631786', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631785', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631784', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631783', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631772', None, None, None, None, None, '4274448') ('4250', None, None, None, None, None, None, None, '4274448') ('4250', '25097139', '1372631771', None, None, None, None, None, '4274448') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.024090051651000977 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.259670972824097 time spend to save output : 0.024419307708740234 total time spend for step 9 : 26.284090280532837 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 27 set_done_treatment 6.79user 2.00system 0:51.15elapsed 17%CPU (0avgtext+0avgdata 207512maxresident)k 1400inputs+94744outputs (4major+190203minor)pagefaults 0swaps