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 3757396' -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 : 462370 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 : 1781>1000 please execute split_portfolio.py -i 27058689 -l 1000 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4323, datou_cur_ids : ['3757396'] with mtr_portfolio_ids : ['27058689'] and first list_photo_ids : [] new path : /proc/462370/ 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.03173184394836426 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:28 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) [1385295301, 1385292687, 1385292151, 1385288466, 1385285660, 1385285136, 1385282091, 1385279888, 1385277911, 1385277761, 1385274454, 1385274160, 1385273958, 1385273643, 1385270768, 1385270654, 1385270283, 1385270184, 1385270089, 1385270048, 1385266442, 1385266326, 1385266291, 1385266191, 1385265677, 1385265461, 1385265223, 1385264788, 1385262448, 1385261386, 1385261331, 1385261328, 1385260923, 1385260212, 1385260191, 1385260164, 1385260160, 1385260135, 1385260116, 1385260115, 1385260042, 1385260038, 1385259987, 1385259983, 1385259972, 1385259969, 1385259966, 1385259964, 1385259960, 1385259957, 1385259911, 1385259908, 1385259852, 1385259850, 1385259826, 1385259823, 1385259813, 1385259810, 1385259794, 1385259791, 1385259777, 1385259774, 1385259764, 1385259762, 1385259725, 1385259722, 1385259631, 1385259605, 1385259503, 1385259497, 1385259319, 1385259262, 1385259238, 1385258763, 1385258732, 1385258452, 1385258398, 1385258024, 1385257976, 1385257245, 1385257193, 1385256896, 1385256868, 1385256592, 1385256590, 1385256578, 1385256574, 1385256316, 1385256289, 1385256115, 1385256112, 1385256096, 1385256093, 1385256083, 1385256081, 1385256063, 1385256059, 1385256043, 1385256039, 1385256021] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.14584994316101074 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.024305343627929688 time spend to save output : 0.14957642555236816 total time spend for step 0 : 0.17388176918029785 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.01user 0.83system 0:03.45elapsed 53%CPU (0avgtext+0avgdata 101388maxresident)k 0inputs+8outputs (14major+48717minor)pagefaults 0swaps