python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -a 4935 -P 22476853 ' -s traitement_sts -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 2147091 load datou : 4935 # 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! 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 : 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 updating current state to 1 we have a portfolio with more photos than limit : 1465>1000 please execute split_portfolio.py -i 22476853 -l 1000 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4935, datou_cur_ids : ['2768939'] with mtr_portfolio_ids : ['22476853'] and first list_photo_ids : [] new path : /proc/2147091/ 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : merge_dashboard over limit max, limiting to limit_max 100 list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB time to download the photos : 0.025865554809570312 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:merge_dashboard Tue Apr 29 13:10:11 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 ERROR in datou_step_exec, will save and exit ! name 'cod' is not defined File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2329, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2625, in datou_step_exec return post_process.datou_step_merge_dashboard(param, json_param, args, context, map_info, File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_post_processing.py", line 38, in datou_step_merge_dashboard list_portfolios = args if not cod else list(map_info["map_portfolio_photo"].keys()) [1354239068, 1354236302, 1354232022, 1354227482, 1354220373, 1354216070, 1354207986, 1354202469, 1354198392, 1354194233, 1354182735, 1354181743, 1354181009, 1354180922, 1354180918, 1354180913, 1354180862, 1354180859, 1354180855, 1354180852, 1354180849, 1354180831, 1354180510, 1354180468, 1354180439, 1354180309, 1354180297, 1354180248, 1354180241, 1354180216, 1354180213, 1354180210, 1354180207, 1354180181, 1354180178, 1354180175, 1354180171, 1354180168, 1354180164, 1354180109, 1354180104, 1354180096, 1354180066, 1354179977, 1354179970, 1354179966, 1354179963, 1354179959, 1354179957, 1354179924, 1354179921, 1354179917, 1354179913, 1354179878, 1354179877, 1354179874, 1354179871, 1354179868, 1354179866, 1354179823, 1354179820, 1354179818, 1354179814, 1354179783, 1354179781, 1354179764, 1354179751, 1354179718, 1354179700, 1354179521, 1354179491, 1354179462, 1354179313, 1354179310, 1354179305, 1354179302, 1354179298, 1354179271, 1354179268, 1354179266, 1354179263, 1354179260, 1354179257, 1354179209, 1354179206, 1354179204, 1354179200, 1354179187, 1354179106, 1354179078, 1354179051, 1354179029, 1354179027, 1354179022, 1354178889, 1354178730, 1354178690, 1354178647, 1354178492, 1354178480] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.03756380081176758 save_final ERROR in last step merge_dashboard, name 'cod' is not defined time spend for datou_step_exec : 0.006979703903198242 time spend to save output : 0.041010141372680664 total time spend for step 0 : 0.047989845275878906 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.06user 1.01system 0:03.48elapsed 59%CPU (0avgtext+0avgdata 100656maxresident)k 568inputs+8outputs (4major+48956minor)pagefaults 0swaps