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 : 1764065 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-07-10 21:10:28.173416 Current got : datou_id : 3318, datou_cur_ids : ['4390902'] with mtr_portfolio_ids : ['31254413'] and first list_photo_ids : [] new path : /proc/1764065/ 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 : 1385717534 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717534_b48108e3513ed3f31d7871a84bdbe377.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717520 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717520_ba77423371658af0b15b0d45b27fbb46.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717500 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717500_5b0eb709c10b19eb8842c507cabbb0f3.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717492 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717492_b67612f77d7f52db37780fa585d99c81.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717487 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717487_e785ef8d59f7a34cc2bb688709177dba.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717456 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717456_8e698004d97aa7e5ead23cc023b768d1.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717431 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717431_3bddceea48d48d0444c12b203130ac5d.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717428 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717428_70fa2dec78fff3d5bbdbad527ec2eded.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717420 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717420_fe4294dd3d39b9f87c164dc474807f65.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717415 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717415_4b5442b50247a66aba94f12c88bbec63.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717413 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717413_099418174434a5785b3689fc82422cbb.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717391 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717391_0fb4fb7c40409e0fbfc5e1911b537a4b.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717380 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717380_422bc69b61e7df345d0128f59310751b.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717368 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717368_d7d331fdbc3c380570da38a3afcac2bc.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717362 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717362_8c7735c5d7cdf709c43a878c59b65142.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717359 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717359_d4a8c7561835b57cb5df5fb00d70e095.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717356 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717356_2016dccb5a38e7ee017de2b886314574.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717339 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717339_a418f0c5e95ab86044dba67d076d590e.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717337 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717337_c1e16e51a51249eb7d7876b82077eca9.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717315 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717315_234a9baf80cd500f8d3a230a65cf3173.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717313 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717313_611e294993ceeaf2c2fc76d658093d55.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717312 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717312_c47d1a468bcf672a39c6a03d8ee2e053.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717310 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717310_756e4711e8405b6e8859b3432dd35503.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717258 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717258_9d5124a247f3a3d8c851906596162f94.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717248 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717248_9f2278a2525ea19daba00bf7753df6aa.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717245 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717245_9016e2574b0f5d319651569c32927512.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717242 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717242_0401803635d48a8a7704dc9557bdf2d4.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717228 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717228_336771f9dc6ddb29c8a132267bd997e3.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717221 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717221_368c3f3eb9ebad959ec757b532ed69f0.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717219 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717219_e9c6c35f4b44ba306c762800987be1e2.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717218 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717218_ffad86857e33fc8f08e3c808128fab22.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717179 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717179_2694a6b3e6365804cb17f8e86579472b.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717173 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717173_d659fc2680bd27f593ce67186fbd25b9.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717169 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717169_5147a7cfecba950a293f7fefc9861ad2.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717165 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717165_4764d084028eeb598fcbb26c7afcc9d1.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717111 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717111_9b494d7e5178e50ccad3179cb52633bc.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1385717109 complete_path : /home/admin/workarea/git/Velours/python/temp/1783710628_1764065_1385717109_a755ddedc6c01baaaf6bad6d2c3a7bcd.jpg Fall photo missing in this thread we have missing 37 photos in the step downloads : photo missing : [1385717534, 1385717520, 1385717500, 1385717492, 1385717487, 1385717456, 1385717431, 1385717428, 1385717420, 1385717415, 1385717413, 1385717391, 1385717380, 1385717368, 1385717362, 1385717359, 1385717356, 1385717339, 1385717337, 1385717315, 1385717313, 1385717312, 1385717310, 1385717258, 1385717248, 1385717245, 1385717242, 1385717228, 1385717221, 1385717219, 1385717218, 1385717179, 1385717173, 1385717169, 1385717165, 1385717111, 1385717109] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717534 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717520 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717500 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717492 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717487 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717456 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717431 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717428 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717420 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717415 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717413 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717391 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717380 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717368 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717362 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717359 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717356 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717339 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717337 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717315 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717313 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717312 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717310 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717258 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717248 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717245 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717242 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717228 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717221 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717219 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717218 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717179 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717173 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717169 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717165 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717111 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1385717109 length of list_filenames : 0 ; length of list_pids : 0 ; length of list_args : 0 time to download the photos : 20.064594745635986 About to test input to load empty input or other problem ret : 2 len(total_photo_id_missing) : 37 1.34user 0.85system 0:23.52elapsed 9%CPU (0avgtext+0avgdata 114636maxresident)k 0inputs+64outputs (46major+57544minor)pagefaults 0swaps