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 : 2889073 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 was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2662992) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2662992) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354833 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2662992'] with mtr_portfolio_ids : ['21354833'] and first list_photo_ids : [] new path : /proc/2889073/ Name: python3 Umask: 0002 State: R (running) Tgid: 2889073 Ngid: 0 Pid: 2889073 PPid: 2889071 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2889073 NSpid: 2889073 NSpgid: 2886924 NSsid: 2886924 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97712 kB VmRSS: 97712 kB RssAnon: 59756 kB RssFile: 37956 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 53 nonvoluntary_ctxt_switches: 131 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2889073', 'Ngid': '0', 'Pid': '2889073', 'PPid': '2889071', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2889073', 'NSpid': '2889073', 'NSpgid': '2886924', 'NSsid': '2886924', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97712 kB', 'VmRSS': '97712 kB', 'RssAnon': '59756 kB', 'RssFile': '37956 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '53', 'nonvoluntary_ctxt_switches': '131'} ('datou_batch_current', '2889073', '1106844', '0', '1106844', '865592', '97712', b'', 'marlene', '2662992') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou 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 List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (21354833) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (2662992 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (21354833) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343443545, 'portfolio_id': 21354833}, {'photo_id': 1343443364, 'portfolio_id': 21354833}, {'photo_id': 1343443339, 'portfolio_id': 21354833}, {'photo_id': 1343443270, 'portfolio_id': 21354833}, {'photo_id': 1343443056, 'portfolio_id': 21354833}, {'photo_id': 1343442926, 'portfolio_id': 21354833}, {'photo_id': 1343442791, 'portfolio_id': 21354833}, {'photo_id': 1343442651, 'portfolio_id': 21354833}, {'photo_id': 1343442490, 'portfolio_id': 21354833}, {'photo_id': 1343442424, 'portfolio_id': 21354833}, {'photo_id': 1343441838, 'portfolio_id': 21354833}, {'photo_id': 1343441836, 'portfolio_id': 21354833}, {'photo_id': 1343441834, 'portfolio_id': 21354833}, {'photo_id': 1343441830, 'portfolio_id': 21354833}, {'photo_id': 1343441825, 'portfolio_id': 21354833}, {'photo_id': 1343441629, 'portfolio_id': 21354833}, {'photo_id': 1343441510, 'portfolio_id': 21354833}, {'photo_id': 1343441435, 'portfolio_id': 21354833}, {'photo_id': 1343440929, 'portfolio_id': 21354833}, {'photo_id': 1343440905, 'portfolio_id': 21354833}, {'photo_id': 1343440873, 'portfolio_id': 21354833}, {'photo_id': 1343440836, 'portfolio_id': 21354833}, {'photo_id': 1343440799, 'portfolio_id': 21354833}, {'photo_id': 1343440614, 'portfolio_id': 21354833}, {'photo_id': 1343440563, 'portfolio_id': 21354833}, {'photo_id': 1343440527, 'portfolio_id': 21354833}, {'photo_id': 1343440496, 'portfolio_id': 21354833}, {'photo_id': 1343440472, 'portfolio_id': 21354833}, {'photo_id': 1343440435, 'portfolio_id': 21354833}, {'photo_id': 1343439876, 'portfolio_id': 21354833}, {'photo_id': 1343439850, 'portfolio_id': 21354833}, {'photo_id': 1343439823, 'portfolio_id': 21354833}, {'photo_id': 1343439796, 'portfolio_id': 21354833}, {'photo_id': 1343439514, 'portfolio_id': 21354833}, {'photo_id': 1343439472, 'portfolio_id': 21354833}, {'photo_id': 1343439446, 'portfolio_id': 21354833}, {'photo_id': 1343439423, 'portfolio_id': 21354833}, {'photo_id': 1343439405, 'portfolio_id': 21354833}, {'photo_id': 1343438847, 'portfolio_id': 21354833}, {'photo_id': 1343438784, 'portfolio_id': 21354833}, {'photo_id': 1343438721, 'portfolio_id': 21354833}, {'photo_id': 1343438639, 'portfolio_id': 21354833}, {'photo_id': 1343438388, 'portfolio_id': 21354833}, {'photo_id': 1343438357, 'portfolio_id': 21354833}, {'photo_id': 1343438315, 'portfolio_id': 21354833}, {'photo_id': 1343438271, 'portfolio_id': 21354833}, {'photo_id': 1343438238, 'portfolio_id': 21354833}, {'photo_id': 1343438219, 'portfolio_id': 21354833}, {'photo_id': 1343437756, 'portfolio_id': 21354833}, {'photo_id': 1343437720, 'portfolio_id': 21354833}, {'photo_id': 1343437697, 'portfolio_id': 21354833}, {'photo_id': 1343437441, 'portfolio_id': 21354833}, {'photo_id': 1343437417, 'portfolio_id': 21354833}, {'photo_id': 1343437390, 'portfolio_id': 21354833}] map_portfolio_id_photo_id: {21354833: [1343443545, 1343443364, 1343443339, 1343443270, 1343443056, 1343442926, 1343442791, 1343442651, 1343442490, 1343442424, 1343441838, 1343441836, 1343441834, 1343441830, 1343441825, 1343441629, 1343441510, 1343441435, 1343440929, 1343440905, 1343440873, 1343440836, 1343440799, 1343440614, 1343440563, 1343440527, 1343440496, 1343440472, 1343440435, 1343439876, 1343439850, 1343439823, 1343439796, 1343439514, 1343439472, 1343439446, 1343439423, 1343439405, 1343438847, 1343438784, 1343438721, 1343438639, 1343438388, 1343438357, 1343438315, 1343438271, 1343438238, 1343438219, 1343437756, 1343437720, 1343437697, 1343437441, 1343437417, 1343437390]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.015547037124633789 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Mar 12 16:02: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21354833) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 21354833 get user id for portfolio 21354833 get sub ptf for main ptf 21354833, type 3726 and hashtags ['metal', 'plastique', 'mal_croppe', 'cartonnette', 'Teint_Dans_La_Masse', 'environnement', 'Carton_brun', 'kraft', 'flou', 'Carton_gris', 'autre_refus', 'papier'] 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`=21354833 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','environnement','Carton_brun','kraft','flou','Carton_gris','autre_refus','papier')) 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`=21354833 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','environnement','Carton_brun','kraft','flou','Carton_gris','autre_refus','papier')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21354833, 'sub_port_id': 21354918, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934485, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'plastique': {'main_port_id': 21354833, 'sub_port_id': 21354919, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934486, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'flou': {'main_port_id': 21354833, 'sub_port_id': 21354920, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934487, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'Carton_gris': {'main_port_id': 21354833, 'sub_port_id': 21354921, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934488, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'autre_refus': {'main_port_id': 21354833, 'sub_port_id': 21354922, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934489, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'mal_croppe': {'main_port_id': 21354833, 'sub_port_id': 21354923, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934490, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 21354833, 'sub_port_id': 21354924, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934491, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'kraft': {'main_port_id': 21354833, 'sub_port_id': 21354925, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934492, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'Carton_brun': {'main_port_id': 21354833, 'sub_port_id': 21354926, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934493, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'metal': {'main_port_id': 21354833, 'sub_port_id': 21354927, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934494, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'papier': {'main_port_id': 21354833, 'sub_port_id': 21354928, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934495, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}, 'environnement': {'main_port_id': 21354833, 'sub_port_id': 21354929, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934496, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21354918 , 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=21354833 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 (21354918) result : ((1343440757,), (1343441160,), (1343441815,), (1343441849,), (1343443182,), (1343443563,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354919 , 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=21354833 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 (21354919) result : ((1343441195,), (1343441197,), (1343441375,), (1343441852,), (1343441853,), (1343441854,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354920 , 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=21354833 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 (21354920) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354921 , 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=21354833 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 (21354921) result : ((1343440843,), (1343441152,), (1343441153,), (1343441315,), (1343441811,), (1343441813,), (1343441847,), (1343441848,), (1343443554,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354922 , 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=21354833 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 (21354922) result : ((1343440748,), (1343440749,), (1343440751,), (1343440752,), (1343440829,), (1343440830,), (1343440831,), (1343441138,), (1343441140,), (1343441141,), (1343441142,), (1343441143,), (1343441144,), (1343441145,), (1343441303,), (1343441304,), (1343441306,), (1343441307,), (1343441308,), (1343441807,), (1343441840,), (1343441841,), (1343441842,), (1343441843,), (1343441844,), (1343441845,), (1343441846,), (1343443163,), (1343443164,), (1343443166,), (1343443167,), (1343443168,), (1343443170,), (1343443547,), (1343443548,), (1343443549,), (1343443550,), (1343443551,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354923 , 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=21354833 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 (21354923) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354924 , 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=21354833 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 (21354924) result : ((1343440733,), (1343440734,), (1343440736,), (1343440814,), (1343440815,), (1343440817,), (1343440818,), (1343440819,), (1343440820,), (1343441288,), (1343441289,), (1343441290,), (1343441291,), (1343441292,), (1343441294,), (1343443132,), (1343443133,), (1343443134,), (1343443135,), (1343443137,), (1343443544,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354925 , 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=21354833 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 (21354925) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354926 , 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=21354833 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_brun' 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 (21354926) result : ((1343441168,), (1343441361,), (1343441817,), (1343441851,), (1343443564,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354927 , 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=21354833 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 (21354927) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354928 , 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=21354833 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 (21354928) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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 21354929 , 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=21354833 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 (21354929) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21354833) result : ((1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) 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`=21354833 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','environnement','Carton_brun','kraft','flou','Carton_gris','autre_refus','papier')) 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`=21354833 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','environnement','Carton_brun','kraft','flou','Carton_gris','autre_refus','papier')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21354833, 'sub_port_id': 21354930, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934497, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'plastique': {'main_port_id': 21354833, 'sub_port_id': 21354931, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934498, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'flou': {'main_port_id': 21354833, 'sub_port_id': 21354932, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934499, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'Carton_gris': {'main_port_id': 21354833, 'sub_port_id': 21354933, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934500, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'autre_refus': {'main_port_id': 21354833, 'sub_port_id': 21354934, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934501, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'mal_croppe': {'main_port_id': 21354833, 'sub_port_id': 21354935, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934502, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 21354833, 'sub_port_id': 21354936, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934503, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'kraft': {'main_port_id': 21354833, 'sub_port_id': 21354937, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934504, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'Carton_brun': {'main_port_id': 21354833, 'sub_port_id': 21354938, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934505, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'metal': {'main_port_id': 21354833, 'sub_port_id': 21354939, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934506, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'papier': {'main_port_id': 21354833, 'sub_port_id': 21354940, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934507, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 51, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}, 'environnement': {'main_port_id': 21354833, 'sub_port_id': 21354941, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13934508, 'last_updated_at': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 12, 15, 58, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 12, 15, 51, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354930,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354918 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354931,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354919 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354932,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354920 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354933,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354921 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354934,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354922 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354935,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354923 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354936,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354924 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354937,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354925 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354938,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354926 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354939,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354927 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354940,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354928 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21354941,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21354929 lien utilise dans velours : https://www.fotonower.com/velours/21354930,21354931,21354932,21354933,21354934,21354935,21354936,21354937,21354938,21354939,21354940,21354941?tags=cartonnette,plastique,flou,Carton_gris,autre_refus,mal_croppe,Teint_Dans_La_Masse,kraft,Carton_brun,metal,papier,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21354833]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343443545] map_info['map_portfolio_photo'] : {21354833: [1343443545, 1343443364, 1343443339, 1343443270, 1343443056, 1343442926, 1343442791, 1343442651, 1343442490, 1343442424, 1343441838, 1343441836, 1343441834, 1343441830, 1343441825, 1343441629, 1343441510, 1343441435, 1343440929, 1343440905, 1343440873, 1343440836, 1343440799, 1343440614, 1343440563, 1343440527, 1343440496, 1343440472, 1343440435, 1343439876, 1343439850, 1343439823, 1343439796, 1343439514, 1343439472, 1343439446, 1343439423, 1343439405, 1343438847, 1343438784, 1343438721, 1343438639, 1343438388, 1343438357, 1343438315, 1343438271, 1343438238, 1343438219, 1343437756, 1343437720, 1343437697, 1343437441, 1343437417, 1343437390]} final : False mtd_id 4302 list_pids : [1343443545] Looping around the photos to save general results len do output : 1 /21354833. 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, '2662992') ('4302', '21354833', '1343443545', None, None, None, None, None, '2662992') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '21354833', "{'cartonnette': 21354918, 'plastique': 21354919, 'flou': 21354920, 'Carton_gris': 21354921, 'autre_refus': 21354922, 'mal_croppe': 21354923, 'Teint_Dans_La_Masse': 21354924, 'kraft': 21354925, 'Carton_brun': 21354926, 'metal': 21354927, 'papier': 21354928, 'environnement': 21354929}", None, None, None, None, '2662992'), ('4302', '21354833', '1343443545', None, None, None, None, None, '2662992')] time used for this insertion : 0.015183687210083008 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7583794593811035 time spend to save output : 0.015475034713745117 total time spend for step 1 : 1.7738544940948486 step2:final Wed Mar 12 16:02:02 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 (21354833) 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 21354833 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343437441,1343437417,1343437390,1343437756,1343437720,1343437697,1343438388,1343438357,1343438315,1343438271,1343438238,1343438219,1343438847,1343438784,1343438721,1343438639,1343439514,1343439472,1343439446,1343439423,1343439405,1343439876,1343439850,1343439823,1343439796,1343440614,1343440563,1343440527,1343440496,1343440472,1343440435,1343440929,1343440905,1343440873,1343440836,1343440799,1343441629,1343441510,1343441435,1343441838,1343441836,1343441834,1343441830,1343441825,1343443056,1343442926,1343442791,1343442651,1343442490,1343442424,1343443364,1343443339,1343443270,1343443545); 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([21354833]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343443545: ('0.06673023488297455',)} new output for save of step final : {1343443545: ('0.06673023488297455',)} [1343443545] map_info['map_portfolio_photo'] : {21354833: [1343443545, 1343443364, 1343443339, 1343443270, 1343443056, 1343442926, 1343442791, 1343442651, 1343442490, 1343442424, 1343441838, 1343441836, 1343441834, 1343441830, 1343441825, 1343441629, 1343441510, 1343441435, 1343440929, 1343440905, 1343440873, 1343440836, 1343440799, 1343440614, 1343440563, 1343440527, 1343440496, 1343440472, 1343440435, 1343439876, 1343439850, 1343439823, 1343439796, 1343439514, 1343439472, 1343439446, 1343439423, 1343439405, 1343438847, 1343438784, 1343438721, 1343438639, 1343438388, 1343438357, 1343438315, 1343438271, 1343438238, 1343438219, 1343437756, 1343437720, 1343437697, 1343437441, 1343437417, 1343437390]} final : False mtd_id 4302 list_pids : [1343443545] Looping around the photos to save general results len do output : 1 /1343443545.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, '2662992') ('4302', '21354833', '1343443545', None, None, None, None, None, '2662992') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '21354833', '1343443545', '0.06673023488297455', None, None, None, None, '2662992')] time used for this insertion : 0.01904296875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0687417984008789 time spend to save output : 0.019337177276611328 total time spend for step 2 : 0.08807897567749023 step3:velours_tree Wed Mar 12 16:02:02 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 : {21354833: [{'cartonnette': 21354918, 'plastique': 21354919, 'flou': 21354920, 'Carton_gris': 21354921, 'autre_refus': 21354922, 'mal_croppe': 21354923, 'Teint_Dans_La_Masse': 21354924, 'kraft': 21354925, 'Carton_brun': 21354926, 'metal': 21354927, 'papier': 21354928, 'environnement': 21354929}]} input_args_next_step : {21354833: ()} output_args : {21354833: [{'cartonnette': 21354918, 'plastique': 21354919, 'flou': 21354920, 'Carton_gris': 21354921, 'autre_refus': 21354922, 'mal_croppe': 21354923, 'Teint_Dans_La_Masse': 21354924, 'kraft': 21354925, 'Carton_brun': 21354926, 'metal': 21354927, 'papier': 21354928, 'environnement': 21354929}]} args : 21354833 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 : ({'cartonnette': 21354918, 'plastique': 21354919, 'flou': 21354920, 'Carton_gris': 21354921, 'autre_refus': 21354922, 'mal_croppe': 21354923, 'Teint_Dans_La_Masse': 21354924, 'kraft': 21354925, 'Carton_brun': 21354926, 'metal': 21354927, 'papier': 21354928, 'environnement': 21354929},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21354833) 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([21354833]) 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.4028174877166748 time spend to save output : 6.151199340820312e-05 total time spend for step 3 : 0.402878999710083 step4:send_mail_cod Wed Mar 12 16:02:02 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 : {1343443545: ('0.06673023488297455',)} input_args_next_step : {1343443545: ()} output_args : {1343443545: ('0.06673023488297455',)} args : 1343443545 depend.output_id : 0 complete output_args for input 3 : {21354833: [{'cartonnette': 21354918, 'plastique': 21354919, 'flou': 21354920, 'Carton_gris': 21354921, 'autre_refus': 21354922, 'mal_croppe': 21354923, 'Teint_Dans_La_Masse': 21354924, 'kraft': 21354925, 'Carton_brun': 21354926, 'metal': 21354927, 'papier': 21354928, 'environnement': 21354929}]} input_args_next_step : {1343443545: ('0.06673023488297455',), 21354833: ()} output_args : {21354833: [{'cartonnette': 21354918, 'plastique': 21354919, 'flou': 21354920, 'Carton_gris': 21354921, 'autre_refus': 21354922, 'mal_croppe': 21354923, 'Teint_Dans_La_Masse': 21354924, 'kraft': 21354925, 'Carton_brun': 21354926, 'metal': 21354927, 'papier': 21354928, 'environnement': 21354929}]} args : 21354833 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 :2, first value : ('0.06673023488297455',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21354833) 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 (1343443545) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343443545 download finish for photo 1343443545 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 : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P21354833_12-03-2025_16_02_02.pdf 21354918 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=21354918 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343440757: '1741791151_2855989_1343439405_63653fc17defeab7ab2ebc5fbf9d0643_rle_crop_3707902549_0.png', 1343441160: '1741791193_2856495_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902956_0.png', 1343441815: '1741791272_2857621_1343439796_6590d140d2591734e860480dda1e1d16_rle_crop_3707904248_0.png', 1343441849: '1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902956_0.png', 1343443182: '1741791373_2858740_1343441629_0a0a1b9f5483f8d2c57960e55cf9a177_rle_crop_3707912666_0.png', 1343443563: '1741791453_2859545_1343441825_1e41c54121f37aa5f3b301493994e5bc_rle_crop_3707920226_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/7d5a4d93927a8de824b03bd36f96a56c_64206145.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/93095cca414dc1885c1b8504811803d7_80753976.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/17ae1836d2e8add68891192268c4081f_86666785.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/93095cca414dc1885c1b8504811803d7_16988812.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/03269c9a47c8f671ab885f4d59aa0dde_65331954.png change filename to text .imagette213549181741791722/ imagette213549181741791722/1741791453_2859545_1343441825_1e41c54121f37aa5f3b301493994e5bc_rle_crop_3707920226_0.png.png imagette213549181741791722/1741791373_2858740_1343441629_0a0a1b9f5483f8d2c57960e55cf9a177_rle_crop_3707912666_0.png.png imagette213549181741791722/1741791272_2857621_1343439796_6590d140d2591734e860480dda1e1d16_rle_crop_3707904248_0.png.png imagette213549181741791722/1741791151_2855989_1343439405_63653fc17defeab7ab2ebc5fbf9d0643_rle_crop_3707902549_0.png.png imagette213549181741791722/1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902956_0.png.png imagette213549181741791722/1741791193_2856495_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902956_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/86971c762f2554cd4f855302974889c9_77354853.png imagette213549181741791722 21354919 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=21354919 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343441195: '1741791193_2856495_1343438315_e3ab87675466bf48c737cb2afbf1fc36_rle_crop_3707902971_0.png', 1343441197: '1741791193_2856495_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902981_0.png', 1343441375: '1741791213_2856811_1343437417_3ea55863faf53e4d7ef622334f848c33_rle_crop_3707901310_0.png', 1343441852: '1741791292_2857935_1343438315_e3ab87675466bf48c737cb2afbf1fc36_rle_crop_3707906019_0.png', 1343441853: '1741791292_2857935_1343438315_e3ab87675466bf48c737cb2afbf1fc36_bib_crop_3707902971_0.jpg', 1343441854: '1741791292_2857935_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902981_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/e7f2b5ddcd5631545daa324a619a17a9_46901100.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f58d30c08406cf3564fa792f83e55b12_46061554.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2c518ca56764e04eaed5ccb85cf49b51_60690933.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/3b1bf5a4e2f908e4b1e23fb13b47ff62_85457670.png change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/18073285c1d873613395f021dc709e82_91304246.jpg change filename to text .imagette213549191741791723/ imagette213549191741791723/1741791193_2856495_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902981_0.png.png imagette213549191741791723/1741791292_2857935_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902981_0.png.png imagette213549191741791723/1741791193_2856495_1343438315_e3ab87675466bf48c737cb2afbf1fc36_rle_crop_3707902971_0.png.png imagette213549191741791723/1741791292_2857935_1343438315_e3ab87675466bf48c737cb2afbf1fc36_bib_crop_3707902971_0.jpg.jpg imagette213549191741791723/1741791213_2856811_1343437417_3ea55863faf53e4d7ef622334f848c33_rle_crop_3707901310_0.png.png imagette213549191741791723/1741791292_2857935_1343438315_e3ab87675466bf48c737cb2afbf1fc36_rle_crop_3707906019_0.png.png imagette213549201741791723/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f58d30c08406cf3564fa792f83e55b12_52358435.png imagette213549191741791723 21354920 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=21354920 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213549201741791723 21354922 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=21354922 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343443166: '1741791373_2858740_1343440836_e65a0b856d5e5263cad7b8fb04c40f26_rle_crop_3707914371_0.png', 1343441840: '1741791292_2857935_1343438847_3a019c39e9629262583f28404fe5046f_bib_crop_3707902939_0.jpg', 1343441841: '1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902955_0.png', 1343441842: '1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902957_0.png', 1343441843: '1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902959_0.png', 1343441844: '1741791292_2857935_1343438315_e3ab87675466bf48c737cb2afbf1fc36_rle_crop_3707902964_0.png', 1343441845: '1741791292_2857935_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902975_0.png', 1343441846: '1741791292_2857935_1343438238_b101fd6eb026f1f4450a459e996357dd_rle_crop_3707902988_0.png', 1343443163: '1741791373_2858740_1343441629_0a0a1b9f5483f8d2c57960e55cf9a177_rle_crop_3707912670_0.png', 1343443164: '1741791373_2858740_1343440873_8876fb7b068a10504056605a505ab78e_rle_crop_3707914144_0.png', 1343441807: '1741791272_2857621_1343440614_68fa53b655afaa041382e2e9a157a7f3_rle_crop_3707904027_0.png', 1343443167: '1741791373_2858740_1343440836_e65a0b856d5e5263cad7b8fb04c40f26_rle_crop_3707914370_0.png', 1343443168: '1741791373_2858740_1343440799_384820f2392f35704b1f37d0e33b1795_rle_crop_3707914649_0.png', 1343443170: '1741791373_2858740_1343440799_384820f2392f35704b1f37d0e33b1795_rle_crop_3707914644_0.png', 1343443547: '1741791453_2859545_1343441836_cc2a00c7759769367ebf8967c0532529_rle_crop_3707919673_0.png', 1343443548: '1741791453_2859545_1343441836_cc2a00c7759769367ebf8967c0532529_rle_crop_3707919674_0.png', 1343443549: '1741791453_2859545_1343441834_8c7412cdf4b56df414ee2df5ee49fb68_rle_crop_3707920186_0.png', 1343443550: '1741791453_2859545_1343441830_1e971ac807c64e07e7a5e7d0e8a51915_rle_crop_3707920205_0.png', 1343443551: '1741791453_2859545_1343441825_1e41c54121f37aa5f3b301493994e5bc_rle_crop_3707920227_0.png', 1343441142: '1741791193_2856495_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902959_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/3945f58be4af40bc71b7da6ecbd5b16b_95795556.png change filename to text .wget -O 2.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2cb6f19e579115b6cb500c1915cecb2e_71059946.jpg change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/b6d5c0708f0b6b30e9e712d68806d0d7_67299003.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/e299b0bc8c7b6aa25f40d1686a7a8d61_50968652.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/cf84b077ecc349d485e8d96855dea755_88777123.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/b40f6fd87dc709971e65c87b6c578a3c_96481102.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/6f3bd0b6db20b1dc00ac677e6f7461f6_32682619.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/4e9a4a889d75ef48b792a80950151d40_10503620.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/4a570001aaa4b21aaa821e10438131dd_71762383.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f0e317f7708112398e4b43f3f9de74f9_7056307.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/3f8b3aeee884d15b8d0d493cc73ac062_32148944.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/21a4f1f4c5c08a765b04f933ca1c48ee_15576553.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/154e23ce3573b12c3218894ab1cf2355_24041253.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/c043403926614c2f0808415b154fc6b1_96472014.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f51e26a0cce5ff9220b36d9079e02d32_18908092.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/9eadda886274890b5e2eb7d75e0a71e4_51998670.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/155db4ebf64ea47feaa89a04063f8fef_49951542.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/777000e3d89b5597b4e4f70d9a57c8fc_71186367.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/c0ac6419ac9c34acccf32ab135d4b7c9_75280469.png change filename to text .imagette213549221741791723/ imagette213549221741791723/1741791373_2858740_1343440873_8876fb7b068a10504056605a505ab78e_rle_crop_3707914144_0.png.png imagette213549221741791723/1741791373_2858740_1343440836_e65a0b856d5e5263cad7b8fb04c40f26_rle_crop_3707914371_0.png.png imagette213549221741791723/1741791373_2858740_1343440799_384820f2392f35704b1f37d0e33b1795_rle_crop_3707914644_0.png.png imagette213549221741791723/1741791453_2859545_1343441836_cc2a00c7759769367ebf8967c0532529_rle_crop_3707919673_0.png.png imagette213549221741791723/1741791292_2857935_1343438238_b101fd6eb026f1f4450a459e996357dd_rle_crop_3707902988_0.png.png imagette213549221741791723/1741791373_2858740_1343440799_384820f2392f35704b1f37d0e33b1795_rle_crop_3707914649_0.png.png imagette213549221741791723/1741791292_2857935_1343438315_e3ab87675466bf48c737cb2afbf1fc36_rle_crop_3707902964_0.png.png imagette213549221741791723/1741791453_2859545_1343441834_8c7412cdf4b56df414ee2df5ee49fb68_rle_crop_3707920186_0.png.png imagette213549221741791723/1741791373_2858740_1343441629_0a0a1b9f5483f8d2c57960e55cf9a177_rle_crop_3707912670_0.png.png imagette213549221741791723/1741791453_2859545_1343441830_1e971ac807c64e07e7a5e7d0e8a51915_rle_crop_3707920205_0.png.png imagette213549221741791723/1741791373_2858740_1343440836_e65a0b856d5e5263cad7b8fb04c40f26_rle_crop_3707914370_0.png.png imagette213549221741791723/1741791292_2857935_1343438847_3a019c39e9629262583f28404fe5046f_bib_crop_3707902939_0.jpg.jpg imagette213549221741791723/1741791272_2857621_1343440614_68fa53b655afaa041382e2e9a157a7f3_rle_crop_3707904027_0.png.png imagette213549221741791723/1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902955_0.png.png imagette213549221741791723/1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902957_0.png.png imagette213549221741791723/1741791292_2857935_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902975_0.png.png imagette213549221741791723/1741791292_2857935_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902959_0.png.png imagette213549221741791723/1741791193_2856495_1343438357_b81bba66915a794a9c6a73f92b819588_rle_crop_3707902959_0.png.png imagette213549221741791723/1741791453_2859545_1343441836_cc2a00c7759769367ebf8967c0532529_rle_crop_3707919674_0.png.png imagette213549221741791723/1741791453_2859545_1343441825_1e41c54121f37aa5f3b301493994e5bc_rle_crop_3707920227_0.png.png imagette213549231741791724/ imagette213549251741791724/ imagette213549271741791724/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/cf84b077ecc349d485e8d96855dea755_52638661.png imagette213549221741791723 21354923 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=21354923 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213549231741791724 21354925 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=21354925 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213549251741791724 21354927 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=21354927 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213549271741791724 21354921 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=21354921 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343440843: '1741791171_2856241_1343438784_fba041060d32f668c2a40d12d60cb920_rle_crop_3707902735_0.png', 1343441152: '1741791193_2856495_1343438847_3a019c39e9629262583f28404fe5046f_rle_crop_3707902944_0.png', 1343441153: '1741791193_2856495_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902973_0.png', 1343441315: '1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_rle_crop_3707901271_0.png', 1343441811: '1741791272_2857621_1343439823_72c3cd2ecf91369ed7413c6d55be7b85_rle_crop_3707904201_0.png', 1343441813: '1741791272_2857621_1343439796_6590d140d2591734e860480dda1e1d16_rle_crop_3707904250_0.png', 1343441847: '1741791292_2857935_1343438847_3a019c39e9629262583f28404fe5046f_rle_crop_3707902944_0.png', 1343441848: '1741791292_2857935_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902973_0.png', 1343443554: '1741791453_2859545_1343441834_8c7412cdf4b56df414ee2df5ee49fb68_rle_crop_3707920181_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/37047fee42550317a236320f042d6889_74417846.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/5968d1d768ec785093b492b825089fb5_59726975.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f6ee7d450d89c1c3a55615863aac2027_57497739.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/28d763ad951fc98ff8932ceb89f03db5_42010140.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/bc99188d1d64df2fae0b99083e27e8e8_68108559.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/c62f1ceab4e872ef3edd863613e7b6e1_42603085.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/5968d1d768ec785093b492b825089fb5_74031118.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f6ee7d450d89c1c3a55615863aac2027_26634583.png change filename to text .imagette213549211741791724/ imagette213549211741791724/1741791272_2857621_1343439796_6590d140d2591734e860480dda1e1d16_rle_crop_3707904250_0.png.png imagette213549211741791724/1741791292_2857935_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902973_0.png.png imagette213549211741791724/1741791171_2856241_1343438784_fba041060d32f668c2a40d12d60cb920_rle_crop_3707902735_0.png.png imagette213549211741791724/1741791292_2857935_1343438847_3a019c39e9629262583f28404fe5046f_rle_crop_3707902944_0.png.png imagette213549211741791724/1741791272_2857621_1343439823_72c3cd2ecf91369ed7413c6d55be7b85_rle_crop_3707904201_0.png.png imagette213549211741791724/1741791193_2856495_1343438271_a52f7af789324f730a833ea2cf260237_rle_crop_3707902973_0.png.png imagette213549211741791724/1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_rle_crop_3707901271_0.png.png imagette213549211741791724/1741791453_2859545_1343441834_8c7412cdf4b56df414ee2df5ee49fb68_rle_crop_3707920181_0.png.png imagette213549211741791724/1741791193_2856495_1343438847_3a019c39e9629262583f28404fe5046f_rle_crop_3707902944_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/00ffdc767921c3edc2560ee2eeedd7bf_6327957.png imagette213549211741791724 21354924 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=21354924 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343441289: '1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_bib_crop_3707901276_0.jpg', 1343443544: '1741791453_2859545_1343441836_cc2a00c7759769367ebf8967c0532529_rle_crop_3707919676_0.png', 1343443137: '1741791373_2858740_1343440873_8876fb7b068a10504056605a505ab78e_rle_crop_3707914146_0.png', 1343443135: '1741791373_2858740_1343440873_8876fb7b068a10504056605a505ab78e_rle_crop_3707914148_0.png', 1343443134: '1741791373_2858740_1343440905_260ba01fc8a60d8524aeb876bf6b048e_rle_crop_3707912701_0.png', 1343443133: '1741791373_2858740_1343440905_260ba01fc8a60d8524aeb876bf6b048e_rle_crop_3707912700_0.png', 1343443132: '1741791373_2858740_1343441629_0a0a1b9f5483f8d2c57960e55cf9a177_rle_crop_3707912673_0.png', 1343441294: '1741791213_2856811_1343437390_1b5a0eb853a66f864f7f4c60203f7358_rle_crop_3707901357_0.png', 1343441292: '1741791213_2856811_1343437417_3ea55863faf53e4d7ef622334f848c33_rle_crop_3707901307_0.png', 1343441291: '1741791213_2856811_1343437417_3ea55863faf53e4d7ef622334f848c33_rle_crop_3707901315_0.png', 1343441290: '1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_rle_crop_3707903021_0.png', 1343440733: '1741791151_2855989_1343439423_13021da3c4c719399a30072a19c331c3_rle_crop_3707902526_0.png', 1343441288: '1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_rle_crop_3707901277_0.png', 1343440820: '1741791171_2856241_1343438639_f3f694a1bfc7235d1caf2606d6a2e9b1_rle_crop_3707902796_0.png', 1343440819: '1741791171_2856241_1343438721_9514d4b34ec5b061600f592934afb4ab_rle_crop_3707902767_0.png', 1343440818: '1741791171_2856241_1343438721_9514d4b34ec5b061600f592934afb4ab_rle_crop_3707902766_0.png', 1343440817: '1741791171_2856241_1343438784_fba041060d32f668c2a40d12d60cb920_rle_crop_3707902739_0.png', 1343440815: '1741791171_2856241_1343439514_28d04bd9f3f00df2678906cc340eb9ab_rle_crop_3707902723_0.png', 1343440814: '1741791171_2856241_1343439514_28d04bd9f3f00df2678906cc340eb9ab_rle_crop_3707902716_0.png', 1343440736: '1741791151_2855989_1343439405_63653fc17defeab7ab2ebc5fbf9d0643_rle_crop_3707902550_0.png'} change filename to text .wget -O 1.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/e4687ff64b984bd31250f67926b017e3_56047625.jpg change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/e915bead6f1a735d4bad3fb9d2d3ebf3_59204772.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/8eb8589c4b046274b86cfe0f8db01547_75835257.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/61d709450d5e936c751886a112abd83d_32830264.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/1c611a55a3123459c649382d4a4c88bb_69410286.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f422bc29aa3ccc35397757541b9096c3_66957707.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/e8b9e7b8905d86d7cedf1483974a708f_78600096.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/a15a6a2c70236389fcf67e25a6f0088a_13190272.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/d77dd8f5179630d8f8e3e6fa622727c8_80856769.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/41a6bf1f3b93012e40da2d4f5571c926_28588980.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/6cf55cf3fd38ac72f77b1c0cb3aac2b2_26599689.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/01197b0dfb980fcdeafaf0dbcf55966e_85794351.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/3e196d516c8ed8a389ea3a76fed32cc3_6977897.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/898c39e563010772f562b344801011e1_84721873.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/7efec48593631a6d01b80f8b337e37a2_12251579.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/2a416286f3c50bc81c564c0ecebf67a7_97034555.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/d3aca9414a78508200ffea6717b2c5eb_44631169.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/f71a1f72555b8eb6d0812882fd934f79_3878955.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/eba2cdffe80d9c3563838d912722a1a0_56545329.png change filename to text .imagette213549241741791725/ imagette213549241741791725/1741791171_2856241_1343438784_fba041060d32f668c2a40d12d60cb920_rle_crop_3707902739_0.png.png imagette213549241741791725/1741791171_2856241_1343438721_9514d4b34ec5b061600f592934afb4ab_rle_crop_3707902766_0.png.png imagette213549241741791725/1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_rle_crop_3707903021_0.png.png imagette213549241741791725/1741791373_2858740_1343440905_260ba01fc8a60d8524aeb876bf6b048e_rle_crop_3707912701_0.png.png imagette213549241741791725/1741791373_2858740_1343441629_0a0a1b9f5483f8d2c57960e55cf9a177_rle_crop_3707912673_0.png.png imagette213549241741791725/1741791171_2856241_1343439514_28d04bd9f3f00df2678906cc340eb9ab_rle_crop_3707902716_0.png.png imagette213549241741791725/1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_rle_crop_3707901277_0.png.png imagette213549241741791725/1741791213_2856811_1343437417_3ea55863faf53e4d7ef622334f848c33_rle_crop_3707901315_0.png.png imagette213549241741791725/1741791213_2856811_1343437417_3ea55863faf53e4d7ef622334f848c33_rle_crop_3707901307_0.png.png imagette213549241741791725/1741791373_2858740_1343440873_8876fb7b068a10504056605a505ab78e_rle_crop_3707914148_0.png.png imagette213549241741791725/1741791151_2855989_1343439405_63653fc17defeab7ab2ebc5fbf9d0643_rle_crop_3707902550_0.png.png imagette213549241741791725/1741791373_2858740_1343440905_260ba01fc8a60d8524aeb876bf6b048e_rle_crop_3707912700_0.png.png imagette213549241741791725/1741791213_2856811_1343437441_8b69ce68be553dabef2d5a8300746100_bib_crop_3707901276_0.jpg.jpg imagette213549241741791725/1741791213_2856811_1343437390_1b5a0eb853a66f864f7f4c60203f7358_rle_crop_3707901357_0.png.png imagette213549241741791725/1741791171_2856241_1343439514_28d04bd9f3f00df2678906cc340eb9ab_rle_crop_3707902723_0.png.png imagette213549241741791725/1741791171_2856241_1343438639_f3f694a1bfc7235d1caf2606d6a2e9b1_rle_crop_3707902796_0.png.png imagette213549241741791725/1741791373_2858740_1343440873_8876fb7b068a10504056605a505ab78e_rle_crop_3707914146_0.png.png imagette213549241741791725/1741791171_2856241_1343438721_9514d4b34ec5b061600f592934afb4ab_rle_crop_3707902767_0.png.png imagette213549241741791725/1741791453_2859545_1343441836_cc2a00c7759769367ebf8967c0532529_rle_crop_3707919676_0.png.png imagette213549241741791725/1741791151_2855989_1343439423_13021da3c4c719399a30072a19c331c3_rle_crop_3707902526_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/a48b7628a9a725bd37e3a59bd85c50fe_73546110.png imagette213549241741791725 21354926 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=21354926 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343441168: '1741791193_2856495_1343438219_79a7e70db499c2b8645c89fb52078481_rle_crop_3707903017_0.png', 1343441361: '1741791213_2856811_1343437756_809638e1a5afdf733a9273912236e5cc_rle_crop_3707901242_0.png', 1343441817: '1741791272_2857621_1343439796_6590d140d2591734e860480dda1e1d16_rle_crop_3707904252_0.png', 1343441851: '1741791292_2857935_1343438219_79a7e70db499c2b8645c89fb52078481_rle_crop_3707903017_0.png', 1343443564: '1741791453_2859545_1343441830_1e971ac807c64e07e7a5e7d0e8a51915_rle_crop_3707920206_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/4f3dbe0aaf6f3e19294348b9be8d9758_93636836.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/09ee95d689330de717c08d8086a82380_90535546.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/9684dd1d11a8fb689e77a80761cd4458_49925252.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/4f3dbe0aaf6f3e19294348b9be8d9758_3062797.png change filename to text .imagette213549261741791726/ imagette213549261741791726/1741791193_2856495_1343438219_79a7e70db499c2b8645c89fb52078481_rle_crop_3707903017_0.png.png imagette213549261741791726/1741791213_2856811_1343437756_809638e1a5afdf733a9273912236e5cc_rle_crop_3707901242_0.png.png imagette213549261741791726/1741791272_2857621_1343439796_6590d140d2591734e860480dda1e1d16_rle_crop_3707904252_0.png.png imagette213549261741791726/1741791453_2859545_1343441830_1e971ac807c64e07e7a5e7d0e8a51915_rle_crop_3707920206_0.png.png imagette213549261741791726/1741791292_2857935_1343438219_79a7e70db499c2b8645c89fb52078481_rle_crop_3707903017_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/60aad990ec79425e3958e1331b66a7af_32592782.png imagette213549261741791726 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21354833 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21354930,21354931,21354932,21354933,21354934,21354935,21354936,21354937,21354938,21354939,21354940,21354941?tags=cartonnette,plastique,flou,Carton_gris,autre_refus,mal_croppe,Teint_Dans_La_Masse,kraft,Carton_brun,metal,papier,environnement your option no_mail is active, we will not send the real mail to your client args[1343443545] : ('0.06673023488297455',) no score found for photo 1343443545 We are sending mail with results at report@fotonower.com refus_total : 0.06673023488297455 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=21354833 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'autre_refus' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21354833]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343443545] map_info['map_portfolio_photo'] : {21354833: [1343443545, 1343443364, 1343443339, 1343443270, 1343443056, 1343442926, 1343442791, 1343442651, 1343442490, 1343442424, 1343441838, 1343441836, 1343441834, 1343441830, 1343441825, 1343441629, 1343441510, 1343441435, 1343440929, 1343440905, 1343440873, 1343440836, 1343440799, 1343440614, 1343440563, 1343440527, 1343440496, 1343440472, 1343440435, 1343439876, 1343439850, 1343439823, 1343439796, 1343439514, 1343439472, 1343439446, 1343439423, 1343439405, 1343438847, 1343438784, 1343438721, 1343438639, 1343438388, 1343438357, 1343438315, 1343438271, 1343438238, 1343438219, 1343437756, 1343437720, 1343437697, 1343437441, 1343437417, 1343437390]} final : False mtd_id 4302 list_pids : [1343443545] 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, '2662992') ('4302', '21354833', '1343443545', None, None, None, None, None, '2662992') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '21354833', '1343443545', None, None, None, None, None, '2662992')] time used for this insertion : 0.03971147537231445 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9552292823791504 time spend to save output : 0.039873600006103516 total time spend for step 4 : 3.995102882385254 step5:split_time_score Wed Mar 12 16:02:06 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 : ['21354833'] 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 : [('21354833',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21354833) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343443545: {'path': 'temp/1741791722_2889073_1343443545_93d2c8c8fa71b1d4a921fb3d74def80d.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 = 21354833; (('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 = 21354833 group by h (('15', 54),) 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=21354833 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 (21354833) 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 (21354833) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12032025 21354833 Nombre de photos uploadées : 54 / 23040 (0%) 12032025 21354833 Nombre de photos taguées (types de déchets): 0 / 54 (0%) 12032025 21354833 Nombre de photos taguées (volume) : 0 / 54 (0%) [{'photo_id': 1343437441, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/8b69ce68be553dabef2d5a8300746100.jpg', 'username': None, 'uploaded_at': 1741790801, 'text': 'image_12032025_15_45_03_010162m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343437417, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/3ea55863faf53e4d7ef622334f848c33.jpg', 'username': None, 'uploaded_at': 1741790801, 'text': 'image_12032025_15_45_24_010144m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343437390, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/1b5a0eb853a66f864f7f4c60203f7358.jpg', 'username': None, 'uploaded_at': 1741790801, 'text': 'image_12032025_15_45_34_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343437756, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/12/809638e1a5afdf733a9273912236e5cc.jpg', 'username': None, 'uploaded_at': 1741790862, 'text': 'image_12032025_15_45_53_010143m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 9.298324584960938e-06 ?????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022017955780029297 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21354833, '2025-03-12' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1660967,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02619028091430664 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= 1660967 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1660967, 'dashboard_run_id': 1670739, 'mtr_portfolio_id': 21353310, 'dashboard_result_id': 9398566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21353311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21353312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21353313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21353314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21353315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21353316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21353317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21353318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21353319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21353320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21353321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21353322, 'pht': 3726}}"}, {'dashboat_entry_day': 1660967, 'dashboard_run_id': 1670739, 'mtr_portfolio_id': 21353763, 'dashboard_result_id': 9398567, '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_P21353763_12-03-2025_15_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21353788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21353789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21353790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21353791, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21353792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21353793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21353794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21353795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21353796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21353797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21353798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21353799, 'pht': 3726}}"}, {'dashboat_entry_day': 1660967, 'dashboard_run_id': 1670739, 'mtr_portfolio_id': 21354833, 'dashboard_result_id': 9398569, '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_P21354833_12-03-2025_15_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21354918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21354919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21354920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21354921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21354922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21354923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21354924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21354925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21354926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21354927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21354928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21354929, '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 = 21353310 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': 2662844, 'mtr_portfolio_id': 21353310, 'created_at': datetime.datetime(2025, 3, 12, 15, 33, 4), 'result': '0.058911077905909354', 'result_long': None, 'result_double': None}] Qualite : 0.058911077905909354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21353310 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21353310%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21353310 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21353311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21353312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21353313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21353314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21353315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21353316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21353317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21353318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21353319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21353320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21353321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21353322, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21353310 and dashboard_run_id = 1670739 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`=21353310 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9398566, 0.058911077905909354, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21353311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21353312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21353313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21353314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21353315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21353316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21353317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21353318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21353319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21353320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21353321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21353322, 'pht': 3726}, 'url_report': ''}") 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 = 21353763 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': 2662887, 'mtr_portfolio_id': 21353763, 'created_at': datetime.datetime(2025, 3, 12, 15, 51), 'result': '0.05743048668795151', 'result_long': None, 'result_double': None}] Qualite : 0.05743048668795151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21353763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21353763_12-03-2025_15_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21353763 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_P21353763_12-03-2025_15_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21353788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21353789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21353790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21353791, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21353792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21353793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21353794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21353795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21353796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21353797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21353798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21353799, 'pht': 3726}}" where mtr_portfolio_id = 21353763 and dashboard_run_id = 1670739 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`=21353763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9398567, 0.05743048668795151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21353763_12-03-2025_15_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21353788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21353789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21353790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21353791, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21353792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21353793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21353794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21353795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21353796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21353797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21353798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21353799, '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 = 21354833 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': 2662992, 'mtr_portfolio_id': 21354833, 'created_at': datetime.datetime(2025, 3, 12, 16, 2, 2), 'result': '0.06673023488297455', 'result_long': None, 'result_double': None}] Qualite : 0.06673023488297455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21354833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21354833_12-03-2025_15_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21354833 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_P21354833_12-03-2025_15_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21354918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21354919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21354920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21354921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21354922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21354923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21354924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21354925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21354926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21354927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21354928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21354929, 'pht': 3726}}" where mtr_portfolio_id = 21354833 and dashboard_run_id = 1670739 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`=21354833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9398569, 0.06673023488297455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21354833_12-03-2025_15_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21354918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21354919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21354920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21354921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21354922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21354923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21354924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21354925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21354926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21354927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21354928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21354929, '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 (21353310,21353763,21354833) result : ((1343427239,), (1343427265,), (1343428137,), (1343428172,), (1343428203,), (1343428229,), (1343428254,), (1343428622,), (1343428667,), (1343428971,), (1343428997,), (1343429025,), (1343429069,), (1343429144,), (1343429147,), (1343429152,), (1343429157,), (1343429309,), (1343429328,), (1343429547,), (1343429553,), (1343429557,), (1343429561,), (1343429708,), (1343429712,), (1343429718,), (1343429920,), (1343429940,), (1343429954,), (1343429965,), (1343429992,), (1343430059,), (1343430063,), (1343430066,), (1343430068,), (1343430076,), (1343430182,), (1343430202,), (1343430214,), (1343430330,), (1343430347,), (1343430361,), (1343430372,), (1343430391,), (1343430407,), (1343430525,), (1343430543,), (1343430563,), (1343430582,), (1343430594,), (1343430788,), (1343430690,), (1343430713,), (1343430735,), (1343430762,), (1343430923,), (1343430955,), (1343431010,), (1343431187,), (1343431227,), (1343431260,), (1343431321,), (1343431334,), (1343431582,), (1343431625,), (1343431827,), (1343431941,), (1343432002,), (1343432219,), (1343432299,), (1343432335,), (1343432356,), (1343432841,), (1343432901,), (1343433056,), (1343433930,), (1343434096,), (1343434170,), (1343434206,), (1343434246,), (1343434560,), (1343434580,), (1343434623,), (1343434857,), (1343434873,), (1343434906,), (1343434925,), (1343435280,), (1343435315,), (1343435679,), (1343435736,), (1343435740,), (1343435744,), (1343435746,), (1343435753,), (1343435813,), (1343435819,), (1343435826,), (1343435831,), (1343435832,), (1343435833,), (1343435994,), (1343436023,), (1343436066,), (1343436090,), (1343436373,), (1343436406,), (1343436474,), (1343436562,), (1343437020,), (1343437049,), (1343437075,), (1343437099,), (1343437134,), (1343437157,), (1343437445,), (1343437390,), (1343437417,), (1343437441,), (1343437697,), (1343437720,), (1343437756,), (1343438219,), (1343438238,), (1343438271,), (1343438315,), (1343438357,), (1343438388,), (1343438639,), (1343438721,), (1343438784,), (1343438847,), (1343439405,), (1343439423,), (1343439446,), (1343439472,), (1343439514,), (1343439796,), (1343439823,), (1343439850,), (1343439876,), (1343440435,), (1343440472,), (1343440496,), (1343440527,), (1343440563,), (1343440614,), (1343440799,), (1343440836,), (1343440873,), (1343440905,), (1343440929,), (1343441435,), (1343441510,), (1343441629,), (1343441825,), (1343441830,), (1343441834,), (1343441836,), (1343441838,), (1343442424,), (1343442490,), (1343442651,), (1343442791,), (1343442926,), (1343443056,), (1343443270,), (1343443339,), (1343443364,), (1343443545,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 54, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21354833]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343443545] map_info['map_portfolio_photo'] : {21354833: [1343443545, 1343443364, 1343443339, 1343443270, 1343443056, 1343442926, 1343442791, 1343442651, 1343442490, 1343442424, 1343441838, 1343441836, 1343441834, 1343441830, 1343441825, 1343441629, 1343441510, 1343441435, 1343440929, 1343440905, 1343440873, 1343440836, 1343440799, 1343440614, 1343440563, 1343440527, 1343440496, 1343440472, 1343440435, 1343439876, 1343439850, 1343439823, 1343439796, 1343439514, 1343439472, 1343439446, 1343439423, 1343439405, 1343438847, 1343438784, 1343438721, 1343438639, 1343438388, 1343438357, 1343438315, 1343438271, 1343438238, 1343438219, 1343437756, 1343437720, 1343437697, 1343437441, 1343437417, 1343437390]} final : True mtd_id 4302 list_pids : [1343443545] Looping around the photos to save general results len do output : 1 /21354833Didn'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, '2662992') ('4302', '21354833', '1343443545', None, None, None, None, None, '2662992') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '21354833', 'None', None, None, None, None, '2662992'), ('4302', '21354833', '1343443545', None, None, None, None, None, '2662992')] time used for this insertion : 0.012448787689208984 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2260801792144775 time spend to save output : 0.012656211853027344 total time spend for step 5 : 1.2387363910675049 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 (2662992) 1.89user 2.25system 0:11.97elapsed 34%CPU (0avgtext+0avgdata 147872maxresident)k 4128inputs+9216outputs (68major+59495minor)pagefaults 0swaps