python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -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'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 916423 load datou : 4302 # 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 ! All sons are already in current list ! All sons are already in current list ! 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 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type seems boolean 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 wSELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587824) result : ((1346127205,), (1346127206,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587825 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587825) result : ((1346126411,), (1346126412,), (1346126413,), (1346126879,), (1346126881,), (1346127056,), (1346127057,), (1346127159,), (1346127161,), (1346127162,), (1346127163,), (1346127164,), (1346127165,), (1346127166,), (1346127167,), (1346127168,), (1346127169,), (1346127170,), (1346127172,), (1346127173,), (1346128172,), (1346128173,), (1346128483,), (1346128741,), (1346128742,), (1346128743,), (1346128744,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587826 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587826) result : ((1346126414,), (1346126415,), (1346126940,), (1346127071,), (1346127072,), (1346127195,), (1346127196,), (1346127197,), (1346127198,), (1346127199,), (1346127200,), (1346127517,), (1346127518,), (1346127521,), (1346127523,), (1346127529,), (1346127531,), (1346127532,), (1346127533,), (1346128002,), (1346128003,), (1346128004,), (1346128108,), (1346128109,), (1346128110,), (1346128180,), (1346128181,), (1346128182,), (1346128183,), (1346128184,), (1346128185,), (1346128186,), (1346128506,), (1346128512,), (1346128752,), (1346128753,), (1346128754,), (1346128755,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587827 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587827) result : ((1346126946,), (1346127541,), (1346127542,), (1346128007,), (1346128008,), (1346128189,), (1346128557,), (1346128767,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587828 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587828) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587829 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587829) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587830 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587830) result : ((1346128187,), (1346128188,), (1346128530,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587831 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587831) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587832 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587832) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587833 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587833) result : ((1346126416,), (1346127216,), (1346128779,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587834 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587834) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21587835 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21587823 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587835) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21587823) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21587823 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','environnement','metal','plastique','mal_croppe','Carton_gris','kraft','Carton_brun','Teint_Dans_La_Masse','papier','flou','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21587823 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','environnement','metal','plastique','mal_croppe','Carton_gris','kraft','Carton_brun','Teint_Dans_La_Masse','papier','flou','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21587823, 'sub_port_id': 21587836, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131947, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'Teint_Dans_La_Masse': {'main_port_id': 21587823, 'sub_port_id': 21587837, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131948, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'autre_refus': {'main_port_id': 21587823, 'sub_port_id': 21587838, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131949, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'cartonnette': {'main_port_id': 21587823, 'sub_port_id': 21587839, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131950, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'mal_croppe': {'main_port_id': 21587823, 'sub_port_id': 21587840, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131951, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'kraft': {'main_port_id': 21587823, 'sub_port_id': 21587841, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131952, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'Carton_gris': {'main_port_id': 21587823, 'sub_port_id': 21587842, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131953, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'papier': {'main_port_id': 21587823, 'sub_port_id': 21587843, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131954, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'metal': {'main_port_id': 21587823, 'sub_port_id': 21587844, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131955, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'plastique': {'main_port_id': 21587823, 'sub_port_id': 21587845, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131956, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'environnement': {'main_port_id': 21587823, 'sub_port_id': 21587846, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131957, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 35, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}, 'flou': {'main_port_id': 21587823, 'sub_port_id': 21587847, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14131958, 'last_updated_at': datetime.datetime(2025, 3, 21, 18, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 18, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 18, 35, 2)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587836,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587824 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587837,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587825 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587838,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587826 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587839,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587827 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587840,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587828 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587841,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587829 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587842,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587830 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587843,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587831 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587844,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587832 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587845,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587833 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587846,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587834 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21587847,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21587835 lien utilise dans velours : https://www.fotonower.com/velours/21587836,21587837,21587838,21587839,21587840,21587841,21587842,21587843,21587844,21587845,21587846,21587847?tags=Carton_brun,Teint_Dans_La_Masse,autre_refus,cartonnette,mal_croppe,kraft,Carton_gris,papier,metal,plastique,environnement,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21587823]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] map_info['map_portfolio_photo'] : {21587823: [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670, 1346128561, 1346128511, 1346128434, 1346128382, 1346128288, 1346128013, 1346128001, 1346127975, 1346127954, 1346127607, 1346127571, 1346127546, 1346127522, 1346127330, 1346127307, 1346127284, 1346127183, 1346127143, 1346127111, 1346127077, 1346127014, 1346127003, 1346126782, 1346126775, 1346126769, 1346126550, 1346126529, 1346126519, 1346126514, 1346126436, 1346126428, 1346126232, 1346126230, 1346126220, 1346126218, 1346126203, 1346126201, 1346126189, 1346126185, 1346126132, 1346126128]} final : False mtd_id 4302 list_pids : [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] Looping around the photos to save general results len do output : 1 /21587823. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129321', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21587823', "{'Carton_brun': 21587824, 'Teint_Dans_La_Masse': 21587825, 'autre_refus': 21587826, 'cartonnette': 21587827, 'mal_croppe': 21587828, 'kraft': 21587829, 'Carton_gris': 21587830, 'papier': 21587831, 'metal': 21587832, 'plastique': 21587833, 'environnement': 21587834, 'flou': 21587835}", None, None, None, None, '2679980'), ('4302', '21587823', '1346129321', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980')] time used for this insertion : 0.02002573013305664 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4909858703613281 time spend to save output : 0.020499467849731445 total time spend for step 1 : 1.5114853382110596 step2:final Fri Mar 21 18:45:00 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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21587823) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} Beginning of datou step final ! query to retrieve results for portfolio 21587823 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346126132,1346126128,1346126232,1346126230,1346126218,1346126220,1346126201,1346126203,1346126189,1346126185,1346126436,1346126428,1346126550,1346126529,1346126519,1346126514,1346126782,1346126775,1346126769,1346127183,1346127143,1346127111,1346127077,1346127014,1346127003,1346127330,1346127307,1346127284,1346127607,1346127571,1346127546,1346127522,1346128013,1346128001,1346127975,1346127954,1346128561,1346128511,1346128434,1346128382,1346128288,1346128943,1346128877,1346128807,1346128804,1346128760,1346128763,1346128731,1346128725,1346128673,1346128670,1346129164,1346129105,1346129079,1346129321,1346129306,1346129293); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21587823]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} new output for save of step final : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] map_info['map_portfolio_photo'] : {21587823: [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670, 1346128561, 1346128511, 1346128434, 1346128382, 1346128288, 1346128013, 1346128001, 1346127975, 1346127954, 1346127607, 1346127571, 1346127546, 1346127522, 1346127330, 1346127307, 1346127284, 1346127183, 1346127143, 1346127111, 1346127077, 1346127014, 1346127003, 1346126782, 1346126775, 1346126769, 1346126550, 1346126529, 1346126519, 1346126514, 1346126436, 1346126428, 1346126232, 1346126230, 1346126220, 1346126218, 1346126203, 1346126201, 1346126189, 1346126185, 1346126132, 1346126128]} final : False mtd_id 4302 list_pids : [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] Looping around the photos to save general results len do output : 16 /1346129321.Didn't retrieve data . /1346129306.Didn't retrieve data . /1346129293.Didn't retrieve data . /1346129164.Didn't retrieve data . /1346129105.Didn't retrieve data . /1346129079.Didn't retrieve data . /1346128943.Didn't retrieve data . /1346128877.Didn't retrieve data . /1346128807.Didn't retrieve data . /1346128804.Didn't retrieve data . /1346128763.Didn't retrieve data . /1346128760.Didn't retrieve data . /1346128731.Didn't retrieve data . /1346128725.Didn't retrieve data . /1346128673.Didn't retrieve data . /1346128670.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129321', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21587823', '1346129321', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346129306', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346129293', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346129164', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346129105', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346129079', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128943', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128877', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128807', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128804', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128763', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128760', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128731', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128725', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128673', '0.08473340244909117', None, None, None, None, '2679980'), ('4302', '21587823', '1346128670', '0.08473340244909117', None, None, None, None, '2679980')] time used for this insertion : 0.015886783599853516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06797575950622559 time spend to save output : 0.016704082489013672 total time spend for step 2 : 0.08467984199523926 step3:velours_tree Fri Mar 21 18:45:00 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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21587823: [{'Carton_brun': 21587824, 'Teint_Dans_La_Masse': 21587825, 'autre_refus': 21587826, 'cartonnette': 21587827, 'mal_croppe': 21587828, 'kraft': 21587829, 'Carton_gris': 21587830, 'papier': 21587831, 'metal': 21587832, 'plastique': 21587833, 'environnement': 21587834, 'flou': 21587835}]} input_args_next_step : {21587823: ()} output_args : {21587823: [{'Carton_brun': 21587824, 'Teint_Dans_La_Masse': 21587825, 'autre_refus': 21587826, 'cartonnette': 21587827, 'mal_croppe': 21587828, 'kraft': 21587829, 'Carton_gris': 21587830, 'papier': 21587831, 'metal': 21587832, 'plastique': 21587833, 'environnement': 21587834, 'flou': 21587835}]} args : 21587823 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 21587824, 'Teint_Dans_La_Masse': 21587825, 'autre_refus': 21587826, 'cartonnette': 21587827, 'mal_croppe': 21587828, 'kraft': 21587829, 'Carton_gris': 21587830, 'papier': 21587831, 'metal': 21587832, 'plastique': 21587833, 'environnement': 21587834, 'flou': 21587835},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21587823) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} can't find the photo_desc_type After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21587823]) Inside saveOutput : final : False verbose : True ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.6621279716491699 time spend to save output : 4.744529724121094e-05 total time spend for step 3 : 0.6621754169464111 step4:send_mail_cod Fri Mar 21 18:45:01 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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} input_args_next_step : {1346129321: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346129321 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346129306 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346129293 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346129164 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346129105 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346129079 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128943 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128877 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128807 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128804 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128763 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128760 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128731 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128725 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128673 depend.output_id : 0 input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ()} output_args : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',)} args : 1346128670 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {21587823: [{'Carton_brun': 21587824, 'Teint_Dans_La_Masse': 21587825, 'autre_refus': 21587826, 'cartonnette': 21587827, 'mal_croppe': 21587828, 'kraft': 21587829, 'Carton_gris': 21587830, 'papier': 21587831, 'metal': 21587832, 'plastique': 21587833, 'environnement': 21587834, 'flou': 21587835}]} input_args_next_step : {1346129321: ('0.08473340244909117',), 1346129306: ('0.08473340244909117',), 1346129293: ('0.08473340244909117',), 1346129164: ('0.08473340244909117',), 1346129105: ('0.08473340244909117',), 1346129079: ('0.08473340244909117',), 1346128943: ('0.08473340244909117',), 1346128877: ('0.08473340244909117',), 1346128807: ('0.08473340244909117',), 1346128804: ('0.08473340244909117',), 1346128763: ('0.08473340244909117',), 1346128760: ('0.08473340244909117',), 1346128731: ('0.08473340244909117',), 1346128725: ('0.08473340244909117',), 1346128673: ('0.08473340244909117',), 1346128670: ('0.08473340244909117',), 21587823: ()} output_args : {21587823: [{'Carton_brun': 21587824, 'Teint_Dans_La_Masse': 21587825, 'autre_refus': 21587826, 'cartonnette': 21587827, 'mal_croppe': 21587828, 'kraft': 21587829, 'Carton_gris': 21587830, 'papier': 21587831, 'metal': 21587832, 'plastique': 21587833, 'environnement': 21587834, 'flou': 21587835}]} args : 21587823 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :17, first value : ('0.08473340244909117',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21587823) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1346129321,1346129306,1346129293,1346129164,1346129105,1346129079,1346128943,1346128877,1346128807,1346128804,1346128763,1346128760,1346128731,1346128725,1346128673,1346128670) Found this number of photos: 16 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346128670 begin to download photo : 1346128760 begin to download photo : 1346128877 begin to download photo : 1346129164 download finish for photo 1346128670 begin to download photo : 1346128673 download finish for photo 1346128760 begin to download photo : 1346128763 download finish for photo 1346129164 begin to download photo : 1346129293 download finish for photo 1346128877 begin to download photo : 1346128943 download finish for photo 1346129293 begin to download photo : 1346129306 download finish for photo 1346128673 begin to download photo : 1346128725 download finish for photo 1346128943 begin to download photo : 1346129079 download finish for photo 1346128763 begin to download photo : 1346128804 download finish for photo 1346129306 begin to download photo : 1346129321 download finish for photo 1346128725 begin to download photo : 1346128731 download finish for photo 1346129079 begin to download photo : 1346129105 download finish for photo 1346128804 begin to download photo : 1346128807 download finish for photo 1346128731 download finish for photo 1346129321 download finish for photo 1346128807 download finish for photo 1346129105 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 results_Auto_P21587823_21-03-2025_18_45_02.pdf 21587826 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587826 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346128184: '1742578812_1067980_1346127014_aeb4c14ea9dc0b4baa6aa20d6f025e51_rle_crop_3722671602_0.png', 1346128003: '1742578791_1067699_1346127284_ac19c001a9f726f15c3986c9e823f3e3_rle_crop_3722670822_0.png', 1346128004: '1742578791_1067699_1346127284_ac19c001a9f726f15c3986c9e823f3e3_rle_crop_3722670830_0.png', 1346128108: '1742578831_1068283_1346126782_acfd2c30a4f9e4c745bf3abe3c07ba95_rle_crop_3722669955_0.png', 1346128109: '1742578831_1068283_1346126782_acfd2c30a4f9e4c745bf3abe3c07ba95_rle_crop_3722671457_0.png', 1346128110: '1742578831_1068283_1346126782_acfd2c30a4f9e4c745bf3abe3c07ba95_bib_crop_3722669958_0.jpg', 1346128180: '1742578812_1067980_1346127330_13e7004b4f18b0878ed84c11bbba4f23_rle_crop_3722671453_0.png', 1346128181: '1742578812_1067980_1346127143_83dacf325867f8285131c5f49870801f_rle_crop_3722671484_0.png', 1346128182: '1742578812_1067980_1346127111_bf59d2ddfe291427edab0fa05a2a7adb_rle_crop_3722671501_0.png', 1346128183: '1742578812_1067980_1346127077_26298605e5ca3f0f338ff92a28a142a3_rle_crop_3722671513_0.png', 1346128002: '1742578791_1067699_1346127307_10bccc0996eeae8a1d982088214a065e_rle_crop_3722670815_0.png', 1346128185: '1742578812_1067980_1346127014_aeb4c14ea9dc0b4baa6aa20d6f025e51_rle_crop_3722671607_0.png', 1346128186: '1742578812_1067980_1346127003_64eed1cfea0f72eef3dca69ea0475317_rle_crop_3722671620_0.png', 1346128506: '1742578902_1572697_1346128001_fb858519948eee37db7164bb791c50d8_rle_crop_3722675007_0.png', 1346128512: '1742578902_1572697_1346127975_f2aa7fbc6c41fe88fd75f0c359ffc7d6_rle_crop_3722675017_0.png', 1346128752: '1742578891_1068939_1346128013_a809973fe6b9e3319e98f1facc5ef531_rle_crop_3722675047_0.png', 1346128753: '1742578891_1068939_1346127571_3e6a3cfd3a0dfbae9326eaa02d3b45e2_rle_crop_3722675066_0.png', 1346128754: '1742578891_1068939_1346127546_7ced8137263455247ff33420c236632c_rle_crop_3722675081_0.png', 1346128755: '1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675104_0.png', 1346127200: '1742578613_1066057_1346126201_04ace925834841343f55893423522fe2_rle_crop_3722665551_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d2cff89cbd48a41c028601a4b73e5d16_29017559.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/04ea1b92cfdd74201d0794da79436041_12085374.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8ff25666fb18a86b9dd8ee2dd70fb1a0_56458761.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/60d6fd26f4a0b938c7aec380bb559b85_1446117.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/dce9b63a2e327d197389295bd76b9f8e_17798662.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c57ed474cfdd646e8e7ca2cd75b84b15_77690195.jpg change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f9fe4aa8e08e4bf620194387673faf81_91786589.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d466f3d25644fcd580b900310c7e5664_66249071.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/08840bf5833681715eb422f19ba13b65_61021711.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/cd7e5608e6db788de5826f393b19ae03_31595472.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/79a7760c8cb0adce5a2ae9d6c4d8f01d_81607042.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/cd0aeb81ede3e6a660f39b963eb4eb8b_789958.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/227da415adaa90371292705f79e338dc_24878811.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/230758a48f34fa2522ae01689b26319e_45915773.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/76272c96d1d365e59775a32dee17cfcc_49901685.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/642250a668bd6493f1eec5fe59c9e876_52039232.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f65a833abad1ace52b9c9127f6a5aa31_11339586.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/478db455ff802b1820cfc53a7bef5627_32350036.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f89d4911d9eda3a09cc9146df14516ce_15776120.png change filename to text .imagette215878261742579102/ imagette215878261742579102/1742578891_1068939_1346128013_a809973fe6b9e3319e98f1facc5ef531_rle_crop_3722675047_0.png.png imagette215878261742579102/1742578812_1067980_1346127077_26298605e5ca3f0f338ff92a28a142a3_rle_crop_3722671513_0.png.png imagette215878261742579102/1742578902_1572697_1346127975_f2aa7fbc6c41fe88fd75f0c359ffc7d6_rle_crop_3722675017_0.png.png imagette215878261742579102/1742578812_1067980_1346127014_aeb4c14ea9dc0b4baa6aa20d6f025e51_rle_crop_3722671602_0.png.png imagette215878261742579102/1742578891_1068939_1346127546_7ced8137263455247ff33420c236632c_rle_crop_3722675081_0.png.png imagette215878261742579102/1742578812_1067980_1346127014_aeb4c14ea9dc0b4baa6aa20d6f025e51_rle_crop_3722671607_0.png.png imagette215878261742579102/1742578891_1068939_1346127571_3e6a3cfd3a0dfbae9326eaa02d3b45e2_rle_crop_3722675066_0.png.png imagette215878261742579102/1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675104_0.png.png imagette215878261742579102/1742578831_1068283_1346126782_acfd2c30a4f9e4c745bf3abe3c07ba95_bib_crop_3722669958_0.jpg.jpg imagette215878261742579102/1742578791_1067699_1346127284_ac19c001a9f726f15c3986c9e823f3e3_rle_crop_3722670830_0.png.png imagette215878261742579102/1742578791_1067699_1346127284_ac19c001a9f726f15c3986c9e823f3e3_rle_crop_3722670822_0.png.png imagette215878261742579102/1742578902_1572697_1346128001_fb858519948eee37db7164bb791c50d8_rle_crop_3722675007_0.png.png imagette215878261742579102/1742578812_1067980_1346127143_83dacf325867f8285131c5f49870801f_rle_crop_3722671484_0.png.png imagette215878261742579102/1742578812_1067980_1346127330_13e7004b4f18b0878ed84c11bbba4f23_rle_crop_3722671453_0.png.png imagette215878261742579102/1742578812_1067980_1346127111_bf59d2ddfe291427edab0fa05a2a7adb_rle_crop_3722671501_0.png.png imagette215878261742579102/1742578791_1067699_1346127307_10bccc0996eeae8a1d982088214a065e_rle_crop_3722670815_0.png.png imagette215878261742579102/1742578831_1068283_1346126782_acfd2c30a4f9e4c745bf3abe3c07ba95_rle_crop_3722671457_0.png.png imagette215878261742579102/1742578812_1067980_1346127003_64eed1cfea0f72eef3dca69ea0475317_rle_crop_3722671620_0.png.png imagette215878261742579102/1742578613_1066057_1346126201_04ace925834841343f55893423522fe2_rle_crop_3722665551_0.png.png imagette215878261742579102/1742578831_1068283_1346126782_acfd2c30a4f9e4c745bf3abe3c07ba95_rle_crop_3722669955_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c4f6298e30796935dcd085f6df3db76f_51239111.png imagette215878261742579102 21587827 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587827 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346126946: '1742578590_1065800_1346126550_57693cf3f96868b473bac9e39600d522_rle_crop_3722664552_0.png', 1346127541: '1742578711_1067075_1346126529_cc79fbdfb7c76455c219a85201a5c6f1_rle_crop_3722669984_0.png', 1346127542: '1742578711_1067075_1346126519_86996c82530e193200cc2174e2599ac3_rle_crop_3722669739_0.png', 1346128007: '1742578791_1067699_1346127307_10bccc0996eeae8a1d982088214a065e_rle_crop_3722670809_0.png', 1346128008: '1742578791_1067699_1346127284_ac19c001a9f726f15c3986c9e823f3e3_rle_crop_3722670824_0.png', 1346128189: '1742578812_1067980_1346127143_83dacf325867f8285131c5f49870801f_rle_crop_3722671479_0.png', 1346128557: '1742578902_1572697_1346127954_7d3736e1c145783c7fb6101eae27d0b3_rle_crop_3722675024_0.png', 1346128767: '1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675098_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/40b84e7c1f70d9eebc2068424b4b32d5_53104610.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c837e6c7068b542a8bab573c45b06218_97819257.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8ea91148ae3d5d150520e000d2337cab_42127773.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1e8666e83cdc82f30d3523c9b1d3f2cc_4267938.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/130b3eb7a833ffe87ab64e974ba61b83_74281333.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/91d261e10c2ec3a2752a7c79d6b36eb1_60825985.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6ec381a363a539028d44bae527f91321_19646294.png change filename to text .imagette215878271742579103/ imagette215878271742579103/1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675098_0.png.png imagette215878271742579103/1742578590_1065800_1346126550_57693cf3f96868b473bac9e39600d522_rle_crop_3722664552_0.png.png imagette215878271742579103/1742578711_1067075_1346126519_86996c82530e193200cc2174e2599ac3_rle_crop_3722669739_0.png.png imagette215878271742579103/1742578902_1572697_1346127954_7d3736e1c145783c7fb6101eae27d0b3_rle_crop_3722675024_0.png.png imagette215878271742579103/1742578711_1067075_1346126529_cc79fbdfb7c76455c219a85201a5c6f1_rle_crop_3722669984_0.png.png imagette215878271742579103/1742578791_1067699_1346127307_10bccc0996eeae8a1d982088214a065e_rle_crop_3722670809_0.png.png imagette215878271742579103/1742578812_1067980_1346127143_83dacf325867f8285131c5f49870801f_rle_crop_3722671479_0.png.png imagette215878271742579103/1742578791_1067699_1346127284_ac19c001a9f726f15c3986c9e823f3e3_rle_crop_3722670824_0.png.png imagette215878281742579103/ imagette215878291742579103/ imagette215878321742579103/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e2129a87475676765d2efd87bbe628cf_8066430.png imagette215878271742579103 21587828 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587828 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215878281742579103 21587829 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587829 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215878291742579103 21587832 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587832 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215878321742579103 21587833 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587833 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346126416: '1742578414_1063829_1346126128_39620357685df93264bb728f27c7975d_rle_crop_3722656595_0.png', 1346127216: '1742578613_1066057_1346126436_d21bedbab29d7ef979a2d5189d1befd6_rle_crop_3722665451_0.png', 1346128779: '1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675099_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b94b89eeea9d387e184f2e711dea2de6_89222805.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/25dc7934dff02753b84836d484691987_83060312.png change filename to text .imagette215878331742579103/ imagette215878331742579103/1742578414_1063829_1346126128_39620357685df93264bb728f27c7975d_rle_crop_3722656595_0.png.png imagette215878331742579103/1742578613_1066057_1346126436_d21bedbab29d7ef979a2d5189d1befd6_rle_crop_3722665451_0.png.png imagette215878331742579103/1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675099_0.png.png imagette215878351742579103/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/80181da9ce44ba0084069c5e5db4d419_42660173.png imagette215878331742579103 21587835 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587835 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215878351742579103 21587824 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587824 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346127205: '1742578613_1066057_1346126189_10bc7838141bbef80590d9c4c73cf3e3_rle_crop_3722665570_0.png', 1346127206: '1742578613_1066057_1346126185_88439b1df5533c1857271d6dacf1bd0a_rle_crop_3722665587_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e00b5529d80f726bd8ddb2d92e57c213_36981022.png change filename to text .imagette215878241742579103/ imagette215878241742579103/1742578613_1066057_1346126189_10bc7838141bbef80590d9c4c73cf3e3_rle_crop_3722665570_0.png.png imagette215878241742579103/1742578613_1066057_1346126185_88439b1df5533c1857271d6dacf1bd0a_rle_crop_3722665587_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e00b5529d80f726bd8ddb2d92e57c213_84688889.png imagette215878241742579103 21587825 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587825 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346127166: '1742578613_1066057_1346126218_d31f874d5a0bd7b36fa7fc3100ff0e9f_rle_crop_3722665490_0.png', 1346128744: '1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675100_0.png', 1346128743: '1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675097_0.png', 1346128742: '1742578891_1068939_1346127546_7ced8137263455247ff33420c236632c_rle_crop_3722675080_0.png', 1346128741: '1742578891_1068939_1346127571_3e6a3cfd3a0dfbae9326eaa02d3b45e2_rle_crop_3722675067_0.png', 1346128483: '1742578902_1572697_1346127975_f2aa7fbc6c41fe88fd75f0c359ffc7d6_rle_crop_3722675020_0.png', 1346128173: '1742578812_1067980_1346127003_64eed1cfea0f72eef3dca69ea0475317_rle_crop_3722671616_0.png', 1346128172: '1742578812_1067980_1346127330_13e7004b4f18b0878ed84c11bbba4f23_rle_crop_3722671447_0.png', 1346127173: '1742578613_1066057_1346126185_88439b1df5533c1857271d6dacf1bd0a_rle_crop_3722665590_0.png', 1346127172: '1742578613_1066057_1346126189_10bc7838141bbef80590d9c4c73cf3e3_rle_crop_3722665573_0.png', 1346127170: '1742578613_1066057_1346126201_04ace925834841343f55893423522fe2_rle_crop_3722665546_0.png', 1346127169: '1742578613_1066057_1346126201_04ace925834841343f55893423522fe2_rle_crop_3722665554_0.png', 1346127168: '1742578613_1066057_1346126203_7e5266d4556e7c7e3bd8ac1bbf58b938_rle_crop_3722665523_0.png', 1346127167: '1742578613_1066057_1346126203_7e5266d4556e7c7e3bd8ac1bbf58b938_rle_crop_3722665531_0.png', 1346126411: '1742578414_1063829_1346126132_85a4ee25d287cdf0bc825b0631104579_rle_crop_3722656578_0.png', 1346127165: '1742578613_1066057_1346126218_d31f874d5a0bd7b36fa7fc3100ff0e9f_rle_crop_3722665488_0.png', 1346127164: '1742578613_1066057_1346126218_d31f874d5a0bd7b36fa7fc3100ff0e9f_rle_crop_3722665499_0.png', 1346127163: '1742578613_1066057_1346126220_ea75729d3a10cccf237197f71ed7d373_rle_crop_3722665462_0.png', 1346127162: '1742578613_1066057_1346126220_ea75729d3a10cccf237197f71ed7d373_rle_crop_3722665460_0.png', 1346127161: '1742578613_1066057_1346126220_ea75729d3a10cccf237197f71ed7d373_rle_crop_3722665471_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b7d108844286fa1ac1a22fa1f5a23661_47454051.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/91bf28d1de7192014170ef6ce2d14c07_63447593.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f11caded38e1304e08afd8e2d10b1fc2_94305892.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8127fb5dc52b336ac8fa3708baeb194b_9079517.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/beb02b03acb549103ab1765e97159e3b_72078108.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/41d3ad6be7f4f9362b6cf80d643938d9_99904914.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/24e6ba2ff92054bb07a42e6f670dac6e_39602443.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/11087c816eee7e08a2aff6088a0ab97b_30721249.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4f2925a86270ce2bea3cc22a8a42095d_58218116.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4f2925a86270ce2bea3cc22a8a42095d_79269388.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/57c09fe31b738584fee7e8d2ed009980_15399031.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/de983b4d6bd66cb03a3b11a497f743a3_71623631.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/57c09fe31b738584fee7e8d2ed009980_80638287.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/de983b4d6bd66cb03a3b11a497f743a3_16101186.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4b9d74e9509b064e7f3bad9142a22b8e_72814157.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/227cc6f2eb0a868f8bd96a87430408e7_41104770.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/89f0e216654d8958206fd8b84f9e6c84_84321457.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b7d108844286fa1ac1a22fa1f5a23661_60082247.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/227cc6f2eb0a868f8bd96a87430408e7_91634276.png change filename to text .imagette215878251742579104/ imagette215878251742579104/1742578902_1572697_1346127975_f2aa7fbc6c41fe88fd75f0c359ffc7d6_rle_crop_3722675020_0.png.png imagette215878251742579104/1742578613_1066057_1346126185_88439b1df5533c1857271d6dacf1bd0a_rle_crop_3722665590_0.png.png imagette215878251742579104/1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675097_0.png.png imagette215878251742579104/1742578613_1066057_1346126201_04ace925834841343f55893423522fe2_rle_crop_3722665554_0.png.png imagette215878251742579104/1742578613_1066057_1346126220_ea75729d3a10cccf237197f71ed7d373_rle_crop_3722665471_0.png.png imagette215878251742579104/1742578613_1066057_1346126220_ea75729d3a10cccf237197f71ed7d373_rle_crop_3722665462_0.png.png imagette215878251742579104/1742578613_1066057_1346126189_10bc7838141bbef80590d9c4c73cf3e3_rle_crop_3722665573_0.png.png imagette215878251742579104/1742578613_1066057_1346126218_d31f874d5a0bd7b36fa7fc3100ff0e9f_rle_crop_3722665488_0.png.png imagette215878251742579104/1742578613_1066057_1346126218_d31f874d5a0bd7b36fa7fc3100ff0e9f_rle_crop_3722665490_0.png.png imagette215878251742579104/1742578613_1066057_1346126218_d31f874d5a0bd7b36fa7fc3100ff0e9f_rle_crop_3722665499_0.png.png imagette215878251742579104/1742578812_1067980_1346127003_64eed1cfea0f72eef3dca69ea0475317_rle_crop_3722671616_0.png.png imagette215878251742579104/1742578891_1068939_1346127571_3e6a3cfd3a0dfbae9326eaa02d3b45e2_rle_crop_3722675067_0.png.png imagette215878251742579104/1742578812_1067980_1346127330_13e7004b4f18b0878ed84c11bbba4f23_rle_crop_3722671447_0.png.png imagette215878251742579104/1742578891_1068939_1346127546_7ced8137263455247ff33420c236632c_rle_crop_3722675080_0.png.png imagette215878251742579104/1742578414_1063829_1346126132_85a4ee25d287cdf0bc825b0631104579_rle_crop_3722656578_0.png.png imagette215878251742579104/1742578613_1066057_1346126203_7e5266d4556e7c7e3bd8ac1bbf58b938_rle_crop_3722665523_0.png.png imagette215878251742579104/1742578613_1066057_1346126201_04ace925834841343f55893423522fe2_rle_crop_3722665546_0.png.png imagette215878251742579104/1742578891_1068939_1346127522_ac6a6537c0e56af35e98042f116d7b0d_rle_crop_3722675100_0.png.png imagette215878251742579104/1742578613_1066057_1346126220_ea75729d3a10cccf237197f71ed7d373_rle_crop_3722665460_0.png.png imagette215878251742579104/1742578613_1066057_1346126203_7e5266d4556e7c7e3bd8ac1bbf58b938_rle_crop_3722665531_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/89f0e216654d8958206fd8b84f9e6c84_86985677.png imagette215878251742579104 21587830 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587830 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346128187: '1742578812_1067980_1346127330_13e7004b4f18b0878ed84c11bbba4f23_rle_crop_3722671444_0.png', 1346128188: '1742578812_1067980_1346127003_64eed1cfea0f72eef3dca69ea0475317_rle_crop_3722671614_0.png', 1346128530: '1742578902_1572697_1346128001_fb858519948eee37db7164bb791c50d8_rle_crop_3722675008_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1bfa2c68c7f368f778f744437bace053_51871141.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8ea4e4d4b2c558a7751390895dd2a43c_43407514.png change filename to text .imagette215878301742579105/ imagette215878301742579105/1742578812_1067980_1346127330_13e7004b4f18b0878ed84c11bbba4f23_rle_crop_3722671444_0.png.png imagette215878301742579105/1742578812_1067980_1346127003_64eed1cfea0f72eef3dca69ea0475317_rle_crop_3722671614_0.png.png imagette215878301742579105/1742578902_1572697_1346128001_fb858519948eee37db7164bb791c50d8_rle_crop_3722675008_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5eadbe0c7f35c6b6e3969489fadcbc8f_48777586.png imagette215878301742579105 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21587823 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21587836,21587837,21587838,21587839,21587840,21587841,21587842,21587843,21587844,21587845,21587846,21587847?tags=Carton_brun,Teint_Dans_La_Masse,autre_refus,cartonnette,mal_croppe,kraft,Carton_gris,papier,metal,plastique,environnement,flou your option no_mail is active, we will not send the real mail to your client args[1346129321] : ('0.08473340244909117',) no score found for photo 1346129321 We are sending mail with results at report@fotonower.com args[1346129306] : ('0.08473340244909117',) no score found for photo 1346129306 We are sending mail with results at report@fotonower.com args[1346129293] : ('0.08473340244909117',) no score found for photo 1346129293 We are sending mail with results at report@fotonower.com args[1346129164] : ('0.08473340244909117',) no score found for photo 1346129164 We are sending mail with results at report@fotonower.com args[1346129105] : ('0.08473340244909117',) no score found for photo 1346129105 We are sending mail with results at report@fotonower.com args[1346129079] : ('0.08473340244909117',) no score found for photo 1346129079 We are sending mail with results at report@fotonower.com args[1346128943] : ('0.08473340244909117',) no score found for photo 1346128943 We are sending mail with results at report@fotonower.com args[1346128877] : ('0.08473340244909117',) no score found for photo 1346128877 We are sending mail with results at report@fotonower.com args[1346128807] : ('0.08473340244909117',) no score found for photo 1346128807 We are sending mail with results at report@fotonower.com args[1346128804] : ('0.08473340244909117',) no score found for photo 1346128804 We are sending mail with results at report@fotonower.com args[1346128763] : ('0.08473340244909117',) no score found for photo 1346128763 We are sending mail with results at report@fotonower.com args[1346128760] : ('0.08473340244909117',) no score found for photo 1346128760 We are sending mail with results at report@fotonower.com args[1346128731] : ('0.08473340244909117',) no score found for photo 1346128731 We are sending mail with results at report@fotonower.com args[1346128725] : ('0.08473340244909117',) no score found for photo 1346128725 We are sending mail with results at report@fotonower.com args[1346128673] : ('0.08473340244909117',) no score found for photo 1346128673 We are sending mail with results at report@fotonower.com args[1346128670] : ('0.08473340244909117',) no score found for photo 1346128670 We are sending mail with results at report@fotonower.com refus_total : 0.08473340244909117 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587823 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_45_02.pdf results_Auto_P21587823_21-03-2025_18_45_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_45_02.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21587823','results_Auto_P21587823_21-03-2025_18_45_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_45_02.pdf','pdf','','0.33','0.08473340244909117') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21587823]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] map_info['map_portfolio_photo'] : {21587823: [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670, 1346128561, 1346128511, 1346128434, 1346128382, 1346128288, 1346128013, 1346128001, 1346127975, 1346127954, 1346127607, 1346127571, 1346127546, 1346127522, 1346127330, 1346127307, 1346127284, 1346127183, 1346127143, 1346127111, 1346127077, 1346127014, 1346127003, 1346126782, 1346126775, 1346126769, 1346126550, 1346126529, 1346126519, 1346126514, 1346126436, 1346126428, 1346126232, 1346126230, 1346126220, 1346126218, 1346126203, 1346126201, 1346126189, 1346126185, 1346126132, 1346126128]} final : False mtd_id 4302 list_pids : [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129321', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21587823', '1346129321', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980')] time used for this insertion : 0.014768362045288086 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.706731796264648 time spend to save output : 0.015166759490966797 total time spend for step 4 : 5.721898555755615 step5:split_time_score Fri Mar 21 18:45:07 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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21587823'] We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : [('21587823',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21587823) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1346128670: {'path': 'temp/1742579101_916423_1346128670_8747edbca2a7ec7acc650c878708e1c1.jpg', 'extension': 'jpg'}, 1346128673: {'path': 'temp/1742579101_916423_1346128673_5276ee31ea6da5699e483eb6b7a50715.jpg', 'extension': 'jpg'}, 1346128725: {'path': 'temp/1742579101_916423_1346128725_8421e0426e3ec2e87893942a519a7945.jpg', 'extension': 'jpg'}, 1346128731: {'path': 'temp/1742579101_916423_1346128731_f4c8e6ab3854c7281511ee059be8273d.jpg', 'extension': 'jpg'}, 1346129164: {'path': 'temp/1742579101_916423_1346129164_131aa5fe417f002ef5f291d553ec5f67.jpg', 'extension': 'jpg'}, 1346129293: {'path': 'temp/1742579101_916423_1346129293_1ce701bd3eebfbad9c12edbd2d95ccc6.jpg', 'extension': 'jpg'}, 1346129306: {'path': 'temp/1742579101_916423_1346129306_8462dcdcadf43f95ed2fca7a90a5521d.jpg', 'extension': 'jpg'}, 1346129321: {'path': 'temp/1742579101_916423_1346129321_2eddc199abeea8eaf2848082028f6041.jpg', 'extension': 'jpg'}, 1346128760: {'path': 'temp/1742579101_916423_1346128760_e3f651123b1db64166e2464f01743707.jpg', 'extension': 'jpg'}, 1346128763: {'path': 'temp/1742579101_916423_1346128763_6c68bc3a2c2a995c1ef9d8f8b870fc86.jpg', 'extension': 'jpg'}, 1346128804: {'path': 'temp/1742579101_916423_1346128804_095800fb1e9f877e888e4491809e900c.jpg', 'extension': 'jpg'}, 1346128807: {'path': 'temp/1742579101_916423_1346128807_ee52fc6dd8740db02fad96b6db539f76.jpg', 'extension': 'jpg'}, 1346128877: {'path': 'temp/1742579101_916423_1346128877_4f4429e07d866f7c9018d46d4f9f6e66.jpg', 'extension': 'jpg'}, 1346128943: {'path': 'temp/1742579101_916423_1346128943_929558dfaa912991817d89cefe1fdfdf.jpg', 'extension': 'jpg'}, 1346129079: {'path': 'temp/1742579101_916423_1346129079_eac7e357b76246ccee9edcf2a40affe9.jpg', 'extension': 'jpg'}, 1346129105: {'path': 'temp/1742579101_916423_1346129105_1f7d793fb3a9e433ae3a3e2411658cdd.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 21587823; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21587823 group by h (('18', 57),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21587823 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (21587823) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (21587823) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21032025 21587823 Nombre de photos uploadées : 57 / 23040 (0%) 21032025 21587823 Nombre de photos taguées (types de déchets): 0 / 57 (0%) 21032025 21587823 Nombre de photos taguées (volume) : 0 / 57 (0%) [{'photo_id': 1346126132, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/85a4ee25d287cdf0bc825b0631104579.jpg', 'username': None, 'uploaded_at': 1742578353, 'text': 'image_21032025_18_30_03_010167m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1346126128, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/39620357685df93264bb728f27c7975d.jpg', 'username': None, 'uploaded_at': 1742578353, 'text': 'image_21032025_18_30_43_009126m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1346126232, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2a43b20b488fa9de52f6ccbbd086690d.jpg', 'username': None, 'uploaded_at': 1742578408, 'text': 'image_21032025_18_30_53_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346126230, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f80fbb2917ba5f2c1903167a16cc5464.jpg', 'username': None, 'uploaded_at': 1742578408, 'text': 'image_21032025_18_30_53_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 5.245208740234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.2159347534179688e-05 ????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.005992889404296875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21587823, '2025-03-21' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1678259,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022798538208007812 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1678259 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686809, 'mtr_portfolio_id': 21586659, 'dashboard_result_id': 9540525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21586702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21586703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21586704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21586705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21586707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21586708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21586709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21586710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21586711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21586712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21586713, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686809, 'mtr_portfolio_id': 21587143, 'dashboard_result_id': 9540526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587217, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686809, 'mtr_portfolio_id': 21587823, 'dashboard_result_id': 9540527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_43_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21586659 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2679888, 'mtr_portfolio_id': 21586659, 'created_at': datetime.datetime(2025, 3, 21, 18, 19, 59), 'result': '0.1309430114398558', 'result_long': None, 'result_double': None}] Qualite : 0.1309430114398558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21586659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21586659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21586702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21586703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21586704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21586705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21586707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21586708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21586709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21586710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21586711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21586712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21586713, 'pht': 3726}}" where mtr_portfolio_id = 21586659 and dashboard_run_id = 1686809 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # 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 ! All sons are already in current list ! All sons are already in current list ! 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 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21586659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9540525, 0.1309430114398558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21586702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21586703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21586704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21586705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21586707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21586708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21586709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21586710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21586711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21586712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21586713, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21587143 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2679915, 'mtr_portfolio_id': 21587143, 'created_at': datetime.datetime(2025, 3, 21, 18, 25), 'result': '0.060699564101281515', 'result_long': None, 'result_double': None}] Qualite : 0.060699564101281515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21587143 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21587143 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587217, 'pht': 3726}}" where mtr_portfolio_id = 21587143 and dashboard_run_id = 1686809 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # 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 ! All sons are already in current list ! All sons are already in current list ! 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 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21587143 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9540526, 0.060699564101281515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587217, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21587823 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2679980, 'mtr_portfolio_id': 21587823, 'created_at': datetime.datetime(2025, 3, 21, 18, 45), 'result': '0.08473340244909117', 'result_long': None, 'result_double': None}] Qualite : 0.08473340244909117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21587823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21587823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_45_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}" where mtr_portfolio_id = 21587823 and dashboard_run_id = 1686809 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # 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 ! All sons are already in current list ! All sons are already in current list ! 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 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21587823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9540527, 0.08473340244909117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_18_45_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21586659,21587143,21587823) result : ((1346112126,), (1346112188,), (1346112247,), (1346112502,), (1346112586,), (1346112623,), (1346112674,), (1346112707,), (1346113503,), (1346113854,), (1346113878,), (1346113906,), (1346113937,), (1346114799,), (1346114830,), (1346114860,), (1346114878,), (1346115755,), (1346115756,), (1346115904,), (1346115905,), (1346115951,), (1346115952,), (1346116185,), (1346116214,), (1346120209,), (1346120351,), (1346120438,), (1346121010,), (1346121032,), (1346121058,), (1346121090,), (1346121415,), (1346121479,), (1346121534,), (1346121577,), (1346121603,), (1346122116,), (1346122090,), (1346122131,), (1346122137,), (1346122143,), (1346122150,), (1346122153,), (1346122310,), (1346122353,), (1346122387,), (1346123340,), (1346124427,), (1346124440,), (1346124478,), (1346124505,), (1346124515,), (1346124565,), (1346124573,), (1346124582,), (1346124871,), (1346124905,), (1346124918,), (1346124922,), (1346125178,), (1346125182,), (1346125185,), (1346125189,), (1346125235,), (1346125236,), (1346125241,), (1346125242,), (1346125250,), (1346125251,), (1346125261,), (1346125267,), (1346125331,), (1346125337,), (1346125343,), (1346125347,), (1346125389,), (1346125397,), (1346125479,), (1346125480,), (1346125485,), (1346125486,), (1346125490,), (1346125492,), (1346125496,), (1346125497,), (1346125733,), (1346125735,), (1346125750,), (1346125751,), (1346125756,), (1346125757,), (1346125767,), (1346125770,), (1346125777,), (1346125778,), (1346125820,), (1346125836,), (1346125952,), (1346126136,), (1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21032025': {'nb_upload': 57, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21587823]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] map_info['map_portfolio_photo'] : {21587823: [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670, 1346128561, 1346128511, 1346128434, 1346128382, 1346128288, 1346128013, 1346128001, 1346127975, 1346127954, 1346127607, 1346127571, 1346127546, 1346127522, 1346127330, 1346127307, 1346127284, 1346127183, 1346127143, 1346127111, 1346127077, 1346127014, 1346127003, 1346126782, 1346126775, 1346126769, 1346126550, 1346126529, 1346126519, 1346126514, 1346126436, 1346126428, 1346126232, 1346126230, 1346126220, 1346126218, 1346126203, 1346126201, 1346126189, 1346126185, 1346126132, 1346126128]} final : True mtd_id 4302 list_pids : [1346129321, 1346129306, 1346129293, 1346129164, 1346129105, 1346129079, 1346128943, 1346128877, 1346128807, 1346128804, 1346128763, 1346128760, 1346128731, 1346128725, 1346128673, 1346128670] Looping around the photos to save general results len do output : 1 /21587823Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129321', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980') ('4302', None, None, None, None, None, None, None, '2679980') ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21587823', 'None', None, None, None, None, '2679980'), ('4302', '21587823', '1346129321', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129306', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129293', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129164', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129105', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346129079', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128943', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128877', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128807', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128804', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128763', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128760', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128731', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128725', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128673', None, None, None, None, None, '2679980'), ('4302', '21587823', '1346128670', None, None, None, None, None, '2679980')] time used for this insertion : 0.014043807983398438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2995941638946533 time spend to save output : 0.014433622360229492 total time spend for step 5 : 0.3140277862548828 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 DELETE from MTRPhoto.mtr_datou_current where id in (2679980) 2.71user 1.90system 0:11.55elapsed 39%CPU (0avgtext+0avgdata 164332maxresident)k 33424inputs+19440outputs (238major+78374minor)pagefaults 0swaps