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 : 3296987 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-04-29 15:20:26.550186 Current got : datou_id : 3318, datou_cur_ids : ['4378628'] with mtr_portfolio_ids : ['31043461'] and first list_photo_ids : [] new path : /proc/3296987/ 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 : 1381424763 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424763_5e911a6bbe97b3d57deccd7dacffc1e2.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424552 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424552_ee681f8b08a3462aae473531a51d848a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424525 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424525_9ed43044e527bd4cd00ae28beb4f6c17.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424508 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424508_49a88ef53318d90a773ffb3f8fb875e6.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424484 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424484_8bf5e2b79297d85c5615540dd2194969.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424456 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424456_66be325583458d8094e17960802bdd1a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424388 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424388_8af2326696c88870ad5390e88f04fd34.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424386 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424386_d93ba9f66767ae5031d31a61af6ee65d.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424385 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424385_0625481aba26b727f570145fea768190.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424377 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424377_92b7bd5a4289a6ec79a04acade4f3409.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424373 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424373_075f41a16d830eab6d200984614340f4.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424372 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424372_bbf8413337628aa489812908270c7626.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424360 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424360_71efca25521bde52cee46d82857e9f03.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424359 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424359_461cbbbdca6b58432be79c0933d6949a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424352 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424352_9452a14d1481241af6634c1fba05342a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424350 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424350_96d1d49f16add77e592e172abc22b0b1.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424348 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424348_74535880c93553598d2dcc03a7b8d006.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424345 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424345_fe83a7f5003051cb6f4c7ebf441d0c1a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424318 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424318_b03401d1f88f4734f207a7794bbb54cc.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424316 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424316_a7f06dcf1315281b603947dc977ce216.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424308 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424308_4ffc388b6f1adc5801709b1d5e34383a.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424305 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424305_4c871bc07d100e96f659c13c50d67349.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424302 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424302_2a312bbfd57d11000569b78c791438eb.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424300 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424300_0501e0f155501aff358d54449c56f909.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424274 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424274_0b1ce1d4d87d600685d79b5ea2f3ce26.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424273 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424273_3299dbb4983a9d7fb87a6f21d02df83e.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424272 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424272_01aea8941de8e049e549066a63a8844c.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424271 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424271_316bde1c85f9363d76b204f48b19e267.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424270 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424270_0b85301a8ae4881ed557ce4595105fb9.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424262 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424262_ce7d97e3e4ac49750313c8924b9b49e4.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424145 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424145_37e1d7721487bade1a7af40b2c9ad051.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424139 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424139_fedf3b6398c6d8f5d9f4569bc0ec777c.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424137 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424137_d227e468796cb26f701192460c54476d.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424122 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424122_ab0ab580ddae023b5c9a54adc7221250.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424120 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424120_ba36c587d7d4a799adfa53fcce4175e5.jpg FBHTTP Error 401: Unauthorized can't download the photo : 1381424115 complete_path : /home/admin/workarea/git/Velours/python/temp/1777468826_3296987_1381424115_bf68ba0d3b015d1f42b9e56b0a457f9d.jpg Fall photo missing in this thread we have missing 36 photos in the step downloads : photo missing : [1381424763, 1381424552, 1381424525, 1381424508, 1381424484, 1381424456, 1381424388, 1381424386, 1381424385, 1381424377, 1381424373, 1381424372, 1381424360, 1381424359, 1381424352, 1381424350, 1381424348, 1381424345, 1381424318, 1381424316, 1381424308, 1381424305, 1381424302, 1381424300, 1381424274, 1381424273, 1381424272, 1381424271, 1381424270, 1381424262, 1381424145, 1381424139, 1381424137, 1381424122, 1381424120, 1381424115] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424763 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424552 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424525 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424508 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424484 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424456 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424388 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424386 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424385 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424377 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424373 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424372 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424360 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424359 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424352 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424350 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424348 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424345 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424318 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424316 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424308 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424305 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424302 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424300 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424274 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424273 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424272 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424271 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424270 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424262 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424145 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424139 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424137 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424122 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424120 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1381424115 length of list_filenames : 0 ; length of list_pids : 0 ; length of list_args : 0 time to download the photos : 21.656458377838135 About to test input to load empty input or other problem ret : 2 len(total_photo_id_missing) : 36 1.40user 0.84system 0:23.81elapsed 9%CPU (0avgtext+0avgdata 107836maxresident)k 0inputs+64outputs (0major+52037minor)pagefaults 0swaps