python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4252 ' -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 : 2189754 load datou : 4252 # 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 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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 : 4252, datou_cur_ids : ['3903550'] with mtr_portfolio_ids : ['26224181'] and first list_photo_ids : [] new path : /proc/2189754/ 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 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 4.643220663070679 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 Thu Oct 9 14:12:32 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 23 chid ids of type : 4211 batch 1 Loaded 440 chid ids of type : 4211 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 [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] Looping around the photos to save general results len do output : 20 /1379373439Didn't retrieve data . /1379373440Didn't retrieve data . /1379373442Didn't retrieve data . /1379373446Didn't retrieve data . /1379373451Didn't retrieve data . /1379373456Didn't retrieve data . /1379373727Didn't retrieve data . /1379373883Didn't retrieve data . /1379373910Didn't retrieve data . /1379373919Didn't retrieve data . /1379373926Didn't retrieve data . /1379373929Didn't retrieve data . /1379373985Didn't retrieve data . /1379373999Didn't retrieve data . /1379374002Didn't retrieve data . /1379374005Didn't retrieve data . /1379374012Didn't retrieve data . /1379374040Didn't retrieve data . /1379374311Didn't retrieve data . /1379374312Didn'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 ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374312', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374311', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374040', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374012', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374005', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374002', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373999', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373985', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373929', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373926', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373919', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373910', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373883', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373727', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373456', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373451', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373446', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373442', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373440', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373439', None, None, None, None, None, '3903550') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.03774070739746094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.25130271911621094 time spend to save output : 0.03849077224731445 total time spend for step 1 : 0.2897934913635254 step2:consolidate_hashtags_from_manual_portfolio Thu Oct 9 14:12:32 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 : 26224181 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`=26224181 AND mptpi.`type`=4211 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`=26224181 AND mptpi.`type`=4211 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`=26224181 AND mptpi.`type`=4211 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=26224484 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 440 chid ids of type : 4211 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=26224485 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 361 chid ids of type : 4211 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=26224486 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 332 chid ids of type : 4211 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=26224487 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 379 chid ids of type : 4211 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=26224488 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 218 chid ids of type : 4211 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=26224489 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 13 chid ids of type : 4211 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=26224490 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=26224491 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=26224492 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 13 chid ids of type : 4211 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=26224493 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=26224494 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=26224495 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 289 chid ids of type : 4211 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=26224496 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=26224497 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=26224498 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 385 chid ids of type : 4211 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=26224499 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 75 chid ids of type : 4211 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=27645309 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 [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] 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 : 20 time used for this insertion : 0.03854513168334961 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.366715908050537 time spend to save output : 0.038813114166259766 total time spend for step 2 : 13.405529022216797 step3:rle_unique_nms_with_priority Thu Oct 9 14:12:45 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 384 chid ids of type : 4211 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09839248657226562 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10098385810852051 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1015932559967041 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1035306453704834 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10301804542541504 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10087037086486816 seulement à utiliser dans la step consolidation batch 1 Loaded 40 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10197710990905762 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10057592391967773 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09918951988220215 seulement à utiliser dans la step consolidation batch 1 Loaded 30 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10395407676696777 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10019516944885254 seulement à utiliser dans la step consolidation batch 1 Loaded 20 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09988546371459961 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10345149040222168 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09922218322753906 seulement à utiliser dans la step consolidation batch 1 Loaded 20 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09886288642883301 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1014566421508789 seulement à utiliser dans la step consolidation batch 1 Loaded 20 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10042023658752441 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10056400299072266 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10077381134033203 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10278177261352539 map_output_result : {1379374312: (0.0, 'Should be the crop_list due to order', 0), 1379374311: (0.0, 'Should be the crop_list due to order', 0), 1379374040: (0.0, 'Should be the crop_list due to order', 0), 1379374012: (0.0, 'Should be the crop_list due to order', 0), 1379374005: (0.0, 'Should be the crop_list due to order', 0), 1379374002: (0.0, 'Should be the crop_list due to order', 0), 1379373999: (0.0, 'Should be the crop_list due to order', 0), 1379373985: (0.0, 'Should be the crop_list due to order', 0), 1379373929: (0.0, 'Should be the crop_list due to order', 0), 1379373926: (0.0, 'Should be the crop_list due to order', 0), 1379373919: (0.0, 'Should be the crop_list due to order', 0), 1379373910: (0.0, 'Should be the crop_list due to order', 0), 1379373883: (0.0, 'Should be the crop_list due to order', 0), 1379373727: (0.0, 'Should be the crop_list due to order', 0), 1379373456: (0.0, 'Should be the crop_list due to order', 0), 1379373451: (0.0, 'Should be the crop_list due to order', 0), 1379373446: (0.0, 'Should be the crop_list due to order', 0), 1379373442: (0.0, 'Should be the crop_list due to order', 0), 1379373440: (0.0, 'Should be the crop_list due to order', 0), 1379373439: (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 [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] Looping around the photos to save general results len do output : 20 /1379374312.Didn't retrieve data . /1379374311.Didn't retrieve data . /1379374040.Didn't retrieve data . /1379374012.Didn't retrieve data . /1379374005.Didn't retrieve data . /1379374002.Didn't retrieve data . /1379373999.Didn't retrieve data . /1379373985.Didn't retrieve data . /1379373929.Didn't retrieve data . /1379373926.Didn't retrieve data . /1379373919.Didn't retrieve data . /1379373910.Didn't retrieve data . /1379373883.Didn't retrieve data . /1379373727.Didn't retrieve data . /1379373456.Didn't retrieve data . /1379373451.Didn't retrieve data . /1379373446.Didn't retrieve data . /1379373442.Didn't retrieve data . /1379373440.Didn't retrieve data . /1379373439.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 ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374312', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374311', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374040', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374012', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374005', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374002', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373999', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373985', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373929', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373926', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373919', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373910', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373883', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373727', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373456', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373451', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373446', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373442', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373440', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373439', None, None, None, None, None, '3903550') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.03757023811340332 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.040888071060181 time spend to save output : 0.03840208053588867 total time spend for step 3 : 4.079290151596069 step4:ventilate_hashtags_in_portfolio Thu Oct 9 14:12: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 ! 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 : 26224181 get user id for portfolio 26224181 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`=26224181 AND mptpi.`type`=4211 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`=26224181 AND mptpi.`type`=4211 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/26224484,26224485,26224486,26224487,26224488,26224489,26224490,26224491,26224492,26224493,26224494,26224495,26224496,26224497,26224498,26224499?tags=barquette_opaque,mal_croppe,environnement,film_plastique,pehd,pet_clair,etiquette,textiles_sanitaires,pet_fonce,flou,metal,carton,ela,kraft,pet_opaque,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] Looping around the photos to save general results len do output : 1 /26224181. 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 ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374312', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374311', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374040', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374012', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374005', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374002', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373999', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373985', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373929', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373926', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373919', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373910', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373883', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373727', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373456', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373451', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373446', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373442', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373440', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373439', None, None, None, None, None, '3903550') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.03690218925476074 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2183713912963867 time spend to save output : 0.03719449043273926 total time spend for step 4 : 1.255565881729126 step5:final Thu Oct 9 14:12:51 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 : {1379374312: ('0.10558058266429629',), 1379374311: ('0.10558058266429629',), 1379374040: ('0.10558058266429629',), 1379374012: ('0.10558058266429629',), 1379374005: ('0.10558058266429629',), 1379374002: ('0.10558058266429629',), 1379373999: ('0.10558058266429629',), 1379373985: ('0.10558058266429629',), 1379373929: ('0.10558058266429629',), 1379373926: ('0.10558058266429629',), 1379373919: ('0.10558058266429629',), 1379373910: ('0.10558058266429629',), 1379373883: ('0.10558058266429629',), 1379373727: ('0.10558058266429629',), 1379373456: ('0.10558058266429629',), 1379373451: ('0.10558058266429629',), 1379373446: ('0.10558058266429629',), 1379373442: ('0.10558058266429629',), 1379373440: ('0.10558058266429629',), 1379373439: ('0.10558058266429629',)} new output for save of step final : {1379374312: ('0.10558058266429629',), 1379374311: ('0.10558058266429629',), 1379374040: ('0.10558058266429629',), 1379374012: ('0.10558058266429629',), 1379374005: ('0.10558058266429629',), 1379374002: ('0.10558058266429629',), 1379373999: ('0.10558058266429629',), 1379373985: ('0.10558058266429629',), 1379373929: ('0.10558058266429629',), 1379373926: ('0.10558058266429629',), 1379373919: ('0.10558058266429629',), 1379373910: ('0.10558058266429629',), 1379373883: ('0.10558058266429629',), 1379373727: ('0.10558058266429629',), 1379373456: ('0.10558058266429629',), 1379373451: ('0.10558058266429629',), 1379373446: ('0.10558058266429629',), 1379373442: ('0.10558058266429629',), 1379373440: ('0.10558058266429629',), 1379373439: ('0.10558058266429629',)} [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] Looping around the photos to save general results len do output : 20 /1379374312.Didn't retrieve data . /1379374311.Didn't retrieve data . /1379374040.Didn't retrieve data . /1379374012.Didn't retrieve data . /1379374005.Didn't retrieve data . /1379374002.Didn't retrieve data . /1379373999.Didn't retrieve data . /1379373985.Didn't retrieve data . /1379373929.Didn't retrieve data . /1379373926.Didn't retrieve data . /1379373919.Didn't retrieve data . /1379373910.Didn't retrieve data . /1379373883.Didn't retrieve data . /1379373727.Didn't retrieve data . /1379373456.Didn't retrieve data . /1379373451.Didn't retrieve data . /1379373446.Didn't retrieve data . /1379373442.Didn't retrieve data . /1379373440.Didn't retrieve data . /1379373439.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 ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374312', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374311', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374040', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374012', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374005', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374002', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373999', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373985', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373929', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373926', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373919', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373910', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373883', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373727', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373456', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373451', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373446', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373442', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373440', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373439', None, None, None, None, None, '3903550') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.03590679168701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10588526725769043 time spend to save output : 0.0367124080657959 total time spend for step 5 : 0.14259767532348633 step6:blur_detection Thu Oct 9 14:12:51 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 : 20 time used for this insertion : 0.03292107582092285 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.03415274620056152 save missing photos in datou_result : time spend for datou_step_exec : 0.08475661277770996 time spend to save output : 0.08351516723632812 total time spend for step 6 : 0.16827178001403809 step7:brightness Thu Oct 9 14:12:51 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 : 20 time used for this insertion : 0.03372836112976074 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.03384995460510254 save missing photos in datou_result : time spend for datou_step_exec : 0.1013936996459961 time spend to save output : 0.08474969863891602 total time spend for step 7 : 0.1861433982849121 step8:send_mail_cod Thu Oct 9 14:12:51 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 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_P26224181_09-10-2025_14_12_51.pdf 26224484 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 .imagette262244841760011971 26224487 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 .imagette262244871760011974 26224489 change filename to text .imagette262244891760011977 26224490 imagette262244901760011977 26224491 imagette262244911760011977 26224492 change filename to text .imagette262244921760011977 26224494 imagette262244941760011977 26224495 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 .imagette262244951760011977 26224496 imagette262244961760011979 26224497 imagette262244971760011979 26224498 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 .imagette262244981760011979 26224499 change filename to text .change filename to text .change filename to text .imagette262244991760011982 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26224181 and hashtag_type = 4211 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26224484,26224485,26224486,26224487,26224488,26224489,26224490,26224491,26224492,26224493,26224494,26224495,26224496,26224497,26224498,26224499?tags=barquette_opaque,mal_croppe,environnement,film_plastique,pehd,pet_clair,etiquette,textiles_sanitaires,pet_fonce,flou,metal,carton,ela,kraft,pet_opaque,papier your option no_mail is active, we will not send the real mail to your client args[1379374312] : ((1379374312, 0.4132580475098772, 492688767), (1379374312, -0.18391910173414353, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379374311] : ((1379374311, 3.224628547859959, 492688767), (1379374311, -0.06809765006711897, 2107752395), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379374040] : ((1379374040, 0.34994698245100503, 492688767), (1379374040, -0.3646959357172452, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379374012] : ((1379374012, 2.033725292021154, 492688767), (1379374012, -0.07108420301855231, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379374005] : ((1379374005, 2.486128689943806, 492688767), (1379374005, -0.11273007614177348, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379374002] : ((1379374002, 2.827666522134837, 492688767), (1379374002, -0.18195955673570316, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373999] : ((1379373999, -5.185574419196306, 492609224), (1379373999, -0.13474941012721703, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373985] : ((1379373985, -0.9198197223162404, 492688767), (1379373985, -0.28430254932714955, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373929] : ((1379373929, 2.9761038763511887, 492688767), (1379373929, -0.14078093134453473, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373926] : ((1379373926, 1.0162899739773559, 492688767), (1379373926, -0.13981947393651836, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373919] : ((1379373919, -5.399574455224898, 492609224), (1379373919, -0.18250820800934747, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373910] : ((1379373910, 3.3032667637781956, 492688767), (1379373910, -0.22154008299679698, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373883] : ((1379373883, -5.345205275293199, 492609224), (1379373883, -0.07892036533976117, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373727] : ((1379373727, 2.7091973148645585, 492688767), (1379373727, -0.5443053001895526, 501862349), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373456] : ((1379373456, -0.20994142254627937, 492688767), (1379373456, -0.22979572022588918, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373451] : ((1379373451, 1.0625770365979288, 492688767), (1379373451, -0.08848616584155407, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373446] : ((1379373446, 1.9512172070574056, 492688767), (1379373446, -0.26489573909710135, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373442] : ((1379373442, -5.278041506963006, 492609224), (1379373442, -0.35370120205378214, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373440] : ((1379373440, 1.195600016185546, 492688767), (1379373440, -0.3321637669770386, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com args[1379373439] : ((1379373439, 6.075455961469376, 492688767), (1379373439, -0.12059959605947772, 496442774), '0.10558058266429629') We are sending mail with results at kexin@fotonower.com refus_total : 0.10558058266429629 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=26224181 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_P26224181_09-10-2025_14_12_51.pdf results_COD_P26224181_09-10-2025_14_12_51.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26224181_09-10-2025_14_12_51.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4252','26224181','results_COD_P26224181_09-10-2025_14_12_51.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26224181_09-10-2025_14_12_51.pdf','pdf','','1.04','0.10558058266429629') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] 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 ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374312', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374311', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374040', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374012', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374005', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374002', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373999', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373985', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373929', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373926', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373919', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373910', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373883', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373727', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373456', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373451', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373446', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373442', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373440', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373439', None, None, None, None, None, '3903550') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03769063949584961 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.901560544967651 time spend to save output : 0.037962913513183594 total time spend for step 8 : 14.939523458480835 step9:split_time_score Thu Oct 9 14:13:06 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'}] (('07', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26224181 Nombre de photos uploadées : 20 / 23040 (0%) 26082025 26224181 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 26082025 26224181 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011019706726074219 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6615192890167236 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_P26223552_26-08-2025_09_11_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223556_26-08-2025_08_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223556 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223564_26-08-2025_08_22_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223564 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223568_26-08-2025_07_55_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223568 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223572_26-08-2025_08_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223572 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223576_26-08-2025_08_44_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223576 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223580_26-08-2025_08_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223580 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223588_26-08-2025_08_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223588 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223593_26-08-2025_07_51_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223593 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223596_26-08-2025_07_12_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223599_26-08-2025_09_10_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223602_26-08-2025_08_03_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223602 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223604_26-08-2025_08_09_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223624_26-08-2025_09_15_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223624 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223626_26-08-2025_09_22_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223626 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223645_26-08-2025_07_46_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223645 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224689_26-08-2025_08_02_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224689 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223666_26-08-2025_09_27_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223666 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225546_26-08-2025_08_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225546 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226082_26-08-2025_09_53_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226082 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226551_26-08-2025_12_18_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226551 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227025_26-08-2025_12_15_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227025 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227516_26-08-2025_10_24_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227516 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228280_26-08-2025_13_04_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228280 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223692_26-08-2025_07_34_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223692 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223693_26-08-2025_09_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223693 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228546_26-08-2025_11_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228546 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228745_26-08-2025_11_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228745 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223697_26-08-2025_09_57_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223697 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229204_26-08-2025_18_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229204 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230688_26-08-2025_12_37_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26230688 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230693_26-08-2025_12_44_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26230693 order by id desc limit 1 Qualite : 0.10558058266429629 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26224181_09-10-2025_14_12_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224181 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 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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`=26224181 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231282_26-08-2025_20_02_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231282 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232248_26-08-2025_14_07_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232248 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226180_26-08-2025_09_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226180 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233916_26-08-2025_21_15_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233916 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234863_26-08-2025_16_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26234863 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226553_26-08-2025_09_35_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235220_26-08-2025_21_34_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235220 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237068_26-08-2025_22_22_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237068 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238032_26-08-2025_18_41_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26238032 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238318_26-08-2025_18_54_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26238318 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239871_26-08-2025_19_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26239871 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240379_26-08-2025_23_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240379 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230735_26-08-2025_12_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26230735 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241357_27-08-2025_00_00_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241357 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26242446_27-08-2025_00_29_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26242446 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26242613_26-08-2025_21_28_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26242613 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243175_26-08-2025_21_41_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243175 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243902_26-08-2025_22_10_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243902 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234234_26-08-2025_21_23_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26234234 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26244028_26-08-2025_22_09_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26244028 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26244418_27-08-2025_01_09_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26244418 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245104_26-08-2025_22_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26245104 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247333_27-08-2025_03_42_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247333 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248753_27-08-2025_01_47_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248753 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248755_27-08-2025_01_21_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248755 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248757_27-08-2025_06_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248757 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248759_27-08-2025_05_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248759 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431754_02-09-2025_11_19_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431754 order by id desc limit 1 Qualite : 0.09763436060555779 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26431757_09-10-2025_12_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431757 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 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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`=26431757 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431765_02-09-2025_11_29_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431765 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237828_26-08-2025_22_33_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237828 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247341_27-08-2025_00_21_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247341 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248763_27-08-2025_01_39_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248763 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248765_27-08-2025_05_53_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248765 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239597_26-08-2025_19_26_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26239597 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247345_27-08-2025_00_31_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247345 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245651_27-08-2025_01_39_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26245651 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26244648_27-08-2025_01_23_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26244648 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241751_26-08-2025_20_47_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241751 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243752_27-08-2025_00_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243752 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243566_26-08-2025_22_04_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243566 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243274_27-08-2025_00_33_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243176_26-08-2025_21_46_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243176 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 20, '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 [1379374312, 1379374311, 1379374040, 1379374012, 1379374005, 1379374002, 1379373999, 1379373985, 1379373929, 1379373926, 1379373919, 1379373910, 1379373883, 1379373727, 1379373456, 1379373451, 1379373446, 1379373442, 1379373440, 1379373439] Looping around the photos to save general results len do output : 1 /26224181Didn'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 ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374312', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374311', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374040', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374012', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374005', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379374002', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373999', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373985', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373929', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373926', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373919', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373910', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373883', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373727', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373456', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373451', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373446', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373442', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373440', None, None, None, None, None, '3903550') ('4252', None, None, None, None, None, None, None, '3903550') ('4252', '26224181', '1379373439', None, None, None, None, None, '3903550') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.03679847717285156 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.836284160614014 time spend to save output : 0.03709244728088379 total time spend for step 9 : 29.873376607894897 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 5.60user 0.89system 1:12.15elapsed 9%CPU (0avgtext+0avgdata 201064maxresident)k 296inputs+54880outputs (0major+98980minor)pagefaults 0swaps