python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -C 3757397' -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 : 462033 load datou : 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 ! 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 : step 0 init_dummy_multi_datou is not linked in the step_by_step architecture ! WARNING : step 1294 init_dummy_multi_datou is not linked in the step_by_step architecture ! 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 ! 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 : (photo_id, hashtag_id, score_max) was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo 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 : 2443>1000 please execute split_portfolio.py -i 27016134 -l 1000 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4323, datou_cur_ids : ['3757397'] with mtr_portfolio_ids : ['27016134'] and first list_photo_ids : [] new path : /proc/462033/ 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 : 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 : 0.041677236557006836 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Sep 22 12:03:17 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 split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on ERROR in datou_step_exec, will save and exit ! Expecting property name enclosed in double quotes: line 1 column 136 (char 135) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2332, 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 2516, in datou_step_exec return lib_process.datou_step_split_time_score(param, json_param, args, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_process.py", line 2251, in datou_step_split_time_score gbs.append(GlobalRunInfo(context, camera_place_name[0][0])) File "/home/admin/workarea/git/Velours/python/mtr/math_fotonower/timeseries/class_split_time_score.py", line 87, in __init__ self.place_id, _, _ = context.DQ.get_place_id(camera_place_name) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 1922, in get_place_id misc_info = json.loads(misc_info_str) if misc_info_str != "" else {} File "/usr/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) [1385186849, 1385186847, 1385186284, 1385186281, 1385186279, 1385186232, 1385186229, 1385186228, 1385185741, 1385185722, 1385185718, 1385185715, 1385185711, 1385185709, 1385185551, 1385184903, 1385184880, 1385184878, 1385184876, 1385184873, 1385184870, 1385184809, 1385184807, 1385184711, 1385184708, 1385184705, 1385184701, 1385184057, 1385183975, 1385183872, 1385183781, 1385183702, 1385183618, 1385183446, 1385183445, 1385183414, 1385183382, 1385183372, 1385183369, 1385183365, 1385183191, 1385183189, 1385183188, 1385182836, 1385182832, 1385182828, 1385182825, 1385182823, 1385182820, 1385182453, 1385182417, 1385182385, 1385182355, 1385182326, 1385182295, 1385182221, 1385182184, 1385182122, 1385182060, 1385181789, 1385181786, 1385181783, 1385181779, 1385181778, 1385181774, 1385181773, 1385181771, 1385181769, 1385181747, 1385181744, 1385181718, 1385181714, 1385181713, 1385181712, 1385181707, 1385181704, 1385181677, 1385181674, 1385181673, 1385181670, 1385181669, 1385181665, 1385181661, 1385181660, 1385181659, 1385181657, 1385181655, 1385181630, 1385181617, 1385181615, 1385181613, 1385181605, 1385181601, 1385181598, 1385181590, 1385181587, 1385181586, 1385181584, 1385181582, 1385181579] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.05515646934509277 save_final ERROR in last step split_time_score, Expecting property name enclosed in double quotes: line 1 column 136 (char 135) time spend for datou_step_exec : 0.02716827392578125 time spend to save output : 0.058979034423828125 total time spend for step 0 : 0.08614730834960938 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.02user 0.88system 0:03.16elapsed 60%CPU (0avgtext+0avgdata 100700maxresident)k 0inputs+16outputs (1major+48777minor)pagefaults 0swaps