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 : 2731676 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 $œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC0000000000', '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': '63', 'nonvoluntary_ctxt_switches': '66'} ('datou_batch_current', '2731676', '1106844', '0', '1106844', '865592', '97984', b'', 'marlene', '2621897') 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 (20906134) 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 (2621897 ) ) 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 (20906134) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340049572, 'portfolio_id': 20906134}, {'photo_id': 1340049570, 'portfolio_id': 20906134}, {'photo_id': 1340049568, 'portfolio_id': 20906134}, {'photo_id': 1340049566, 'portfolio_id': 20906134}, {'photo_id': 1340049520, 'portfolio_id': 20906134}, {'photo_id': 1340049515, 'portfolio_id': 20906134}, {'photo_id': 1340049510, 'portfolio_id': 20906134}, {'photo_id': 1340049499, 'portfolio_id': 20906134}, {'photo_id': 1340049486, 'portfolio_id': 20906134}, {'photo_id': 1340049465, 'portfolio_id': 20906134}, {'photo_id': 1340049402, 'portfolio_id': 20906134}, {'photo_id': 1340049396, 'portfolio_id': 20906134}, {'photo_id': 1340049394, 'portfolio_id': 20906134}, {'photo_id': 1340049393, 'portfolio_id': 20906134}, {'photo_id': 1340049392, 'portfolio_id': 20906134}, {'photo_id': 1340049360, 'portfolio_id': 20906134}, {'photo_id': 1340049358, 'portfolio_id': 20906134}, {'photo_id': 1340049355, 'portfolio_id': 20906134}, {'photo_id': 1340049353, 'portfolio_id': 20906134}, {'photo_id': 1340049325, 'portfolio_id': 20906134}, {'photo_id': 1340049311, 'portfolio_id': 20906134}, {'photo_id': 1340049299, 'portfolio_id': 20906134}, {'photo_id': 1340049288, 'portfolio_id': 20906134}, {'photo_id': 1340049287, 'portfolio_id': 20906134}, {'photo_id': 1340049239, 'portfolio_id': 20906134}, {'photo_id': 1340049225, 'portfolio_id': 20906134}, {'photo_id': 1340049220, 'portfolio_id': 20906134}, {'photo_id': 1340049199, 'portfolio_id': 20906134}, {'photo_id': 1340049187, 'portfolio_id': 20906134}, {'photo_id': 1340049186, 'portfolio_id': 20906134}, {'photo_id': 1340049054, 'portfolio_id': 20906134}, {'photo_id': 1340049035, 'portfolio_id': 20906134}, {'photo_id': 1340049032, 'portfolio_id': 20906134}, {'photo_id': 1340049028, 'portfolio_id': 20906134}, {'photo_id': 1340049011, 'portfolio_id': 20906134}, {'photo_id': 1340048581, 'portfolio_id': 20906134}, {'photo_id': 1340048540, 'portfolio_id': 20906134}, {'photo_id': 1340048537, 'portfolio_id': 20906134}, {'photo_id': 1340048529, 'portfolio_id': 20906134}, {'photo_id': 1340048515, 'portfolio_id': 20906134}, {'photo_id': 1340048224, 'portfolio_id': 20906134}, {'photo_id': 1340048142, 'portfolio_id': 20906134}, {'photo_id': 1340048137, 'portfolio_id': 20906134}, {'photo_id': 1340048135, 'portfolio_id': 20906134}, {'photo_id': 1340048133, 'portfolio_id': 20906134}] map_portfolio_id_photo_id: {20906134: [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287, 1340049239, 1340049225, 1340049220, 1340049199, 1340049187, 1340049186, 1340049054, 1340049035, 1340049032, 1340049028, 1340049011, 1340048581, 1340048540, 1340048537, 1340048529, 1340048515, 1340048224, 1340048142, 1340048137, 1340048135, 1340048133]} ##### 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.020256519317626953 #### 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 Feb 28 03:25:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20906134) 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 : 20906134 get user id for portfolio 20906134 get sub ptf for main ptf 20906134, type 3726 and hashtags ['autre_refus', 'metal', 'Carton_brun', 'mal_croppe', 'flou', 'papier', 'plastique', 'Carton_gris', 'cartonnette', 'Teint_Dans_La_Masse', 'environnement', 'kraft'] 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`=20906134 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','Carton_brun','mal_croppe','flou','papier','plastique','Carton_gris','cartonnette','Teint_Dans_La_Masse','environnement','kraft')) 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`=20906134 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','Carton_brun','mal_croppe','flou','papier','plastique','Carton_gris','cartonnette','Teint_Dans_La_Masse','environnement','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20906134, 'sub_port_id': 20906225, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534256, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'cartonnette': {'main_port_id': 20906134, 'sub_port_id': 20906226, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534257, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'plastique': {'main_port_id': 20906134, 'sub_port_id': 20906227, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534258, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'autre_refus': {'main_port_id': 20906134, 'sub_port_id': 20906228, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534259, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'papier': {'main_port_id': 20906134, 'sub_port_id': 20906229, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534260, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'flou': {'main_port_id': 20906134, 'sub_port_id': 20906230, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534261, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'Carton_brun': {'main_port_id': 20906134, 'sub_port_id': 20906231, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534262, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'metal': {'main_port_id': 20906134, 'sub_port_id': 20906232, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534263, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 20906134, 'sub_port_id': 20906233, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534264, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'Carton_gris': {'main_port_id': 20906134, 'sub_port_id': 20906234, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534265, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'mal_croppe': {'main_port_id': 20906134, 'sub_port_id': 20906235, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534266, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}, 'environnement': {'main_port_id': 20906134, 'sub_port_id': 20906236, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534267, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20906225 , 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=20906134 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 (20906225) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906226 , 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=20906134 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 (20906226) result : ((1340049342,), (1340049343,), (1340049462,), (1340049463,), (1340049464,), (1340049498,), (1340049544,), (1340049545,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906227 , 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=20906134 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 (20906227) result : ((1340049348,), (1340049349,), (1340049350,), (1340049351,), (1340049487,), (1340049488,), (1340049489,), (1340049509,), (1340049564,), (1340049565,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906228 , 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=20906134 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 (20906228) result : ((1340049339,), (1340049490,), (1340049537,), (1340049538,), (1340049539,), (1340049540,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906229 , 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=20906134 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 (20906229) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906230 , 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=20906134 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 (20906230) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906231 , 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=20906134 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 (20906231) result : ((1340049344,), (1340049345,), (1340049346,), (1340049347,), (1340049474,), (1340049475,), (1340049476,), (1340049478,), (1340049480,), (1340049501,), (1340049502,), (1340049503,), (1340049504,), (1340049505,), (1340049552,), (1340049553,), (1340049554,), (1340049555,), (1340049556,), (1340049557,), (1340049558,), (1340049559,), (1340049560,), (1340049561,), (1340049562,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906232 , 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=20906134 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 (20906232) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906233 , 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=20906134 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 (20906233) result : ((1340049445,), (1340049446,), (1340049447,), (1340049448,), (1340049449,), (1340049483,), (1340049484,), (1340049485,), (1340049535,), (1340049536,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906234 , 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=20906134 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 (20906234) result : ((1340049341,), (1340049454,), (1340049455,), (1340049456,), (1340049457,), (1340049491,), (1340049541,), (1340049542,), (1340049543,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906235 , 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=20906134 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 (20906235) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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 20906236 , 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=20906134 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 (20906236) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20906134) result : ((1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) 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`=20906134 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','Carton_brun','mal_croppe','flou','papier','plastique','Carton_gris','cartonnette','Teint_Dans_La_Masse','environnement','kraft')) 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`=20906134 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','Carton_brun','mal_croppe','flou','papier','plastique','Carton_gris','cartonnette','Teint_Dans_La_Masse','environnement','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 20906134, 'sub_port_id': 20906237, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534268, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'cartonnette': {'main_port_id': 20906134, 'sub_port_id': 20906238, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534269, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'plastique': {'main_port_id': 20906134, 'sub_port_id': 20906239, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534270, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'autre_refus': {'main_port_id': 20906134, 'sub_port_id': 20906240, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534271, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'papier': {'main_port_id': 20906134, 'sub_port_id': 20906241, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534272, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'flou': {'main_port_id': 20906134, 'sub_port_id': 20906242, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534273, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'Carton_brun': {'main_port_id': 20906134, 'sub_port_id': 20906243, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534274, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'metal': {'main_port_id': 20906134, 'sub_port_id': 20906244, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534275, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 20906134, 'sub_port_id': 20906245, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534276, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'Carton_gris': {'main_port_id': 20906134, 'sub_port_id': 20906246, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534277, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'mal_croppe': {'main_port_id': 20906134, 'sub_port_id': 20906247, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534278, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}, 'environnement': {'main_port_id': 20906134, 'sub_port_id': 20906248, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13534279, 'last_updated_at': datetime.datetime(2025, 2, 28, 3, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 3, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 3, 19, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906237,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906225 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906238,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906226 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906239,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906227 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906240,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906228 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906241,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906229 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906242,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906230 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906243,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906231 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906244,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906232 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906245,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906233 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906246,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906234 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906247,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906235 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20906248,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20906236 lien utilise dans velours : https://www.fotonower.com/velours/20906237,20906238,20906239,20906240,20906241,20906242,20906243,20906244,20906245,20906246,20906247,20906248?tags=kraft,cartonnette,plastique,autre_refus,papier,flou,Carton_brun,metal,Teint_Dans_La_Masse,Carton_gris,mal_croppe,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20906134]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] map_info['map_portfolio_photo'] : {20906134: [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287, 1340049239, 1340049225, 1340049220, 1340049199, 1340049187, 1340049186, 1340049054, 1340049035, 1340049032, 1340049028, 1340049011, 1340048581, 1340048540, 1340048537, 1340048529, 1340048515, 1340048224, 1340048142, 1340048137, 1340048135, 1340048133]} final : False mtd_id 4302 list_pids : [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] Looping around the photos to save general results len do output : 1 /20906134. 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, '2621897') ('4302', '20906134', '1340049572', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '20906134', "{'kraft': 20906225, 'cartonnette': 20906226, 'plastique': 20906227, 'autre_refus': 20906228, 'papier': 20906229, 'flou': 20906230, 'Carton_brun': 20906231, 'metal': 20906232, 'Teint_Dans_La_Masse': 20906233, 'Carton_gris': 20906234, 'mal_croppe': 20906235, 'environnement': 20906236}", None, None, None, None, '2621897'), ('4302', '20906134', '1340049572', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897')] time used for this insertion : 0.03814411163330078 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5850846767425537 time spend to save output : 0.0385439395904541 total time spend for step 1 : 1.6236286163330078 step2:final Fri Feb 28 03:25:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20906134) 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 20906134 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340048224,1340048142,1340048137,1340048135,1340048133,1340048581,1340048540,1340048537,1340048529,1340048515,1340049054,1340049035,1340049032,1340049028,1340049011,1340049239,1340049225,1340049220,1340049199,1340049187,1340049186,1340049325,1340049311,1340049299,1340049288,1340049287,1340049360,1340049358,1340049355,1340049353,1340049402,1340049396,1340049394,1340049393,1340049392,1340049520,1340049515,1340049510,1340049499,1340049486,1340049465,1340049572,1340049570,1340049568,1340049566); 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([20906134]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} new output for save of step final : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] map_info['map_portfolio_photo'] : {20906134: [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287, 1340049239, 1340049225, 1340049220, 1340049199, 1340049187, 1340049186, 1340049054, 1340049035, 1340049032, 1340049028, 1340049011, 1340048581, 1340048540, 1340048537, 1340048529, 1340048515, 1340048224, 1340048142, 1340048137, 1340048135, 1340048133]} final : False mtd_id 4302 list_pids : [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] Looping around the photos to save general results len do output : 24 /1340049572.Didn't retrieve data . /1340049570.Didn't retrieve data . /1340049568.Didn't retrieve data . /1340049566.Didn't retrieve data . /1340049520.Didn't retrieve data . /1340049515.Didn't retrieve data . /1340049510.Didn't retrieve data . /1340049499.Didn't retrieve data . /1340049486.Didn't retrieve data . /1340049465.Didn't retrieve data . /1340049402.Didn't retrieve data . /1340049396.Didn't retrieve data . /1340049394.Didn't retrieve data . /1340049393.Didn't retrieve data . /1340049392.Didn't retrieve data . /1340049360.Didn't retrieve data . /1340049358.Didn't retrieve data . /1340049355.Didn't retrieve data . /1340049353.Didn't retrieve data . /1340049325.Didn't retrieve data . /1340049311.Didn't retrieve data . /1340049299.Didn't retrieve data . /1340049288.Didn't retrieve data . /1340049287.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, '2621897') ('4302', '20906134', '1340049572', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 72 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', '20906134', '1340049572', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049570', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049568', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049566', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049520', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049515', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049510', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049499', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049486', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049465', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049402', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049396', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049394', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049393', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049392', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049360', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049358', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049355', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049353', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049325', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049311', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049299', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049288', '0.1108054884339497', None, None, None, None, '2621897'), ('4302', '20906134', '1340049287', '0.1108054884339497', None, None, None, None, '2621897')] time used for this insertion : 0.0210421085357666 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07075071334838867 time spend to save output : 0.022159337997436523 total time spend for step 2 : 0.0929100513458252 step3:velours_tree Fri Feb 28 03:25:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20906134: [{'kraft': 20906225, 'cartonnette': 20906226, 'plastique': 20906227, 'autre_refus': 20906228, 'papier': 20906229, 'flou': 20906230, 'Carton_brun': 20906231, 'metal': 20906232, 'Teint_Dans_La_Masse': 20906233, 'Carton_gris': 20906234, 'mal_croppe': 20906235, 'environnement': 20906236}]} input_args_next_step : {20906134: ()} output_args : {20906134: [{'kraft': 20906225, 'cartonnette': 20906226, 'plastique': 20906227, 'autre_refus': 20906228, 'papier': 20906229, 'flou': 20906230, 'Carton_brun': 20906231, 'metal': 20906232, 'Teint_Dans_La_Masse': 20906233, 'Carton_gris': 20906234, 'mal_croppe': 20906235, 'environnement': 20906236}]} args : 20906134 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 : ({'kraft': 20906225, 'cartonnette': 20906226, 'plastique': 20906227, 'autre_refus': 20906228, 'papier': 20906229, 'flou': 20906230, 'Carton_brun': 20906231, 'metal': 20906232, 'Teint_Dans_La_Masse': 20906233, 'Carton_gris': 20906234, 'mal_croppe': 20906235, 'environnement': 20906236},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20906134) 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([20906134]) 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.37212109565734863 time spend to save output : 5.14984130859375e-05 total time spend for step 3 : 0.37217259407043457 step4:send_mail_cod Fri Feb 28 03:25:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} input_args_next_step : {1340049572: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049572 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049570 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049568 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049566 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049520 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049515 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049510 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049499 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049486 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049465 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049402 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049396 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049394 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049393 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049392 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049360 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049358 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049355 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049353 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049325 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049311 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049299 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049288 depend.output_id : 0 input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ()} output_args : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',)} args : 1340049287 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 : {20906134: [{'kraft': 20906225, 'cartonnette': 20906226, 'plastique': 20906227, 'autre_refus': 20906228, 'papier': 20906229, 'flou': 20906230, 'Carton_brun': 20906231, 'metal': 20906232, 'Teint_Dans_La_Masse': 20906233, 'Carton_gris': 20906234, 'mal_croppe': 20906235, 'environnement': 20906236}]} input_args_next_step : {1340049572: ('0.1108054884339497',), 1340049570: ('0.1108054884339497',), 1340049568: ('0.1108054884339497',), 1340049566: ('0.1108054884339497',), 1340049520: ('0.1108054884339497',), 1340049515: ('0.1108054884339497',), 1340049510: ('0.1108054884339497',), 1340049499: ('0.1108054884339497',), 1340049486: ('0.1108054884339497',), 1340049465: ('0.1108054884339497',), 1340049402: ('0.1108054884339497',), 1340049396: ('0.1108054884339497',), 1340049394: ('0.1108054884339497',), 1340049393: ('0.1108054884339497',), 1340049392: ('0.1108054884339497',), 1340049360: ('0.1108054884339497',), 1340049358: ('0.1108054884339497',), 1340049355: ('0.1108054884339497',), 1340049353: ('0.1108054884339497',), 1340049325: ('0.1108054884339497',), 1340049311: ('0.1108054884339497',), 1340049299: ('0.1108054884339497',), 1340049288: ('0.1108054884339497',), 1340049287: ('0.1108054884339497',), 20906134: ()} output_args : {20906134: [{'kraft': 20906225, 'cartonnette': 20906226, 'plastique': 20906227, 'autre_refus': 20906228, 'papier': 20906229, 'flou': 20906230, 'Carton_brun': 20906231, 'metal': 20906232, 'Teint_Dans_La_Masse': 20906233, 'Carton_gris': 20906234, 'mal_croppe': 20906235, 'environnement': 20906236}]} args : 20906134 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 :25, first value : ('0.1108054884339497',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20906134) 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 (1340049572,1340049570,1340049568,1340049566,1340049520,1340049515,1340049510,1340049499,1340049486,1340049465,1340049402,1340049396,1340049394,1340049393,1340049392,1340049360,1340049358,1340049355,1340049353,1340049325,1340049311,1340049299,1340049288,1340049287) Found this number of photos: 24 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340049287 begin to download photo : 1340049353 begin to download photo : 1340049393 begin to download photo : 1340049486 begin to download photo : 1340049566 download finish for photo 1340049486 begin to download photo : 1340049499 download finish for photo 1340049287 begin to download photo : 1340049288 download finish for photo 1340049353 begin to download photo : 1340049355 download finish for photo 1340049566 begin to download photo : 1340049568 download finish for photo 1340049393 begin to download photo : 1340049394 download finish for photo 1340049499 begin to download photo : 1340049510 download finish for photo 1340049568 begin to download photo : 1340049570 download finish for photo 1340049288 begin to download photo : 1340049299 download finish for photo 1340049355 begin to download photo : 1340049358 download finish for photo 1340049394 begin to download photo : 1340049396 download finish for photo 1340049510 begin to download photo : 1340049515 download finish for photo 1340049299 begin to download photo : 1340049311 download finish for photo 1340049570 begin to download photo : 1340049572 download finish for photo 1340049358 begin to download photo : 1340049360 download finish for photo 1340049396 begin to download photo : 1340049402 download finish for photo 1340049572 download finish for photo 1340049311 begin to download photo : 1340049325 download finish for photo 1340049515 begin to download photo : 1340049520 download finish for photo 1340049360 begin to download photo : 1340049392 download finish for photo 1340049402 begin to download photo : 1340049465 download finish for photo 1340049325 download finish for photo 1340049520 download finish for photo 1340049465 download finish for photo 1340049392 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette209062251740709503/ length of list_filenames : 24 ; length of list_pids : 24 ; length of list_args : 24 results_Auto_P20906134_28-02-2025_03_25_03.pdf 20906225 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=20906225 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209062251740709503 20906226 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=20906226 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340049342: '1740709172_2356236_1340048142_95cfd82d6d5ef917c2e156fd7c24c8cc_rle_crop_3689456993_0.png', 1340049343: '1740709172_2356236_1340048135_047cc6e69775f63d2f72fc910ed018be_rle_crop_3689457018_0.png', 1340049462: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461408_0.png', 1340049463: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461411_0.png', 1340049464: '1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461434_0.png', 1340049498: '1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462865_0.png', 1340049544: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465050_0.png', 1340049545: '1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465184_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f0e0ec3fd141fb7a7301f5d7cc072424_14447682.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6b5fc33e19be4f0d69377468a2d2fd44_58473012.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7491434adced00f6bce3cac2611afb36_17859845.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d8a830bceb3b42df30293c7e5bcf8e7b_16310950.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/569bf0c5665657f911f9b0d3c7e59c30_22479354.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/20a952a40bf35436ef6e97a0e28fef7d_48455276.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/dc31dc8526edc0183f33184c2ee9a2de_48597857.png change filename to text .imagette209062261740709503/ imagette209062261740709503/1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461434_0.png.png imagette209062261740709503/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465050_0.png.png imagette209062261740709503/1740709172_2356236_1340048135_047cc6e69775f63d2f72fc910ed018be_rle_crop_3689457018_0.png.png imagette209062261740709503/1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465184_0.png.png imagette209062261740709503/1740709172_2356236_1340048142_95cfd82d6d5ef917c2e156fd7c24c8cc_rle_crop_3689456993_0.png.png imagette209062261740709503/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461408_0.png.png imagette209062261740709503/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461411_0.png.png imagette209062261740709503/1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462865_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5afff2d24717cd8ab6d0bae3aa8efae3_15555687.png imagette209062261740709503 20906227 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=20906227 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340049348: '1740709172_2356236_1340048581_d13dae0a9dd731b42c87e2740fd339b1_rle_crop_3689456767_0.png', 1340049349: '1740709172_2356236_1340048224_ced7c9091cdf331bd74ee44a92596996_rle_crop_3689456772_0.png', 1340049350: '1740709172_2356236_1340048137_8a76e7a30c8bd5924a991d40c2abeeda_rle_crop_3689457008_0.png', 1340049351: '1740709172_2356236_1340048133_f168897bc48c589a4decff259ef04180_rle_crop_3689457058_0.png', 1340049487: '1740709293_2359158_1340048540_bbcaf3dac614f3577d3e21e92df12187_rle_crop_3689459146_0.png', 1340049488: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461409_0.png', 1340049489: '1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461448_0.png', 1340049509: '1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462867_0.png', 1340049564: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465051_0.png', 1340049565: '1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465074_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ef42d9c0f619292e883aabe1428dd920_96651127.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fa9e8402e2ddf0e53edfda4393b4b7be_83407458.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/292d251fc7eb5ae85117e9be8776e645_84318608.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/26312958cd210ffad5e70a35b476d00f_91918421.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0183d49f3d2cae078958b8bd4e705795_65276396.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7d9a901df1b62c0821c39cfd0b2b4247_21613699.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ea92498c0df5298e18652ebfbdade03d_82625625.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/428ddcff00ffc2dced9be21a3f8d985a_96751883.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ac7cbce62035473d71f39e9f52e7b073_18487140.png change filename to text .imagette209062271740709503/ imagette209062271740709503/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461409_0.png.png imagette209062271740709503/1740709172_2356236_1340048581_d13dae0a9dd731b42c87e2740fd339b1_rle_crop_3689456767_0.png.png imagette209062271740709503/1740709172_2356236_1340048133_f168897bc48c589a4decff259ef04180_rle_crop_3689457058_0.png.png imagette209062271740709503/1740709172_2356236_1340048224_ced7c9091cdf331bd74ee44a92596996_rle_crop_3689456772_0.png.png imagette209062271740709503/1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462867_0.png.png imagette209062271740709503/1740709172_2356236_1340048137_8a76e7a30c8bd5924a991d40c2abeeda_rle_crop_3689457008_0.png.png imagette209062271740709503/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465051_0.png.png imagette209062271740709503/1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465074_0.png.png imagette209062271740709503/1740709293_2359158_1340048540_bbcaf3dac614f3577d3e21e92df12187_rle_crop_3689459146_0.png.png imagette209062271740709503/1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461448_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5ec41a3dd2e0f1b3b1aa1aeb4b78d55c_13457995.png imagette209062271740709503 20906228 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=20906228 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340049339: '1740709172_2356236_1340048137_8a76e7a30c8bd5924a991d40c2abeeda_rle_crop_3689457006_0.png', 1340049490: '1740709311_2359426_1340049032_7853722b548ef912e592856a1808e64c_rle_crop_3689462742_0.png', 1340049537: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465042_0.png', 1340049538: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465041_0.png', 1340049539: '1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465081_0.png', 1340049540: '1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465118_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/565e5b2ce49119d5ed79167b42392ee8_58411022.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/44c72776577c5ab814e88caf6693f05e_86784692.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f60c29bcd76d09820375cf9162b758b6_68787053.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/64d3b41f93205d4c26a80f1c1deb1eee_94802321.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d1824b8006810b7afeca7067054aacd2_98999101.png change filename to text .imagette209062281740709504/ imagette209062281740709504/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465041_0.png.png imagette209062281740709504/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465042_0.png.png imagette209062281740709504/1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465118_0.png.png imagette209062281740709504/1740709172_2356236_1340048137_8a76e7a30c8bd5924a991d40c2abeeda_rle_crop_3689457006_0.png.png imagette209062281740709504/1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465081_0.png.png imagette209062281740709504/1740709311_2359426_1340049032_7853722b548ef912e592856a1808e64c_rle_crop_3689462742_0.png.png imagette209062301740709504/ imagette209062321740709504/ imagette209062351740709504/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/93803b589ecced77a03579b091daa97c_53579845.png imagette209062281740709504 20906230 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=20906230 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209062301740709504 20906232 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=20906232 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209062321740709504 20906235 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=20906235 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209062351740709504 20906231 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=20906231 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340049504: '1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462869_0.png', 1340049562: '1740709334_2359767_1340049186_5833290a3e4ae673be55f764b366f60d_rle_crop_3689465215_0.png', 1340049561: '1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465191_0.png', 1340049560: '1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465186_0.png', 1340049559: '1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465123_0.png', 1340049558: '1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465120_0.png', 1340049557: '1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465125_0.png', 1340049556: '1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465078_0.png', 1340049555: '1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465077_0.png', 1340049554: '1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465080_0.png', 1340049553: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465049_0.png', 1340049552: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465048_0.png', 1340049505: '1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462874_0.png', 1340049344: '1740709172_2356236_1340048581_d13dae0a9dd731b42c87e2740fd339b1_rle_crop_3689456764_0.png', 1340049503: '1740709311_2359426_1340049028_bb7256f26a9c8ca295106b4f703a29cf_rle_crop_3689462857_0.png', 1340049502: '1740709311_2359426_1340049032_7853722b548ef912e592856a1808e64c_rle_crop_3689462748_0.png', 1340049501: '1740709311_2359426_1340049239_f862562f50046a03c45786d43a893930_rle_crop_3689462684_0.png', 1340049480: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461410_0.png', 1340049478: '1740709293_2359158_1340048537_8b872017d8e7cb847e22dbdc83752d50_rle_crop_3689461395_0.png', 1340049476: '1740709293_2359158_1340048537_8b872017d8e7cb847e22dbdc83752d50_rle_crop_3689461403_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c11d7fd346636b1737f33417296bf4cb_40075476.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5223110cf4735a0ac2527aff6e2c2551_81839234.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d16e7099cd3c70cf22dcc7f2035ffd6d_88115342.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7c529d3d7956870648ccae282144a457_12295899.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ea4d68bae11e8bf31b0d256019dc8174_75983975.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c23001270b84d6003499806ce63b6e03_20955838.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/489675b386fc28f8d602ad6883a0e919_74057049.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/223fcb0cfae7c3b6066c4308c8468de0_30258374.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a909a1fe4a4939457baba0c0a6e3dfbf_75742758.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/207ed1844d7d795e0dadc0ffa7b920a9_8535370.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/413c6fdc2b60fb4363d62c2950fe54ad_40045125.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6f9afbd1265919e7b11614a586c07d92_70649008.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a46ae867898d299167a735b5836f3584_71007920.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f7754af31422d23f3972841708598005_92092812.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/96ff456a08d9101743235a56754ef3e2_51981165.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/076d22a67dc21211e4351c3117f08b47_80611520.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4617e3a51206a401c9e0a471239b0dea_39792638.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bbec73175078fa84523b120981a28ae2_77525752.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6b83e363fa44c3b7004e24b1dd1f5460_45308713.png change filename to text .imagette209062311740709504/ imagette209062311740709504/1740709311_2359426_1340049239_f862562f50046a03c45786d43a893930_rle_crop_3689462684_0.png.png imagette209062311740709504/1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465077_0.png.png imagette209062311740709504/1740709311_2359426_1340049032_7853722b548ef912e592856a1808e64c_rle_crop_3689462748_0.png.png imagette209062311740709504/1740709293_2359158_1340048537_8b872017d8e7cb847e22dbdc83752d50_rle_crop_3689461403_0.png.png imagette209062311740709504/1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465186_0.png.png imagette209062311740709504/1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465123_0.png.png imagette209062311740709504/1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465120_0.png.png imagette209062311740709504/1740709334_2359767_1340049186_5833290a3e4ae673be55f764b366f60d_rle_crop_3689465215_0.png.png imagette209062311740709504/1740709293_2359158_1340048537_8b872017d8e7cb847e22dbdc83752d50_rle_crop_3689461395_0.png.png imagette209062311740709504/1740709172_2356236_1340048581_d13dae0a9dd731b42c87e2740fd339b1_rle_crop_3689456764_0.png.png imagette209062311740709504/1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465191_0.png.png imagette209062311740709504/1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462874_0.png.png imagette209062311740709504/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465048_0.png.png imagette209062311740709504/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465049_0.png.png imagette209062311740709504/1740709311_2359426_1340049028_bb7256f26a9c8ca295106b4f703a29cf_rle_crop_3689462857_0.png.png imagette209062311740709504/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461410_0.png.png imagette209062311740709504/1740709334_2359767_1340049199_9052c9ceff0a5faabfa63114eaa3edce_rle_crop_3689465125_0.png.png imagette209062311740709504/1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465080_0.png.png imagette209062311740709504/1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465078_0.png.png imagette209062311740709504/1740709311_2359426_1340049011_4d48abc5ad55e43f8cf4363782c33a4f_rle_crop_3689462869_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/19d160c19cab928cf8913374c3ffe7b6_88549766.png imagette209062311740709504 20906233 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=20906233 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340049445: '1740709293_2359158_1340049054_a1a7a30ac0cc3440498299d2b47d9aa1_rle_crop_3689462273_0.png', 1340049446: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461419_0.png', 1340049447: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461413_0.png', 1340049448: '1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461414_0.png', 1340049449: '1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461438_0.png', 1340049483: '1740709311_2359426_1340049239_f862562f50046a03c45786d43a893930_rle_crop_3689462683_0.png', 1340049484: '1740709311_2359426_1340049239_f862562f50046a03c45786d43a893930_rle_crop_3689462682_0.png', 1340049485: '1740709311_2359426_1340049028_bb7256f26a9c8ca295106b4f703a29cf_rle_crop_3689462853_0.png', 1340049535: '1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465079_0.png', 1340049536: '1740709334_2359767_1340049186_5833290a3e4ae673be55f764b366f60d_rle_crop_3689465212_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1ff51c9e3c1852f82b022c5ecc153bf4_78170685.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fe94b4e0971c1d879440044f1f4865fe_10252720.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/64874c79249b450e2606621ab8bac56f_89412672.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c5ba7ae48013e55954203d17c9c3c31f_70558348.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a365bfedbaa2ff0933dc1703a5e5cc07_93320778.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ecbfb9c8afaa3bc3b9db3e4db4c97b9e_79023741.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/240db11e00dc055617f3c011ee808d78_15355224.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5b73e2e252a14bb917d4aadc3036eb14_98072536.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c1cf8defd9e793522cfc50d1c54e8727_92749130.png change filename to text .imagette209062331740709506/ imagette209062331740709506/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461414_0.png.png imagette209062331740709506/1740709311_2359426_1340049028_bb7256f26a9c8ca295106b4f703a29cf_rle_crop_3689462853_0.png.png imagette209062331740709506/1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461438_0.png.png imagette209062331740709506/1740709311_2359426_1340049239_f862562f50046a03c45786d43a893930_rle_crop_3689462683_0.png.png imagette209062331740709506/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461413_0.png.png imagette209062331740709506/1740709311_2359426_1340049239_f862562f50046a03c45786d43a893930_rle_crop_3689462682_0.png.png imagette209062331740709506/1740709334_2359767_1340049186_5833290a3e4ae673be55f764b366f60d_rle_crop_3689465212_0.png.png imagette209062331740709506/1740709293_2359158_1340048529_c96a4c72a43912224b5ec3e84ea1dc6d_rle_crop_3689461419_0.png.png imagette209062331740709506/1740709293_2359158_1340049054_a1a7a30ac0cc3440498299d2b47d9aa1_rle_crop_3689462273_0.png.png imagette209062331740709506/1740709334_2359767_1340049220_ef97ade331625c2118dba265794fb12b_rle_crop_3689465079_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fcb40d59dc2633499fd7975791f217bc_46308938.png imagette209062331740709506 20906234 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=20906234 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340049341: '1740709172_2356236_1340048224_ced7c9091cdf331bd74ee44a92596996_rle_crop_3689456773_0.png', 1340049454: '1740709293_2359158_1340049054_a1a7a30ac0cc3440498299d2b47d9aa1_rle_crop_3689462272_0.png', 1340049455: '1740709293_2359158_1340048537_8b872017d8e7cb847e22dbdc83752d50_rle_crop_3689461404_0.png', 1340049456: '1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461436_0.png', 1340049457: '1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461439_0.png', 1340049491: '1740709311_2359426_1340049035_99ce32a9592f58d6e50b378c00bc7ba2_rle_crop_3689462709_0.png', 1340049541: '1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465043_0.png', 1340049542: '1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465189_0.png', 1340049543: '1740709334_2359767_1340049186_5833290a3e4ae673be55f764b366f60d_rle_crop_3689465208_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/83de12e155a269b61d045953a27b1ffe_83069608.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5f0248a535ccae5a89718b6448991c96_79430789.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1fc9dbf2503c5d6060d33b3d874c66e2_66070949.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d0acb30ac99cc1029863fe28b2921bb9_10604601.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4b692175b7e84a0449691b1611a880a4_95816504.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2dfb2748245f8ed9e041202814cb2486_99774375.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f555c343d27535ea16ddbb9e361007b0_53076188.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1b210b4b279d60dc32fe6e5a1b7206f9_30233551.png change filename to text .imagette209062341740709506/ imagette209062341740709506/1740709334_2359767_1340049225_5c3810a948975034307dab8281490814_rle_crop_3689465043_0.png.png imagette209062341740709506/1740709334_2359767_1340049186_5833290a3e4ae673be55f764b366f60d_rle_crop_3689465208_0.png.png imagette209062341740709506/1740709293_2359158_1340049054_a1a7a30ac0cc3440498299d2b47d9aa1_rle_crop_3689462272_0.png.png imagette209062341740709506/1740709293_2359158_1340048537_8b872017d8e7cb847e22dbdc83752d50_rle_crop_3689461404_0.png.png imagette209062341740709506/1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461439_0.png.png imagette209062341740709506/1740709293_2359158_1340048515_f64c9e377f59f47f1f9d4729b6fa9504_rle_crop_3689461436_0.png.png imagette209062341740709506/1740709311_2359426_1340049035_99ce32a9592f58d6e50b378c00bc7ba2_rle_crop_3689462709_0.png.png imagette209062341740709506/1740709172_2356236_1340048224_ced7c9091cdf331bd74ee44a92596996_rle_crop_3689456773_0.png.png imagette209062341740709506/1740709334_2359767_1340049187_3bccb3138c7f75963a6eed1401b91763_rle_crop_3689465189_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/31c6a9fb2add4451f852bc4a78a30f2c_38915306.png imagette209062341740709506 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20906134 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20906237,20906238,20906239,20906240,20906241,20906242,20906243,20906244,20906245,20906246,20906247,20906248?tags=kraft,cartonnette,plastique,autre_refus,papier,flou,Carton_brun,metal,Teint_Dans_La_Masse,Carton_gris,mal_croppe,environnement your option no_mail is active, we will not send the real mail to your client args[1340049572] : ('0.1108054884339497',) no score found for photo 1340049572 We are sending mail with results at report@fotonower.com args[1340049570] : ('0.1108054884339497',) no score found for photo 1340049570 We are sending mail with results at report@fotonower.com args[1340049568] : ('0.1108054884339497',) no score found for photo 1340049568 We are sending mail with results at report@fotonower.com args[1340049566] : ('0.1108054884339497',) no score found for photo 1340049566 We are sending mail with results at report@fotonower.com args[1340049520] : ('0.1108054884339497',) no score found for photo 1340049520 We are sending mail with results at report@fotonower.com args[1340049515] : ('0.1108054884339497',) no score found for photo 1340049515 We are sending mail with results at report@fotonower.com args[1340049510] : ('0.1108054884339497',) no score found for photo 1340049510 We are sending mail with results at report@fotonower.com args[1340049499] : ('0.1108054884339497',) no score found for photo 1340049499 We are sending mail with results at report@fotonower.com args[1340049486] : ('0.1108054884339497',) no score found for photo 1340049486 We are sending mail with results at report@fotonower.com args[1340049465] : ('0.1108054884339497',) no score found for photo 1340049465 We are sending mail with results at report@fotonower.com args[1340049402] : ('0.1108054884339497',) no score found for photo 1340049402 We are sending mail with results at report@fotonower.com args[1340049396] : ('0.1108054884339497',) no score found for photo 1340049396 We are sending mail with results at report@fotonower.com args[1340049394] : ('0.1108054884339497',) no score found for photo 1340049394 We are sending mail with results at report@fotonower.com args[1340049393] : ('0.1108054884339497',) no score found for photo 1340049393 We are sending mail with results at report@fotonower.com args[1340049392] : ('0.1108054884339497',) no score found for photo 1340049392 We are sending mail with results at report@fotonower.com args[1340049360] : ('0.1108054884339497',) no score found for photo 1340049360 We are sending mail with results at report@fotonower.com args[1340049358] : ('0.1108054884339497',) no score found for photo 1340049358 We are sending mail with results at report@fotonower.com args[1340049355] : ('0.1108054884339497',) no score found for photo 1340049355 We are sending mail with results at report@fotonower.com args[1340049353] : ('0.1108054884339497',) no score found for photo 1340049353 We are sending mail with results at report@fotonower.com args[1340049325] : ('0.1108054884339497',) no score found for photo 1340049325 We are sending mail with results at report@fotonower.com args[1340049311] : ('0.1108054884339497',) no score found for photo 1340049311 We are sending mail with results at report@fotonower.com args[1340049299] : ('0.1108054884339497',) no score found for photo 1340049299 We are sending mail with results at report@fotonower.com args[1340049288] : ('0.1108054884339497',) no score found for photo 1340049288 We are sending mail with results at report@fotonower.com args[1340049287] : ('0.1108054884339497',) no score found for photo 1340049287 We are sending mail with results at report@fotonower.com refus_total : 0.1108054884339497 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=20906134 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_P20906134_28-02-2025_03_25_03.pdf results_Auto_P20906134_28-02-2025_03_25_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_25_03.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','20906134','results_Auto_P20906134_28-02-2025_03_25_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_25_03.pdf','pdf','','0.42','0.1108054884339497') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20906134]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] map_info['map_portfolio_photo'] : {20906134: [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287, 1340049239, 1340049225, 1340049220, 1340049199, 1340049187, 1340049186, 1340049054, 1340049035, 1340049032, 1340049028, 1340049011, 1340048581, 1340048540, 1340048537, 1340048529, 1340048515, 1340048224, 1340048142, 1340048137, 1340048135, 1340048133]} final : False mtd_id 4302 list_pids : [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] 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, '2621897') ('4302', '20906134', '1340049572', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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', '20906134', '1340049572', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897')] time used for this insertion : 0.024858713150024414 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.4408018589019775 time spend to save output : 0.02518773078918457 total time spend for step 4 : 6.465989589691162 step5:split_time_score Fri Feb 28 03:25:09 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 : ['20906134'] 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 : [('20906134',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20906134) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340049566: {'path': 'temp/1740709502_2731676_1340049566_c9973f56517e237054e7d660f9164756.jpg', 'extension': 'jpg'}, 1340049568: {'path': 'temp/1740709502_2731676_1340049568_fc270bf7a46a1d599f49c9fe4b6a8f25.jpg', 'extension': 'jpg'}, 1340049570: {'path': 'temp/1740709502_2731676_1340049570_e8a98a4a8b16eed46921f83755859e37.jpg', 'extension': 'jpg'}, 1340049572: {'path': 'temp/1740709502_2731676_1340049572_3d35279ebe4e0f16ce55d66e610c98e2.jpg', 'extension': 'jpg'}, 1340049287: {'path': 'temp/1740709502_2731676_1340049287_5c44cb878022af7a48162a26e38b836d.jpg', 'extension': 'jpg'}, 1340049288: {'path': 'temp/1740709502_2731676_1340049288_fb9b65ed96aa58b3f335b18978b4444e.jpg', 'extension': 'jpg'}, 1340049299: {'path': 'temp/1740709502_2731676_1340049299_f1c2ddc5a4758430e95ea2adb4757738.jpg', 'extension': 'jpg'}, 1340049311: {'path': 'temp/1740709502_2731676_1340049311_94465b54c4c3540683038ad678a2fbe1.jpg', 'extension': 'jpg'}, 1340049325: {'path': 'temp/1740709502_2731676_1340049325_509be6e2636232b5ac3c9cfc4f36936f.jpg', 'extension': 'jpg'}, 1340049486: {'path': 'temp/1740709502_2731676_1340049486_f632adb6032f575ed68ddbd2f637f44f.jpg', 'extension': 'jpg'}, 1340049499: {'path': 'temp/1740709502_2731676_1340049499_bf23166c9cee0755f7fbe6c2746497b8.jpg', 'extension': 'jpg'}, 1340049510: {'path': 'temp/1740709502_2731676_1340049510_de53e73dd9790c405c755cfab8c94151.jpg', 'extension': 'jpg'}, 1340049515: {'path': 'temp/1740709502_2731676_1340049515_00e03ed9c6290c1b777ebea5450e0aa4.jpg', 'extension': 'jpg'}, 1340049520: {'path': 'temp/1740709502_2731676_1340049520_0537237456cdd822abf96e59631e3ba4.jpg', 'extension': 'jpg'}, 1340049393: {'path': 'temp/1740709502_2731676_1340049393_8124ae5b9bfa0604fd2d18e9f0ae219d.jpg', 'extension': 'jpg'}, 1340049394: {'path': 'temp/1740709502_2731676_1340049394_a45977bff12be05f55e95b6249b57a60.jpg', 'extension': 'jpg'}, 1340049396: {'path': 'temp/1740709502_2731676_1340049396_5a8048999a1ceb02e039937c13eb0a6f.jpg', 'extension': 'jpg'}, 1340049402: {'path': 'temp/1740709502_2731676_1340049402_3481475fa55199299fbec23c227eb3bf.jpg', 'extension': 'jpg'}, 1340049465: {'path': 'temp/1740709502_2731676_1340049465_fd128fa51e20617833c71d34be76c5d8.jpg', 'extension': 'jpg'}, 1340049353: {'path': 'temp/1740709502_2731676_1340049353_f53c393a59dd6fe55413c62b0edcf847.jpg', 'extension': 'jpg'}, 1340049355: {'path': 'temp/1740709502_2731676_1340049355_2475d88e909395c226210f46b7d40ba5.jpg', 'extension': 'jpg'}, 1340049358: {'path': 'temp/1740709502_2731676_1340049358_410ae134d543c8d65c1b4bde6a86943c.jpg', 'extension': 'jpg'}, 1340049360: {'path': 'temp/1740709502_2731676_1340049360_704ff39ea92d03936c96a3814e1c43ae.jpg', 'extension': 'jpg'}, 1340049392: {'path': 'temp/1740709502_2731676_1340049392_e50ed56070e7bb039780bb58afe2b8f5.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 20906134; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20906134 group by h (('03', 45),) 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=20906134 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (20906134) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (20906134) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20906134 Nombre de photos uploadées : 45 / 23040 (0%) 28022025 20906134 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 28022025 20906134 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1340048224, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ced7c9091cdf331bd74ee44a92596996.jpg', 'username': None, 'uploaded_at': 1740708972, 'text': 'image_28022025_03_15_03_10158.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340048142, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/95cfd82d6d5ef917c2e156fd7c24c8cc.jpg', 'username': None, 'uploaded_at': 1740708972, 'text': 'image_28022025_03_15_13_10137.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340048137, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8a76e7a30c8bd5924a991d40c2abeeda.jpg', 'username': None, 'uploaded_at': 1740708972, 'text': 'image_28022025_03_15_23_10134.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340048135, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/047cc6e69775f63d2f72fc910ed018be.jpg', 'username': None, 'uploaded_at': 1740708972, 'text': 'image_28022025_03_15_34_10135.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022873878479003906 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20906134, '2025-02-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1629471,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.029581546783447266 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1629471 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637312, 'mtr_portfolio_id': 20904104, 'dashboard_result_id': 9119338, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637312, 'mtr_portfolio_id': 20904676, 'dashboard_result_id': 9119339, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637312, 'mtr_portfolio_id': 20905347, 'dashboard_result_id': 9119340, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1637312, 'mtr_portfolio_id': 20906134, 'dashboard_result_id': 9119341, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_21_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20904104 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621743, 'mtr_portfolio_id': 20904104, 'created_at': datetime.datetime(2025, 2, 28, 2, 48, 58), 'result': '0.10198504883927051', 'result_long': None, 'result_double': None}] Qualite : 0.10198504883927051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}" where mtr_portfolio_id = 20904104 and dashboard_run_id = 1637312 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20904104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9119338, 0.10198504883927051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20904676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621778, 'mtr_portfolio_id': 20904676, 'created_at': datetime.datetime(2025, 2, 28, 3, 2, 59), 'result': '0.09339201979184251', 'result_long': None, 'result_double': None}] Qualite : 0.09339201979184251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}" where mtr_portfolio_id = 20904676 and dashboard_run_id = 1637312 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20904676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9119339, 0.09339201979184251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20905347 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621833, 'mtr_portfolio_id': 20905347, 'created_at': datetime.datetime(2025, 2, 28, 3, 18, 58), 'result': '0.11636859519840724', 'result_long': None, 'result_double': None}] Qualite : 0.11636859519840724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20905347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20905347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}" where mtr_portfolio_id = 20905347 and dashboard_run_id = 1637312 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20905347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9119340, 0.11636859519840724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20906134 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621897, 'mtr_portfolio_id': 20906134, 'created_at': datetime.datetime(2025, 2, 28, 3, 25, 2), 'result': '0.1108054884339497', 'result_long': None, 'result_double': None}] Qualite : 0.1108054884339497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20906134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_25_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20906134 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_25_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}" where mtr_portfolio_id = 20906134 and dashboard_run_id = 1637312 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20906134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9119341, 0.1108054884339497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_25_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20904104,20904676,20905347,20906134) result : ((1340039758,), (1340039794,), (1340039862,), (1340039864,), (1340039907,), (1340039921,), (1340039925,), (1340039952,), (1340039957,), (1340039959,), (1340039962,), (1340039964,), (1340039987,), (1340039992,), (1340039997,), (1340040056,), (1340040059,), (1340040060,), (1340040064,), (1340040066,), (1340040068,), (1340040078,), (1340040089,), (1340040118,), (1340040303,), (1340040511,), (1340041003,), (1340041006,), (1340041012,), (1340041356,), (1340041359,), (1340041421,), (1340041428,), (1340041431,), (1340041491,), (1340041493,), (1340041495,), (1340041498,), (1340041501,), (1340041597,), (1340041775,), (1340041787,), (1340041888,), (1340041923,), (1340041926,), (1340041927,), (1340041931,), (1340041958,), (1340041962,), (1340041965,), (1340041968,), (1340041971,), (1340042054,), (1340042055,), (1340042057,), (1340042061,), (1340042064,), (1340042069,), (1340042077,), (1340042075,), (1340042100,), (1340042102,), (1340042104,), (1340042134,), (1340042136,), (1340042138,), (1340042179,), (1340042181,), (1340042183,), (1340042195,), (1340042200,), (1340042202,), (1340042205,), (1340042206,), (1340042220,), (1340042222,), (1340042224,), (1340042226,), (1340042228,), (1340042999,), (1340043003,), (1340043005,), (1340043008,), (1340043015,), (1340043431,), (1340043436,), (1340043438,), (1340043441,), (1340043444,), (1340043504,), (1340043578,), (1340043580,), (1340043582,), (1340043584,), (1340043587,), (1340043598,), (1340043650,), (1340043653,), (1340043664,), (1340043670,), (1340044341,), (1340044424,), (1340044498,), (1340044783,), (1340044797,), (1340044799,), (1340044844,), (1340044929,), (1340045010,), (1340045119,), (1340045126,), (1340045128,), (1340045140,), (1340045155,), (1340045162,), (1340045381,), (1340045387,), (1340045389,), (1340045393,), (1340045564,), (1340045567,), (1340045571,), (1340045574,), (1340045579,), (1340045583,), (1340045596,), (1340045600,), (1340045602,), (1340045603,), (1340045662,), (1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,), (1340047207,), (1340047210,), (1340047214,), (1340047218,), (1340047222,), (1340047238,), (1340047240,), (1340047242,), (1340047245,), (1340047248,), (1340047260,), (1340047310,), (1340047312,), (1340047314,), (1340047316,), (1340047718,), (1340047720,), (1340047728,), (1340047737,), (1340047740,), (1340047741,), (1340047958,), (1340047960,), (1340047974,), (1340048044,), (1340048113,), (1340048240,), (1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20906134]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] map_info['map_portfolio_photo'] : {20906134: [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287, 1340049239, 1340049225, 1340049220, 1340049199, 1340049187, 1340049186, 1340049054, 1340049035, 1340049032, 1340049028, 1340049011, 1340048581, 1340048540, 1340048537, 1340048529, 1340048515, 1340048224, 1340048142, 1340048137, 1340048135, 1340048133]} final : True mtd_id 4302 list_pids : [1340049572, 1340049570, 1340049568, 1340049566, 1340049520, 1340049515, 1340049510, 1340049499, 1340049486, 1340049465, 1340049402, 1340049396, 1340049394, 1340049393, 1340049392, 1340049360, 1340049358, 1340049355, 1340049353, 1340049325, 1340049311, 1340049299, 1340049288, 1340049287] Looping around the photos to save general results len do output : 1 /20906134Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049572', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897') ('4302', None, None, None, None, None, None, None, '2621897') ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '20906134', 'None', None, None, None, None, '2621897'), ('4302', '20906134', '1340049572', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049570', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049568', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049566', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049520', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049515', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049510', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049499', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049486', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049465', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049402', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049396', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049394', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049393', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049392', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049360', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049358', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049355', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049353', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049325', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049311', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049299', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049288', None, None, None, None, None, '2621897'), ('4302', '20906134', '1340049287', None, None, None, None, None, '2621897')] time used for this insertion : 0.019155025482177734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.348224401473999 time spend to save output : 0.019453763961791992 total time spend for step 5 : 0.367678165435791 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2621897) 2.52user 2.51system 0:12.18elapsed 41%CPU (0avgtext+0avgdata 167684maxresident)k 16032inputs+24024outputs (108major+76161minor)pagefaults 0swaps