python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -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 : 3160956 load datou : 4255 # 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 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 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 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 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 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 : 4255, datou_cur_ids : ['4046779'] with mtr_portfolio_ids : ['27473895'] and first list_photo_ids : [] new path : /proc/3160956/ 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 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 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 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 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 28 ; length of list_pids : 28 ; length of list_args : 28 time to download the photos : 6.929847955703735 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Fri Nov 14 13:32:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 580 chid ids of type : 3327 batch 1 Loaded 260 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 240 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 237 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 236 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 294 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 104 chid ids of type : 3327 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 [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] Looping around the photos to save general results len do output : 28 /1387545538Didn't retrieve data . /1387545528Didn't retrieve data . /1387545525Didn't retrieve data . /1387545521Didn't retrieve data . /1387545517Didn't retrieve data . /1387545513Didn't retrieve data . /1387545499Didn't retrieve data . /1387545497Didn't retrieve data . /1387545493Didn't retrieve data . /1387545490Didn't retrieve data . /1387545484Didn't retrieve data . /1387545477Didn't retrieve data . /1387545476Didn't retrieve data . /1387545474Didn't retrieve data . /1387545472Didn't retrieve data . /1387545469Didn't retrieve data . /1387545466Didn't retrieve data . /1387545453Didn't retrieve data . /1387545451Didn't retrieve data . /1387545449Didn't retrieve data . /1387545447Didn't retrieve data . /1387545425Didn't retrieve data . /1387545403Didn't retrieve data . /1387545401Didn't retrieve data . /1387545397Didn't retrieve data . /1387545395Didn't retrieve data . /1387545390Didn't retrieve data . /1387545388Didn'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 ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545538', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545528', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545525', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545521', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545517', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545513', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545499', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545497', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545493', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545490', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545484', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545477', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545476', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545474', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545472', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545469', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545466', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545453', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545451', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545449', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545447', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545425', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545403', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545401', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545397', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545395', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545390', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545388', None, None, None, None, None, '4046779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 56 time used for this insertion : 0.021314382553100586 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3862497806549072 time spend to save output : 0.022232770919799805 total time spend for step 1 : 0.40848255157470703 step2:consolidate_hashtags_from_manual_portfolio Fri Nov 14 13:32:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 27473895 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`=27473895 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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`=27473895 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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=27474643 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=27474644 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=27474645 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 931 chid ids of type : 3327 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=27474646 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=27474647 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=27474648 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=27474649 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=27474650 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 202 chid ids of type : 3327 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=27474651 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=27474652 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 55 chid ids of type : 3327 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=27474655 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=27474656 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1371 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=28530579 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=28530584 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 [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] 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 : 28 time used for this insertion : 0.01793217658996582 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4759771823883057 time spend to save output : 0.01818537712097168 total time spend for step 2 : 3.4941625595092773 step3:rle_unique_nms_with_priority Fri Nov 14 13:32:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 553 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031537771224975586 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03563046455383301 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029735803604125977 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030371427536010742 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029973745346069336 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030452728271484375 seulement à utiliser dans la step consolidation batch 1 Loaded 47 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029614686965942383 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028753995895385742 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03033924102783203 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030451297760009766 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03105902671813965 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03097677230834961 seulement à utiliser dans la step consolidation batch 1 Loaded 47 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031061887741088867 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03261280059814453 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0301058292388916 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031245708465576172 seulement à utiliser dans la step consolidation batch 1 Loaded 42 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030317306518554688 seulement à utiliser dans la step consolidation batch 1 Loaded 47 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031676530838012695 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030805587768554688 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029599666595458984 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030382633209228516 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028485774993896484 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03017139434814453 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031222105026245117 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030866146087646484 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030536174774169922 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030666112899780273 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030676841735839844 map_output_result : {1387545538: (0.0, 'Should be the crop_list due to order', 0.0), 1387545528: (0.0, 'Should be the crop_list due to order', 0.0), 1387545525: (0.0, 'Should be the crop_list due to order', 0.0), 1387545521: (0.0, 'Should be the crop_list due to order', 0.0), 1387545517: (0.0, 'Should be the crop_list due to order', 0.0), 1387545513: (0.0, 'Should be the crop_list due to order', 0.0), 1387545499: (0.0, 'Should be the crop_list due to order', 0.0), 1387545497: (0.0, 'Should be the crop_list due to order', 0.0), 1387545493: (0.0, 'Should be the crop_list due to order', 0.0), 1387545490: (0.0, 'Should be the crop_list due to order', 0.0), 1387545484: (0.0, 'Should be the crop_list due to order', 0.0), 1387545477: (0.0, 'Should be the crop_list due to order', 0.0), 1387545476: (0.0, 'Should be the crop_list due to order', 0.0), 1387545474: (0.0, 'Should be the crop_list due to order', 0.0), 1387545472: (0.0, 'Should be the crop_list due to order', 0.0), 1387545469: (0.0, 'Should be the crop_list due to order', 0.0), 1387545466: (0.0, 'Should be the crop_list due to order', 0.0), 1387545453: (0.0, 'Should be the crop_list due to order', 0.0), 1387545451: (0.0, 'Should be the crop_list due to order', 0.0), 1387545449: (0.0, 'Should be the crop_list due to order', 0.0), 1387545447: (0.0, 'Should be the crop_list due to order', 0.0), 1387545425: (0.0, 'Should be the crop_list due to order', 0.0), 1387545403: (0.0, 'Should be the crop_list due to order', 0.0), 1387545401: (0.0, 'Should be the crop_list due to order', 0.0), 1387545397: (0.0, 'Should be the crop_list due to order', 0.0), 1387545395: (0.0, 'Should be the crop_list due to order', 0.0), 1387545390: (0.0, 'Should be the crop_list due to order', 0.0), 1387545388: (0.0, 'Should be the crop_list due to order', 0.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 [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] Looping around the photos to save general results len do output : 28 /1387545538.Didn't retrieve data . /1387545528.Didn't retrieve data . /1387545525.Didn't retrieve data . /1387545521.Didn't retrieve data . /1387545517.Didn't retrieve data . /1387545513.Didn't retrieve data . /1387545499.Didn't retrieve data . /1387545497.Didn't retrieve data . /1387545493.Didn't retrieve data . /1387545490.Didn't retrieve data . /1387545484.Didn't retrieve data . /1387545477.Didn't retrieve data . /1387545476.Didn't retrieve data . /1387545474.Didn't retrieve data . /1387545472.Didn't retrieve data . /1387545469.Didn't retrieve data . /1387545466.Didn't retrieve data . /1387545453.Didn't retrieve data . /1387545451.Didn't retrieve data . /1387545449.Didn't retrieve data . /1387545447.Didn't retrieve data . /1387545425.Didn't retrieve data . /1387545403.Didn't retrieve data . /1387545401.Didn't retrieve data . /1387545397.Didn't retrieve data . /1387545395.Didn't retrieve data . /1387545390.Didn't retrieve data . /1387545388.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 ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545538', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545528', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545525', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545521', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545517', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545513', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545499', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545497', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545493', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545490', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545484', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545477', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545476', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545474', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545472', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545469', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545466', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545453', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545451', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545449', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545447', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545425', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545403', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545401', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545397', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545395', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545390', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545388', None, None, None, None, None, '4046779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 84 time used for this insertion : 0.016901731491088867 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.3216423988342285 time spend to save output : 0.017803430557250977 total time spend for step 3 : 4.3394458293914795 step4:ventilate_hashtags_in_portfolio Fri Nov 14 13:32:44 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 : 27473895 get user id for portfolio 27473895 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`=27473895 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) 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`=27473895 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27474643,27474644,27474645,27474646,27474647,27474648,27474649,27474650,27474651,27474652,27474655,27474656,28530584?tags=bouchon,pehd,mal_croppe,pet_fonce,verre,carton,papier,flou,metal,etiquette,barquette_avec_film,pet_clair,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] Looping around the photos to save general results len do output : 1 /27473895. 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 ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545538', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545528', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545525', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545521', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545517', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545513', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545499', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545497', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545493', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545490', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545484', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545477', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545476', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545474', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545472', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545469', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545466', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545453', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545451', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545449', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545447', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545425', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545403', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545401', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545397', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545395', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545390', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545388', None, None, None, None, None, '4046779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 time used for this insertion : 0.018867969512939453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2985842227935791 time spend to save output : 0.019181251525878906 total time spend for step 4 : 0.317765474319458 step5:final Fri Nov 14 13:32:44 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 : {1387545538: ('0.0',), 1387545528: ('0.0',), 1387545525: ('0.0',), 1387545521: ('0.0',), 1387545517: ('0.0',), 1387545513: ('0.0',), 1387545499: ('0.0',), 1387545497: ('0.0',), 1387545493: ('0.0',), 1387545490: ('0.0',), 1387545484: ('0.0',), 1387545477: ('0.0',), 1387545476: ('0.0',), 1387545474: ('0.0',), 1387545472: ('0.0',), 1387545469: ('0.0',), 1387545466: ('0.0',), 1387545453: ('0.0',), 1387545451: ('0.0',), 1387545449: ('0.0',), 1387545447: ('0.0',), 1387545425: ('0.0',), 1387545403: ('0.0',), 1387545401: ('0.0',), 1387545397: ('0.0',), 1387545395: ('0.0',), 1387545390: ('0.0',), 1387545388: ('0.0',)} new output for save of step final : {1387545538: ('0.0',), 1387545528: ('0.0',), 1387545525: ('0.0',), 1387545521: ('0.0',), 1387545517: ('0.0',), 1387545513: ('0.0',), 1387545499: ('0.0',), 1387545497: ('0.0',), 1387545493: ('0.0',), 1387545490: ('0.0',), 1387545484: ('0.0',), 1387545477: ('0.0',), 1387545476: ('0.0',), 1387545474: ('0.0',), 1387545472: ('0.0',), 1387545469: ('0.0',), 1387545466: ('0.0',), 1387545453: ('0.0',), 1387545451: ('0.0',), 1387545449: ('0.0',), 1387545447: ('0.0',), 1387545425: ('0.0',), 1387545403: ('0.0',), 1387545401: ('0.0',), 1387545397: ('0.0',), 1387545395: ('0.0',), 1387545390: ('0.0',), 1387545388: ('0.0',)} [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] Looping around the photos to save general results len do output : 28 /1387545538.Didn't retrieve data . /1387545528.Didn't retrieve data . /1387545525.Didn't retrieve data . /1387545521.Didn't retrieve data . /1387545517.Didn't retrieve data . /1387545513.Didn't retrieve data . /1387545499.Didn't retrieve data . /1387545497.Didn't retrieve data . /1387545493.Didn't retrieve data . /1387545490.Didn't retrieve data . /1387545484.Didn't retrieve data . /1387545477.Didn't retrieve data . /1387545476.Didn't retrieve data . /1387545474.Didn't retrieve data . /1387545472.Didn't retrieve data . /1387545469.Didn't retrieve data . /1387545466.Didn't retrieve data . /1387545453.Didn't retrieve data . /1387545451.Didn't retrieve data . /1387545449.Didn't retrieve data . /1387545447.Didn't retrieve data . /1387545425.Didn't retrieve data . /1387545403.Didn't retrieve data . /1387545401.Didn't retrieve data . /1387545397.Didn't retrieve data . /1387545395.Didn't retrieve data . /1387545390.Didn't retrieve data . /1387545388.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 ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545538', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545528', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545525', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545521', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545517', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545513', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545499', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545497', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545493', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545490', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545484', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545477', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545476', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545474', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545472', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545469', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545466', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545453', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545451', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545449', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545447', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545425', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545403', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545401', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545397', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545395', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545390', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545388', None, None, None, None, None, '4046779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 84 time used for this insertion : 0.017490863800048828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0362544059753418 time spend to save output : 0.018481016159057617 total time spend for step 5 : 0.054735422134399414 step6:blur_detection Fri Nov 14 13:32:44 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 : 28 time used for this insertion : 0.010573863983154297 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.016983747482299805 save missing photos in datou_result : time spend for datou_step_exec : 0.02913188934326172 time spend to save output : 0.03220200538635254 total time spend for step 6 : 0.06133389472961426 step7:brightness Fri Nov 14 13:32:44 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 : 28 time used for this insertion : 0.010664939880371094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.008798599243164062 save missing photos in datou_result : time spend for datou_step_exec : 0.02888631820678711 time spend to save output : 0.02405691146850586 total time spend for step 7 : 0.05294322967529297 step8:send_mail_cod Fri Nov 14 13:32:44 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_P27473895_14-11-2025_13_32_44.pdf 27474643 imagette274746431763123564 27474644 imagette274746441763123564 27474646 imagette274746461763123564 27474647 imagette274746471763123564 27474648 imagette274746481763123564 27474649 imagette274746491763123564 27474651 imagette274746511763123564 27474652 change filename to text .imagette274746521763123564 27474655 imagette274746551763123565 28530584 imagette285305841763123565 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27473895 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27474643,27474644,27474645,27474646,27474647,27474648,27474649,27474650,27474651,27474652,27474655,27474656,28530584?tags=bouchon,pehd,mal_croppe,pet_fonce,verre,carton,papier,flou,metal,etiquette,barquette_avec_film,pet_clair,emr your option no_mail is active, we will not send the real mail to your client args[1387545538] : ((1387545538, -5.895871491140652, 492609224), (1387545538, -1.114581385667861, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545528] : ((1387545528, -6.328287783038609, 492609224), (1387545528, -0.5211934588391856, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545525] : ((1387545525, -6.474146528508944, 492609224), (1387545525, -0.6475601116746577, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545521] : ((1387545521, -6.095898819476785, 492609224), (1387545521, -0.5850383567721763, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545517] : ((1387545517, -6.21442784613296, 492609224), (1387545517, -0.5496734704615938, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545513] : ((1387545513, -6.1710359207919705, 492609224), (1387545513, -0.40826585180020747, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545499] : ((1387545499, -6.333331477776067, 492609224), (1387545499, -0.5397775837190084, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545497] : ((1387545497, -6.215279327716012, 492609224), (1387545497, -0.4649973114841477, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545493] : ((1387545493, -6.247293424247233, 492609224), (1387545493, -0.4952457167009405, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545490] : ((1387545490, -6.2585043395030056, 492609224), (1387545490, -0.4915397741516046, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545484] : ((1387545484, -5.710016407757786, 492609224), (1387545484, -0.9775911327575334, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545477] : ((1387545477, -6.161061601269604, 492609224), (1387545477, -0.5367839414498268, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545476] : ((1387545476, -6.168425810845996, 492609224), (1387545476, -0.5620417233251834, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545474] : ((1387545474, -6.1876029338713066, 492609224), (1387545474, -0.3557561821770825, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545472] : ((1387545472, -6.1885328144857565, 492609224), (1387545472, -0.5089472386449604, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545469] : ((1387545469, -6.3641380427621055, 492609224), (1387545469, -0.45405757455521645, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545466] : ((1387545466, -5.9265775163531975, 492609224), (1387545466, -0.6430607911194008, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545453] : ((1387545453, -6.043217939793071, 492609224), (1387545453, -0.575270247059338, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545451] : ((1387545451, -6.0763685816814785, 492609224), (1387545451, -0.5928071404366421, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545449] : ((1387545449, -5.299150507998906, 492609224), (1387545449, -1.2844587731153758, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545447] : ((1387545447, -5.842461455343846, 492609224), (1387545447, -0.8738705623702883, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545425] : ((1387545425, -3.834223330838674, 492609224), (1387545425, -1.9615370628815179, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545403] : ((1387545403, -4.587641756479258, 492609224), (1387545403, -1.4232777021122798, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545401] : ((1387545401, -5.887311873993041, 492609224), (1387545401, -0.9434653120665805, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545397] : ((1387545397, -3.955491101814298, 492609224), (1387545397, -1.8119899330850018, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545395] : ((1387545395, -5.186391388269768, 492609224), (1387545395, -1.3280307650873953, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545390] : ((1387545390, -6.037406879061847, 492609224), (1387545390, -0.8414257513555952, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com args[1387545388] : ((1387545388, -5.948018176386385, 492609224), (1387545388, -0.8724395636795145, 501862349), '0.0') We are sending mail with results at kexin@fotonower.com refus_total : 0.0 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=27473895 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_P27473895_14-11-2025_13_32_44.pdf results_COD_P27473895_14-11-2025_13_32_44.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P27473895_14-11-2025_13_32_44.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','27473895','results_COD_P27473895_14-11-2025_13_32_44.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P27473895_14-11-2025_13_32_44.pdf','pdf','','0.59','0.0') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] 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 ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545538', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545528', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545525', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545521', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545517', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545513', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545499', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545497', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545493', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545490', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545484', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545477', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545476', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545474', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545472', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545469', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545466', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545453', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545451', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545449', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545447', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545425', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545403', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545401', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545397', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545395', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545390', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545388', None, None, None, None, None, '4046779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.018648624420166016 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.834558486938477 time spend to save output : 0.019083023071289062 total time spend for step 8 : 4.853641510009766 step9:split_time_score Fri Nov 14 13:32:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('06', 28),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03102025 27473895 Nombre de photos uploadées : 28 / 23040 (0%) 03102025 27473895 Nombre de photos taguées (types de déchets): 0 / 28 (0%) 03102025 27473895 Nombre de photos taguées (volume) : 0 / 28 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 9.298324584960938e-06 ???????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018162727355957031 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2201240062713623 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_P27473887_03-10-2025_07_31_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27473887 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473889_03-10-2025_07_37_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27473889 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473891_03-10-2025_07_41_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27473891 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473893_03-10-2025_07_21_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27473893 order by id desc limit 1 Qualite : 0.8646717697446011 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P27473895_14-11-2025_13_32_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27473895 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 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 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 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 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 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`=27473895 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476433_03-10-2025_10_42_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476433_03-10-2025_10_42_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476436_03-10-2025_08_17_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476436 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476439_03-10-2025_08_24_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476439 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476459_03-10-2025_08_08_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476459 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476462_03-10-2025_08_28_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476462 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476481_03-10-2025_08_14_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476481 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478021_03-10-2025_12_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27478021 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478021_03-10-2025_12_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27478021 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478024_03-10-2025_08_44_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27478024 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478027_03-10-2025_09_14_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27478027 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480969_03-10-2025_09_49_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480969 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480971_03-10-2025_09_43_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480971 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480972_03-10-2025_09_39_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480972 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480974_03-10-2025_09_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480974 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480976_03-10-2025_09_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480976 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480978_03-10-2025_13_38_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480978 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480978_03-10-2025_13_38_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480978 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480980_03-10-2025_09_46_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480980 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27480981_03-10-2025_09_50_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27480981 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491431_03-10-2025_17_34_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491432_03-10-2025_14_47_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491432 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491433_03-10-2025_15_10_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27487666_03-10-2025_15_19_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27487666 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27487666_03-10-2025_15_19_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27487666 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485654_03-10-2025_11_40_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485654 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484302_03-10-2025_11_17_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27484302 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484305_03-10-2025_11_12_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27484305 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484307_03-10-2025_11_09_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27484307 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484320_03-10-2025_11_41_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27484320 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485657_03-10-2025_12_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485657 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485657_03-10-2025_12_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485657 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485659_03-10-2025_11_55_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485659 order by id desc limit 1 Qualite : 0.053515633611662276 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485662_03-10-2025_11_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485662 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 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`=27485662 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485664_03-10-2025_11_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485667_03-10-2025_11_46_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485667 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27487691_03-10-2025_13_55_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27487691 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27487691_03-10-2025_13_55_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27487691 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27487692_03-10-2025_12_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27487692 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27487693_03-10-2025_12_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27487693 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27488570_03-10-2025_13_27_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27488570 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27488571_03-10-2025_13_14_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27488571 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27488596_03-10-2025_13_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27488596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27488596_03-10-2025_13_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27488596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27488597_03-10-2025_13_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27488597 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27488598_03-10-2025_13_24_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27488598 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490304_03-10-2025_14_14_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490304 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490305_03-10-2025_14_08_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490305 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490306_03-10-2025_14_49_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490306 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490306_03-10-2025_14_49_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490306 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490307_03-10-2025_17_33_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490307 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491434_03-10-2025_14_49_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491434 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491435_03-10-2025_15_02_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491436_03-10-2025_15_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491436 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27508381_04-10-2025_01_29_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27508381 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493995_03-10-2025_15_44_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27493995 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493997_03-10-2025_15_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27493997 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493999_03-10-2025_15_38_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27493999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494001_03-10-2025_16_07_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27494001 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494001_03-10-2025_16_07_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27494001 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494003_03-10-2025_15_44_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27494003 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494005_03-10-2025_15_51_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27494005 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503283_03-10-2025_22_13_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503283 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503283_03-10-2025_22_13_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503283 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503284_03-10-2025_21_15_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503284 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501599_03-10-2025_20_20_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498532_03-10-2025_18_36_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498532 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497506_03-10-2025_17_16_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497506 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497508_03-10-2025_18_31_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497508 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497508_03-10-2025_18_31_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497508 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497510_03-10-2025_17_55_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497510 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497512_03-10-2025_17_18_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497512 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497513_03-10-2025_17_28_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497513 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497515_03-10-2025_17_37_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497515 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497515_03-10-2025_17_37_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497515 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498534_03-10-2025_18_19_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498534 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498535_03-10-2025_18_19_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498535 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498548_03-10-2025_18_36_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498548 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498561_03-10-2025_18_09_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498561 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499185_03-10-2025_18_39_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499185 order by id desc limit 1 Qualite : 0.03556339161458771 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P27499186_14-11-2025_09_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499186 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27499186 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499187_03-10-2025_18_51_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499187 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499188_03-10-2025_18_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499188 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499190_03-10-2025_18_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499190 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500774_04-10-2025_02_07_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500774 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500776_03-10-2025_19_38_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500776 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500778_03-10-2025_20_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500778 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500778_03-10-2025_20_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500778 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500780_03-10-2025_19_40_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500780 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500781_03-10-2025_19_57_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500781 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500783_03-10-2025_19_51_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500783 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500785_03-10-2025_19_47_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500785 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501601_03-10-2025_20_14_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501601 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501603_03-10-2025_20_06_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501603 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501605_03-10-2025_20_31_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501605 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501605_03-10-2025_20_31_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501605 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503285_03-10-2025_21_37_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503285 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503310_03-10-2025_21_11_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503310 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503311_03-10-2025_21_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503311 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503312_03-10-2025_21_36_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503312_03-10-2025_21_36_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503313_03-10-2025_21_28_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503313 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27508383_04-10-2025_01_29_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27508383 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507872_04-10-2025_00_14_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507872 order by id desc limit 1 Qualite : 0.0752230269820602 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507873_04-10-2025_01_24_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507873 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 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`=27507873 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507874_04-10-2025_00_09_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507874 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507875_04-10-2025_00_11_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507875 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507876_04-10-2025_00_10_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507876 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507877_04-10-2025_00_13_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27507877_04-10-2025_00_13_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27507877 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03102025': {'nb_upload': 28, '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 [1387545538, 1387545528, 1387545525, 1387545521, 1387545517, 1387545513, 1387545499, 1387545497, 1387545493, 1387545490, 1387545484, 1387545477, 1387545476, 1387545474, 1387545472, 1387545469, 1387545466, 1387545453, 1387545451, 1387545449, 1387545447, 1387545425, 1387545403, 1387545401, 1387545397, 1387545395, 1387545390, 1387545388] Looping around the photos to save general results len do output : 1 /27473895Didn'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 ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545538', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545528', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545525', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545521', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545517', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545513', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545499', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545497', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545493', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545490', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545484', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545477', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545476', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545474', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545472', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545469', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545466', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545453', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545451', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545449', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545447', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545425', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545403', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545401', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545397', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545395', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545390', None, None, None, None, None, '4046779') ('4255', None, None, None, None, None, None, None, '4046779') ('4255', '27473895', '1387545388', None, None, None, None, None, '4046779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 time used for this insertion : 0.017667293548583984 save_final save missing photos in datou_result : time spend for datou_step_exec : 67.28283596038818 time spend to save output : 0.017992734909057617 total time spend for step 9 : 67.30082869529724 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 28 set_done_treatment 7.46user 1.95system 1:32.07elapsed 10%CPU (0avgtext+0avgdata 200460maxresident)k 2056inputs+67176outputs (13major+126522minor)pagefaults 0swaps