python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4898 ' -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 : 2189616 load datou : 4898 # 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 13657 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13658 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13655 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 13655 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13662 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13656 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 13659 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13660 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13661 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 13663 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 13657 have datatype=11 whereas input 0 of step 13655 have datatype=2 WARNING : type of output 1 of step 13658 doesn't seem to be define in the database( WARNING : type of input 3 of step 13656 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 13658 doesn't seem to be define in the database( WARNING : type of input 1 of step 13655 doesn't seem to be define in the database( WARNING : output 0 of step 13662 have datatype=10 whereas input 3 of step 13661 have datatype=6 WARNING : type of input 1 of step 13662 doesn't seem to be define in the database( WARNING : output 1 of step 13655 have datatype=7 whereas input 1 of step 13662 have datatype=None WARNING : type of output 1 of step 13662 doesn't seem to be define in the database( WARNING : type of input 4 of step 13656 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13657 doesn't seem to be define in the database( WARNING : type of input 1 of step 13658 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 : 4898, datou_cur_ids : ['3805054'] with mtr_portfolio_ids : ['25286606'] and first list_photo_ids : [] new path : /proc/2189616/ 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 13657 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13658 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13655 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 13655 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13662 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13656 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 13659 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13660 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13661 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 13663 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 13657 have datatype=11 whereas input 0 of step 13655 have datatype=2 WARNING : type of output 1 of step 13658 doesn't seem to be define in the database( WARNING : type of input 3 of step 13656 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 13658 doesn't seem to be define in the database( WARNING : type of input 1 of step 13655 doesn't seem to be define in the database( WARNING : output 0 of step 13662 have datatype=10 whereas input 3 of step 13661 have datatype=6 WARNING : type of input 1 of step 13662 doesn't seem to be define in the database( WARNING : output 1 of step 13655 have datatype=7 whereas input 1 of step 13662 have datatype=None WARNING : type of output 1 of step 13662 doesn't seem to be define in the database( WARNING : type of input 4 of step 13656 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13657 doesn't seem to be define in the database( WARNING : type of input 1 of step 13658 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 4.067664384841919 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 Wed Oct 1 10:00:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 17 chid ids of type : 3594 batch 1 Loaded 616 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++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 [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] Looping around the photos to save general results len do output : 17 /1373558962Didn't retrieve data . /1373558993Didn't retrieve data . /1373558997Didn't retrieve data . /1373559002Didn't retrieve data . /1373559009Didn't retrieve data . /1373559039Didn't retrieve data . /1373559049Didn't retrieve data . /1373559091Didn't retrieve data . /1373559107Didn't retrieve data . /1373559109Didn't retrieve data . /1373559120Didn't retrieve data . /1373559130Didn't retrieve data . /1373559143Didn't retrieve data . /1373559157Didn't retrieve data . /1373559170Didn't retrieve data . /1373559175Didn't retrieve data . /1373559179Didn'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 ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559179', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559175', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559170', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559157', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559143', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559130', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559120', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559109', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559107', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559091', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559049', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559039', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559009', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559002', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558997', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558993', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558962', None, None, None, None, None, '3805054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 time used for this insertion : 0.03899812698364258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.30948352813720703 time spend to save output : 0.03968954086303711 total time spend for step 1 : 0.34917306900024414 step2:consolidate_hashtags_from_manual_portfolio Wed Oct 1 10:00:34 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 : 25286606 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`=25286606 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','autre','pehd','pet_fonce','environnement','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25286606 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','autre','pehd','pet_fonce','environnement','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25290106 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 74 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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=25290107 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=25290108 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=25290109 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 616 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 : Catched exception ! Connect or reconnect ! 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=25290110 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 593 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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=25290111 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 257 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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=25290112 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 616 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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=25290113 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=25290114 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 57 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++ begin to find the sub_photo_id : begin to find the sub_photo_id : Catched exception ! Connect or reconnect ! (1213, 'Deadlock found when trying to get lock; try restarting transaction') 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=25290115 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=25290116 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 [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] 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 : 17 time used for this insertion : 0.03723287582397461 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.857249736785889 time spend to save output : 0.037522315979003906 total time spend for step 2 : 15.894772052764893 step3:rle_unique_nms_with_priority Wed Oct 1 10:00:50 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 556 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 3594 ++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14325690269470215 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14719605445861816 seulement à utiliser dans la step consolidation batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1549701690673828 seulement à utiliser dans la step consolidation batch 1 Loaded 39 chid ids of type : 3594 ++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.15232157707214355 seulement à utiliser dans la step consolidation batch 1 Loaded 33 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14939260482788086 seulement à utiliser dans la step consolidation batch 1 Loaded 31 chid ids of type : 3594 ++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14514684677124023 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14328789710998535 seulement à utiliser dans la step consolidation batch 1 Loaded 69 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14864158630371094 seulement à utiliser dans la step consolidation batch 1 Loaded 31 chid ids of type : 3594 ++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14146852493286133 seulement à utiliser dans la step consolidation batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1440293788909912 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3594 ++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14240646362304688 seulement à utiliser dans la step consolidation batch 1 Loaded 33 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14581584930419922 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3594 ++++++++++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.15049982070922852 seulement à utiliser dans la step consolidation batch 1 Loaded 37 chid ids of type : 3594 +++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14177560806274414 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1445918083190918 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14290690422058105 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.16360068321228027 map_output_result : {1373559179: (0.0, 'Should be the crop_list due to order', 0), 1373559175: (0.0, 'Should be the crop_list due to order', 0), 1373559170: (0.0, 'Should be the crop_list due to order', 0), 1373559157: (0.0, 'Should be the crop_list due to order', 0), 1373559143: (0.0, 'Should be the crop_list due to order', 0), 1373559130: (0.0, 'Should be the crop_list due to order', 0), 1373559120: (0.0, 'Should be the crop_list due to order', 0), 1373559109: (0.0, 'Should be the crop_list due to order', 0), 1373559107: (0.0, 'Should be the crop_list due to order', 0), 1373559091: (0.0, 'Should be the crop_list due to order', 0), 1373559049: (0.0, 'Should be the crop_list due to order', 0), 1373559039: (0.0, 'Should be the crop_list due to order', 0), 1373559009: (0.0, 'Should be the crop_list due to order', 0), 1373559002: (0.0, 'Should be the crop_list due to order', 0), 1373558997: (0.0, 'Should be the crop_list due to order', 0), 1373558993: (0.0, 'Should be the crop_list due to order', 0), 1373558962: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] Looping around the photos to save general results len do output : 17 /1373559179.Didn't retrieve data . /1373559175.Didn't retrieve data . /1373559170.Didn't retrieve data . /1373559157.Didn't retrieve data . /1373559143.Didn't retrieve data . /1373559130.Didn't retrieve data . /1373559120.Didn't retrieve data . /1373559109.Didn't retrieve data . /1373559107.Didn't retrieve data . /1373559091.Didn't retrieve data . /1373559049.Didn't retrieve data . /1373559039.Didn't retrieve data . /1373559009.Didn't retrieve data . /1373559002.Didn't retrieve data . /1373558997.Didn't retrieve data . /1373558993.Didn't retrieve data . /1373558962.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 ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559179', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559175', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559170', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559157', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559143', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559130', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559120', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559109', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559107', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559091', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559049', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559039', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559009', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559002', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558997', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558993', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558962', None, None, None, None, None, '3805054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.036905765533447266 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.832083702087402 time spend to save output : 0.03747391700744629 total time spend for step 3 : 4.869557619094849 step4:ventilate_hashtags_in_portfolio Wed Oct 1 10:00:55 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 : 25286606 get user id for portfolio 25286606 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`=25286606 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','autre','pehd','pet_fonce','environnement','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25286606 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','autre','pehd','pet_fonce','environnement','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25290106,25290107,25290108,25290109,25290110,25290111,25290112,25290113,25290114,25290116?tags=pet_fonce,autre,metal,papier,mal_croppe,environnement,carton,pehd,pet_clair,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] Looping around the photos to save general results len do output : 1 /25286606. 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 ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559179', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559175', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559170', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559157', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559143', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559130', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559120', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559109', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559107', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559091', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559049', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559039', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559009', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559002', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558997', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558993', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558962', None, None, None, None, None, '3805054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03939533233642578 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.8848395347595215 time spend to save output : 0.039797067642211914 total time spend for step 4 : 2.9246366024017334 step5:final Wed Oct 1 10:00:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1373559179: ('0.11010059232026151',), 1373559175: ('0.11010059232026151',), 1373559170: ('0.11010059232026151',), 1373559157: ('0.11010059232026151',), 1373559143: ('0.11010059232026151',), 1373559130: ('0.11010059232026151',), 1373559120: ('0.11010059232026151',), 1373559109: ('0.11010059232026151',), 1373559107: ('0.11010059232026151',), 1373559091: ('0.11010059232026151',), 1373559049: ('0.11010059232026151',), 1373559039: ('0.11010059232026151',), 1373559009: ('0.11010059232026151',), 1373559002: ('0.11010059232026151',), 1373558997: ('0.11010059232026151',), 1373558993: ('0.11010059232026151',), 1373558962: ('0.11010059232026151',)} new output for save of step final : {1373559179: ('0.11010059232026151',), 1373559175: ('0.11010059232026151',), 1373559170: ('0.11010059232026151',), 1373559157: ('0.11010059232026151',), 1373559143: ('0.11010059232026151',), 1373559130: ('0.11010059232026151',), 1373559120: ('0.11010059232026151',), 1373559109: ('0.11010059232026151',), 1373559107: ('0.11010059232026151',), 1373559091: ('0.11010059232026151',), 1373559049: ('0.11010059232026151',), 1373559039: ('0.11010059232026151',), 1373559009: ('0.11010059232026151',), 1373559002: ('0.11010059232026151',), 1373558997: ('0.11010059232026151',), 1373558993: ('0.11010059232026151',), 1373558962: ('0.11010059232026151',)} [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] Looping around the photos to save general results len do output : 17 /1373559179.Didn't retrieve data . /1373559175.Didn't retrieve data . /1373559170.Didn't retrieve data . /1373559157.Didn't retrieve data . /1373559143.Didn't retrieve data . /1373559130.Didn't retrieve data . /1373559120.Didn't retrieve data . /1373559109.Didn't retrieve data . /1373559107.Didn't retrieve data . /1373559091.Didn't retrieve data . /1373559049.Didn't retrieve data . /1373559039.Didn't retrieve data . /1373559009.Didn't retrieve data . /1373559002.Didn't retrieve data . /1373558997.Didn't retrieve data . /1373558993.Didn't retrieve data . /1373558962.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 ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559179', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559175', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559170', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559157', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559143', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559130', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559120', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559109', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559107', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559091', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559049', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559039', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559009', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559002', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558997', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558993', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558962', None, None, None, None, None, '3805054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.041396141052246094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10849595069885254 time spend to save output : 0.04223966598510742 total time spend for step 5 : 0.15073561668395996 step6:blur_detection Wed Oct 1 10:00:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 17 time used for this insertion : 0.033972740173339844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.035797834396362305 save missing photos in datou_result : time spend for datou_step_exec : 0.08998823165893555 time spend to save output : 0.08740353584289551 total time spend for step 6 : 0.17739176750183105 step7:brightness Wed Oct 1 10:00:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 17 time used for this insertion : 0.034497976303100586 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.03486919403076172 save missing photos in datou_result : time spend for datou_step_exec : 0.1062321662902832 time spend to save output : 0.08684206008911133 total time spend for step 7 : 0.19307422637939453 step8:send_mail_cod Wed Oct 1 10:00:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P25286606_01-10-2025_10_00_58.pdf 25290106 change filename to text .change filename to text .imagette252901061759305658 25290107 imagette252901071759305658 25290108 imagette252901081759305658 25290109 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette252901091759305658 25290112 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette252901121759305661 25290113 imagette252901131759305663 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25286606 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25290106,25290107,25290108,25290109,25290110,25290111,25290112,25290113,25290114,25290116?tags=pet_fonce,autre,metal,papier,mal_croppe,environnement,carton,pehd,pet_clair,flou your option no_mail is active, we will not send the real mail to your client args[1373559179] : ((1373559179, -6.30475882657908, 492609224), (1373559179, -0.485243776436406, 501862349), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559175] : ((1373559175, -7.5918891515820155, 492609224), (1373559175, 0.7521165914197119, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559170] : ((1373559170, -7.677973481854447, 492609224), (1373559170, 1.2345527035195576, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559157] : ((1373559157, -7.261834656868244, 492609224), (1373559157, 0.5304599357319475, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559143] : ((1373559143, -7.556219196800413, 492609224), (1373559143, 0.6527948038098143, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559130] : ((1373559130, -7.61454092911627, 492609224), (1373559130, 0.9644706848932613, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559120] : ((1373559120, -7.46272065504745, 492609224), (1373559120, 0.8026064772019593, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559109] : ((1373559109, -7.680766201926995, 492609224), (1373559109, 0.9056922571571413, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559107] : ((1373559107, -7.514313089527343, 492609224), (1373559107, 0.92192680041056, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559091] : ((1373559091, -7.577137409787834, 492609224), (1373559091, 0.8716755078994167, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559049] : ((1373559049, -7.706655163676234, 492609224), (1373559049, 0.8491714276858033, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559039] : ((1373559039, -7.02853534720732, 492609224), (1373559039, 0.23652342081485034, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559009] : ((1373559009, -7.704309014003159, 492609224), (1373559009, 0.9012066734147863, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373559002] : ((1373559002, -7.151165397000064, 492609224), (1373559002, 0.4112007365974812, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373558997] : ((1373558997, -7.244907460124888, 492609224), (1373558997, 1.2151486536067226, 2107752395), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373558993] : ((1373558993, -6.017512507451594, 492609224), (1373558993, -0.15113077754360915, 496442774), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com args[1373558962] : ((1373558962, -6.015596875584744, 492609224), (1373558962, -0.41616378753721917, 496442774), '0.11010059232026151') We are sending mail with results at kexin@fotonower.com refus_total : 0.11010059232026151 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=25286606 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_P25286606_01-10-2025_10_00_58.pdf results_COD_P25286606_01-10-2025_10_00_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25286606_01-10-2025_10_00_58.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4898','25286606','results_COD_P25286606_01-10-2025_10_00_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25286606_01-10-2025_10_00_58.pdf','pdf','','0.8','0.11010059232026151') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] 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 ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559179', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559175', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559170', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559157', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559143', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559130', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559120', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559109', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559107', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559091', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559049', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559039', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559009', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559002', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558997', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558993', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558962', None, None, None, None, None, '3805054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.038825035095214844 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.101321458816528 time spend to save output : 0.039240121841430664 total time spend for step 8 : 9.140561580657959 step9:split_time_score Wed Oct 1 10:01:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('17', 17),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24072025 25286606 Nombre de photos uploadées : 17 / 23040 (0%) 24072025 25286606 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 24072025 25286606 Nombre de photos taguées (volume) : 0 / 17 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008580684661865234 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6641855239868164 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_P25257532_24-07-2025_07_47_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25257532 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25257532_24-07-2025_07_47_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25257532 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25257554_24-07-2025_07_23_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25257554 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25257558_24-07-2025_08_09_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25257558 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25259005_24-07-2025_07_51_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259005 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25259007_30-09-2025_17_03_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259007 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25259010_24-07-2025_07_44_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259010 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25259022_24-07-2025_07_35_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259022 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25259035_24-07-2025_08_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259035 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25259036_24-07-2025_09_57_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259036 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25259036_24-07-2025_09_57_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25259036 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25260471_24-07-2025_08_20_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25260471 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25260475_24-07-2025_10_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25260475 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25260475_24-07-2025_10_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25260475 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25260478_24-07-2025_08_19_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25260478 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25260480_24-07-2025_08_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25260480 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25263317_24-07-2025_11_36_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25263317 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25263320_24-07-2025_09_20_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25263320 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25263347_24-07-2025_09_21_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25263347 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25263349_24-07-2025_11_41_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25263349 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25263349_24-07-2025_11_41_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25263349 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25263351_24-07-2025_09_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25263351 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276721_24-07-2025_15_31_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276721 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25266813_24-07-2025_17_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25266813 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25266813_24-07-2025_17_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25266813 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25266815_24-07-2025_10_24_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25266815 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25266836_24-07-2025_10_16_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25266836 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25266839_24-07-2025_10_41_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25266839 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276723_24-07-2025_15_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276723 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276723_24-07-2025_15_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276723 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276724_24-07-2025_14_46_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276724 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274158_24-07-2025_13_26_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274158 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270676_24-07-2025_12_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270679_24-07-2025_14_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270679 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270679_24-07-2025_14_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270679 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270694_24-07-2025_12_21_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270694 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270709_24-07-2025_13_11_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270709 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270726_24-07-2025_13_18_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270726 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25270726_24-07-2025_13_18_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25270726 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25273144_24-07-2025_12_52_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25273144 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25273147_24-07-2025_13_10_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25273147 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25273150_24-07-2025_14_10_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25273150 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25273150_24-07-2025_14_10_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25273150 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274161_24-07-2025_13_21_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274161 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274163_24-07-2025_13_15_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274163 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274165_24-07-2025_13_11_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274165 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274167_24-07-2025_13_27_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274167 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274186_24-07-2025_14_47_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274186 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274186_24-07-2025_14_47_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274186 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25274188_24-07-2025_13_48_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25274188 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276725_24-07-2025_14_28_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276725 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276726_24-07-2025_15_13_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276726 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276727_24-07-2025_14_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276727 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276728_24-07-2025_14_09_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276728 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276728_24-07-2025_14_09_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276728 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25276729_24-07-2025_14_21_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25276729 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25302443_25-07-2025_01_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25302443 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25280262_24-07-2025_15_56_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25280262 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25280263_24-07-2025_15_59_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25280263 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25280264_24-07-2025_15_42_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25280264 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25280277_24-07-2025_15_37_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25280277 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25280277_24-07-2025_15_37_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25280277 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25280290_24-07-2025_15_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25280290 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281387_24-07-2025_16_12_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281387 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281389_24-07-2025_16_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281389 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281389_24-07-2025_16_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281389 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281391_24-07-2025_16_28_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281391 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281394_24-07-2025_16_30_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281394_24-07-2025_16_30_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25281395_24-07-2025_16_07_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25281395 order by id desc limit 1 Qualite : 0.004804001331198444 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25283498_13-08-2025_15_08_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283498 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`=25283498 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25283499_24-07-2025_17_24_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283499 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25283499_24-07-2025_17_24_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283499 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25283500_24-07-2025_17_22_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283500 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25283502_24-07-2025_17_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283502 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25283504_24-07-2025_17_12_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283504 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25283505_24-07-2025_17_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25283505 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25293974_24-07-2025_21_57_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25293974 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290433_24-07-2025_20_16_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290435_24-07-2025_20_26_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290435_24-07-2025_20_26_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25289265_24-07-2025_20_40_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25289265 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25286604_24-07-2025_18_50_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25286605_24-07-2025_18_59_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286605 order by id desc limit 1 Qualite : 0.11010059232026151 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25286606_01-10-2025_10_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286606 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 13657 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13658 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13655 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 13655 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13662 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13656 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 13659 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13660 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13661 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 13663 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 13657 have datatype=11 whereas input 0 of step 13655 have datatype=2 WARNING : type of output 1 of step 13658 doesn't seem to be define in the database( WARNING : type of input 3 of step 13656 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 13658 doesn't seem to be define in the database( WARNING : type of input 1 of step 13655 doesn't seem to be define in the database( WARNING : output 0 of step 13662 have datatype=10 whereas input 3 of step 13661 have datatype=6 WARNING : type of input 1 of step 13662 doesn't seem to be define in the database( WARNING : output 1 of step 13655 have datatype=7 whereas input 1 of step 13662 have datatype=None WARNING : type of output 1 of step 13662 doesn't seem to be define in the database( WARNING : type of input 4 of step 13656 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13657 doesn't seem to be define in the database( WARNING : type of input 1 of step 13658 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`=25286606 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25286607_24-07-2025_18_39_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286607 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25286608_24-07-2025_18_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286608 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25286609_24-07-2025_18_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286609 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25286609_24-07-2025_18_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25286609 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25289267_24-07-2025_19_58_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25289267 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25289269_24-07-2025_20_14_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25289269 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25289271_24-07-2025_19_49_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25289271 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25289271_24-07-2025_19_49_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25289271 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25289273_24-07-2025_19_49_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25289273 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290437_24-07-2025_20_34_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290437 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290440_24-07-2025_20_33_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290440 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290440_24-07-2025_20_33_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290440 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25290447_24-07-2025_20_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25290447 order by id desc limit 1 Qualite : 0.04004698155239316 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25292610_02-09-2025_14_12_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25292610 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 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`=25292610 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25292625_24-07-2025_21_53_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25292625 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25292638_24-07-2025_21_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25292638 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25292638_24-07-2025_21_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25292638 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25292639_24-07-2025_21_28_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25292639 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25293976_24-07-2025_21_42_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25293976 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25293978_24-07-2025_21_57_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25293978 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25293978_24-07-2025_21_57_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25293978 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25293992_24-07-2025_21_55_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25293992 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25294006_24-07-2025_21_48_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25294006 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25302444_25-07-2025_01_13_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25302444 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25302445_25-07-2025_03_35_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25302445 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25302445_25-07-2025_03_35_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25302445 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25302446_25-07-2025_01_20_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25302446 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25302447_25-07-2025_01_31_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25302447 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24072025': {'nb_upload': 17, '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 [1373559179, 1373559175, 1373559170, 1373559157, 1373559143, 1373559130, 1373559120, 1373559109, 1373559107, 1373559091, 1373559049, 1373559039, 1373559009, 1373559002, 1373558997, 1373558993, 1373558962] Looping around the photos to save general results len do output : 1 /25286606Didn'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 ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559179', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559175', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559170', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559157', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559143', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559130', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559120', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559109', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559107', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559091', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559049', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559039', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559009', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373559002', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558997', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558993', None, None, None, None, None, '3805054') ('4898', None, None, None, None, None, None, None, '3805054') ('4898', '25286606', '1373558962', None, None, None, None, None, '3805054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.037990570068359375 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.74150252342224 time spend to save output : 0.03836250305175781 total time spend for step 9 : 42.779865026474 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 5.84user 1.13system 1:24.37elapsed 8%CPU (0avgtext+0avgdata 173908maxresident)k 336inputs+69968outputs (1major+112646minor)pagefaults 0swaps