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 : 3044721 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 Catched exception ! (1205, 'Lock wait timeout exceeded; try restarting transaction') Connect or reconnect ! updating current state to 1 list_input_json: {} Current got : datou_id : 4935, datou_cur_ids : ['3958948'] with mtr_portfolio_ids : ['27896765'] and first list_photo_ids : [] new path : /proc/3044721/ 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.07473230361938477 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:merge_dashboard Sat Oct 18 14:08:45 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 to do to do to do to do to do to do to do to do to do to do to do to do TODO : Insert select and so on Catched exception ! Connect or reconnect ! ERROR in datou_step_exec, will save and exit ! (1205, 'Lock wait timeout exceeded; try restarting transaction') File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, 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 2635, 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) File "/home/admin/workarea/git/Velours/python/mtr/math_fotonower/timeseries/class_split_time_score.py", line 94, in set_run_id self.dashboard_entry_day = context.DQ.insert_entry_day(self.place_id, day, mtr_portfolio_id, verbose , not_update_port_id) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 1981, in insert_entry_day res = self.insert_id_retrieve(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 172, in insert_id_retrieve cursor.execute(query, args) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 179, in execute res = self._query(mogrified_query) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 330, in _query db.query(q) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 280, in query _mysql.connection.query(self, query) [1389918338, 1389918182, 1389917970, 1389915941, 1389915939, 1389915900, 1389915843, 1389915842, 1389915833, 1389915825, 1389915722, 1389915714, 1389915702, 1389915694, 1389915644, 1389915643, 1389915626, 1389915624, 1389915611, 1389915609, 1389915576, 1389915569, 1389915568, 1389915555, 1389915548, 1389915532, 1389915519, 1389915504, 1389915470, 1389915465, 1389915426, 1389915408, 1389915373, 1389915354, 1389915321, 1389915318, 1389915316, 1389915313, 1389915312, 1389915302, 1389915301, 1389915251, 1389915218, 1389915170, 1389915167, 1389915146, 1389915120, 1389915077, 1389915069, 1389915063, 1389915003, 1389914965, 1389914936, 1389914932, 1389914904, 1389914870, 1389914571, 1389914404, 1389913925, 1389913761, 1389913715, 1389913103, 1389913015, 1389912158, 1389912140, 1389912070, 1389912065, 1389912061, 1389912057, 1389912047, 1389912044, 1389912008, 1389911966, 1389911963, 1389911924, 1389911782, 1389911740, 1389911672, 1389911669, 1389911620, 1389911618, 1389911616, 1389911613, 1389911601, 1389911598, 1389911595, 1389911558, 1389911533, 1389911531, 1389911502, 1389911467, 1389911466, 1389911464, 1389911459, 1389911444, 1389911433, 1389911431, 1389911429, 1389911426, 1389911398] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 129.67180466651917 save_final ERROR in last step merge_dashboard, (1205, 'Lock wait timeout exceeded; try restarting transaction') time spend for datou_step_exec : 101.6769335269928 time spend to save output : 129.81527519226074 total time spend for step 0 : 231.49220871925354 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.24user 0.61system 15:02.95elapsed 0%CPU (0avgtext+0avgdata 100636maxresident)k 29808inputs+48outputs (2858major+49348minor)pagefaults 0swaps