python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4311 ' -s datou_current_4220 -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 : 1430903 load datou : 4311 # 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 ! 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 11939 matching_dashboard is not consistent : 1 used against 0 in the step definition ! Step 11940 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 ! WARNING : type of output 0 of step 11939 doesn't seem to be define in the database( WARNING : type of input 2 of step 11940 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 : None 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 ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 7600>1000 please execute split_portfolio.py -i 22282843 -l 1000 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4311, datou_cur_ids : ['2772963'] with mtr_portfolio_ids : ['22282843'] and first list_photo_ids : [] new path : /proc/1430903/ 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 ! 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 11939 matching_dashboard is not consistent : 1 used against 0 in the step definition ! Step 11940 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 ! WARNING : type of output 0 of step 11939 doesn't seem to be define in the database( WARNING : type of input 2 of step 11940 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : matching_dashboard, split_time_score 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 : 4.366920709609985 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 2 step1:matching_dashboard Wed Apr 30 08:42:53 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 begin datou step matching dashboard 2022-04-13 10:29:59 0 todo a Catched exception ! Connect or reconnect ! ERROR in datou_step_exec, will save and exit ! (1213, 'Deadlock found when trying to get lock; try restarting transaction') 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 2485, in datou_step_exec return datou_step_match_dashboard(param, json_param, args, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_sort.py", line 113, in datou_step_match_dashboard context.DQ.save_matching_info( list_values_to_insert, verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 1607, in save_matching_info return self.gq.insert_many(query, list_values) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 157, in insert_many cursor.executemany(query, args[:limit]) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 235, in executemany return self._do_execute_many(q_prefix, q_values, q_postfix, args, File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 264, in _do_execute_many rows += self.execute(sql + postfix) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) [1354562104, 1354562103, 1354562101, 1354562100, 1354562050, 1354562041, 1354562037, 1354562027, 1354562024, 1354562021, 1354562005, 1354562002, 1354561999, 1354561996, 1354561995, 1354561994, 1354561968, 1354561945, 1354561919, 1354561896, 1354561895, 1354561894, 1354561810, 1354561809, 1354561807, 1354561761, 1354561687, 1354561622, 1354561268, 1354561259, 1354561257, 1354561255, 1354561253, 1354561252, 1354560922, 1354560848, 1354560808, 1354560804, 1354560799, 1354560796, 1354560774, 1354560772, 1354560771, 1354560766, 1354560764, 1354560762, 1354560745, 1354560743, 1354560741, 1354560739, 1354560736, 1354560733, 1354560707, 1354560695, 1354560692, 1354560683, 1354560671, 1354560666, 1354560613, 1354560611, 1354560609, 1354560598, 1354560596, 1354560572, 1354560491, 1354560463, 1354560433, 1354560405, 1354560377, 1354560351, 1354560084, 1354560056, 1354560027, 1354560001, 1354559975, 1354559946, 1354559782, 1354559781, 1354559778, 1354559775, 1354559768, 1354559755, 1354559714, 1354559712, 1354559700, 1354559628, 1354559617, 1354559589, 1354559552, 1354559545, 1354559543, 1354559541, 1354559525, 1354559511, 1354559408, 1354559405, 1354559403, 1354559401, 1354559400, 1354559399] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.5703306198120117 save_final ERROR in last step matching_dashboard, (1213, 'Deadlock found when trying to get lock; try restarting transaction') time spend for datou_step_exec : 7.402209043502808 time spend to save output : 0.5794937610626221 total time spend for step 0 : 7.98170280456543 need to delete datou_research and reload, so keep current state 1 caffe_path_current : About to save ! 2 After save, about to update current ! 1.27user 0.89system 0:17.04elapsed 12%CPU (0avgtext+0avgdata 112864maxresident)k 632inputs+32outputs (11major+51817minor)pagefaults 0swaps