python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' --fifo -a 533 -l 100 ' -s datou_current_533 -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 : 3137192 load datou : 533 # 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 ! 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 : chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? (photo_id, hashtag_id, score_max) 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 no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 3604>100 please execute split_portfolio.py -i 26734748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 533, datou_cur_ids : ['3691863'] with mtr_portfolio_ids : ['26734748'] and first list_photo_ids : [] new path : /proc/3137192/ 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 ! 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 ! List Step Type Loaded in datou : tfhub_classification2, argmax list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BHTTP Error 402: Payment Required can't download the photo : 1383487563 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487563_b4823a014d41bdc1d811b84f3fc08880.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487562 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487562_908ebb684e1bf5e32161f4d9a8dda604.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487560 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487560_618c8a9e3904dfbcc03ac77e2fa9c324.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487558 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487558_6fa89c53f65bc7b6222b228b171d6477.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487556 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487556_856765a3cc55e2f21eb39af57556b410.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487552 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487552_26d03ecb4def8ee2bdb37611da458a70.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487470 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487470_21d69d848aa56c4943eadd06e5b4c893.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487466 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487466_d4f803b7fce67c7ad0c4c47ba39082d1.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487461 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487461_cee3f339d65c50d3399b0d165a8b6168.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487458 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487458_2aee6db28ab7057aff6045f35d9314fe.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487456 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487456_da1c7fb34a2ceface57e31b89da9c8d4.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487454 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487454_4975709dad67ab9c50c7e121a86e8a10.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487413 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487413_ee3d346dbbc5e2a6e35932f3c6a548e7.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487411 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487411_4f71dce8bb188202516c3186fff5202a.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487408 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487408_a0e8bbe38a4b55629667d9a3ebfd50e5.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487404 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487404_a5e7011c5c27353e02d30fae1f4ee521.jpg FBHTTP Error 402: Payment Required can't download the photo : 1383487400 complete_path : /home/admin/workarea/git/Velours/python/temp/1757686407_3137192_1383487400_e48f918d61cb4a2900a04cbb916ca88b.jpg Fwe have missing 17 photos in the step downloads : photo missing : [1383487563, 1383487562, 1383487560, 1383487558, 1383487556, 1383487552, 1383487470, 1383487466, 1383487461, 1383487458, 1383487456, 1383487454, 1383487413, 1383487411, 1383487408, 1383487404, 1383487400] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487563 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487562 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487560 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487558 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487556 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487552 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487470 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487466 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487461 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487458 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487456 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487454 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487413 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487411 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487408 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487404 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1383487400 length of list_filenames : 0 ; length of list_pids : 0 ; length of list_args : 0 time to download the photos : 6.181409120559692 About to test input to load empty input or other problem ret : 2 len(total_photo_id_missing) : 17 1.06user 0.93system 0:07.63elapsed 26%CPU (0avgtext+0avgdata 100096maxresident)k 48inputs+32outputs (14major+48442minor)pagefaults 0swaps