python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4935' -s datou_current_4935 -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 : 3903361 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 TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2799>1000 please execute split_portfolio.py -i 25001616 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4935, datou_cur_ids : ['3300037'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/3903361/ 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.030518531799316406 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:merge_dashboard Thu Jul 17 08:26:29 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 2022-04-13 10:29:59 0 TODO : Insert select and so on TODO : Insert select and so on TODO : Insert select and so on ERROR in datou_step_exec, will save and exit ! 'int' object has no attribute 'strftime' 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 54, in datou_step_merge_dashboard new_run_id = gbs_output.set_run_id(context, gbs_ref.date.strftime('%Y-%m-%d'), mtr_portfolio_id, mtr_user_id = mtr_user_id) [1372352515, 1372352512, 1372352511, 1372352509, 1372352507, 1372352506, 1372352480, 1372352478, 1372352475, 1372352472, 1372352470, 1372352466, 1372352439, 1372352437, 1372352436, 1372352433, 1372352431, 1372352429, 1372352399, 1372352397, 1372352395, 1372352393, 1372352392, 1372352390, 1372352363, 1372352361, 1372352359, 1372352357, 1372352354, 1372352351, 1372352316, 1372352314, 1372352311, 1372352308, 1372352305, 1372352303, 1372352278, 1372352276, 1372352274, 1372352272, 1372352270, 1372352267, 1372352239, 1372352235, 1372352234, 1372352229, 1372352225, 1372352223, 1372352193, 1372352191, 1372352190, 1372352188, 1372352185, 1372352183, 1372352152, 1372352150, 1372352148, 1372352146, 1372352145, 1372352143, 1372352114, 1372352109, 1372352105, 1372352103, 1372352100, 1372352098, 1372352079, 1372352077, 1372352074, 1372352072, 1372352070, 1372352068, 1372352048, 1372352046, 1372352043, 1372352041, 1372352039, 1372352038, 1372352007, 1372352004, 1372352002, 1372352000, 1372351998, 1372351995, 1372351968, 1372351965, 1372351960, 1372351954, 1372351950, 1372351948, 1372351926, 1372351923, 1372351921, 1372351918, 1372351915, 1372351913, 1372351885, 1372351883, 1372351882, 1372351880] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.09641575813293457 save_final ERROR in last step merge_dashboard, 'int' object has no attribute 'strftime' time spend for datou_step_exec : 0.04277324676513672 time spend to save output : 0.10063433647155762 total time spend for step 0 : 0.14340758323669434 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.05user 0.54system 0:03.97elapsed 40%CPU (0avgtext+0avgdata 100180maxresident)k 3800inputs+16outputs (67major+48580minor)pagefaults 0swaps