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 : 2338188 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 (4035112) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4035112) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442978 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4035112'] with mtr_portfolio_ids : ['28442978'] and first list_photo_ids : [] new path : /proc/2338188/ Name: python3 Umask: 0002 State: R (running) Tgid: 2338188 Ngid: 0 Pid: 2338188 PPid: 2338187 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2338188 NSpid: 2338188 NSpgid: 2337810 NSsid: 2337810 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97456 kB VmRSS: 97456 kB RssAnon: 59908 kB RssFile: 37548 kB RssShmem: 0 kB VmData: 865636 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/63019 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: 49 nonvoluntary_ctxt_switches: 90 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2338188', 'Ngid': '0', 'Pid': '2338188', 'PPid': '2338187', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2338188', 'NSpid': '2338188', 'NSpgid': '2337810', 'NSsid': '2337810', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97456 kB', 'VmRSS': '97456 kB', 'RssAnon': '59908 kB', 'RssFile': '37548 kB', 'RssShmem': '0 kB', 'VmData': '865636 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/63019', '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': '49', 'nonvoluntary_ctxt_switches': '90'} ('datou_batch_current', '2338188', '1106908', '0', '1106884', '865636', '97456', b'', 'marlene', '4035112') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (28442978) 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 (4035112 ) ) 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 (28442978) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1394001612, 'portfolio_id': 28442978}, {'photo_id': 1394001610, 'portfolio_id': 28442978}, {'photo_id': 1394001605, 'portfolio_id': 28442978}, {'photo_id': 1394001583, 'portfolio_id': 28442978}, {'photo_id': 1394001580, 'portfolio_id': 28442978}, {'photo_id': 1394001574, 'portfolio_id': 28442978}, {'photo_id': 1394001571, 'portfolio_id': 28442978}, {'photo_id': 1394001569, 'portfolio_id': 28442978}, {'photo_id': 1394001567, 'portfolio_id': 28442978}, {'photo_id': 1394001509, 'portfolio_id': 28442978}, {'photo_id': 1394001506, 'portfolio_id': 28442978}, {'photo_id': 1394001505, 'portfolio_id': 28442978}, {'photo_id': 1394001504, 'portfolio_id': 28442978}, {'photo_id': 1394001482, 'portfolio_id': 28442978}, {'photo_id': 1394001477, 'portfolio_id': 28442978}, {'photo_id': 1394001474, 'portfolio_id': 28442978}, {'photo_id': 1394001471, 'portfolio_id': 28442978}, {'photo_id': 1394001467, 'portfolio_id': 28442978}, {'photo_id': 1394001446, 'portfolio_id': 28442978}, {'photo_id': 1394001444, 'portfolio_id': 28442978}, {'photo_id': 1394001439, 'portfolio_id': 28442978}, {'photo_id': 1394001436, 'portfolio_id': 28442978}, {'photo_id': 1394001434, 'portfolio_id': 28442978}, {'photo_id': 1394001432, 'portfolio_id': 28442978}, {'photo_id': 1394001399, 'portfolio_id': 28442978}, {'photo_id': 1394001395, 'portfolio_id': 28442978}, {'photo_id': 1394001393, 'portfolio_id': 28442978}, {'photo_id': 1394001391, 'portfolio_id': 28442978}, {'photo_id': 1394001371, 'portfolio_id': 28442978}, {'photo_id': 1394001369, 'portfolio_id': 28442978}, {'photo_id': 1394001367, 'portfolio_id': 28442978}, {'photo_id': 1394001364, 'portfolio_id': 28442978}, {'photo_id': 1394001340, 'portfolio_id': 28442978}, {'photo_id': 1394001337, 'portfolio_id': 28442978}, {'photo_id': 1394001323, 'portfolio_id': 28442978}, {'photo_id': 1394001311, 'portfolio_id': 28442978}, {'photo_id': 1394001308, 'portfolio_id': 28442978}, {'photo_id': 1394001306, 'portfolio_id': 28442978}, {'photo_id': 1394001273, 'portfolio_id': 28442978}, {'photo_id': 1394001272, 'portfolio_id': 28442978}, {'photo_id': 1394001269, 'portfolio_id': 28442978}, {'photo_id': 1394001248, 'portfolio_id': 28442978}, {'photo_id': 1394001244, 'portfolio_id': 28442978}, {'photo_id': 1394001242, 'portfolio_id': 28442978}, {'photo_id': 1394001241, 'portfolio_id': 28442978}, {'photo_id': 1394001239, 'portfolio_id': 28442978}, {'photo_id': 1394001201, 'portfolio_id': 28442978}, {'photo_id': 1394001197, 'portfolio_id': 28442978}] map_portfolio_id_photo_id: {28442978: [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567, 1394001509, 1394001506, 1394001505, 1394001504, 1394001482, 1394001477, 1394001474, 1394001471, 1394001467, 1394001446, 1394001444, 1394001439, 1394001436, 1394001434, 1394001432, 1394001399, 1394001395, 1394001393, 1394001391, 1394001371, 1394001369, 1394001367, 1394001364, 1394001340, 1394001337, 1394001323, 1394001311, 1394001308, 1394001306, 1394001273, 1394001272, 1394001269, 1394001248, 1394001244, 1394001242, 1394001241, 1394001239, 1394001201, 1394001197]} ##### 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.015880107879638672 #### 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 Nov 12 07:59:26 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 (28442978) 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 : 28442978 get user id for portfolio 28442978 get sub ptf for main ptf 28442978, type 3726 and hashtags ['Carton_gris', 'plastique', 'cartonnette', 'autre_refus', 'kraft', 'metal', 'papier', 'Carton_brun', 'environnement', 'flou', 'Teint_Dans_La_Masse', 'mal_croppe'] 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`=28442978 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','kraft','metal','papier','Carton_brun','environnement','flou','Teint_Dans_La_Masse','mal_croppe')) 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`=28442978 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','kraft','metal','papier','Carton_brun','environnement','flou','Teint_Dans_La_Masse','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 28442978, 'sub_port_id': 28442994, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263429, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'kraft': {'main_port_id': 28442978, 'sub_port_id': 28442995, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263430, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'plastique': {'main_port_id': 28442978, 'sub_port_id': 28442996, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263431, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'environnement': {'main_port_id': 28442978, 'sub_port_id': 28442997, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263432, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'papier': {'main_port_id': 28442978, 'sub_port_id': 28442998, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263433, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'mal_croppe': {'main_port_id': 28442978, 'sub_port_id': 28442999, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263434, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'metal': {'main_port_id': 28442978, 'sub_port_id': 28443000, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263435, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'cartonnette': {'main_port_id': 28442978, 'sub_port_id': 28443001, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263436, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'Carton_gris': {'main_port_id': 28442978, 'sub_port_id': 28443002, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263437, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'flou': {'main_port_id': 28442978, 'sub_port_id': 28443003, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263438, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 28442978, 'sub_port_id': 28443004, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263439, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}, 'autre_refus': {'main_port_id': 28442978, 'sub_port_id': 28443005, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263440, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28442994 , 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=28442978 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 (28442994) result : ((1394001428,), (1394001560,), (1394001561,), (1394001562,), (1394001718,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28442995 , 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=28442978 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 (28442995) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28442996 , 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=28442978 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 (28442996) result : ((1394001413,), (1394001429,), (1394001563,), (1394001564,), (1394001565,), (1394001609,), (1394001719,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28442997 , 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=28442978 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 (28442997) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28442998 , 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=28442978 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 (28442998) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28442999 , 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=28442978 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 (28442999) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28443000 , 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=28442978 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 (28443000) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28443001 , 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=28442978 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 (28443001) result : ((1394001412,), (1394001427,), (1394001488,), (1394001606,), (1394001607,), (1394001608,), (1394001684,), (1394001685,), (1394001686,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28443002 , 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=28442978 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 (28443002) result : ((1394001426,), (1394001559,), (1394001601,), (1394001602,), (1394001678,), (1394001679,), (1394001680,), (1394001681,), (1394001682,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28443003 , 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=28442978 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 (28443003) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28443004 , 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=28442978 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 (28443004) result : ((1394001409,), (1394001423,), (1394001487,), (1394001558,), (1394001598,), (1394001599,), (1394001675,), (1394001676,), (1394001677,), (1394001717,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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 28443005 , 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=28442978 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 (28443005) result : ((1394001411,), (1394001424,), (1394001600,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28442978) result : ((1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,)) 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`=28442978 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','kraft','metal','papier','Carton_brun','environnement','flou','Teint_Dans_La_Masse','mal_croppe')) 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`=28442978 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','cartonnette','autre_refus','kraft','metal','papier','Carton_brun','environnement','flou','Teint_Dans_La_Masse','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 28442978, 'sub_port_id': 28443007, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263441, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'kraft': {'main_port_id': 28442978, 'sub_port_id': 28443008, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263442, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'plastique': {'main_port_id': 28442978, 'sub_port_id': 28443009, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263443, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'environnement': {'main_port_id': 28442978, 'sub_port_id': 28443010, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263444, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'papier': {'main_port_id': 28442978, 'sub_port_id': 28443011, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263445, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'mal_croppe': {'main_port_id': 28442978, 'sub_port_id': 28443012, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263446, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'metal': {'main_port_id': 28442978, 'sub_port_id': 28443013, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263447, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'cartonnette': {'main_port_id': 28442978, 'sub_port_id': 28443014, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263448, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'Carton_gris': {'main_port_id': 28442978, 'sub_port_id': 28443015, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263449, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'flou': {'main_port_id': 28442978, 'sub_port_id': 28443016, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263450, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 28442978, 'sub_port_id': 28443017, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263451, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}, 'autre_refus': {'main_port_id': 28442978, 'sub_port_id': 28443018, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19263452, 'last_updated_at': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 7, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 7, 49, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443007,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442994 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443008,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442995 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443009,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442996 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443010,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442997 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443011,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442998 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443012,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28442999 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443013,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28443000 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28443001 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28443002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28443003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28443004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28443018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28443005 lien utilise dans velours : https://marlene.fotonower.com/velours/28443007,28443008,28443009,28443010,28443011,28443012,28443013,28443014,28443015,28443016,28443017,28443018?tags=Carton_brun,kraft,plastique,environnement,papier,mal_croppe,metal,cartonnette,Carton_gris,flou,Teint_Dans_La_Masse,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28442978]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567] map_info['map_portfolio_photo'] : {28442978: [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567, 1394001509, 1394001506, 1394001505, 1394001504, 1394001482, 1394001477, 1394001474, 1394001471, 1394001467, 1394001446, 1394001444, 1394001439, 1394001436, 1394001434, 1394001432, 1394001399, 1394001395, 1394001393, 1394001391, 1394001371, 1394001369, 1394001367, 1394001364, 1394001340, 1394001337, 1394001323, 1394001311, 1394001308, 1394001306, 1394001273, 1394001272, 1394001269, 1394001248, 1394001244, 1394001242, 1394001241, 1394001239, 1394001201, 1394001197]} final : False mtd_id 4302 list_pids : [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567] Looping around the photos to save general results len do output : 1 /28442978. 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, '4035112') ('4302', '28442978', '1394001612', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001610', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001605', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001583', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001580', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001574', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001571', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001569', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001567', None, None, None, None, None, '4035112') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '28442978', "{'Carton_brun': 28442994, 'kraft': 28442995, 'plastique': 28442996, 'environnement': 28442997, 'papier': 28442998, 'mal_croppe': 28442999, 'metal': 28443000, 'cartonnette': 28443001, 'Carton_gris': 28443002, 'flou': 28443003, 'Teint_Dans_La_Masse': 28443004, 'autre_refus': 28443005}", None, None, None, None, '4035112'), ('4302', '28442978', '1394001612', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001610', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001605', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001583', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001580', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001574', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001571', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001569', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001567', None, None, None, None, None, '4035112')] time used for this insertion : 0.0175478458404541 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6665475368499756 time spend to save output : 0.01784229278564453 total time spend for step 1 : 1.6843898296356201 step2:final Wed Nov 12 07:59:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (28442978) 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 28442978 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1394001201,1394001197,1394001248,1394001244,1394001242,1394001241,1394001239,1394001273,1394001272,1394001269,1394001340,1394001337,1394001323,1394001311,1394001308,1394001306,1394001371,1394001369,1394001367,1394001364,1394001399,1394001395,1394001393,1394001391,1394001446,1394001444,1394001439,1394001436,1394001434,1394001432,1394001482,1394001477,1394001474,1394001471,1394001467,1394001509,1394001506,1394001505,1394001504,1394001583,1394001580,1394001574,1394001571,1394001569,1394001567,1394001612,1394001610,1394001605); 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([28442978]) Inside saveOutput : final : False verbose : True original output for save of step final : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} new output for save of step final : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567] map_info['map_portfolio_photo'] : {28442978: [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567, 1394001509, 1394001506, 1394001505, 1394001504, 1394001482, 1394001477, 1394001474, 1394001471, 1394001467, 1394001446, 1394001444, 1394001439, 1394001436, 1394001434, 1394001432, 1394001399, 1394001395, 1394001393, 1394001391, 1394001371, 1394001369, 1394001367, 1394001364, 1394001340, 1394001337, 1394001323, 1394001311, 1394001308, 1394001306, 1394001273, 1394001272, 1394001269, 1394001248, 1394001244, 1394001242, 1394001241, 1394001239, 1394001201, 1394001197]} final : False mtd_id 4302 list_pids : [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567] Looping around the photos to save general results len do output : 9 /1394001612.Didn't retrieve data . /1394001610.Didn't retrieve data . /1394001605.Didn't retrieve data . /1394001583.Didn't retrieve data . /1394001580.Didn't retrieve data . /1394001574.Didn't retrieve data . /1394001571.Didn't retrieve data . /1394001569.Didn't retrieve data . /1394001567.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, '4035112') ('4302', '28442978', '1394001612', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001610', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001605', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001583', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001580', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001574', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001571', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001569', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001567', None, None, None, None, None, '4035112') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '28442978', '1394001612', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001610', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001605', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001583', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001580', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001574', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001571', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001569', '0.03953293054715215', None, None, None, None, '4035112'), ('4302', '28442978', '1394001567', '0.03953293054715215', None, None, None, None, '4035112')] time used for this insertion : 0.016690492630004883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07242441177368164 time spend to save output : 0.017214298248291016 total time spend for step 2 : 0.08963871002197266 step3:velours_tree Wed Nov 12 07:59:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {28442978: [{'Carton_brun': 28442994, 'kraft': 28442995, 'plastique': 28442996, 'environnement': 28442997, 'papier': 28442998, 'mal_croppe': 28442999, 'metal': 28443000, 'cartonnette': 28443001, 'Carton_gris': 28443002, 'flou': 28443003, 'Teint_Dans_La_Masse': 28443004, 'autre_refus': 28443005}]} input_args_next_step : {28442978: ()} output_args : {28442978: [{'Carton_brun': 28442994, 'kraft': 28442995, 'plastique': 28442996, 'environnement': 28442997, 'papier': 28442998, 'mal_croppe': 28442999, 'metal': 28443000, 'cartonnette': 28443001, 'Carton_gris': 28443002, 'flou': 28443003, 'Teint_Dans_La_Masse': 28443004, 'autre_refus': 28443005}]} args : 28442978 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 28442994, 'kraft': 28442995, 'plastique': 28442996, 'environnement': 28442997, 'papier': 28442998, 'mal_croppe': 28442999, 'metal': 28443000, 'cartonnette': 28443001, 'Carton_gris': 28443002, 'flou': 28443003, 'Teint_Dans_La_Masse': 28443004, 'autre_refus': 28443005},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28442978) 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([28442978]) 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.3007073402404785 time spend to save output : 5.078315734863281e-05 total time spend for step 3 : 0.30075812339782715 step4:send_mail_cod Wed Nov 12 07:59:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} input_args_next_step : {1394001612: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001612 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001610 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001605 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001583 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001580 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001574 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001571 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001569 depend.output_id : 0 input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ()} output_args : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',)} args : 1394001567 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {28442978: [{'Carton_brun': 28442994, 'kraft': 28442995, 'plastique': 28442996, 'environnement': 28442997, 'papier': 28442998, 'mal_croppe': 28442999, 'metal': 28443000, 'cartonnette': 28443001, 'Carton_gris': 28443002, 'flou': 28443003, 'Teint_Dans_La_Masse': 28443004, 'autre_refus': 28443005}]} input_args_next_step : {1394001612: ('0.03953293054715215',), 1394001610: ('0.03953293054715215',), 1394001605: ('0.03953293054715215',), 1394001583: ('0.03953293054715215',), 1394001580: ('0.03953293054715215',), 1394001574: ('0.03953293054715215',), 1394001571: ('0.03953293054715215',), 1394001569: ('0.03953293054715215',), 1394001567: ('0.03953293054715215',), 28442978: ()} output_args : {28442978: [{'Carton_brun': 28442994, 'kraft': 28442995, 'plastique': 28442996, 'environnement': 28442997, 'papier': 28442998, 'mal_croppe': 28442999, 'metal': 28443000, 'cartonnette': 28443001, 'Carton_gris': 28443002, 'flou': 28443003, 'Teint_Dans_La_Masse': 28443004, 'autre_refus': 28443005}]} args : 28442978 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 :10, first value : ('0.03953293054715215',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28442978) 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_view ph WHERE photo_id IN (1394001612,1394001610,1394001605,1394001583,1394001580,1394001574,1394001571,1394001569,1394001567) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1394001567 begin to download photo : 1394001571 begin to download photo : 1394001580 begin to download photo : 1394001605 begin to download photo : 1394001612 download finish for photo 1394001612 download finish for photo 1394001605 begin to download photo : 1394001610 download finish for photo 1394001571 begin to download photo : 1394001574 download finish for photo 1394001580 begin to download photo : 1394001583 download finish for photo 1394001610 download finish for photo 1394001574 download finish for photo 1394001567 begin to download photo : 1394001569 download finish for photo 1394001569 download finish for photo 1394001583 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette284429951762930769/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P28442978_12-11-2025_07_59_29.pdf 28442995 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28442995 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284429951762930769 28442996 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28442996 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394001413: '1762930267_2989697_1394001269_8d9a7137da568898b093237140ca48ec_rle_crop_4031000005_0.png', 1394001429: '1762930287_2990904_1394001239_799f009a2e0d223905b901dce758ea03_rle_crop_4031000183_0.png', 1394001563: '1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000601_0.png', 1394001564: '1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000606_0.png', 1394001565: '1762930466_2994967_1394001197_ac030774f422a79178362669ed45f648_rle_crop_4031000622_0.png', 1394001609: '1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000814_0.png', 1394001719: '1762930705_3011800_1394001504_64e94674e155f9c550751ffc204b5b2b_rle_crop_4031001162_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/c9f1d011cc4f86d33346207b230142d9_97574316.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/50c97b48d3928e9b3fcedb94fdf9bc40_63370761.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/5afec4e8f3c5aa3c9f09e8683ef535c4_13431385.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/cf2396c6f538463b9ae8147638a23cab_340506.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a8886a523c0cc6bf5a71464608ce3c87_20539197.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/0a0cfae500f6509e54e584b446e112f4_24176144.png change filename to text .imagette284429961762930769/ imagette284429961762930769/1762930267_2989697_1394001269_8d9a7137da568898b093237140ca48ec_rle_crop_4031000005_0.png.png imagette284429961762930769/1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000606_0.png.png imagette284429961762930769/1762930705_3011800_1394001504_64e94674e155f9c550751ffc204b5b2b_rle_crop_4031001162_0.png.png imagette284429961762930769/1762930466_2994967_1394001197_ac030774f422a79178362669ed45f648_rle_crop_4031000622_0.png.png imagette284429961762930769/1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000814_0.png.png imagette284429961762930769/1762930287_2990904_1394001239_799f009a2e0d223905b901dce758ea03_rle_crop_4031000183_0.png.png imagette284429961762930769/1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000601_0.png.png imagette284429991762930770/ imagette284430001762930770/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/f9df62e99a7b459edbbc86cd13341717_96785938.png imagette284429961762930769 28442999 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28442999 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284429991762930770 28443000 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28443000 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284430001762930770 28443001 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28443001 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394001412: '1762930267_2989697_1394001269_8d9a7137da568898b093237140ca48ec_rle_crop_4031000002_0.png', 1394001427: '1762930287_2990904_1394001273_6cf63058a8074b075b9f6cd69e6e7d96_rle_crop_4031000132_0.png', 1394001488: '1762930386_2993984_1394001369_62b24692f1e1b6289e187a768e2d4639_rle_crop_4031000280_0.png', 1394001606: '1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000818_0.png', 1394001607: '1762930526_2997557_1394001323_226718b35886ad178432ace6a478de30_rle_crop_4031000831_0.png', 1394001608: '1762930526_2997557_1394001308_47698f32a2985a43f1ac349b82dde26c_rle_crop_4031000848_0.png', 1394001684: '1762930648_3006857_1394001477_19fb365e243739a6d3c9658858596915_rle_crop_4031001282_0.png', 1394001685: '1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001295_0.png', 1394001686: '1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001294_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/4825ddabd77aefa54724fb59f08a0ccc_60028917.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/d13e8867e6a5cdcce60bb9cb3cc62448_32462961.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/aad97f8f8983f6a65594fc7105be8a84_22531327.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/9b5d6ffa10f4dd36e73b8cf9fd27978d_86769295.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/cd19ef6164250753da847f8c16ecb8cb_46641923.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/e67f2db84dfbf35cb46ba3bdf1054e0c_80922946.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/664c90911654c623ba32752bc4c14cf3_66484368.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/d1df5b4527020371f5f42d568dcac386_78951845.png change filename to text .imagette284430011762930770/ imagette284430011762930770/1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000818_0.png.png imagette284430011762930770/1762930526_2997557_1394001323_226718b35886ad178432ace6a478de30_rle_crop_4031000831_0.png.png imagette284430011762930770/1762930386_2993984_1394001369_62b24692f1e1b6289e187a768e2d4639_rle_crop_4031000280_0.png.png imagette284430011762930770/1762930267_2989697_1394001269_8d9a7137da568898b093237140ca48ec_rle_crop_4031000002_0.png.png imagette284430011762930770/1762930648_3006857_1394001477_19fb365e243739a6d3c9658858596915_rle_crop_4031001282_0.png.png imagette284430011762930770/1762930287_2990904_1394001273_6cf63058a8074b075b9f6cd69e6e7d96_rle_crop_4031000132_0.png.png imagette284430011762930770/1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001295_0.png.png imagette284430011762930770/1762930526_2997557_1394001308_47698f32a2985a43f1ac349b82dde26c_rle_crop_4031000848_0.png.png imagette284430011762930770/1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001294_0.png.png imagette284430031762930771/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/73b538c085997cf6e8d462105e3cb5ae_28117416.png imagette284430011762930770 28443003 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28443003 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284430031762930771 28443005 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28443005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394001411: '1762930267_2989697_1394001272_1f2fa29392ef223bd912d101419d744f_rle_crop_4030999990_0.png', 1394001424: '1762930287_2990904_1394001242_2f081651a2d280798a8a836e4fe332ee_rle_crop_4031000154_0.png', 1394001600: '1762930526_2997557_1394001306_f4163de588037ea6e7929738da242372_rle_crop_4031000866_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/ce99124cbbde556f8cb0c0ad3b35c261_55738730.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a07c8771aa55a0b0a5ad1140102fc965_16243022.png change filename to text .imagette284430051762930771/ imagette284430051762930771/1762930267_2989697_1394001272_1f2fa29392ef223bd912d101419d744f_rle_crop_4030999990_0.png.png imagette284430051762930771/1762930287_2990904_1394001242_2f081651a2d280798a8a836e4fe332ee_rle_crop_4031000154_0.png.png imagette284430051762930771/1762930526_2997557_1394001306_f4163de588037ea6e7929738da242372_rle_crop_4031000866_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/68e4f2b95192b3087dd057273080f394_74295703.png imagette284430051762930771 28442994 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28442994 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394001428: '1762930287_2990904_1394001242_2f081651a2d280798a8a836e4fe332ee_rle_crop_4031000159_0.png', 1394001560: '1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000607_0.png', 1394001561: '1762930466_2994967_1394001201_556e1c5636cb6b9b1931b0ca214d4f24_rle_crop_4031000612_0.png', 1394001562: '1762930466_2994967_1394001197_ac030774f422a79178362669ed45f648_rle_crop_4031000626_0.png', 1394001718: '1762930705_3011800_1394001504_64e94674e155f9c550751ffc204b5b2b_rle_crop_4031001158_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/ed1ab8f1a25014d4a03929e308da474e_29056084.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/f8ea80d1f17b113433ef1e4547786841_92272605.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/54572cae92913918237cbab6e72ad535_90302102.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/74e502f61159e9322ed7c5367c541432_32445020.png change filename to text .imagette284429941762930771/ imagette284429941762930771/1762930705_3011800_1394001504_64e94674e155f9c550751ffc204b5b2b_rle_crop_4031001158_0.png.png imagette284429941762930771/1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000607_0.png.png imagette284429941762930771/1762930466_2994967_1394001201_556e1c5636cb6b9b1931b0ca214d4f24_rle_crop_4031000612_0.png.png imagette284429941762930771/1762930466_2994967_1394001197_ac030774f422a79178362669ed45f648_rle_crop_4031000626_0.png.png imagette284429941762930771/1762930287_2990904_1394001242_2f081651a2d280798a8a836e4fe332ee_rle_crop_4031000159_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/8290ec8268b7985a97ea0b4ae8b6a822_196933.png imagette284429941762930771 28443002 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28443002 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394001426: '1762930287_2990904_1394001241_e2cc83958c3344e6cae34a8dd5ad4e13_rle_crop_4031000172_0.png', 1394001559: '1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000597_0.png', 1394001601: '1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000819_0.png', 1394001602: '1762930526_2997557_1394001308_47698f32a2985a43f1ac349b82dde26c_rle_crop_4031000847_0.png', 1394001678: '1762930648_3006857_1394001477_19fb365e243739a6d3c9658858596915_rle_crop_4031001281_0.png', 1394001679: '1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001299_0.png', 1394001680: '1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001292_0.png', 1394001681: '1762930648_3006857_1394001471_74c397b762f7f2add0b020385b849acf_rle_crop_4031001310_0.png', 1394001682: '1762930648_3006857_1394001467_e901bacb93e114e0499312e3510a9782_rle_crop_4031001324_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/47947f0a37d50712906f19861f267f9a_58088705.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/8a13242b9d839b0598c2a728f499fd4d_33820151.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/4e6cb967b81a7034f72e59a989c4871b_23735315.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/b7afc2e503e68afc6a51532960f1e24b_65256408.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/95674e814fbe508ee21991505c49684b_37900837.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/920082b72ba7f64ce30e44c7ad46fe65_95850982.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/ef396393dc503164b19e09591eaaca77_67376692.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/af156c16a616b97d8a3b72a428b54c78_34509115.png change filename to text .imagette284430021762930771/ imagette284430021762930771/1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001292_0.png.png imagette284430021762930771/1762930648_3006857_1394001471_74c397b762f7f2add0b020385b849acf_rle_crop_4031001310_0.png.png imagette284430021762930771/1762930526_2997557_1394001308_47698f32a2985a43f1ac349b82dde26c_rle_crop_4031000847_0.png.png imagette284430021762930771/1762930287_2990904_1394001241_e2cc83958c3344e6cae34a8dd5ad4e13_rle_crop_4031000172_0.png.png imagette284430021762930771/1762930648_3006857_1394001467_e901bacb93e114e0499312e3510a9782_rle_crop_4031001324_0.png.png imagette284430021762930771/1762930648_3006857_1394001474_b13dfdd6e2e2486356cdf7be50a1487d_rle_crop_4031001299_0.png.png imagette284430021762930771/1762930648_3006857_1394001477_19fb365e243739a6d3c9658858596915_rle_crop_4031001281_0.png.png imagette284430021762930771/1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000819_0.png.png imagette284430021762930771/1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000597_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/f1fe374041c3d72bc7956d7db8da5a06_23872013.png imagette284430021762930771 28443004 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28443004 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394001409: '1762930267_2989697_1394001269_8d9a7137da568898b093237140ca48ec_rle_crop_4031000006_0.png', 1394001423: '1762930287_2990904_1394001242_2f081651a2d280798a8a836e4fe332ee_rle_crop_4031000157_0.png', 1394001487: '1762930386_2993984_1394001367_0911d35f4b40163c22e23f8102c98429_rle_crop_4031000293_0.png', 1394001558: '1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000609_0.png', 1394001598: '1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000815_0.png', 1394001599: '1762930526_2997557_1394001323_226718b35886ad178432ace6a478de30_rle_crop_4031000836_0.png', 1394001675: '1762930648_3006857_1394001477_19fb365e243739a6d3c9658858596915_rle_crop_4031001287_0.png', 1394001676: '1762930648_3006857_1394001471_74c397b762f7f2add0b020385b849acf_rle_crop_4031001314_0.png', 1394001677: '1762930648_3006857_1394001467_e901bacb93e114e0499312e3510a9782_rle_crop_4031001325_0.png', 1394001717: '1762930705_3011800_1394001505_ba72d97da7deb993ebf3547cdec6da30_rle_crop_4031001151_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/9d9a70444877c31c72cfd0895c36bf33_92613040.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/74e3b5faef56d9196c3a6b3690b92953_22523786.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/e1b4cc7db4c9003264e14382fcaf66ce_96203670.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/d1439cb897140b0fe99e54f593f234d4_24949612.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/b1b6e18d058682edfc448f284f6e1f52_86077261.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/bf9ffa832adf04aad906244f6b50f6fb_131320.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/72352ce5b22ad4f2c136167ff6b42cd6_6761279.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/bde694d5f56f587f32bf8cbfd9446420_26792510.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/491f80d477de385b915fd2524574d8ec_64616150.png change filename to text .imagette284430041762930772/ imagette284430041762930772/1762930526_2997557_1394001323_226718b35886ad178432ace6a478de30_rle_crop_4031000836_0.png.png imagette284430041762930772/1762930287_2990904_1394001242_2f081651a2d280798a8a836e4fe332ee_rle_crop_4031000157_0.png.png imagette284430041762930772/1762930648_3006857_1394001477_19fb365e243739a6d3c9658858596915_rle_crop_4031001287_0.png.png imagette284430041762930772/1762930705_3011800_1394001505_ba72d97da7deb993ebf3547cdec6da30_rle_crop_4031001151_0.png.png imagette284430041762930772/1762930526_2997557_1394001371_a11406f17da28e7501628ac3625738f2_rle_crop_4031000815_0.png.png imagette284430041762930772/1762930648_3006857_1394001471_74c397b762f7f2add0b020385b849acf_rle_crop_4031001314_0.png.png imagette284430041762930772/1762930386_2993984_1394001367_0911d35f4b40163c22e23f8102c98429_rle_crop_4031000293_0.png.png imagette284430041762930772/1762930267_2989697_1394001269_8d9a7137da568898b093237140ca48ec_rle_crop_4031000006_0.png.png imagette284430041762930772/1762930648_3006857_1394001467_e901bacb93e114e0499312e3510a9782_rle_crop_4031001325_0.png.png imagette284430041762930772/1762930466_2994967_1394001248_7e7b27188ce69114c6537723af5b2bb3_rle_crop_4031000609_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/9f7b653c8899eb9e570c02f923add53b_86137771.png imagette284430041762930772 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28442978 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28443007,28443008,28443009,28443010,28443011,28443012,28443013,28443014,28443015,28443016,28443017,28443018?tags=Carton_brun,kraft,plastique,environnement,papier,mal_croppe,metal,cartonnette,Carton_gris,flou,Teint_Dans_La_Masse,autre_refus your option no_mail is active, we will not send the real mail to your client args[1394001612] : ('0.03953293054715215',) no score found for photo 1394001612 We are sending mail with results at report@fotonower.com args[1394001610] : ('0.03953293054715215',) no score found for photo 1394001610 We are sending mail with results at report@fotonower.com args[1394001605] : ('0.03953293054715215',) no score found for photo 1394001605 We are sending mail with results at report@fotonower.com args[1394001583] : ('0.03953293054715215',) no score found for photo 1394001583 We are sending mail with results at report@fotonower.com args[1394001580] : ('0.03953293054715215',) no score found for photo 1394001580 We are sending mail with results at report@fotonower.com args[1394001574] : ('0.03953293054715215',) no score found for photo 1394001574 We are sending mail with results at report@fotonower.com args[1394001571] : ('0.03953293054715215',) no score found for photo 1394001571 We are sending mail with results at report@fotonower.com args[1394001569] : ('0.03953293054715215',) no score found for photo 1394001569 We are sending mail with results at report@fotonower.com args[1394001567] : ('0.03953293054715215',) no score found for photo 1394001567 We are sending mail with results at report@fotonower.com refus_total : 0.03953293054715215 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28442978 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_12-11-2025_07_59_29.pdf results_Auto_P28442978_12-11-2025_07_59_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_12-11-2025_07_59_29.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','28442978','results_Auto_P28442978_12-11-2025_07_59_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_12-11-2025_07_59_29.pdf','pdf','','0.19','0.03953293054715215') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28442978]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567] map_info['map_portfolio_photo'] : {28442978: [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567, 1394001509, 1394001506, 1394001505, 1394001504, 1394001482, 1394001477, 1394001474, 1394001471, 1394001467, 1394001446, 1394001444, 1394001439, 1394001436, 1394001434, 1394001432, 1394001399, 1394001395, 1394001393, 1394001391, 1394001371, 1394001369, 1394001367, 1394001364, 1394001340, 1394001337, 1394001323, 1394001311, 1394001308, 1394001306, 1394001273, 1394001272, 1394001269, 1394001248, 1394001244, 1394001242, 1394001241, 1394001239, 1394001201, 1394001197]} final : False mtd_id 4302 list_pids : [1394001612, 1394001610, 1394001605, 1394001583, 1394001580, 1394001574, 1394001571, 1394001569, 1394001567] 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, '4035112') ('4302', '28442978', '1394001612', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001610', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001605', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001583', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001580', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001574', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001571', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001569', None, None, None, None, None, '4035112') ('4302', None, None, None, None, None, None, None, '4035112') ('4302', '28442978', '1394001567', None, None, None, None, None, '4035112') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '28442978', '1394001612', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001610', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001605', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001583', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001580', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001574', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001571', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001569', None, None, None, None, None, '4035112'), ('4302', '28442978', '1394001567', None, None, None, None, None, '4035112')] time used for this insertion : 0.01644611358642578 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.5533812046051025 time spend to save output : 0.016792774200439453 total time spend for step 4 : 5.570173978805542 step5:split_time_score Wed Nov 12 07:59:34 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 : ['28442978'] 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 : [('28442978',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28442978) new photo added, this last batch is non a complet batch, should exit and reload photo caffe_path_current : About to save ! 2 After save, about to update current ! 1.94user 2.25system 0:10.16elapsed 41%CPU (0avgtext+0avgdata 158688maxresident)k 568inputs+10376outputs (17major+64421minor)pagefaults 0swaps