python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -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 : 3515293 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) 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 ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Date 2026-09-07 20:00:29.708377 Current got : datou_id : 3318, datou_cur_ids : ['4386860'] with mtr_portfolio_ids : ['31135780'] and first list_photo_ids : [] new path : /proc/3515293/ 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 ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BHTTP Error 401: Unauthorized can't download the photo : 1387401113 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401113_431410108107072f904c331a0a60ada2.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387401107 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401107_3dd0f64ee99b3196043ad4d436f94d36.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387401094 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401094_accf1a9fe6f1018efd852ce7f5c745e5.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387401086 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401086_6859ae56be4c6df92192fef7ac5455f0.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387401070 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401070_2d7e0cf7ae492b5b922710d62576445e.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387401028 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401028_f28889e7384d780df2614a4601ea998b.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387401019 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387401019_94e555cd1a45630a67c453dbd59f555c.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400988 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400988_39e388a544d56fb9b5ba6815aa72f455.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400949 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400949_eda569a2fb678ad7192884075756d1aa.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400876 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400876_524c21a6223825c1dba5e57963d195b2.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400873 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400873_cecd24c5e027107e24e7f4b5657236f8.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400731 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400731_40b77d5682afff6e41e8dba59c3ccbe1.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400729 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400729_f7fe9bd027b7a0177e4cf718bfbdaebf.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400612 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400612_5cd95cebf813ea4136128085d09c4664.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400440 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400440_a0d7193af4416389887e855035dbbcbb.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400437 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400437_7321d225d3803518097a7572ee25e5ad.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400433 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400433_5545fcd29c97a65d8bc88937338bbe6a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400416 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400416_b1a9517cf797b475d75ebbcb83ef5669.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400395 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400395_c5d205770a882da4ac10f63cf67dcccd.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400366 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400366_6bf9ec00e76c7a0ba334c139d0fcbfcf.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400360 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400360_c4b95c3895b449f6f9840835e58237d3.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400350 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400350_ae1a6d8f91014ab94b77433bbd41fb39.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400341 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400341_aef0838352ec05821317bdcdb33d49d4.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400294 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400294_f7f036989e48619b9fff0e0230ec5082.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400291 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400291_5d405b3ee1acd2c05b651b037c45089c.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400288 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400288_2944aab4c296903ac6384decc0cb6666.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400286 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400286_1ec0071848b832802d384718ea634ae1.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400283 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400283_5435a64b5f1ff6a2f0311a5eb9b3d095.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387400279 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387400279_a0e5cad0e942fdf6dad9182da63b8d6e.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387399761 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387399761_6fc4de5a8e599c4e1014227d6cf53b66.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387399754 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387399754_b08f4375745a18f28cbef3aeb6281453.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1387399750 complete_path : /home/admin/workarea/git/Velours/python/temp/1788804029_3515293_1387399750_b237419207f0641fa576c60143af5a4b.jpg Fall photo missing in this thread we have missing 32 photos in the step downloads : photo missing : [1387401113, 1387401107, 1387401094, 1387401086, 1387401070, 1387401028, 1387401019, 1387400988, 1387400949, 1387400876, 1387400873, 1387400731, 1387400729, 1387400612, 1387400440, 1387400437, 1387400433, 1387400416, 1387400395, 1387400366, 1387400360, 1387400350, 1387400341, 1387400294, 1387400291, 1387400288, 1387400286, 1387400283, 1387400279, 1387399761, 1387399754, 1387399750] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401113 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401107 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401094 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401086 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401070 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401028 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387401019 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400988 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400949 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400876 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400873 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400731 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400729 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400612 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400440 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400437 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400433 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400416 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400395 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400366 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400360 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400350 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400341 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400294 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400291 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400288 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400286 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400283 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387400279 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387399761 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387399754 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1387399750 length of list_filenames : 0 ; length of list_pids : 0 ; length of list_args : 0 time to download the photos : 5.280418157577515 About to test input to load empty input or other problem ret : 2 len(total_photo_id_missing) : 32 1.67user 1.07system 0:08.49elapsed 32%CPU (0avgtext+0avgdata 114588maxresident)k 0inputs+56outputs (9major+57803minor)pagefaults 0swaps