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 : 159425 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 (2679432) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2679432) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579460 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2679432'] with mtr_portfolio_ids : ['21579460'] and first list_photo_ids : [] new path : /proc/159425/ Name: python3 Umask: 0002 State: R (running) Tgid: 159425 Ngid: 0 Pid: 159425 PPid: 159424 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 159425 NSpid: 159425 NSpgid: 155886 NSsid: 155886 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98536 kB VmRSS: 98536 kB RssAnon: 59760 kB RssFile: 38776 kB RssShmem: 0 kB VmData: 865588 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 52 nonvoluntary_ctxt_switches: 165 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '159425', 'Ngid': '0', 'Pid': '159425', 'PPid': '159424', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '159425', 'NSpid': '159425', 'NSpgid': '155886', 'NSsid': '155886', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98536 kB', 'VmRSS': '98536 kB', 'RssAnon': '59760 kB', 'RssFile': '38776 kB', 'RssShmem': '0 kB', 'VmData': '865588 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '52', 'nonvoluntary_ctxt_switches': '165'} ('datou_batch_current', '159425', '1106840', '0', '1106840', '865588', '98536', b'', 'marlene', '2679432') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (21579460) 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 (2679432 ) ) 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 (21579460) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1346046762, 'portfolio_id': 21579460}, {'photo_id': 1346046725, 'portfolio_id': 21579460}, {'photo_id': 1346046699, 'portfolio_id': 21579460}, {'photo_id': 1346046675, 'portfolio_id': 21579460}, {'photo_id': 1346046187, 'portfolio_id': 21579460}, {'photo_id': 1346046149, 'portfolio_id': 21579460}, {'photo_id': 1346046114, 'portfolio_id': 21579460}, {'photo_id': 1346046072, 'portfolio_id': 21579460}, {'photo_id': 1346046022, 'portfolio_id': 21579460}, {'photo_id': 1346045906, 'portfolio_id': 21579460}, {'photo_id': 1346045899, 'portfolio_id': 21579460}, {'photo_id': 1346045893, 'portfolio_id': 21579460}, {'photo_id': 1346045890, 'portfolio_id': 21579460}, {'photo_id': 1346045886, 'portfolio_id': 21579460}, {'photo_id': 1346045678, 'portfolio_id': 21579460}, {'photo_id': 1346045630, 'portfolio_id': 21579460}, {'photo_id': 1346045587, 'portfolio_id': 21579460}, {'photo_id': 1346045516, 'portfolio_id': 21579460}, {'photo_id': 1346045465, 'portfolio_id': 21579460}, {'photo_id': 1346045315, 'portfolio_id': 21579460}, {'photo_id': 1346045261, 'portfolio_id': 21579460}, {'photo_id': 1346045224, 'portfolio_id': 21579460}, {'photo_id': 1346045175, 'portfolio_id': 21579460}, {'photo_id': 1346045118, 'portfolio_id': 21579460}, {'photo_id': 1346044552, 'portfolio_id': 21579460}, {'photo_id': 1346044517, 'portfolio_id': 21579460}, {'photo_id': 1346044480, 'portfolio_id': 21579460}, {'photo_id': 1346044429, 'portfolio_id': 21579460}, {'photo_id': 1346044352, 'portfolio_id': 21579460}, {'photo_id': 1346044285, 'portfolio_id': 21579460}, {'photo_id': 1346044147, 'portfolio_id': 21579460}, {'photo_id': 1346044116, 'portfolio_id': 21579460}, {'photo_id': 1346044093, 'portfolio_id': 21579460}, {'photo_id': 1346044060, 'portfolio_id': 21579460}, {'photo_id': 1346044031, 'portfolio_id': 21579460}, {'photo_id': 1346043410, 'portfolio_id': 21579460}, {'photo_id': 1346043303, 'portfolio_id': 21579460}, {'photo_id': 1346043190, 'portfolio_id': 21579460}, {'photo_id': 1346043028, 'portfolio_id': 21579460}, {'photo_id': 1346042938, 'portfolio_id': 21579460}, {'photo_id': 1346042461, 'portfolio_id': 21579460}, {'photo_id': 1346042434, 'portfolio_id': 21579460}, {'photo_id': 1346042371, 'portfolio_id': 21579460}, {'photo_id': 1346042360, 'portfolio_id': 21579460}] map_portfolio_id_photo_id: {21579460: [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886, 1346045678, 1346045630, 1346045587, 1346045516, 1346045465, 1346045315, 1346045261, 1346045224, 1346045175, 1346045118, 1346044552, 1346044517, 1346044480, 1346044429, 1346044352, 1346044285, 1346044147, 1346044116, 1346044093, 1346044060, 1346044031, 1346043410, 1346043303, 1346043190, 1346043028, 1346042938, 1346042461, 1346042434, 1346042371, 1346042360]} ##### 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.01559591293334961 #### 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 Fri Mar 21 15:56:59 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 (21579460) 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 : 21579460 get user id for portfolio 21579460 get sub ptf for main ptf 21579460, type 3726 and hashtags ['Teint_Dans_La_Masse', 'environnement', 'flou', 'Carton_gris', 'mal_croppe', 'cartonnette', 'kraft', 'metal', 'papier', 'autre_refus', 'plastique', 'Carton_brun'] 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`=21579460 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','environnement','flou','Carton_gris','mal_croppe','cartonnette','kraft','metal','papier','autre_refus','plastique','Carton_brun')) 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`=21579460 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','environnement','flou','Carton_gris','mal_croppe','cartonnette','kraft','metal','papier','autre_refus','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21579460, 'sub_port_id': 21579485, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124389, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'flou': {'main_port_id': 21579460, 'sub_port_id': 21579486, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124390, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'papier': {'main_port_id': 21579460, 'sub_port_id': 21579487, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124391, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'Carton_gris': {'main_port_id': 21579460, 'sub_port_id': 21579488, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124392, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'environnement': {'main_port_id': 21579460, 'sub_port_id': 21579489, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124393, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'cartonnette': {'main_port_id': 21579460, 'sub_port_id': 21579490, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124394, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'autre_refus': {'main_port_id': 21579460, 'sub_port_id': 21579491, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124395, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'metal': {'main_port_id': 21579460, 'sub_port_id': 21579492, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124396, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'Carton_brun': {'main_port_id': 21579460, 'sub_port_id': 21579493, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124397, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'plastique': {'main_port_id': 21579460, 'sub_port_id': 21579494, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124398, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'kraft': {'main_port_id': 21579460, 'sub_port_id': 21579495, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124399, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 21579460, 'sub_port_id': 21579496, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124400, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21579485 , 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=21579460 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 (21579485) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579486 , 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=21579460 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 (21579486) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579487 , 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=21579460 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 (21579487) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579488 , 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=21579460 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 (21579488) result : ((1346045408,), (1346045855,), (1346045856,), (1346045865,), (1346045867,), (1346046542,), (1346046543,), (1346046545,), (1346046546,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579489 , 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=21579460 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 (21579489) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579490 , 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=21579460 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 (21579490) result : ((1346044942,), (1346045415,), (1346045857,), (1346045868,), (1346045870,), (1346045872,), (1346045873,), (1346046555,), (1346046607,), (1346046609,), (1346046611,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579491 , 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=21579460 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 (21579491) result : ((1346044930,), (1346044931,), (1346044932,), (1346044933,), (1346045396,), (1346045397,), (1346045398,), (1346045399,), (1346045400,), (1346045401,), (1346045848,), (1346045849,), (1346045850,), (1346045851,), (1346045852,), (1346045859,), (1346045861,), (1346045862,), (1346045863,), (1346045864,), (1346046515,), (1346046516,), (1346046519,), (1346046520,), (1346046588,), (1346046591,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579492 , 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=21579460 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 (21579492) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579493 , 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=21579460 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 (21579493) result : ((1346045426,), (1346045427,), (1346045428,), (1346045429,), (1346045874,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579494 , 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=21579460 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 (21579494) result : ((1346045435,), (1346045860,), (1346046566,), (1346046619,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579495 , 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=21579460 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 (21579495) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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 21579496 , 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=21579460 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 (21579496) result : ((1346044898,), (1346044901,), (1346045376,), (1346045844,), (1346045845,), (1346045846,), (1346045854,), (1346046489,), (1346046575,), (1346046897,), (1346046898,), (1346046900,), (1346046901,), (1346046915,), (1346046917,), (1346046919,), (1346046922,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21579460) result : ((1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,)) 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`=21579460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','environnement','flou','Carton_gris','mal_croppe','cartonnette','kraft','metal','papier','autre_refus','plastique','Carton_brun')) 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`=21579460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','environnement','flou','Carton_gris','mal_croppe','cartonnette','kraft','metal','papier','autre_refus','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21579460, 'sub_port_id': 21579497, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124401, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'flou': {'main_port_id': 21579460, 'sub_port_id': 21579498, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124402, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'papier': {'main_port_id': 21579460, 'sub_port_id': 21579499, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124403, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'Carton_gris': {'main_port_id': 21579460, 'sub_port_id': 21579500, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124404, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'environnement': {'main_port_id': 21579460, 'sub_port_id': 21579501, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124405, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'cartonnette': {'main_port_id': 21579460, 'sub_port_id': 21579502, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124406, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'autre_refus': {'main_port_id': 21579460, 'sub_port_id': 21579503, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124407, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'metal': {'main_port_id': 21579460, 'sub_port_id': 21579504, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124408, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'Carton_brun': {'main_port_id': 21579460, 'sub_port_id': 21579505, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124409, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'plastique': {'main_port_id': 21579460, 'sub_port_id': 21579506, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124410, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'kraft': {'main_port_id': 21579460, 'sub_port_id': 21579507, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124411, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 21579460, 'sub_port_id': 21579508, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14124412, 'last_updated_at': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 15, 53, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 15, 49, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579497,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579485 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579498,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579486 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579499,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579487 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579500,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579488 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579501,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579489 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579502,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579490 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579503,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579491 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579504,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579492 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579505,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579493 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579506,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579494 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579507,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579495 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21579508,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21579496 lien utilise dans velours : https://www.fotonower.com/velours/21579497,21579498,21579499,21579500,21579501,21579502,21579503,21579504,21579505,21579506,21579507,21579508?tags=mal_croppe,flou,papier,Carton_gris,environnement,cartonnette,autre_refus,metal,Carton_brun,plastique,kraft,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21579460]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886] map_info['map_portfolio_photo'] : {21579460: [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886, 1346045678, 1346045630, 1346045587, 1346045516, 1346045465, 1346045315, 1346045261, 1346045224, 1346045175, 1346045118, 1346044552, 1346044517, 1346044480, 1346044429, 1346044352, 1346044285, 1346044147, 1346044116, 1346044093, 1346044060, 1346044031, 1346043410, 1346043303, 1346043190, 1346043028, 1346042938, 1346042461, 1346042434, 1346042371, 1346042360]} final : False mtd_id 4302 list_pids : [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886] Looping around the photos to save general results len do output : 1 /21579460. 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, '2679432') ('4302', '21579460', '1346046762', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046725', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046699', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046675', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046187', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046149', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046114', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046072', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046022', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045906', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045899', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045893', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045890', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045886', None, None, None, None, None, '2679432') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '21579460', "{'mal_croppe': 21579485, 'flou': 21579486, 'papier': 21579487, 'Carton_gris': 21579488, 'environnement': 21579489, 'cartonnette': 21579490, 'autre_refus': 21579491, 'metal': 21579492, 'Carton_brun': 21579493, 'plastique': 21579494, 'kraft': 21579495, 'Teint_Dans_La_Masse': 21579496}", None, None, None, None, '2679432'), ('4302', '21579460', '1346046762', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046725', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046699', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046675', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046187', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046149', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046114', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046072', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046022', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045906', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045899', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045893', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045890', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045886', None, None, None, None, None, '2679432')] time used for this insertion : 0.013649225234985352 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5533332824707031 time spend to save output : 0.013948440551757812 total time spend for step 1 : 1.567281723022461 step2:final Fri Mar 21 15:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (21579460) 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 21579460 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346042461,1346042434,1346042371,1346042360,1346043410,1346043303,1346043190,1346043028,1346042938,1346044147,1346044116,1346044093,1346044060,1346044031,1346044552,1346044517,1346044480,1346044429,1346044352,1346044285,1346045315,1346045261,1346045224,1346045175,1346045118,1346045678,1346045630,1346045587,1346045516,1346045465,1346045906,1346045899,1346045893,1346045890,1346045886,1346046187,1346046149,1346046114,1346046072,1346046022,1346046762,1346046725,1346046699,1346046675); 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([21579460]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} new output for save of step final : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886] map_info['map_portfolio_photo'] : {21579460: [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886, 1346045678, 1346045630, 1346045587, 1346045516, 1346045465, 1346045315, 1346045261, 1346045224, 1346045175, 1346045118, 1346044552, 1346044517, 1346044480, 1346044429, 1346044352, 1346044285, 1346044147, 1346044116, 1346044093, 1346044060, 1346044031, 1346043410, 1346043303, 1346043190, 1346043028, 1346042938, 1346042461, 1346042434, 1346042371, 1346042360]} final : False mtd_id 4302 list_pids : [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886] Looping around the photos to save general results len do output : 14 /1346046762.Didn't retrieve data . /1346046725.Didn't retrieve data . /1346046699.Didn't retrieve data . /1346046675.Didn't retrieve data . /1346046187.Didn't retrieve data . /1346046149.Didn't retrieve data . /1346046114.Didn't retrieve data . /1346046072.Didn't retrieve data . /1346046022.Didn't retrieve data . /1346045906.Didn't retrieve data . /1346045899.Didn't retrieve data . /1346045893.Didn't retrieve data . /1346045890.Didn't retrieve data . /1346045886.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, '2679432') ('4302', '21579460', '1346046762', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046725', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046699', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046675', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046187', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046149', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046114', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046072', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046022', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045906', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045899', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045893', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045890', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045886', None, None, None, None, None, '2679432') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '21579460', '1346046762', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046725', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046699', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046675', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046187', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046149', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046114', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046072', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346046022', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346045906', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346045899', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346045893', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346045890', '0.0607217683880556', None, None, None, None, '2679432'), ('4302', '21579460', '1346045886', '0.0607217683880556', None, None, None, None, '2679432')] time used for this insertion : 0.013562679290771484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06593656539916992 time spend to save output : 0.014326333999633789 total time spend for step 2 : 0.08026289939880371 step3:velours_tree Fri Mar 21 15:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21579460: [{'mal_croppe': 21579485, 'flou': 21579486, 'papier': 21579487, 'Carton_gris': 21579488, 'environnement': 21579489, 'cartonnette': 21579490, 'autre_refus': 21579491, 'metal': 21579492, 'Carton_brun': 21579493, 'plastique': 21579494, 'kraft': 21579495, 'Teint_Dans_La_Masse': 21579496}]} input_args_next_step : {21579460: ()} output_args : {21579460: [{'mal_croppe': 21579485, 'flou': 21579486, 'papier': 21579487, 'Carton_gris': 21579488, 'environnement': 21579489, 'cartonnette': 21579490, 'autre_refus': 21579491, 'metal': 21579492, 'Carton_brun': 21579493, 'plastique': 21579494, 'kraft': 21579495, 'Teint_Dans_La_Masse': 21579496}]} args : 21579460 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 : ({'mal_croppe': 21579485, 'flou': 21579486, 'papier': 21579487, 'Carton_gris': 21579488, 'environnement': 21579489, 'cartonnette': 21579490, 'autre_refus': 21579491, 'metal': 21579492, 'Carton_brun': 21579493, 'plastique': 21579494, 'kraft': 21579495, 'Teint_Dans_La_Masse': 21579496},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21579460) 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([21579460]) 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.39461421966552734 time spend to save output : 7.748603820800781e-05 total time spend for step 3 : 0.39469170570373535 step4:send_mail_cod Fri Mar 21 15:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} input_args_next_step : {1346046762: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046762 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046725 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046699 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046675 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046187 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046149 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046114 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046072 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346046022 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346045906 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346045899 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346045893 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346045890 depend.output_id : 0 input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ()} output_args : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',)} args : 1346045886 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 : {21579460: [{'mal_croppe': 21579485, 'flou': 21579486, 'papier': 21579487, 'Carton_gris': 21579488, 'environnement': 21579489, 'cartonnette': 21579490, 'autre_refus': 21579491, 'metal': 21579492, 'Carton_brun': 21579493, 'plastique': 21579494, 'kraft': 21579495, 'Teint_Dans_La_Masse': 21579496}]} input_args_next_step : {1346046762: ('0.0607217683880556',), 1346046725: ('0.0607217683880556',), 1346046699: ('0.0607217683880556',), 1346046675: ('0.0607217683880556',), 1346046187: ('0.0607217683880556',), 1346046149: ('0.0607217683880556',), 1346046114: ('0.0607217683880556',), 1346046072: ('0.0607217683880556',), 1346046022: ('0.0607217683880556',), 1346045906: ('0.0607217683880556',), 1346045899: ('0.0607217683880556',), 1346045893: ('0.0607217683880556',), 1346045890: ('0.0607217683880556',), 1346045886: ('0.0607217683880556',), 21579460: ()} output_args : {21579460: [{'mal_croppe': 21579485, 'flou': 21579486, 'papier': 21579487, 'Carton_gris': 21579488, 'environnement': 21579489, 'cartonnette': 21579490, 'autre_refus': 21579491, 'metal': 21579492, 'Carton_brun': 21579493, 'plastique': 21579494, 'kraft': 21579495, 'Teint_Dans_La_Masse': 21579496}]} args : 21579460 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 :15, first value : ('0.0607217683880556',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21579460) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1346046762,1346046725,1346046699,1346046675,1346046187,1346046149,1346046114,1346046072,1346046022,1346045906,1346045899,1346045893,1346045890,1346045886) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346045886 begin to download photo : 1346045899 begin to download photo : 1346046072 begin to download photo : 1346046187 begin to download photo : 1346046725 download finish for photo 1346045886 begin to download photo : 1346045890 download finish for photo 1346045899 begin to download photo : 1346045906 download finish for photo 1346046187 begin to download photo : 1346046675 download finish for photo 1346046072 begin to download photo : 1346046114 download finish for photo 1346046725 begin to download photo : 1346046762 download finish for photo 1346045906 begin to download photo : 1346046022 download finish for photo 1346045890 begin to download photo : 1346045893 download finish for photo 1346046675 begin to download photo : 1346046699 download finish for photo 1346046114 begin to download photo : 1346046149 download finish for photo 1346046762 download finish for photo 1346046022 download finish for photo 1346046699 download finish for photo 1346045893 download finish for photo 1346046149 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette215794851742569022/ imagette215794861742569022/ length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P21579460_21-03-2025_15_57_02.pdf 21579485 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579485 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215794851742569022 21579486 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579486 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215794861742569022 21579490 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579490 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346044942: '1742568612_890195_1346043028_a8b8e9a495b781a59c45685a668c77c8_rle_crop_3722231618_0.png', 1346045415: '1742568654_890868_1346042461_8035fbe32fe51d79496e76cdf3362e8a_rle_crop_3722235458_0.png', 1346045857: '1742568730_891944_1346044517_e9eb89be34f94e239c9c2c44903728dc_rle_crop_3722236445_0.png', 1346045868: '1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236547_0.png', 1346045870: '1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236572_0.png', 1346045872: '1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236579_0.png', 1346045873: '1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236580_0.png', 1346046555: '1742568852_893379_1346045175_006f5bd2ec20320781b748c2bfa928de_rle_crop_3722237199_0.png', 1346046607: '1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237271_0.png', 1346046609: '1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237266_0.png', 1346046611: '1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237270_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8c544d407c7fafb6838ae2d5c5352e15_39536571.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/62b7ca94db2f48ee39adeb9dfe26b96b_69923271.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/74de7572133b4f4d66094f74b965f8b6_41315663.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4dc8acea645ea32071615557e6bd43fb_83588222.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2119db80bebed448bf4f21439c8e81d1_47143847.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/feb41f9fb7846d98c1207141ebaf93ef_79265443.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6d2cd4473cedd887c11efb273cf2e1fe_48995910.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9c058f7315ea90c61206802b0702a9b6_70580980.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/02812487672ea650390cd0f1706cb9f7_1533481.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8ef70837b671f0ec066868f9d157ff75_89132794.png change filename to text .imagette215794901742569022/ imagette215794901742569022/1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236547_0.png.png imagette215794901742569022/1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236580_0.png.png imagette215794901742569022/1742568730_891944_1346044517_e9eb89be34f94e239c9c2c44903728dc_rle_crop_3722236445_0.png.png imagette215794901742569022/1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237271_0.png.png imagette215794901742569022/1742568852_893379_1346045175_006f5bd2ec20320781b748c2bfa928de_rle_crop_3722237199_0.png.png imagette215794901742569022/1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237266_0.png.png imagette215794901742569022/1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236572_0.png.png imagette215794901742569022/1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237270_0.png.png imagette215794901742569022/1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236579_0.png.png imagette215794901742569022/1742568654_890868_1346042461_8035fbe32fe51d79496e76cdf3362e8a_rle_crop_3722235458_0.png.png imagette215794901742569022/1742568612_890195_1346043028_a8b8e9a495b781a59c45685a668c77c8_rle_crop_3722231618_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8a75a10e161a8db01d24eb7807502df8_38988781.png imagette215794901742569022 21579491 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579491 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346045851: '1742568730_891944_1346044352_465e8a570a3c57282338aa7a0073cee3_rle_crop_3722236518_0.png', 1346046591: '1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237273_0.png', 1346046588: '1742568867_1349235_1346045587_22adea76e8e569500c978a0301514c2a_rle_crop_3722237234_0.png', 1346046520: '1742568852_893379_1346045118_de7c906eb902f94e6de4828a2e1f0b9e_rle_crop_3722237223_0.png', 1346046519: '1742568852_893379_1346045175_006f5bd2ec20320781b748c2bfa928de_rle_crop_3722237207_0.png', 1346046516: '1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237185_0.png', 1346046515: '1742568852_893379_1346045261_5ed0a90f78c03e01f4db552d649bfc4f_rle_crop_3722237163_0.png', 1346045864: '1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236577_0.png', 1346045863: '1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236562_0.png', 1346045862: '1742568747_1346465_1346044093_b7ab42c42e874ef460421f8f988eeebf_rle_crop_3722236528_0.png', 1346045861: '1742568747_1346465_1346044552_3b8e22dced3d66ae7725c18c358dddf2_rle_crop_3722236480_0.png', 1346045859: '1742568747_1346465_1346044552_3b8e22dced3d66ae7725c18c358dddf2_rle_crop_3722236485_0.png', 1346045852: '1742568730_891944_1346044285_a479a9ef628ff8f429bfdeb1a8a47f47_rle_crop_3722236539_0.png', 1346044930: '1742568612_890195_1346043303_06c17ab317983bad38f3e9218cd34fed_rle_crop_3722231090_0.png', 1346045850: '1742568730_891944_1346044429_d823c38b4e05c00bc2a0a779d09067b9_rle_crop_3722236497_0.png', 1346045849: '1742568730_891944_1346044480_0706c8995cff00ba39db0e943dc6599c_rle_crop_3722236472_0.png', 1346045848: '1742568730_891944_1346044517_e9eb89be34f94e239c9c2c44903728dc_rle_crop_3722236453_0.png', 1346045401: '1742568654_890868_1346042360_fb7146f2aab2170142ebc76aec00ad27_rle_crop_3722236085_0.png', 1346045400: '1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235805_0.png', 1346045399: '1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235798_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/48fc6d5e86d14b0bab402a1f569d8fcf_25947476.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a62ae11ce12779b4c689dd5252301b4e_88063089.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/93cd482fa254e307951ed734e5552156_53052905.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/969ca311ad73e149c886191be4005e03_27143206.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/625310d530bbcc1e2c852d3e699bc7fa_42276982.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/55ca2af89e901a7e190d74178e2dc74f_48870779.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0c7857d685a93951a170d4007b5457c1_155688.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/dcdf8eedf905cbb3839cdfebb1143e21_16965574.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b1c8c464329c36fc14bb57c4b6b028d3_14512948.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ad0f14ad7dd4cf3a35e7b6d7e727e6e5_40970099.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b55dc74ee790f10e42d0adda53b9765b_37116862.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7f9639440f14cf764626ff4f222752ab_14985643.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8654fc1bfe35e371f417a3bd87c17fbe_85146398.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/21eca7493caae7687c8c939fb3d5b9c0_75350128.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/496f03b382cce2d245d36ec1d3806eb8_83407938.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d35a8a026730a6130ddb83117cb68d70_24350977.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c1f82f86bb273b1cc05a84e0538053e7_13119042.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/77432e4e1ac271a5e2bc77bea62aafff_14926887.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f72245bbe15b2bd2d0e43e1236f84b7f_55941663.png change filename to text .imagette215794911742569022/ imagette215794911742569022/1742568747_1346465_1346044093_b7ab42c42e874ef460421f8f988eeebf_rle_crop_3722236528_0.png.png imagette215794911742569022/1742568852_893379_1346045118_de7c906eb902f94e6de4828a2e1f0b9e_rle_crop_3722237223_0.png.png imagette215794911742569022/1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235805_0.png.png imagette215794911742569022/1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235798_0.png.png imagette215794911742569022/1742568867_1349235_1346045587_22adea76e8e569500c978a0301514c2a_rle_crop_3722237234_0.png.png imagette215794911742569022/1742568730_891944_1346044352_465e8a570a3c57282338aa7a0073cee3_rle_crop_3722236518_0.png.png imagette215794911742569022/1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237185_0.png.png imagette215794911742569022/1742568852_893379_1346045175_006f5bd2ec20320781b748c2bfa928de_rle_crop_3722237207_0.png.png imagette215794911742569022/1742568730_891944_1346044285_a479a9ef628ff8f429bfdeb1a8a47f47_rle_crop_3722236539_0.png.png imagette215794911742569022/1742568654_890868_1346042360_fb7146f2aab2170142ebc76aec00ad27_rle_crop_3722236085_0.png.png imagette215794911742569022/1742568730_891944_1346044429_d823c38b4e05c00bc2a0a779d09067b9_rle_crop_3722236497_0.png.png imagette215794911742569022/1742568730_891944_1346044480_0706c8995cff00ba39db0e943dc6599c_rle_crop_3722236472_0.png.png imagette215794911742569022/1742568730_891944_1346044517_e9eb89be34f94e239c9c2c44903728dc_rle_crop_3722236453_0.png.png imagette215794911742569022/1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236562_0.png.png imagette215794911742569022/1742568867_1349235_1346045465_32f18fcd8137a8f04e2d141dfb3ffece_rle_crop_3722237273_0.png.png imagette215794911742569022/1742568612_890195_1346043303_06c17ab317983bad38f3e9218cd34fed_rle_crop_3722231090_0.png.png imagette215794911742569022/1742568747_1346465_1346044552_3b8e22dced3d66ae7725c18c358dddf2_rle_crop_3722236485_0.png.png imagette215794911742569022/1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236577_0.png.png imagette215794911742569022/1742568852_893379_1346045261_5ed0a90f78c03e01f4db552d649bfc4f_rle_crop_3722237163_0.png.png imagette215794911742569022/1742568747_1346465_1346044552_3b8e22dced3d66ae7725c18c358dddf2_rle_crop_3722236480_0.png.png imagette215794921742569023/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a484d846c842833e1b3cc33e7cbfad5b_24039815.png imagette215794911742569022 21579492 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579492 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215794921742569023 21579494 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579494 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346045435: '1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235801_0.png', 1346045860: '1742568730_891944_1346044285_a479a9ef628ff8f429bfdeb1a8a47f47_rle_crop_3722236537_0.png', 1346046566: '1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237180_0.png', 1346046619: '1742568867_1349235_1346045516_ce101997ebaf80475c682aa74810c81f_rle_crop_3722237258_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/86d6d6fed476779b1cd0139261898d72_97736031.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/af610f07a6df6de8d708da25e97f93ee_2377119.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e901ef2c59f8a4cc7effaa99458278ce_45849054.png change filename to text .imagette215794941742569023/ imagette215794941742569023/1742568867_1349235_1346045516_ce101997ebaf80475c682aa74810c81f_rle_crop_3722237258_0.png.png imagette215794941742569023/1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235801_0.png.png imagette215794941742569023/1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237180_0.png.png imagette215794941742569023/1742568730_891944_1346044285_a479a9ef628ff8f429bfdeb1a8a47f47_rle_crop_3722236537_0.png.png imagette215794951742569024/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7552f4d44b58069066f0bc9c0b3a9b0c_56670219.png imagette215794941742569023 21579495 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579495 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215794951742569024 21579488 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579488 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346045408: '1742568654_890868_1346042434_b7549059a0807395bf0dca0ef094eb31_rle_crop_3722235781_0.png', 1346045855: '1742568730_891944_1346044517_e9eb89be34f94e239c9c2c44903728dc_rle_crop_3722236447_0.png', 1346045856: '1742568730_891944_1346044429_d823c38b4e05c00bc2a0a779d09067b9_rle_crop_3722236495_0.png', 1346045865: '1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236554_0.png', 1346045867: '1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236555_0.png', 1346046542: '1742568852_893379_1346045261_5ed0a90f78c03e01f4db552d649bfc4f_rle_crop_3722237158_0.png', 1346046543: '1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237174_0.png', 1346046545: '1742568852_893379_1346045175_006f5bd2ec20320781b748c2bfa928de_rle_crop_3722237200_0.png', 1346046546: '1742568852_893379_1346045118_de7c906eb902f94e6de4828a2e1f0b9e_rle_crop_3722237218_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e85a588ebd468e04934861c451a2ebcd_88118449.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/51867868fffc3e6f0fdd86eca8aab568_94363208.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/46763fd260ca0d45b68cc557e8379c8d_76630126.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2a1a57c53f76f0448687322e5b357054_840145.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/661aa9ad11151a8adf3ec11d57b3165a_25303903.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/02577c9a529ab74cc9e9a46079b2b4c3_53844966.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/04961ec6c1b6487534ec9adb95f649a4_95157828.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f2ff67f6a781c361eda678b439ff585f_94112354.png change filename to text .imagette215794881742569024/ imagette215794881742569024/1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236554_0.png.png imagette215794881742569024/1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236555_0.png.png imagette215794881742569024/1742568852_893379_1346045175_006f5bd2ec20320781b748c2bfa928de_rle_crop_3722237200_0.png.png imagette215794881742569024/1742568852_893379_1346045118_de7c906eb902f94e6de4828a2e1f0b9e_rle_crop_3722237218_0.png.png imagette215794881742569024/1742568730_891944_1346044517_e9eb89be34f94e239c9c2c44903728dc_rle_crop_3722236447_0.png.png imagette215794881742569024/1742568654_890868_1346042434_b7549059a0807395bf0dca0ef094eb31_rle_crop_3722235781_0.png.png imagette215794881742569024/1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237174_0.png.png imagette215794881742569024/1742568852_893379_1346045261_5ed0a90f78c03e01f4db552d649bfc4f_rle_crop_3722237158_0.png.png imagette215794881742569024/1742568730_891944_1346044429_d823c38b4e05c00bc2a0a779d09067b9_rle_crop_3722236495_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3b70c0000b1522ff9fd766211e6d028c_6515645.png imagette215794881742569024 21579493 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579493 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346045426: '1742568654_890868_1346043410_17e5345e4ef95d395a2ab6e4a192a5e6_rle_crop_3722235239_0.png', 1346045427: '1742568654_890868_1346043410_17e5345e4ef95d395a2ab6e4a192a5e6_rle_crop_3722235241_0.png', 1346045428: '1742568654_890868_1346042461_8035fbe32fe51d79496e76cdf3362e8a_rle_crop_3722235465_0.png', 1346045429: '1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235804_0.png', 1346045874: '1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236578_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6c602af8fb4921839412e49b942a29c4_36252898.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7909a03a0955bafa8f487ec95425a463_95360204.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a9f4f302b153905f90fda59495f12dfb_6062498.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/878394e281d054a579e535d60601beb7_98070687.png change filename to text .imagette215794931742569024/ imagette215794931742569024/1742568654_890868_1346042371_e2a06d51bb5b10abf3a359d6952b6538_rle_crop_3722235804_0.png.png imagette215794931742569024/1742568654_890868_1346043410_17e5345e4ef95d395a2ab6e4a192a5e6_rle_crop_3722235239_0.png.png imagette215794931742569024/1742568747_1346465_1346044031_9cffdab002cf37397c6779c3535e6614_rle_crop_3722236578_0.png.png imagette215794931742569024/1742568654_890868_1346042461_8035fbe32fe51d79496e76cdf3362e8a_rle_crop_3722235465_0.png.png imagette215794931742569024/1742568654_890868_1346043410_17e5345e4ef95d395a2ab6e4a192a5e6_rle_crop_3722235241_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/93cc4fe3a5ddade728ca1fbc9cc58d77_81779217.png imagette215794931742569024 21579496 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579496 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346046575: '1742568867_1349235_1346045516_ce101997ebaf80475c682aa74810c81f_rle_crop_3722237246_0.png', 1346046922: '1742568987_1352322_1346046022_7a0605c73ed3c18e5ab3b5d28d1c8727_rle_crop_3722256209_0.png', 1346046919: '1742568987_1352322_1346046072_81948a9bb1c0a2716b5b17f2de29d08a_rle_crop_3722256179_0.png', 1346046917: '1742568987_1352322_1346046114_eaf70e4b287cdd30d425691070961623_rle_crop_3722256145_0.png', 1346046915: '1742568987_1352322_1346046114_eaf70e4b287cdd30d425691070961623_rle_crop_3722256149_0.png', 1346046901: '1742568971_894565_1346045890_caff892db27af0beae1a5486decbb787_rle_crop_3722256172_0.png', 1346046900: '1742568971_894565_1346045893_97e3f9355096da5830820e71d2ad6492_rle_crop_3722256137_0.png', 1346046898: '1742568971_894565_1346045899_eb1a985828dce18c81683a24f30c760e_rle_crop_3722254012_0.png', 1346046897: '1742568971_894565_1346046187_2f60ac766c47ba4bb88758ce1454e39f_rle_crop_3722253999_0.png', 1346044898: '1742568612_890195_1346043190_9c8efb03d5521288783d2d59de07abdc_rle_crop_3722231252_0.png', 1346046489: '1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237186_0.png', 1346045854: '1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236564_0.png', 1346045846: '1742568730_891944_1346044285_a479a9ef628ff8f429bfdeb1a8a47f47_rle_crop_3722236538_0.png', 1346045845: '1742568730_891944_1346044352_465e8a570a3c57282338aa7a0073cee3_rle_crop_3722236512_0.png', 1346045844: '1742568730_891944_1346044480_0706c8995cff00ba39db0e943dc6599c_rle_crop_3722236462_0.png', 1346045376: '1742568654_890868_1346042434_b7549059a0807395bf0dca0ef094eb31_rle_crop_3722235784_0.png', 1346044901: '1742568612_890195_1346043190_9c8efb03d5521288783d2d59de07abdc_rle_crop_3722231250_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9dbaf0a6e087b41375330f132569c451_3269809.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/746e12ea717cd9ef1a33c0a5961a5749_21896038.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7e9bebab93f04fe1a80e8a62825f832e_97826473.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1a28328b7abd0ca48e55359a49a1c924_71059422.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3b8e0e9623004a278ebf9266f844a504_94789839.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f6c7f80cc95aba005510a759769f2578_33892273.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/00b6c4db4b53f721309dc460082cc49f_79082758.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bfa25cb1bae75a26e5446139e2e1d43b_56556509.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e366d7ec2be9f4653e665fa4d2b75f8f_39991809.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ab930ceb2659e55df82f78425b8ef119_50039257.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/75ee69a0c76c543dff4cc1745ba65b3b_70407459.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/beb3dbad6857cae53dabd906e1451b8e_27863051.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3775feb66857144d2bf42cd90d97db40_68789984.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0e578c2ee1d4923745443a16c1194146_27056048.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2de128ca846e353f9e89261e41c5d4e3_47263703.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/948f67335dd76ede29cb3e1ac4c4e41d_30536334.png change filename to text .imagette215794961742569024/ imagette215794961742569024/1742568971_894565_1346045890_caff892db27af0beae1a5486decbb787_rle_crop_3722256172_0.png.png imagette215794961742569024/1742568971_894565_1346045899_eb1a985828dce18c81683a24f30c760e_rle_crop_3722254012_0.png.png imagette215794961742569024/1742568730_891944_1346044285_a479a9ef628ff8f429bfdeb1a8a47f47_rle_crop_3722236538_0.png.png imagette215794961742569024/1742568987_1352322_1346046022_7a0605c73ed3c18e5ab3b5d28d1c8727_rle_crop_3722256209_0.png.png imagette215794961742569024/1742568730_891944_1346044352_465e8a570a3c57282338aa7a0073cee3_rle_crop_3722236512_0.png.png imagette215794961742569024/1742568987_1352322_1346046114_eaf70e4b287cdd30d425691070961623_rle_crop_3722256145_0.png.png imagette215794961742569024/1742568654_890868_1346042434_b7549059a0807395bf0dca0ef094eb31_rle_crop_3722235784_0.png.png imagette215794961742569024/1742568747_1346465_1346044060_020c0d99973269d9bb9bf80f148f624a_rle_crop_3722236564_0.png.png imagette215794961742569024/1742568612_890195_1346043190_9c8efb03d5521288783d2d59de07abdc_rle_crop_3722231252_0.png.png imagette215794961742569024/1742568971_894565_1346046187_2f60ac766c47ba4bb88758ce1454e39f_rle_crop_3722253999_0.png.png imagette215794961742569024/1742568987_1352322_1346046072_81948a9bb1c0a2716b5b17f2de29d08a_rle_crop_3722256179_0.png.png imagette215794961742569024/1742568612_890195_1346043190_9c8efb03d5521288783d2d59de07abdc_rle_crop_3722231250_0.png.png imagette215794961742569024/1742568867_1349235_1346045516_ce101997ebaf80475c682aa74810c81f_rle_crop_3722237246_0.png.png imagette215794961742569024/1742568971_894565_1346045893_97e3f9355096da5830820e71d2ad6492_rle_crop_3722256137_0.png.png imagette215794961742569024/1742568852_893379_1346045224_676d3c389c0ccae52fc86b50a802918d_rle_crop_3722237186_0.png.png imagette215794961742569024/1742568730_891944_1346044480_0706c8995cff00ba39db0e943dc6599c_rle_crop_3722236462_0.png.png imagette215794961742569024/1742568987_1352322_1346046114_eaf70e4b287cdd30d425691070961623_rle_crop_3722256149_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/99142887694a99307db1817c563b55e1_10184883.png imagette215794961742569024 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21579460 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21579497,21579498,21579499,21579500,21579501,21579502,21579503,21579504,21579505,21579506,21579507,21579508?tags=mal_croppe,flou,papier,Carton_gris,environnement,cartonnette,autre_refus,metal,Carton_brun,plastique,kraft,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1346046762] : ('0.0607217683880556',) no score found for photo 1346046762 We are sending mail with results at report@fotonower.com args[1346046725] : ('0.0607217683880556',) no score found for photo 1346046725 We are sending mail with results at report@fotonower.com args[1346046699] : ('0.0607217683880556',) no score found for photo 1346046699 We are sending mail with results at report@fotonower.com args[1346046675] : ('0.0607217683880556',) no score found for photo 1346046675 We are sending mail with results at report@fotonower.com args[1346046187] : ('0.0607217683880556',) no score found for photo 1346046187 We are sending mail with results at report@fotonower.com args[1346046149] : ('0.0607217683880556',) no score found for photo 1346046149 We are sending mail with results at report@fotonower.com args[1346046114] : ('0.0607217683880556',) no score found for photo 1346046114 We are sending mail with results at report@fotonower.com args[1346046072] : ('0.0607217683880556',) no score found for photo 1346046072 We are sending mail with results at report@fotonower.com args[1346046022] : ('0.0607217683880556',) no score found for photo 1346046022 We are sending mail with results at report@fotonower.com args[1346045906] : ('0.0607217683880556',) no score found for photo 1346045906 We are sending mail with results at report@fotonower.com args[1346045899] : ('0.0607217683880556',) no score found for photo 1346045899 We are sending mail with results at report@fotonower.com args[1346045893] : ('0.0607217683880556',) no score found for photo 1346045893 We are sending mail with results at report@fotonower.com args[1346045890] : ('0.0607217683880556',) no score found for photo 1346045890 We are sending mail with results at report@fotonower.com args[1346045886] : ('0.0607217683880556',) no score found for photo 1346045886 We are sending mail with results at report@fotonower.com refus_total : 0.0607217683880556 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21579460 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_P21579460_21-03-2025_15_57_02.pdf results_Auto_P21579460_21-03-2025_15_57_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21579460','results_Auto_P21579460_21-03-2025_15_57_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf','pdf','','0.3','0.0607217683880556') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21579460]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886] map_info['map_portfolio_photo'] : {21579460: [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886, 1346045678, 1346045630, 1346045587, 1346045516, 1346045465, 1346045315, 1346045261, 1346045224, 1346045175, 1346045118, 1346044552, 1346044517, 1346044480, 1346044429, 1346044352, 1346044285, 1346044147, 1346044116, 1346044093, 1346044060, 1346044031, 1346043410, 1346043303, 1346043190, 1346043028, 1346042938, 1346042461, 1346042434, 1346042371, 1346042360]} final : False mtd_id 4302 list_pids : [1346046762, 1346046725, 1346046699, 1346046675, 1346046187, 1346046149, 1346046114, 1346046072, 1346046022, 1346045906, 1346045899, 1346045893, 1346045890, 1346045886] 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, '2679432') ('4302', '21579460', '1346046762', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046725', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046699', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046675', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046187', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046149', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046114', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046072', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346046022', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045906', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045899', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045893', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045890', None, None, None, None, None, '2679432') ('4302', None, None, None, None, None, None, None, '2679432') ('4302', '21579460', '1346045886', None, None, None, None, None, '2679432') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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', '21579460', '1346046762', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046725', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046699', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046675', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046187', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046149', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046114', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046072', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346046022', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045906', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045899', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045893', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045890', None, None, None, None, None, '2679432'), ('4302', '21579460', '1346045886', None, None, None, None, None, '2679432')] time used for this insertion : 0.013388633728027344 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.0193030834198 time spend to save output : 0.013736963272094727 total time spend for step 4 : 5.0330400466918945 step5:split_time_score Fri Mar 21 15:57:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21579460'] 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 : [('21579460',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21579460) 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 ! 2.22user 1.78system 0:11.52elapsed 34%CPU (0avgtext+0avgdata 162104maxresident)k 1632inputs+17400outputs (38major+75163minor)pagefaults 0swaps